My setup:
Ubuntu 14.04.4 LTS
Kernel 3.13.0-32-generic
X86_64 GNU/Linux

I downloaded openvswitch 2.3.2 source and built it according to instructions 
here
https://github.com/openvswitch/ovs/blob/master/INSTALL.md

Ran the testsuite and the tests that ran were all ok, some were skipped.

I need to have openvswitch started at bootup with interfaces specified in 
/etc/network/interfaces.
The upstart init script was missing from my downloaded source. Instead it had a 
debian /etc/init.d/ script.
I had to google for it and then copied it to /etc/init/openvswitch-switch.conf
I applied the patches as instructed here
https://github.com/jpfluger/examples/blob/master/ubuntu-14.04/openvswitch.md



After patching I can start and stop openvswitch service using
Sudo Service openvswitch-switch start|stop

I added a bridge in /etc/network/interfaces

auto ovs-lanbr0

allow-ovs ovs-lanbr0

iface ovs-lanbr0 inet manual

                ovs_type OVSBridge

                ovs_ports eth2





allow-ovs-lanbr0 eth2

iface eth2 inet manual

                ovs_bridge ovs-lanbr0

                                ovs_type OVSPort



On restarting openvswitch I can see ovs-lanbr0 with ifconfig but ovs-vsctl show 
does not show any bridge

On stopping openvswitch ovs-lanbr0 disappears from ifconfig.

I expect ovs-lanbr0 to show up on ovs-vsctl show when openvswitch is running.

Has anyone run into this problem ?

Any help is appreciated.





Thanks

Mandeep
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to