diff options
author | Maciej Skrocki <maciej.skrocki@intel.com> | 2017-08-18 15:43:21 -0700 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2017-08-24 12:42:53 -0700 |
commit | 42e59b19264a8a31650d2a111b79d932accd8e4e (patch) | |
tree | 86b26608fefd5467bab75e9520a5037a768c03eb /yardstick/network_services/utils.py | |
parent | 2a5189826106cee5bbbcc35df53abc4002c9d47f (diff) |
Standardized TRex client library path
- path should be defined via TREX_CLIENT_LIB environmental variable e.g. TREX_CLIENT_LIB=/opt/trex_client/stl
- refactored unit tests
Change-Id: I18767e48daf774432c010f1b88d18a4f0ee4e156
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'yardstick/network_services/utils.py')
-rw-r--r-- | yardstick/network_services/utils.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/yardstick/network_services/utils.py b/yardstick/network_services/utils.py index 0264bbc1c..d52e27c15 100644 --- a/yardstick/network_services/utils.py +++ b/yardstick/network_services/utils.py @@ -30,7 +30,10 @@ OPTS = [ help='bin_path for VNFs location.'), cfg.StrOpt('trex_path', default=os.path.join(NSB_ROOT, 'trex/scripts'), - help='trex automation lib pathh.'), + help='trex automation lib path.'), + cfg.StrOpt('trex_client_lib', + default=os.path.join(NSB_ROOT, 'trex_client/stl'), + help='trex python library path.'), ] CONF.register_opts(OPTS, group="nsb") |