aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_mtu.py
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-06-07 15:01:12 -0400
committerOle Trøan <otroan@employees.org>2019-06-12 16:15:42 +0000
commit7a99823c0b6db74b6b845c35bc1ac09f37a4374d (patch)
treedd615dd3230f5f1897d6def5b1ab7e5eedcd1e26 /test/test_mtu.py
parent33035c78301ce1a71a044215f9d6ef3f0a25f3be (diff)
tests: filter sw_interface_dump in tests.
Type: test Change-Id: I92921444ef6b0e574701398cf57971c9ecc1cc91 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test/test_mtu.py')
-rw-r--r--test/test_mtu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_mtu.py b/test/test_mtu.py
index 14535b23e21..1c7f6413f61 100644
--- a/test/test_mtu.py
+++ b/test/test_mtu.py
@@ -65,7 +65,7 @@ class TestMTU(VppTestCase):
return 'x' * len
def get_mtu(self, sw_if_index):
- rv = self.vapi.sw_interface_dump()
+ rv = self.vapi.sw_interface_dump(sw_if_index=sw_if_index)
for i in rv:
if i.sw_if_index == sw_if_index:
return i.mtu[0]