]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: `no learning` is not accepted 6870/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 30 Jul 2020 13:43:42 +0000 (09:43 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 6 Aug 2020 20:32:04 +0000 (16:32 -0400)
The vxlan `ip... ` command is failing because we are passing in
`no learning` and that is failing.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
tests/topotests/lib/common_config.py

index 156a5f7ea49b74e8064127608c180f7447b20c0b..e4d72ea2d7762329f2edf710650d0b6d0e6c1ae8 100644 (file)
@@ -2281,7 +2281,7 @@ def configure_vxlan(tgen, input_dict):
                             cmd = "{} local {}".format(cmd, local_addr)
 
                         if learning == "no":
-                            cmd = "{} {} learning".format(cmd, learning)
+                            cmd = "{} nolearning".format(cmd)
 
                         elif learning == "yes":
                             cmd = "{} learning".format(cmd)