diff options
author | lanqinglong <lanqinglong@huawei.com> | 2015-10-21 11:58:24 +0800 |
---|---|---|
committer | lanqinglong <lanqinglong@huawei.com> | 2015-10-21 12:00:20 +0800 |
commit | e6896a606189e45ae03541335418c71f4d747094 (patch) | |
tree | a04bef9545de1544656659b667e20f90cbe6aee6 /framework/scripts/function_test/Teston/onosfunctest.py | |
parent | e9bb60be43af477f17b30ee1f2ba205565b7fa15 (diff) |
Create a new framework of running onos test
JIRA:ONOSFW-138
Onosfw need some test, so it need a new framework
Change-Id: Iaccdc1184767bdb1b794d36d92e09bf03a38d82f
Signed-off-by: lanqinglong <lanqinglong@huawei.com>
Diffstat (limited to 'framework/scripts/function_test/Teston/onosfunctest.py')
-rw-r--r-- | framework/scripts/function_test/Teston/onosfunctest.py | 21 |
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 ) |