diff options
author | 2016-11-06 17:20:17 +0200 | |
---|---|---|
committer | 2016-11-06 17:20:17 +0200 | |
commit | a1ade6fd8e044b9866a8644db3519305539cfc61 (patch) | |
tree | 08b4d0e2db80c4d1e5cb759512c5e3631c19fd95 /scripts/automation/trex_control_plane/stl/console | |
parent | 234779fd32e747f4ac918f3c39e59618dde0f2d7 (diff) |
RX features - RX sniffer
Signed-off-by: imarom <imarom@cisco.com>
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/console')
-rwxr-xr-x | scripts/automation/trex_control_plane/stl/console/trex_console.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/automation/trex_control_plane/stl/console/trex_console.py b/scripts/automation/trex_control_plane/stl/console/trex_console.py index b23b5f1f..92c04a7f 100755 --- a/scripts/automation/trex_control_plane/stl/console/trex_console.py +++ b/scripts/automation/trex_control_plane/stl/console/trex_console.py @@ -327,6 +327,13 @@ class TRexConsole(TRexGeneralCmd): def help_portattr (self): self.do_portattr("-h") + def do_set_rx_sniffer (self, line): + '''Sets a port sniffer on RX channel as PCAP recorder''' + self.stateless_client.set_rx_sniffer_line(line) + + def help_sniffer (self): + self.do_set_rx_sniffer("-h") + @verify_connected def do_map (self, line): '''Maps ports topology\n''' |