Create OC path at 200Gbps and 300Gbps
[transportpce.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index bb844879fe257e3f96f59c849115b9a7ce7ebb28..1c3d9abf60064b2383c4f818b7bf81267b86bf3e 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -26,6 +26,7 @@ setupdir = tests/
 [testenv]
 passenv = LAUNCHER
      USE_LIGHTY
+     USE_SIMS
      NO_ODL_STARTUP
      http_proxy
      HTTP_PROXY
@@ -62,24 +63,27 @@ commands =
   ./build.sh
 
 [testenv:sims121]
-allowlist_externals = install_honeynode.sh
+passenv = USE_SIMS
+allowlist_externals = install_sims.sh
 depends = buildcontroller
 # sims profiles does not strictly depends on buildcontroller
 # but this dependency avoids race condition in the gate
 commands =
-  ./install_honeynode.sh 1.2.1
+  ./install_sims.sh 1.2.1
 
 [testenv:sims221]
-allowlist_externals = install_honeynode.sh
+passenv = USE_SIMS
+allowlist_externals = install_sims.sh
 depends = buildcontroller
 commands =
-  ./install_honeynode.sh 2.2.1
+  ./install_sims.sh 2.2.1
 
 [testenv:sims71]
-allowlist_externals = install_honeynode.sh
+passenv = USE_SIMS
+allowlist_externals = install_sims.sh
 depends = buildcontroller
 commands =
-  ./install_honeynode.sh 7.1
+  ./install_sims.sh 7.1
 
 [testenv:testsPCE]
 depends = buildcontroller
@@ -120,7 +124,7 @@ depends = buildcontroller,build_karaf_tests121,sims121,testsPCE
 allowlist_externals = launch_tests.sh
 passenv = LAUNCHER
     USE_LIGHTY
-    NO_ODL_STARTUP
+    USE_SIMS
     USE_ODL_RESTCONF_VERSION
 setenv =
 #    USE_LIGHTY=True
@@ -173,6 +177,7 @@ depends = buildcontroller,build_karaf_tests221,sims221,tests71
 allowlist_externals = launch_tests.sh
 passenv = LAUNCHER
     USE_LIGHTY
+    USE_SIMS
     NO_ODL_STARTUP
     USE_ODL_RESTCONF_VERSION
 setenv =
@@ -197,7 +202,7 @@ commands =
 
 [testenv:tests71]
 depends = buildcontroller,build_karaf_tests71,sims71,tests_tapi
-allowlist_externals = launch_tests.sh
+allowlist_externals = launch_tests.sh install_honeynode.sh
 passenv = LAUNCHER
     USE_LIGHTY
     NO_ODL_STARTUP
@@ -205,9 +210,11 @@ passenv = LAUNCHER
 setenv =
 #    USE_LIGHTY=True
 #    USE_ODL_RESTCONF_VERSION=draft-bierman02
+    USE_SIMS=honeynode
     USE_ODL_ALT_KARAF_ENV=./karaf71.env
     USE_ODL_ALT_KARAF_INSTALL_DIR=karaf71
 commands =
+  ./install_honeynode.sh 7.1
   ./launch_tests.sh 7.1 {posargs:}
 
 [testenv:build_karaf_tests_hybrid]
@@ -224,25 +231,30 @@ commands =
 [testenv:tests_hybrid]
 depends = buildcontroller,build_karaf_tests_hybrid,sims121,sims221,sims71,tests121,tests221,tests71
 #the last dependency is to avoid temporarily concurrent ressources problem in parallel mode
-allowlist_externals = launch_tests.sh
+allowlist_externals = launch_tests.sh install_honeynode.sh
 passenv = LAUNCHER
     USE_LIGHTY
+    USE_SIMS
     NO_ODL_STARTUP
     USE_ODL_RESTCONF_VERSION
 setenv =
+    USE_SIMS=honeynode
 #    USE_LIGHTY=True
 #    USE_ODL_RESTCONF_VERSION=draft-bierman02
     USE_ODL_ALT_KARAF_ENV=./karaf121.env
     USE_ODL_ALT_KARAF_INSTALL_DIR=karaf_hybrid
 commands =
 #  nosetests --with-xunit transportpce_tests/hybrid/test01_device_change_notifications.py
+  ./install_honeynode.sh
   ./launch_tests.sh hybrid {posargs:}
 
 [testenv:tests_tapi]
 depends = buildcontroller,build_karaf_tests221,sims221
-allowlist_externals = launch_tests.sh add_tapi_feature_to_tests221.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
@@ -262,8 +274,7 @@ commands =
 
 [testenv:with_docker]
 depends = buildcontroller,sims221
-allowlist_externals = launch_tests.sh
-                      dockercmd.sh
+allowlist_externals = launch_tests.sh dockercmd.sh install_honeynode.sh
 passenv = LAUNCHER
     USE_LIGHTY
     NO_ODL_STARTUP
@@ -271,6 +282,7 @@ passenv = LAUNCHER
 #    OLM_TIMER1
 #    OLM_TIMER2
 setenv =
+    USE_SIMS=honeynode
     OLM_TIMER1=3000
     OLM_TIMER2=2000
     INSTALL_TAPI=True
@@ -278,6 +290,7 @@ setenv =
 #    USE_ODL_RESTCONF_VERSION=draft-bierman02
 
 commands =
+  ./install_honeynode.sh 2.2.1
   ./dockercmd.sh run -d -p 2181:2181 -p 9092:9092 --env ADVERTISED_LISTENERS=PLAINTEXT://localhost:9092 --name tpce_kafka1 teivah/kafka:2.0.0
   ./launch_tests.sh with_docker {posargs:}
   ./dockercmd.sh container rm -f tpce_kafka1