summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-03-08 11:18:07 +0200
committerHanoh Haim <hhaim@cisco.com>2016-03-08 11:18:07 +0200
commitfbc4fb05834899e70005a61f8f3c2ddf427aae67 (patch)
tree0eb95bd436914255cc0a76e393e1a79c6af2ac62 /scripts
parent205e581ed5a176f24347d46cd2cff3f45b8ff564 (diff)
parent9e41eef933345d8b91014a7760ec13bac972fdb7 (diff)
Merge enic patch
Diffstat (limited to 'scripts')
-rw-r--r--scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py10
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)
"""