summaryrefslogtreecommitdiffstats
path: root/src/vpp.am
AgeCommit message (Expand)AuthorFilesLines
2017-11-10Break up vpe.apiNeale Ranns1-2/+6
2017-09-07Allow individual stats API and introduce stats.apiKeith Burns (alagalah)1-5/+7
2017-07-17Fix unlinking of /dev/shm files.Dave Wallace1-3/+3
2017-06-24Rewrite vppctl in CDamjan Marion1-0/+4
2017-05-10Make reproducible build possibleMarco Varlese1-3/+7
2017-05-03Fix vnet unit testsFilip Tehlar1-1/+0
2017-03-30Clean up more Debian packaging symbol warningsDave Barach1-4/+0
2017-01-28Add files to CLEANFILES for robust make clean.Burt Silverman1-0/+2
2017-01-23binary-api debug CLI works with pluginsDave Barach1-1/+5
2017-01-16Define more dependencies between libsDamjan Marion1-4/+2
2017-01-11Makefile.am cleanupDamjan Marion1-34/+2
2017-01-08Multiple Autotools improvementsDamjan Marion1-13/+20
2017-01-03vlib: merge libvlib_unix.so into libvlib.soDamjan Marion1-1/+0
2017-01-03fix version.h generation for out-of-tree buildsDamjan Marion1-2/+2
2017-01-01Move java,lua api and remaining plugins to src/Damjan Marion1-1/+1
2016-12-28Reorganize source tree to use single autotools instanceDamjan Marion1-0/+159
/span> import IPv6 from framework import VppTestCase class TestL2tp(VppTestCase): """ L2TP Test Case """ @classmethod def setUpClass(cls): super(TestL2tp, cls).setUpClass() cls.create_pg_interfaces(range(1)) cls.pg0.admin_up() cls.pg0.config_ip6() def test_l2tp_decap_local(self): """ L2TP don't accept packets unless configured """ pkt = (Ether(dst=self.pg0.local_mac, src=self.pg0.remote_mac) / IPv6(src=self.pg0.remote_ip6, dst=self.pg0.local_ip6, nh=115)) self.pg0.add_stream(pkt) self.pg_start() # l2tp should not accept packets err = self.statistics.get_counter( '/err/l2tp-decap-local/l2tpv3 session not found')[0] self.assertEqual(err, 0) err_count = err self.vapi.l2tpv3_create_tunnel(client_address=self.pg0.local_ip6n, our_address=self.pg0.remote_ip6n, is_ipv6=1) self.pg0.add_stream(pkt) self.pg_start() # l2tp accepts packets err = self.statistics.get_counter( '/err/l2tp-decap-local/l2tpv3 session not found')[0] self.assertEqual(err, 1) err_count = err