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

Class Send

test/framework.py:85–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83
84
85class Send:
86 def __init__(
87 self,
88 interface: VppPGInterface,
89 packets: list[Ether] | list[Packet] | Packet,
90 worker: int | None = None,
91 ):
92 self.interface = interface
93 if isinstance(packets, Packet):
94 self.packets = [packets]
95 else:
96 self.packets = packets
97 self.worker = worker
98
99
100class Expect:

Callers 15

test_reassemblyMethod · 0.90
test_reversedMethod · 0.90
test_randomMethod · 0.90
test_duplicatesMethod · 0.90
test_overlap1Method · 0.90
test_overlap2Method · 0.90
test_timeout_inlineMethod · 0.90
test_disabledMethod · 0.90
test_reassemblyMethod · 0.90
test_reversedMethod · 0.90
test_randomMethod · 0.90
test_duplicatesMethod · 0.90

Calls

no outgoing calls

Tested by 15

test_reassemblyMethod · 0.72
test_reversedMethod · 0.72
test_randomMethod · 0.72
test_duplicatesMethod · 0.72
test_overlap1Method · 0.72
test_overlap2Method · 0.72
test_timeout_inlineMethod · 0.72
test_disabledMethod · 0.72
test_reassemblyMethod · 0.72
test_reversedMethod · 0.72
test_randomMethod · 0.72
test_duplicatesMethod · 0.72