summaryrefslogtreecommitdiffstats
path: root/.gitignore
AgeCommit message (Expand)AuthorFilesLines
2018-07-27Fix .gitignore so docs/Makefile is not ignored. Add README and Makefile. Fis ...John DeNisco1-0/+1
2018-07-26Initial commit of Sphinx docsJohn DeNisco1-0/+2
2018-06-22Python API: Add enum and union support.Ole Troan1-2/+0
2018-06-21Add .pydevproject to .gitignoreMarek Gradzki1-0/+1
2018-06-18Revert "Python API: Add enum and union support."Ole Trøan1-0/+2
2018-06-17Python API: Add enum and union support.Ole Troan1-2/+0
2018-05-31Add src/vlib/config.h.in templateDamjan Marion1-1/+0
2018-03-15remove bootstrap from top-level MakefileDamjan Marion1-1/+1
2018-03-15use system provided ccache linksDamjan Marion1-1/+0
2018-02-07Update gitignore for cmakeKeith Burns (alagalah)1-0/+2
2017-12-15Ignore core filesKeith Burns (alagalah)1-0/+3
2017-12-04Optimize RPM build processRenato Botelho do Couto1-0/+2
2017-11-01VPP Object Model (VOM)Neale Ranns1-0/+1
2017-09-19Add new C APIKlement Sekera1-0/+1
2017-09-08gitignore update for IDEKeith Burns (alagalah)1-1/+2
2017-09-07Allow individual stats API and introduce stats.apiKeith Burns (alagalah)1-0/+1
2017-08-29Add .pybuild to gitignoreKeith Burns (alagalah)1-0/+1
2017-08-22Update gitignore for DPDK filesKeith Burns (alagalah)1-0/+2
2017-01-13vppctl: new bash completion for vppctl commandsPadraig Connolly1-0/+3
2017-01-01Move java,lua api and remaining plugins to src/Damjan Marion1-5/+5
2016-12-09Add make test code coverage reporting using gcovJuraj Sloboda1-0/+1
2016-11-22GRE tests and fixesNeale Ranns1-0/+3
2016-11-01fix typo in .gitignoreKlement Sekera1-1/+1
2016-10-31add vpp debugging support to test frameworkKlement Sekera1-0/+2
2016-10-25Add generated python bindings to .gitignoreMarek Gradzki1-0/+5
2016-09-21A Protocol Independent Hierarchical FIB (VPP-352)Neale Ranns1-2/+2
2016-08-31VPP-221 CLI auto-documentation infrastructureChris Luke1-0/+3
2016-08-30VPP-364 Add vpp-api/python/build to gitignoreFlorin Coras1-0/+2
2016-08-25VPP Python language binding - plugin supportOle Troan1-2/+2
2016-08-16Create python package for jvpp generation.Ed Warnicke1-0/+3
2016-08-12VPP-237: Checkstyle script to check for new checkstyle breakageEd Warnicke1-0/+3
2016-07-21Updating gitignore for generated plugins folderKeith Burns (alagalah)1-0/+1
2016-06-19gitignore gtagsKeith Burns (alagalah)1-0/+4
2016-06-14gitignore change due to DPDK download suffix changeKeith Burns (alagalah)1-0/+1
2016-05-13VPP-57 Add Doxygen to VPPChris Luke1-0/+3
2016-05-12Generate jvpp sources in build-rootMaros Marsalek1-5/+0
2016-05-02HONEYCOMB-10: jVpp - the new java API. C code and jar file generationMarek Gradzki1-0/+6
2016-04-24Updated .gitignore for Python API generated fileKeith Burns (alagalah)1-0/+1
2016-04-12Add unit test infrastructure for LISP protocolFilip Tehlar1-0/+1
2016-03-25Add build-root/*.rpm to .gitignoreEd Warnicke1-0/+1
2016-03-18add ctags and cscope files to .gitignoreDamjan Marion1-0/+4
2016-03-04gitignoreMaros Marsalek1-0/+5
2016-02-01Add a vpp-dpdk-dev package, enable plugins to use dpdk APIs directlyDave Barach1-0/+1
2016-01-31Git ignore additionsKeith Burns (alagalah)1-0/+5
2015-12-23ylwrap is also autotools autogenerated fileDamjan Marion1-0/+1
2015-12-16Update .gitignore to ignore autotools filesEd Warnicke1-1/+25
2015-12-08Initial commit of vpp code.v1.0.0Ed Warnicke1-0/+15
.remote_ip4, "unexpected source EID!") self.test.assertEqual(ih.dst, self.test.deid_ip4, "unexpected dest EID!") except: self.test.logger.error(ppp("Unexpected or invalid packet:", packet)) raise def configure_tc(self, tc): for config_item in self.config_order: for vpp_object in tc[config_item]: vpp_object.add_vpp_config() def run(self, dest): """ Send traffic for each test case and verify that it is encapsulated """ for tc in enumerate(self.test_cases): self.test.logger.info('Running {}'.format(tc[1]['name'])) self.configure_tc(tc[1]) packet = self.create_packet(self.test.pg0, self.test.pg1, dest, 'data') self.test.pg0.add_stream(packet) self.test.pg0.enable_capture() self.test.pg1.enable_capture() self.test.pg_start() capture = self.test.pg1.get_capture(1) self.verify_capture(self.test.pg1.local_ip4, self.test.pg1.remote_ip4, capture) self.test.pg0.assert_nothing_captured() class TestLisp(VppTestCase): """ Basic LISP test """ @classmethod def setUpClass(cls): super(TestLisp, cls).setUpClass() cls.faf = ForeignAddressFactory() cls.create_pg_interfaces(range(2)) # create pg0 and pg1 for i in cls.pg_interfaces: i.admin_up() # put the interface upsrc_if i.config_ip4() # configure IPv4 address on the interface i.resolve_arp() # resolve ARP, so that we know VPP MAC @classmethod def tearDownClass(cls): super(TestLisp, cls).tearDownClass() def setUp(self): super(TestLisp, self).setUp() self.vapi.lisp_enable_disable(is_enabled=1) def test_lisp_basic_encap(self): """Test case for basic encapsulation""" self.deid_ip4_net = self.faf.net self.deid_ip4 = self.faf.get_ip4() self.seid_ip4 = '{!s}/{!s}'.format(self.pg0.local_ip4, 32) self.rloc_ip4 = self.pg1.remote_ip4n test_cases = [ { 'name': 'basic ip4 over ip4', 'locator-sets': [VppLispLocatorSet(self, b'ls-4o4')], 'locators': [ VppLispLocator(self, self.pg1.sw_if_index, b'ls-4o4') ], 'local-mappings': [ VppLocalMapping(self, self.seid_ip4, b'ls-4o4') ], 'remote-mappings': [ VppRemoteMapping(self, self.deid_ip4_net, [{ "is_ip4": 1, "priority": 1, "weight": 1, "addr": self.rloc_ip4 }]) ], 'adjacencies': [ VppLispAdjacency(self, self.seid_ip4, self.deid_ip4_net) ] } ] self.test_driver = SimpleDriver(self, test_cases) self.test_driver.run(self.deid_ip4) class TestLispUT(VppTestCase): """ Lisp UT """ @classmethod def setUpClass(cls): super(TestLispUT, cls).setUpClass() @classmethod def tearDownClass(cls): super(TestLispUT, cls).tearDownClass() def test_fib(self): """ LISP Unit Tests """ error = self.vapi.cli("test lisp cp") if error: self.logger.critical(error) self.assertNotIn("Failed", error) if __name__ == '__main__': unittest.main(testRunner=VppTestRunner)