[PATCH] Correctly detect Open vSwitch device types
by Thomas Graf
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
11 years, 3 months
[PATCH 1/4] Build with $RPM_LD_FLAGS.
by Ville Skyttä
---
src/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Makefile b/src/Makefile
index 8140143..4544773 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,4 +1,5 @@
CFLAGS+=$(RPM_OPT_FLAGS) -Wall -D_GNU_SOURCE
+LDFLAGS+=$(RPM_LD_FLAGS)
PROGS=usernetctl netreport usleep ipcalc \
ppp-watch consoletype genhostid rename_device
--
1.7.11.7
11 years, 3 months