summaryrefslogtreecommitdiffstats
path: root/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
diff options
context:
space:
mode:
authorlanqinglong <lanqinglong@huawei.com>2015-10-13 21:02:11 +0800
committerQinglong Lan <lanqinglong@huawei.com>2015-10-14 10:15:36 +0000
commit47595881eba7292de87ec5d7aeb4b123ba6eb0f1 (patch)
tree1e59d98e2af913e7090841bf04b8affc1e32c349 /testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
parent53adf4a3727ebd64f3052de31c21e67a1c51d2c1 (diff)
intergrate the basic function senario and testcases in TESTON
JIRA:FUNCTEST-47 include tests: Northbound test Ovsdb test Change-Id: Icd5bc2da117cc5c2f7196a0f06fa8934fd8e022f Signed-off-by: lanqinglong <lanqinglong@huawei.com>
Diffstat (limited to 'testcases/Controllers/ONOS/Teston/CI/onosfunctest.py')
-rw-r--r--testcases/Controllers/ONOS/Teston/CI/onosfunctest.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py b/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
index 3286a15f8..fe6f9d776 100644
--- a/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
+++ b/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
@@ -9,7 +9,6 @@ lanqinglong@huawei.com
"""
from adapters.client import client
-
if __name__=="__main__":
main = client()
@@ -24,8 +23,9 @@ if __name__=="__main__":
main.OCN = '189.42.8.104'
main.OCN2 = '189.42.8.105'
main.localhost = main.OCT
- main.onosbasic()
#scripts to run
- main.RunScript("FUNCvirNetNB")
- main.RunScript("FUNCovsdbtest")
+ runhandle = main.onosstart()
+ main.RunScript(runhandle, "FUNCvirNetNB")
+ main.RunScript(runhandle, "FUNCovsdbtest")
+ main.onosclean( runhandle )