On Mon, Aug 27, 2012 at 4:43 PM, Tim Spriggs <t...@uahirise.org> wrote:

> On Thu, Aug 23, 2012 at 6:56 PM, Gurucharan Shetty <gshe...@nicira.com>
> wrote:
> >
> > Does this help for your use case?
> > http://openvswitch.org/pipermail/dev/2012-May/016972.html
> >
> > The scripts are all there. But, someone needs to call it.
> >
> > ifup --allow=ovs $list_of_bridges
>
> Interesting. I haven't applied this to my system but if I am
> understanding it correctly, this actually configures OVS on boot via
> /etc/network/interfaces. I'm still not convinced it would work since
> /etc/init.d/networking is called before openvswitch is running.

It would work if you call the "--allow=ovs" command in
/etc/init.d/openvswitch-switch.
But it is probably a problem if you have some dependent directories mounted
through network and you want have all network interfaces through OVS.

I like
> the idea of configuring openvswitch in this manner however it would
> kill any ability to make permanent changes via the ovs-* commands
> which is a paradigm shift from what I have gathered from the
> documentation.

This is true. During every boot/shutdown, interfaces are created and
destroyed.



> Maybe I am wrong but it seems like the expected
> workflow is something on the order of:
>
> 0) Install OVS
> 1) Configure OVS resources (using: ovs-vsctl ...)
> 2) Configure /etc/network/interfaces to generically reference OVS resources
> 3) Cross fingers and reboot
>
> The above would modify it to:
>
> 0) Install OVS
> 1) Configure /etc/network/interfaces to configure OVS
> 2) Cross fingers and reboot
>
> Thus eliminating any direct interaction with OVS.
>
If I understand you correctly, you would like it if the permanent nature of
changes
done through ovs-vsctl manually after a boot should remain through boot
cycles.
And when new bridges are created, you go and look up
/etc/network/interfaces for any
post creation commands. I am not aware of any way you can do this right now.



>
> Thanks,
> -Tim
>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to