tests: Set explicit bond mode in LACP test.
authorBen Pfaff <blp@nicira.com>
Fri, 17 Aug 2012 23:08:17 +0000 (16:08 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 11 Feb 2013 21:22:25 +0000 (13:22 -0800)
This avoids a log warning:

    bridge|WARN|port bond: Using the default bond_mode active-backup.
    Note that in previous versions, the default bond_mode was balance-slb

This warning is harmless, but I'm trying to add checks for "warn" and
higher severity log messages to the tests, so it makes sense to get rid of
this one.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
tests/lacp.at

index 408b1ec..49f3bb1 100644 (file)
@@ -40,7 +40,7 @@ AT_CLEANUP
 AT_SETUP([lacp - multi port config])
 OVS_VSWITCHD_START([dnl
         add-bond br0 bond p1 p2 --\
-        set Port bond lacp=active \
+        set Port bond lacp=active bond-mode=active-backup \
             other_config:lacp-time="fast" \
             other_config:lacp-system-id=11:22:33:44:55:66 \
             other_config:lacp-system-priority=54321 --\