ifup-ovs in the openvswitch package uses the types:
- OVSBridge
- OVSPort
- OVSIntPort
- OVSBond
to configure the various Open vSwitch device types. Automatically
detecting these avoids the need to pass in DEVICETYPE=ovs or to
name all bridge "ovsN".
---
sysconfig/network-scripts/network-functions | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sysconfig/network-scripts/network-functions
b/sysconfig/network-scripts/network-functions
index c57093d..dd968f0 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -150,6 +150,9 @@ source_config ()
InfiniBand | infiniband)
DEVICETYPE="ib"
;;
+ OVS*)
+ DEVICETYPE="ovs"
+ ;;
esac
if [ -n "$HWADDR" ]; then
HWADDR=$(echo $HWADDR | awk '{ print toupper($0) }')
--
1.7.11.7