diff options
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/console/trex_console.py')
-rwxr-xr-x | scripts/automation/trex_control_plane/stl/console/trex_console.py | 6 |
1 files changed, 6 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 0beb10df..53817464 100755 --- a/scripts/automation/trex_control_plane/stl/console/trex_console.py +++ b/scripts/automation/trex_control_plane/stl/console/trex_console.py @@ -332,6 +332,12 @@ class TRexConsole(TRexGeneralCmd): def help_push (self): return self.do_push("-h") + def do_portattr (self, line): + '''Change/show port(s) attributes\n''' + return self.stateless_client.set_port_attr_line(line) + + def help_portattr (self): + return self.do_portattr("-h") def do_history (self, line): '''Manage the command history\n''' |