summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-01-18 15:58:50 +0100
committerDonald Sharp <sharpd@nvidia.com>2024-01-18 16:01:31 +0100
commit5d608ded25f24ea3059a5c5c80fdbf6cb815bc91 (patch)
tree9548ebba5c8bf8bba123f78d65385b842b7b35de
parentMerge pull request #15166 from LabNConsulting/chopps/fix-munet (diff)
downloadfrr-5d608ded25f24ea3059a5c5c80fdbf6cb815bc91.tar.xz
frr-5d608ded25f24ea3059a5c5c80fdbf6cb815bc91.zip
tests: Fix test_evpn_mh.py to correctly call bridge program
Getting this error: 2024-01-17 19:05:20,688 WARNING: torm11: Router(torm11): proc failed: rc 255 pid 2436134 args: /usr/bin/nsenter --mount=/proc/2435168/ns/mnt --net=/proc/2435168/ns/net --uts=/proc/2435168/ns/uts -F /bin/bash -c /sbin/bridge vlan add vid 1000 dev bridge stdout: RTNETLINK answers: Operation not supported stderr: *empty* As I understand it the correct thing to do here is pass in: bridge vlan add vid 1000 dev bridge self Signed-off-by: Donald Sharp <sharpd@nvidia.com>
-rw-r--r--tests/topotests/bgp_evpn_mh/test_evpn_mh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/bgp_evpn_mh/test_evpn_mh.py b/tests/topotests/bgp_evpn_mh/test_evpn_mh.py
index ec5227809..945c0383e 100644
--- a/tests/topotests/bgp_evpn_mh/test_evpn_mh.py
+++ b/tests/topotests/bgp_evpn_mh/test_evpn_mh.py
@@ -264,7 +264,7 @@ def config_bridge(node):
node.run("ip link set dev bridge type bridge mcast_snooping 0")
node.run("ip link set dev bridge type bridge vlan_stats_enabled 1")
node.run("ip link set dev bridge up")
- node.run("/sbin/bridge vlan add vid 1000 dev bridge")
+ node.run("/sbin/bridge vlan add vid 1000 dev bridge self")
def config_vxlan(node, node_ip):