aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
diff options
context:
space:
mode:
authorlanqinglong <lanqinglong@huawei.com>2015-10-16 16:49:08 +0800
committerlanqinglong <lanqinglong@huawei.com>2015-10-16 17:30:28 +0800
commit15a6d133f8c7689df58306656cc1c6cff46496d5 (patch)
treea786ccbfc613ee1ac7793a4e183bb76041240386 /testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
parentb26ce9549342625bded0fb81434f58bf4ccd9ba3 (diff)
Move the configuration from test scripts to config_functest.yaml
JIRA:FUNCTEST-77 The configuration is in onos test files Get them out, put in config_functest.yaml Change-Id: I3f7b868b61a7e66596f7c0cc232c5b045d77aecb 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.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py b/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
index fe6f9d776..e8524430f 100644
--- a/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
+++ b/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
@@ -12,17 +12,7 @@ from adapters.client import client
if __name__=="__main__":
main = client()
- main.masterusername = "root"
- main.masterpassword = "root"
- main.agentusername = "root"
- main.agentpassword = "root"
- main.OCT = '189.42.8.99'
- main.OC1 = '189.42.8.101'
- main.OC2 = '189.42.8.102'
- main.OC3 = '189.42.8.103'
- main.OCN = '189.42.8.104'
- main.OCN2 = '189.42.8.105'
- main.localhost = main.OCT
+ main.getdefaultpara()
#scripts to run
runhandle = main.onosstart()