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

Method create_pg_ethernet_interfaces

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

Source from the content-addressed store, hash-verified

250
251 @classmethod
252 def create_pg_ethernet_interfaces(
253 cls, interfaces, csum_offload=0, gso=0, gso_size=0
254 ):
255 if not hasattr(cls, "vpp"):
256 cls.pg_interfaces = []
257 return cls.pg_interfaces
258 pgmode = VppEnum.vl_api_pg_interface_mode_t
259 return cls.create_pg_interfaces_internal(
260 interfaces, csum_offload, gso, gso_size, pgmode.PG_API_MODE_ETHERNET
261 )
262
263 @classmethod
264 def create_loopback_interfaces(cls, count):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected