diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-01-22 08:46:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-01-22 08:46:50 +0000 |
commit | bc7cac06998c8b42f0b280029925ef4577f3a203 (patch) | |
tree | 97b25c2bdf2a1fce633257cf3eb76d897b916b97 /testcases | |
parent | 9b116478a6c89f5fc4f022223e89a99df001df46 (diff) | |
parent | cc0375241d59e2c010e6c9e04040187478dc5533 (diff) |
Merge "modify onos functest to suit joid CI"
Diffstat (limited to 'testcases')
-rw-r--r-- | testcases/Controllers/ONOS/Teston/CI/onosfunctest.py | 3 |
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() |