On Thu, Jul 16, 2015 at 07:08:38AM +0000, Vikram Darsi wrote: > I am a application guy and have a small question on ovs-vsctl command, no > idea it is a valid question or not > > > > > > Why the option of assigning the ip address is not given in ovs-vsctl command? > My controller (Open Daylight) supports ovsdb protocol and openflow protocol. > using ovsdb protocol , I am able to create a tunnels but could not find a > way to assign ipaddress to the created bridge in the OpenvSwtiches with > either of these protocols. > > > > currently, assigning of ip address is external to ovs-vsctl and using the > below the command to set it > > > > ip addr add 10.10.10.221/24 dev br0
It's because OVS is only a client of the TCP/IP stack, not the owner of it. It makes sense for the OVS database (which ovs-vsctl accesses) to define bridges and their ports, because OVS defines and owns that state. But if the OVS database contained IP addresses for each interface, then what should happen if the system administrator changed the IP address on an interface by other means? Should OVS change it back to whatever is in the database? (If the database has an empty value, should it delete the IP address?) Or should it mirror in the other direction, changing the database to reflect the kernel state? At any rate, we don't have any desire for OVS to be the master of the entire TCP/IP stack. There's an ecosystem of tools for that already, and if we tried to supplant them then the community would reject it. _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
