From de0b3b5718309cb1f6df3693564ba9c05a193ecb Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Tue, 15 Jun 2021 12:43:12 +0000 Subject: mpls: CLI to show the MPLS forwarding state of an interface Type: improvement Signed-off-by: Neale Ranns Change-Id: I28b98154bbff36e8391a09a2b30302dda4349946 --- test/test_mpls.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test') diff --git a/test/test_mpls.py b/test/test_mpls.py index f0c3b0f3b95..2c40e8d198e 100644 --- a/test/test_mpls.py +++ b/test/test_mpls.py @@ -1594,6 +1594,10 @@ class TestMPLSDisabled(VppTestCase): def test_mpls_disabled(self): """ MPLS Disabled """ + self.logger.info(self.vapi.cli("show mpls interface")) + self.logger.info(self.vapi.cli("show mpls interface pg1")) + self.logger.info(self.vapi.cli("show mpls interface pg0")) + tx = (Ether(src=self.pg1.remote_mac, dst=self.pg1.local_mac) / MPLS(label=32, ttl=64) / @@ -1620,6 +1624,9 @@ class TestMPLSDisabled(VppTestCase): # self.pg1.enable_mpls() + self.logger.info(self.vapi.cli("show mpls interface")) + self.logger.info(self.vapi.cli("show mpls interface pg1")) + # # Now we get packets through # -- cgit 1.2.3-korg