From c48ec2f288bbcb8818eb6a241a828b980805854d Mon Sep 17 00:00:00 2001 From: Ken Sanislo Date: Wed, 20 Jun 2018 14:44:08 -0700 Subject: [PATCH] ifupdown.sh: Correctly bring up bond slaves. It seems that line 70 needs to be operating on the $slave variable created in the for loop at :68. Bonded interfaces fail to bring up their links with the current version, this will makes them work correctly. Signed-off-by: Ken Sanislo Signed-off-by: Ben Pfaff --- AUTHORS.rst | 1 + debian/ifupdown.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS.rst b/AUTHORS.rst index a8ea01d62..6ba9bf7c3 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -189,6 +189,7 @@ Justin Pettit jpettit@ovn.org Kaige Fu fukaige@huawei.com Keith Amidon keith@nicira.com Ken Ajiro ajiro@mxw.nes.nec.co.jp +Ken Sanislo ken@intherack.com Kenneth Duda kduda@arista.com Kentaro Ebisawa ebiken.g@gmail.com Keshav Gupta keshav.gupta@ericsson.com diff --git a/debian/ifupdown.sh b/debian/ifupdown.sh index c917e62bd..e9f2b5cee 100755 --- a/debian/ifupdown.sh +++ b/debian/ifupdown.sh @@ -67,7 +67,7 @@ if [ "${MODE}" = "start" ]; then ip link set "${IFACE}" up for slave in ${IF_OVS_BONDS} do - ip link set "${IFACE}" up + ip link set "${slave}" up done ;; OVSPatchPort) -- 2.39.5