diff options
author | 2015-12-07 10:53:57 -0500 | |
---|---|---|
committer | 2015-12-07 10:53:57 -0500 | |
commit | 01af153cf391d963a64cdd9b0d29226aca8b63b4 (patch) | |
tree | 06761d6e5108801816b7cadb1f9ba0dd42459adc /scripts | |
parent | 24b895f6843210b1bbe8046c639ed9da436c8012 (diff) |
removed duplications
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/automation/trex_control_plane/client/trex_stateless_client.py | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/scripts/automation/trex_control_plane/client/trex_stateless_client.py b/scripts/automation/trex_control_plane/client/trex_stateless_client.py index 2925e7eb..0c6d9855 100755 --- a/scripts/automation/trex_control_plane/client/trex_stateless_client.py +++ b/scripts/automation/trex_control_plane/client/trex_stateless_client.py @@ -1374,37 +1374,6 @@ class CTRexStatelessClient(object): - - @timing - def cmd_pause_line (self, line): - '''Pause active traffic in specified ports on TRex\n''' - parser = parsing_opts.gen_parser(self, - "pause", - self.cmd_stop_line.__doc__, - parsing_opts.PORT_LIST_WITH_ALL) - - opts = parser.parse_args(line.split()) - if opts is None: - return RC_ERR("bad command line paramters") - - return self.cmd_pause(opts.ports) - - - @timing - def cmd_resume_line (self, line): - '''Resume active traffic in specified ports on TRex\n''' - parser = parsing_opts.gen_parser(self, - "resume", - self.cmd_stop_line.__doc__, - parsing_opts.PORT_LIST_WITH_ALL) - - opts = parser.parse_args(line.split()) - if opts is None: - return RC_ERR("bad command line paramters") - - return self.cmd_resume(opts.ports) - - @timing def cmd_validate_line (self, line): '''validates port(s) stream configuration\n''' |