From 671823e12bc13be9a8b87a5d7de33da1bb7a44e8 Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Mon, 30 Nov 2015 07:58:38 -0800 Subject: created broader test category under scripts Change-Id: I3b8a39b7512594ae2c9aa7ab0e59cf6e2d31f7a2 Signed-off-by: Ashlee Young --- framework/scripts/tests/Teston/onosfunctest.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 framework/scripts/tests/Teston/onosfunctest.py (limited to 'framework/scripts/tests/Teston/onosfunctest.py') diff --git a/framework/scripts/tests/Teston/onosfunctest.py b/framework/scripts/tests/Teston/onosfunctest.py new file mode 100644 index 00000000..e8524430 --- /dev/null +++ b/framework/scripts/tests/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 ) -- cgit 1.2.3-korg