Assigning IP Address to a switch


Vikram
 

Hi

 

Using OVSDB plugin, I am able to create a bridge and adding ports, setting controller to it etc.  Now I wanted to assign IP Address to the bridge. Is there any way in opendaylight to assign the ipAddress to a created switch?

 

ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev
ovs-vsctl add-port br0 dpdk2 -- set Interface dpdk2 type=dpdk
ovs-vsctl add-port br0 dpdk3 -- set Interface dpdk3 type=dpdk
ovs-vsctl set interface dpdk2 ofport_request=1
ovs-vsctl set interface dpdk3 ofport_request=2

 

The above configurations are done

 

How to perform the below configurations using opendaylight?

 

ip addr add 10.10.10.221/24 dev br0

ip link set br0 up
ifconfig br0 arp

 

 

Thanks

Vikram



This email and attachments may contain privileged or confidential information intended only for the addressee(s) indicated. The sender does not waive any of its rights, privileges or protections respecting this information. If you are not the named addressee, an employee, or agent responsible for sending this message to the named addressee (or this message was received by mistake), you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If received in error, please notify us immediately by e-mail, discard any paper copies and delete all electronic files of the email.

Computer viruses can be transmitted via email. The recipient should check this email and any attachments for viruses. Email transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender accepts no liability for any damage caused by any transmitted viruses or errors or omissions in the contents of this message.

Overture Networks, Inc. 637 Davis Drive, Morrisville, NC USA 27560 www.overturenetworks.com

Join z.archive.ovsdb-dev@lists.opendaylight.org to automatically receive all group messages.