(
cls, interfaces, csum_offload=0, gso=0, gso_size=0
)
| 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): |
nothing calls this directly
no test coverage detected