MPLS disposition actions at the tail of unicast LSPs

Change-Id: I8c42e26152f2ed1246f91b789887bfc923418bdf
Signed-off-by: Neale Ranns <nranns@cisco.com>
This commit is contained in:
Neale Ranns
2017-10-31 12:28:22 -07:00
committed by Damjan Marion
parent bfe470c04a
commit 62fe07c8e3
10 changed files with 222 additions and 39 deletions

View File

@ -1278,6 +1278,7 @@ class TestIP6LoadBalance(VppTestCase):
super(TestIP6LoadBalance, self).tearDown()
def send_and_expect_load_balancing(self, input, pkts, outputs):
self.vapi.cli("clear trace")
input.add_stream(pkts)
self.pg_enable_capture(self.pg_interfaces)
self.pg_start()
@ -1286,6 +1287,7 @@ class TestIP6LoadBalance(VppTestCase):
self.assertNotEqual(0, len(rx))
def send_and_expect_one_itf(self, input, pkts, itf):
self.vapi.cli("clear trace")
input.add_stream(pkts)
self.pg_enable_capture(self.pg_interfaces)
self.pg_start()
@ -1691,8 +1693,6 @@ class TestIP6Input(VppTestCase):
# 0: "hop limit exceeded in transit",
self.assertEqual(icmp.code, 0)
self.logger.error(self.vapi.cli("sh error"))
if __name__ == '__main__':
unittest.main(testRunner=VppTestRunner)