Added environment parameter and incorporated set_cell function
diff --git a/TestON/tests/ONOSNextTest/ONOSNextTest.params b/TestON/tests/ONOSNextTest/ONOSNextTest.params
index 016a0e9..e97448d 100755
--- a/TestON/tests/ONOSNextTest/ONOSNextTest.params
+++ b/TestON/tests/ONOSNextTest/ONOSNextTest.params
@@ -1,7 +1,12 @@
<PARAMS>
<testcases>1</testcases>
-
+
+ #Environment variables
+ <ENV>
+ <cellName>driver_test</cellName>
+ </ENV>
+
<CTRL>
<ip1>10.128.20.11</ip1>
</CTRL>
diff --git a/TestON/tests/ONOSNextTest/ONOSNextTest.py b/TestON/tests/ONOSNextTest/ONOSNextTest.py
index 4345525..7c0355e 100755
--- a/TestON/tests/ONOSNextTest/ONOSNextTest.py
+++ b/TestON/tests/ONOSNextTest/ONOSNextTest.py
@@ -22,14 +22,15 @@
onos-wait-for-start
'''
-
- #install_result = main.ONOSbench.clean_install()
- install_result = main.TRUE
+ cell_name = main.params['ENV']['cellName']
+ ONOS1_ip = main.params['CTRL']['ip1']
+
+ install_result = main.ONOSbench.clean_install()
package_result = main.ONOSbench.onos_package()
+ cell_result = main.ONOSbench.set_cell(cell_name)
-
-
- case1_result = (install_result and package_result)
+ case1_result = (install_result and package_result and\
+ cell_result)
utilities.assert_equals(expect=main.TRUE, actual=case1_result,
onpass="Test startup successful",
onfail="Test startup NOT successful")