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

Sam Hague


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.


----- 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


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 dev br0

ip link set br0 up
ifconfig br0 arp



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

ovsdb-users mailing list

Join { to automatically receive all group messages.