When physical interfaces are added to a bond through the
/etc/network/interfaces script, administratively 'up' the
slave interfaces.

Signed-off-by: Gurucharan Shetty <gshe...@nicira.com>
---
 debian/ifupdown.sh |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/debian/ifupdown.sh b/debian/ifupdown.sh
index bd6aec8..f6a7750 100755
--- a/debian/ifupdown.sh
+++ b/debian/ifupdown.sh
@@ -61,6 +61,10 @@ if [ "${MODE}" = "start" ]; then
                     ${OVS_EXTRA+-- $OVS_EXTRA}
 
                 ifconfig "${IFACE}" up
+                for slave in ${IF_OVS_BONDS}
+                do
+                    ifconfig "${slave}" up
+                done
                 ;;
         *)
                 exit 0
-- 
1.7.2.5

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to