aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/Controllers/ONOS/Teston
diff options
context:
space:
mode:
authorlanqinglong <lanqinglong@huawei.com>2016-01-22 10:35:41 +0800
committerMorgan Richomme <morgan.richomme@orange.com>2016-01-22 08:46:57 +0000
commita58e87593e40e6117153a2604b176e7f4d367c0d (patch)
treeab60b3c9028baecdba2cf039c5b60de60151f4fe /testcases/Controllers/ONOS/Teston
parentd9918d3fac6223b3460ebfa1b68c3e677e47c60d (diff)
modify onos functest to suit joid CI
Change-Id: Ib73d80e06042c849f8f627b252b28c2fb95a283d (cherry picked from commit cc0375241d59e2c010e6c9e04040187478dc5533)
Diffstat (limited to 'testcases/Controllers/ONOS/Teston')
-rw-r--r--testcases/Controllers/ONOS/Teston/CI/onosfunctest.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py b/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
index ccd49b75b..64b8ac1de 100644
--- a/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
+++ b/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
@@ -95,8 +95,7 @@ def GetResult():
return payload
def SetOnosIp():
- onoscreds = ONOS_CONF_DIR + "/openstack.creds"
- cmd = "cat " + onoscreds + " | grep OS_AUTH_URL"
+ cmd = "keystone catalog --service network | grep publicURL"
cmd_output = os.popen(cmd).read()
print cmd_output
OC1=re.search(r"\d+\.\d+\.\d+\.\d+",cmd_output).group()