From ccfb88c91c50893bf3d43b67f48ac46e9a252f64 Mon Sep 17 00:00:00 2001 From: Ido Barnea Date: Mon, 7 Mar 2016 15:58:03 +0200 Subject: Added get_active_pgids --- .../trex_control_plane/stl/trex_stl_lib/trex_stl_client.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'scripts/automation') 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) """ -- cgit 1.2.3-korg