aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/vcpe.py
diff options
context:
space:
mode:
authorYang Xu <yang.xu3@huawei.com>2018-12-31 17:48:02 +0000
committerYang Xu <yang.xu3@huawei.com>2018-12-31 17:48:58 +0000
commitcb7abba8c45ae1f8e565ea428cdf73aba6156322 (patch)
tree5c19844c3853183aa9e91a6d6a98ddf4f7f87acb /test/vcpe/vcpe.py
parent112af76639fc51351ccad9866b252080f3dd1551 (diff)
Use Openstack novaclient API in vCPE
Change-Id: Ia9a8a704b239d7372cc864732193072cf5fecfa1 Issue-ID: INT-791 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
Diffstat (limited to 'test/vcpe/vcpe.py')
-rwxr-xr-xtest/vcpe/vcpe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vcpe/vcpe.py b/test/vcpe/vcpe.py
index 8a46e359f..8f888c6d5 100755
--- a/test/vcpe/vcpe.py
+++ b/test/vcpe/vcpe.py
@@ -194,7 +194,7 @@ def tmp_sniro():
def test():
vcpecommon = VcpeCommon()
- print("sdnc_oam_ip: %s" % (vcpecommon.sdnc_oam_ip))
+ print("oom-k8s-04 public ip: %s" % (vcpecommon.get_vm_public_ip_by_nova('oom-k8s-04')))
if __name__ == '__main__':
logging.basicConfig(level=logging.DEBUG, format='%(message)s')