[ovs-dev] [PATCH 1.7] rhel: Add OVSREQUIRES to automatically bring up OpenFlow interface dependencies

Ben Pfaff blp at nicira.com
Fri Jan 25 17:51:16 UTC 2013

On Fri, Jan 25, 2013 at 05:31:56PM +0100, Thomas Graf wrote:
> The use of OpenFlow controllers may require for a subset of
> the network (typically the management network intrerface) to be
> brought up before the openvswitch service is started.
> The newly introduced key "OVSREQUIRES" allows to specify a
> list of interfaces that need the be brought up before the
> openvswitch service is autostarted. It is also possible to
> build a chain of bridge dependencies.
> 	TYPE=OVSBridge
> 	[...]
> A special UPPEDSTACK var that is passed along avoids getting
> lost in dependency loops.
> Signed-off-by: Thomas Graf <tgraf at redhat.com>

This gets a reject when I apply it (against branch-1.7 or master)
because the context line:

  [ -f /var/lock/subsys/openvswitch ] || /sbin/service openvswitch start

is not present in either version.  Do you want to first submit a patch
to add that line?

More information about the dev mailing list