Add a tox profile to install lightynode
[transportpce.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 13d77961f664cbbaea4523f1ccd0551d6234dc3f..2f79e58107334b5b0ea2c5728aabdd4fbc3aa29e 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -62,6 +62,13 @@ changedir = {toxinidir}/lighty
 commands =
   ./build.sh
 
+[testenv:sims]
+passenv = USE_SIMS
+allowlist_externals = install_lightynode.sh
+depends = buildcontroller
+commands =
+  ./install_lightynode.sh {posargs:}
+
 [testenv:sims121]
 passenv = USE_SIMS
 allowlist_externals = install_sims.sh
@@ -250,16 +257,16 @@ commands =
 
 [testenv:tests_tapi]
 depends = buildcontroller,build_karaf_tests221,sims221
-allowlist_externals = launch_tests.sh install_honeynode.sh
+allowlist_externals = launch_tests.sh
 #                      add_tapi_feature_to_tests221.sh
 passenv = LAUNCHER
     USE_LIGHTY
+    USE_SIMS
     NO_ODL_STARTUP
     OLM_TIMER1
     OLM_TIMER2
     USE_ODL_RESTCONF_VERSION
 setenv =
-    USE_SIMS=honeynode
 #    USE_LIGHTY=True
 #    USE_ODL_RESTCONF_VERSION=draft-bierman02
     USE_ODL_ALT_KARAF_ENV=./karaf221.env
@@ -269,9 +276,8 @@ setenv =
     OLM_TIMER2=2000
 
 commands =
-  ./install_honeynode.sh 2.2.1
 #  ./add_tapi_feature_to_tests221.sh
--  ./launch_tests.sh tapi {posargs:}
+  ./launch_tests.sh tapi {posargs:}
 
 [testenv:with_docker]
 depends = buildcontroller,sims221