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

Method setUp

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

Source from the content-addressed store, hash-verified

826 super(TestLinuxCPOSI, self).tearDown()
827
828 def setUp(self):
829 super(TestLinuxCPOSI, self).setUp()
830 self.create_pg_interfaces(range(2))
831 for i in self.pg_interfaces:
832 i.admin_up()
833
834 self.host = self.pg0
835 self.phy = self.pg1
836
837 self.pair = VppLcpPair(self, self.phy, self.host).add_vpp_config()
838 self.logger.info(self.vapi.cli("sh lcp"))
839
840 def num_osi_protos_enabled(self):
841 reply = self.vapi.lcp_osi_proto_get()

Callers

nothing calls this directly

Calls 6

VppLcpPairClass · 0.85
create_pg_interfacesMethod · 0.80
setUpMethod · 0.45
admin_upMethod · 0.45
add_vpp_configMethod · 0.45
cliMethod · 0.45

Tested by

no test coverage detected