From 7c25e2016ae0ce0991f21bc1e4c60d071db3e452 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Sun, 25 Dec 2016 15:07:27 +0200 Subject: [PATCH] Update STL API version to 3.0 Change-Id: Ib00cdc8f960522e54414cfda5ae7778887a9d0ec Signed-off-by: Yaroslav Brustinov --- .../automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py | 2 +- src/stateless/cp/trex_stateless.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 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 79ed3a36..e163d516 100755 --- 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 @@ -546,7 +546,7 @@ class STLClient(object): self.connected = False # API classes - self.api_vers = [ {'type': 'core', 'major': 2, 'minor': 3 } ] + self.api_vers = [ {'type': 'core', 'major': 3, 'minor': 0 } ] self.api_h = {'core': None} # logger diff --git a/src/stateless/cp/trex_stateless.cpp b/src/stateless/cp/trex_stateless.cpp index 0a7f8533..c31ba0a5 100644 --- a/src/stateless/cp/trex_stateless.cpp +++ b/src/stateless/cp/trex_stateless.cpp @@ -54,8 +54,8 @@ TrexStateless::TrexStateless(const TrexStatelessCfg &cfg) { m_publisher = cfg.m_publisher; /* API core version */ - const int API_VER_MAJOR = 2; - const int API_VER_MINOR = 3; + const int API_VER_MAJOR = 3; + const int API_VER_MINOR = 0; m_api_classes[APIClass::API_CLASS_TYPE_CORE].init(APIClass::API_CLASS_TYPE_CORE, API_VER_MAJOR, API_VER_MINOR); -- 2.16.6