]> git.proxmox.com Git - mirror_ovs.git/commitdiff
ifupdown.sh: Correctly bring up bond slaves.
authorKen Sanislo <ken@intherack.com>
Wed, 20 Jun 2018 21:44:08 +0000 (14:44 -0700)
committerBen Pfaff <blp@ovn.org>
Tue, 10 Jul 2018 21:19:19 +0000 (14:19 -0700)
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 <ken@intherack.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
AUTHORS.rst
debian/ifupdown.sh

index a8ea01d6242d4d615c2d5fbee09f8d0f1b9b24a3..6ba9bf7c3644e202f7d872b251ddf00ad367ac9a 100644 (file)
@@ -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
index c917e62bd884abf0840feda630ad568fddba94bc..e9f2b5ceedfe37d87bfb4efa684c3eb02eb66267 100755 (executable)
@@ -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)