[ovs-discuss] problem with ubuntu 14.04 boot integration

Guru Shetty guru at ovn.org
Mon Mar 7 17:33:09 UTC 2016


On 4 March 2016 at 16:32, Mandeep Sandhu <MANDEEP.SANDHU at calix.com> wrote:

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

You will likely find it easier to follow this:
https://github.com/openvswitch/ovs/blob/master/INSTALL.Debian.md

And then follow it by reading:
https://github.com/openvswitch/ovs/blob/master/debian/openvswitch-switch.README.Debian


>
>
> 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 at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160307/0c4f3e9a/attachment-0002.html>


More information about the discuss mailing list