diff options
author | Neale Ranns <neale@graphiant.com> | 2021-06-15 12:43:12 +0000 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2021-06-17 07:58:41 +0000 |
commit | de0b3b5718309cb1f6df3693564ba9c05a193ecb (patch) | |
tree | 8266129493fee093e440f0e1c36555b3a244c458 /test/test_mpls.py | |
parent | 8eb8d50ecfd7507aae340cb05a0fb07a790e4303 (diff) |
mpls: CLI to show the MPLS forwarding state of an interface
Type: improvement
Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: I28b98154bbff36e8391a09a2b30302dda4349946
Diffstat (limited to 'test/test_mpls.py')
-rw-r--r-- | test/test_mpls.py | 7 |
1 files changed, 7 insertions, 0 deletions
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 # |