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

Method setUpClass

test/test_reassembly.py:2596–2610  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

2594
2595 @classmethod
2596 def setUpClass(cls):
2597 super().setUpClass()
2598
2599 cls.create_pg_interfaces([0])
2600 cls.src_dst_if = cls.pg0
2601
2602 # setup all interfaces
2603 for i in cls.pg_interfaces:
2604 i.admin_up()
2605 i.config_ip4()
2606 i.resolve_arp()
2607
2608 cls.padding = " abcdefghijklmn"
2609 cls.create_stream()
2610 cls.create_fragments()
2611
2612 @classmethod
2613 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 7

create_pg_interfacesMethod · 0.80
setUpClassMethod · 0.45
admin_upMethod · 0.45
config_ip4Method · 0.45
resolve_arpMethod · 0.45
create_streamMethod · 0.45
create_fragmentsMethod · 0.45

Tested by

no test coverage detected