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

Method create_pg_ip4_interfaces

test/framework.py:216–225  ·  view source on GitHub ↗
(
        cls, interfaces, csum_offload=0, gso=0, gso_size=0
    )

Source from the content-addressed store, hash-verified

214
215 @classmethod
216 def create_pg_ip4_interfaces(
217 cls, interfaces, csum_offload=0, gso=0, gso_size=0
218 ) -> list[VppPGInterface]:
219 if not hasattr(cls, "vpp"):
220 cls.pg_interfaces = []
221 return cls.pg_interfaces
222 pgmode = VppEnum.vl_api_pg_interface_mode_t
223 return cls.create_pg_interfaces_internal(
224 interfaces, csum_offload, gso, gso_size, pgmode.PG_API_MODE_IP4
225 )
226
227 @classmethod
228 def create_pg_ip6_interfaces(

Callers 4

setUpMethod · 0.80
setUpMethod · 0.80
setUpMethod · 0.80
setUpMethod · 0.80

Calls 1

Tested by 4

setUpMethod · 0.64
setUpMethod · 0.64
setUpMethod · 0.64
setUpMethod · 0.64