aboutsummaryrefslogtreecommitdiffstats
path: root/framework/scripts/function_test/Teston/onosfunctest.py
diff options
context:
space:
mode:
Diffstat (limited to 'framework/scripts/function_test/Teston/onosfunctest.py')
-rw-r--r--framework/scripts/function_test/Teston/onosfunctest.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/framework/scripts/function_test/Teston/onosfunctest.py b/framework/scripts/function_test/Teston/onosfunctest.py
new file mode 100644
index 00000000..e8524430
--- /dev/null
+++ b/framework/scripts/function_test/Teston/onosfunctest.py
@@ -0,0 +1,21 @@
+"""
+Description: This test is to run onos Teston VTN scripts
+
+List of test cases:
+CASE1 - Northbound NBI test network/subnet/ports
+CASE2 - Ovsdb test&Default configuration&Vm go online
+
+lanqinglong@huawei.com
+"""
+from adapters.client import client
+
+if __name__=="__main__":
+
+ main = client()
+ main.getdefaultpara()
+
+ #scripts to run
+ runhandle = main.onosstart()
+ main.RunScript(runhandle, "FUNCvirNetNB")
+ main.RunScript(runhandle, "FUNCovsdbtest")
+ main.onosclean( runhandle )