Automate pod cluster node ip retrieval

Change-Id: I8e644798fefa180a26da4c2cb4607467810f964a
Issue-ID: INT-791
Signed-off-by: Yang Xu <yang.xu3@huawei.com>
diff --git a/test/vcpe/vcpe.py b/test/vcpe/vcpe.py
index 460cb56..8a46e35 100755
--- a/test/vcpe/vcpe.py
+++ b/test/vcpe/vcpe.py
@@ -192,6 +192,10 @@
     # Setting up SNIRO
     config_sniro(vcpecommon, svc_instance_uuid['gmux'], svc_instance_uuid['brg'])
 
+def test(): 
+    vcpecommon = VcpeCommon()
+    print("sdnc_oam_ip: %s" % (vcpecommon.sdnc_oam_ip))
+
 if __name__ == '__main__':
     logging.basicConfig(level=logging.DEBUG, format='%(message)s')
 
@@ -228,4 +232,6 @@
         deploy_brg_only()
     elif sys.argv[1] == 'sniro':
         tmp_sniro()
+    elif sys.argv[1] == 'test':
+        test()