summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-12-25 15:07:27 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2016-12-25 15:07:27 +0200
commit7c25e2016ae0ce0991f21bc1e4c60d071db3e452 (patch)
treeb542ffa12a73e719ff83e1bad201cbaf067ac57d
parentdc66a3a82aab2ce41aa6ded38087e02b1eeb9493 (diff)
Update STL API version to 3.0
Change-Id: Ib00cdc8f960522e54414cfda5ae7778887a9d0ec Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
-rwxr-xr-xscripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py2
-rw-r--r--src/stateless/cp/trex_stateless.cpp4
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);