diff options
author | 2016-02-25 09:54:45 -0500 | |
---|---|---|
committer | 2016-02-25 09:57:23 -0500 | |
commit | aaef3f95683bfa1574537c543e4ffc86afb0480f (patch) | |
tree | 01bf5d21786fb59d13338a75b644eb0fa9a5f20d /scripts/automation/trex_control_plane/stl/console | |
parent | ed7c04b5d7d5bb15aa13144e62caa786e73f7d05 (diff) |
port attributes - promiscuous and etc.
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/console')
-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''' |