aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/Controllers/ONOS
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-02-02 10:34:06 +0100
committerjose.lausuch <jose.lausuch@ericsson.com>2016-02-02 10:44:20 +0100
commit906b3b2f7e85f1269d009684b1a557a6c19e96bc (patch)
tree1e7d9fc73d755c25ab11c9741691b4a6920dee21 /testcases/Controllers/ONOS
parenta0ecc366c97cc66a2120a39987b909d30af141da (diff)
Use openstack client to avoid keystone deprecation warnings
Change-Id: Ib82b3f20d0c23fc67201c7159e3b3a6de5c201cf Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'testcases/Controllers/ONOS')
-rw-r--r--testcases/Controllers/ONOS/Teston/CI/onosfunctest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py b/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
index 4b377941..bf031cb4 100644
--- a/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
+++ b/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
@@ -142,7 +142,7 @@ def GetResult():
return payload
def SetOnosIp():
- cmd = "keystone catalog --service network | grep publicURL"
+ cmd = "openstack catalog show network | grep publicURL"
cmd_output = os.popen(cmd).read()
OC1=re.search(r"\d+\.\d+\.\d+\.\d+",cmd_output).group()
os.environ['OC1'] = OC1