MCPcopy Create free account
hub / github.com/FDio/vpp / remove_vpp_config

Method remove_vpp_config

test/vpp_gre_interface.py:60–76  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58 return self
59
60 def remove_vpp_config(self):
61 self.unconfig()
62
63 self.test.vapi.gre_tunnel_add_del_v2(
64 is_add=0,
65 tunnel={
66 "src": self.t_src,
67 "dst": self.t_dst,
68 "outer_table_id": self.t_outer_table,
69 "instance": 0xFFFFFFFF,
70 "type": self.t_type,
71 "mode": self.t_mode,
72 "flags": self.t_flags,
73 "session_id": self.t_session,
74 "key": self.t_gre_key,
75 },
76 )
77
78 def object_id(self):
79 return "gre-%d" % self.sw_if_index

Callers 8

test_greMethod · 0.95
test_gre_with_keyMethod · 0.95
test_gre6Method · 0.95
test_gre_vrfMethod · 0.95
test_gre_l2Method · 0.95
test_gre_loopMethod · 0.95

Calls 1

unconfigMethod · 0.80

Tested by 8

test_greMethod · 0.76
test_gre_with_keyMethod · 0.76
test_gre6Method · 0.76
test_gre_vrfMethod · 0.76
test_gre_l2Method · 0.76
test_gre_loopMethod · 0.76