.. code-block:: bash
- cd /opt/trex/vX.XX/ #use completion here to find your corresponding TRex version
- ./trex-console -r
- capture start monitor --rx [port number] -v
+ cd /opt/trex/vX.XX/ # use completion here to find your corresponding TRex version
+ ./trex-console --python3 -r
+ # capture on port number 0
+ capture monitor start --rx 0 -v
+
+ # to stop capture
+ capture monitor stop
Start this capture once you have started the NFVBench test, and you will observe packets on the TRex console :
if self.config.no_latency_streams:
LOG.info("Latency streams are disabled")
+ # in service mode, we must disable flow stats (e2e=True)
self.gen.create_traffic(frame_size, self.run_config['rates'], bidirectional,
- latency=not self.config.no_latency_streams)
+ latency=not self.config.no_latency_streams,
+ e2e=self.runner.service_mode)
def _modify_load(self, load):
self.current_total_rate = {'rate_percent': str(load)}