rhel: Add OVSREQUIRES to automatically bring up OpenFlow interface dependencies
authorThomas Graf <tgraf@redhat.com>
Fri, 25 Jan 2013 16:31:56 +0000 (17:31 +0100)
committerBen Pfaff <blp@nicira.com>
Fri, 25 Jan 2013 18:34:11 +0000 (10:34 -0800)
commit3214851c31538e8690e31f95702f8927a8c0838b
treeb70937f0e63d625e22ecefa920bafdf32f91cef6
parent602453000e28ec1076c0482ce13c284765a84409
rhel: Add OVSREQUIRES to automatically bring up OpenFlow interface dependencies

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
OVSREQURIES="em1"
[...]

A special UPPEDSTACK var that is passed along avoids getting
lost in dependency loops.

Signed-off-by: Thomas Graf <tgraf@redhat.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
rhel/etc_sysconfig_network-scripts_ifup-ovs