From dbb0ba05aa3206e209b4b17b471fdc0b90412601 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 30 Jul 2020 09:43:42 -0400 Subject: [PATCH] tests: `no learning` is not accepted The vxlan `ip... ` command is failing because we are passing in `no learning` and that is failing. Signed-off-by: Donald Sharp --- tests/topotests/lib/common_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/topotests/lib/common_config.py b/tests/topotests/lib/common_config.py index 156a5f7ea4..e4d72ea2d7 100644 --- a/tests/topotests/lib/common_config.py +++ b/tests/topotests/lib/common_config.py @@ -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) -- 2.39.5