diff options
author | Ido Barnea <ibarnea@cisco.com> | 2016-03-07 15:58:03 +0200 |
---|---|---|
committer | Ido Barnea <ibarnea@cisco.com> | 2016-03-07 15:58:31 +0200 |
commit | ccfb88c91c50893bf3d43b67f48ac46e9a252f64 (patch) | |
tree | 78b3c280eb4748c561db4b6947f66ac76a72893c /scripts/automation/trex_control_plane/stl | |
parent | 29c78819b903a2933e8ba106faa5ba5745eb527e (diff) |
Added get_active_pgids
Diffstat (limited to 'scripts/automation/trex_control_plane/stl')
-rw-r--r-- | scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py index a4e0b519..a13e2793 100644 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py @@ -1124,6 +1124,16 @@ class STLClient(object): if not rc: raise STLError(rc) + @__api_check(True) + def get_active_pgids(self): + self.logger.pre_cmd( "Getting active packet group ids") + + rc = self._transmit("get_active_pgids") + + self.logger.post_cmd(rc) + + if not rc: + raise STLError(rc) """ |