aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/l2tp
AgeCommit message (Expand)AuthorFilesLines
2020-01-13misc: feature file for unsupported feature l2tpOle Troan1-0/+8
2019-12-10api: multiple connections per processDave Barach1-1/+1
2019-10-30l2: l2tp API cleanupJakub Grajciar2-24/+39
2019-05-28l2tp: l2tp-decap-local don't accept packets unless configuredJakub Grajciar3-10/+10
2019-04-25Remove dummy_interface_tx nodes from l2tp l2xcrw and nshJohn Lo1-9/+0
2019-03-13deprecate VLIB_NODE_FUNCTION_MULTIARCHFilip Tehlar2-11/+13
2018-10-23c11 safe string handling supportDave Barach2-2/+2
2018-09-24Trivial: Clean up some typos.Paul Vinciguerra2-2/+2
2018-09-08L2 BVI/FIB: Update L2 FIB table when BVI's MAC changesNeale Ranns1-0/+1
2018-07-23Update pipeline.h: use vlib_get_buffersDave Barach2-12/+6
2018-07-19Remove unused argument to vlib_feature_nextDamjan Marion1-1/+1
2018-07-11avoid using thread local storage for thread indexDamjan Marion1-1/+1
2018-01-23VPPAPIGEN: vppapigen replacement in Python PLY.Ole Troan1-1/+1
2018-01-11api: remove transport specific code from handlersFlorin Coras1-6/+6
2018-01-09api: refactor vlibmemoryFlorin Coras1-2/+2
2017-10-24Add extern to *_main global variable declarations in header files.Dave Wallace1-1/+1
2017-10-09vppapigen: support per-file (major,minor,patch) version stampsDave Barach1-0/+2
2017-04-25"autoreply" flag: autogenerate standard xxx_reply_t messagesDave Barach1-25/+3
2017-04-06Use thread local storage for thread indexDamjan Marion3-5/+5
2017-03-16vlib: make runtime_data thread-localDamjan Marion1-0/+10
2017-02-22VPP-635: CLI Memory leak with invalid parameterBilly McFall1-11/+28
2016-12-28Reorganize source tree to use single autotools instanceDamjan Marion8-0/+1976
>AF_INET, self.t_dst) r = self.test.vapi.gre_add_del_tunnel(s, d, outer_fib_id=self.t_outer_fib, tunnel_type=self.t_type, session_id=self.t_session) self.set_sw_if_index(r.sw_if_index) self.generate_remote_hosts() self.test.registry.register(self, self.test.logger) def remove_vpp_config(self): s = socket.inet_pton(socket.AF_INET, self.t_src) d = socket.inet_pton(socket.AF_INET, self.t_dst) self.unconfig() self.test.vapi.gre_add_del_tunnel(s, d, outer_fib_id=self.t_outer_fib, tunnel_type=self.t_type, session_id=self.t_session, is_add=0) def __str__(self): return self.object_id() def object_id(self): return "gre-%d" % self.sw_if_index class VppGre6Interface(VppInterface): """ VPP GRE IPv6 interface """ def __init__(self, test, src_ip, dst_ip, outer_fib_id=0, type=0, session=0): """ Create VPP GRE interface """ super(VppGre6Interface, self).__init__(test) self.t_src = src_ip self.t_dst = dst_ip self.t_outer_fib = outer_fib_id self.t_type = type self.t_session = session def add_vpp_config(self): s = socket.inet_pton(socket.AF_INET6, self.t_src) d = socket.inet_pton(socket.AF_INET6, self.t_dst) r = self.test.vapi.gre_add_del_tunnel(s, d, outer_fib_id=self.t_outer_fib, tunnel_type=self.t_type, session_id=self.t_session, is_ip6=1) self.set_sw_if_index(r.sw_if_index) self.generate_remote_hosts() self.test.registry.register(self, self.test.logger) def remove_vpp_config(self): s = socket.inet_pton(socket.AF_INET6, self.t_src) d = socket.inet_pton(socket.AF_INET6, self.t_dst) self.unconfig() self.test.vapi.gre_add_del_tunnel(s, d, outer_fib_id=self.t_outer_fib, tunnel_type=self.t_type, session_id=self.t_session, is_add=0, is_ip6=1) def __str__(self): return self.object_id() def object_id(self): return "gre-%d" % self._sw_if_index