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

Method pg_enable_capture

test/framework.py:147–158  ·  view source on GitHub ↗

Enable capture on packet-generator interfaces :param interfaces: iterable interface indexes (if None, use self.pg_interfaces)

(cls, interfaces=None)

Source from the content-addressed store, hash-verified

145
146 @classmethod
147 def pg_enable_capture(cls, interfaces=None):
148 """
149 Enable capture on packet-generator interfaces
150
151 :param interfaces: iterable interface indexes (if None,
152 use self.pg_interfaces)
153
154 """
155 if interfaces is None:
156 interfaces = cls.pg_interfaces
157 for i in interfaces:
158 i.enable_capture()
159
160 @classmethod
161 def register_pcap(cls, intf, worker):

Callers 15

pg_sendMethod · 0.95
send_and_expect_multiMethod · 0.95
run_verify_testMethod · 0.80
sendMethod · 0.80
add_groupMethod · 0.80
remove_groupMethod · 0.80
test_igmp_hostMethod · 0.80
test_igmp_routerMethod · 0.80
test_srv6_usid_srhMethod · 0.80
test_srv6_usidMethod · 0.80

Calls 1

enable_captureMethod · 0.45

Tested by 15

run_verify_testMethod · 0.64
sendMethod · 0.64
add_groupMethod · 0.64
remove_groupMethod · 0.64
test_igmp_hostMethod · 0.64
test_igmp_routerMethod · 0.64
test_srv6_usid_srhMethod · 0.64
test_srv6_usidMethod · 0.64
test_srv6_usid_flexMethod · 0.64
run_verify_testMethod · 0.64