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

Method setUp

test/test_linux_cp.py:113–124  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

111 super(TestLinuxCP, cls).tearDownClass()
112
113 def setUp(self):
114 super(TestLinuxCP, self).setUp()
115
116 # create 4 pg interfaces so we can create two pairs
117 self.create_pg_interfaces(range(4))
118
119 # create on ip4 and one ip6 pg tun
120 self.pg_interfaces += self.create_pg_ip4_interfaces(range(4, 5))
121 self.pg_interfaces += self.create_pg_ip6_interfaces(range(5, 6))
122
123 for i in self.pg_interfaces:
124 i.admin_up()
125
126 def tearDown(self):
127 for i in self.pg_interfaces:

Callers 4

setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45

Calls 4

create_pg_interfacesMethod · 0.80
admin_upMethod · 0.45

Tested by

no test coverage detected