summaryrefslogtreecommitdiffstats
path: root/test/test_vxlan_gbp.py
AgeCommit message (Expand)AuthorFilesLines
2021-05-13tests: move test source to vpp/testDave Wallace1-0/+293
2021-03-29tests: move vxlan tests to src/vnet/vxlan/testsDave Wallace1-293/+0
2020-06-08vxlan: Fixed checksum caclculation offsetVladimir Isaev1-1/+2
2020-05-03tests: vpp_interface remove deprecated packed propertiesPaul Vinciguerra1-2/+2
2020-04-10geneve: Fix the byte swapping for the VNINeale Ranns1-4/+5
2019-12-14tests: changes for scapy 2.4.3 migrationsnaramre1-1/+2
2019-11-15tests: Remove the unrequired VPP IP address/prefix class wrappersNeale Ranns1-5/+4
2019-11-08tests: python3 use byte strings in raw()Ole Troan1-3/+3
2019-11-05misc: Fix python scripts shebang lineRenato Botelho do Couto1-1/+1
2019-06-25tests: fix test_gbp.py.Paul Vinciguerra1-8/+24
2019-06-18fib: fib api updatesNeale Ranns1-7/+10
2019-04-11Tests: Refactor tearDown show command logging, add lifecycle markers.Paul Vinciguerra1-5/+6
2019-04-10Tests Cleanup: Fix missing calls to setUpClass/tearDownClass.Paul Vinciguerra1-0/+4
2019-03-28Typos. A bunch of typos I've been collecting.Paul Vinciguerra1-2/+2
2019-03-11vpp_papi_provider: Remove more wrapper functions.Ole Troan1-7/+10
2018-12-10Test framework: StringIO fixes for Python3Ole Troan1-18/+2
2018-09-12VXLAN-GBP: use common types on the APINeale Ranns1-10/+13
2018-09-10vxlan-gbp: Add support for vxlan gbpMohsin Kazmi1-0/+277
lass() def setUp(self): super(TestMpcap, self).setUp() def tearDown(self): super(TestMpcap, self).tearDown() def test_mpcap_unittest(self): """ Mapped pcap file test """ cmds = ["packet-generator new {\n" " name mpcap\n" " limit 15\n" " size 128-128\n" " interface local0\n" " node mpcap-unittest\n" " data {\n" " IP6: 00:d0:2d:5e:86:85 -> 00:0d:ea:d0:00:00\n" " ICMP: db00::1 -> db00::2\n" " incrementing 30\n" " }\n", "trace add pg-input 15", "pa en", "show trace", "show error"] for cmd in cmds: self.logger.info(self.vapi.cli(cmd)) size = os.path.getsize("/tmp/mpcap_unittest.pcap") os.remove("/tmp/mpcap_unittest.pcap") if size != 2184: self.logger.critical("BUG: file size %d not 2184" % size) self.assertNotIn('WrongMPCAPFileSize', 'WrongMPCAPFileSize') if __name__ == '__main__': unittest.main(testRunner=VppTestRunner)