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

Method get_cap_name

test/vpp_pg_interface.py:112–116  ·  view source on GitHub ↗

return capture name for this interface and given worker

(self, worker=None)

Source from the content-addressed store, hash-verified

110 return f"packet-generator capture {self.name} pcap {self.out_path}"
111
112 def get_cap_name(self, worker=None):
113 """return capture name for this interface and given worker"""
114 if worker is not None:
115 return self._cap_name + "-worker%d" % worker
116 return self._cap_name
117
118 def get_input_cli(self, nb_replays=None, worker=None):
119 """return CLI string to load the injected packets"""

Callers 2

get_input_cliMethod · 0.95
pg_startMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected