Re: [ovsdb-users] Assigning IP Address to a switch


Sam Hague
 

Vikram,

I don't know of anything in the ovsdb or openflow protocols to assign addresses so that won't help.

I have cc'ed the controller-dev alias to see if there is something else in odl that can assign ip address to ports.

Sam

----- Original Message -----
From: "Vikram Darsi" <vikram.darsi@...>
To: ovsdb-dev@..., ovsdb-users@...
Sent: Wednesday, July 15, 2015 9:48:16 AM
Subject: [ovsdb-users] Assigning IP Address to a switch



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

_______________________________________________
ovsdb-users mailing list
ovsdb-users@...
https://lists.opendaylight.org/mailman/listinfo/ovsdb-users

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