return capture name for this interface and given worker
(self, worker=None)
| 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""" |
no outgoing calls
no test coverage detected