diff options
author | Yang Xu <yang.xu3@huawei.com> | 2018-12-30 05:32:21 +0000 |
---|---|---|
committer | Yang Xu <yang.xu3@huawei.com> | 2018-12-30 05:54:11 +0000 |
commit | 64339a8e5386bad2a871fa082889df1c4e649857 (patch) | |
tree | dc884fa2049594874d39c96204e9a84fff52d280 /test/vcpe/vcpe.py | |
parent | 27e1624422a4ed07b349719522e4eaa375ad694f (diff) |
Automate pod cluster node ip retrieval
Change-Id: I8e644798fefa180a26da4c2cb4607467810f964a
Issue-ID: INT-791
Signed-off-by: Yang Xu <yang.xu3@huawei.com>
Diffstat (limited to 'test/vcpe/vcpe.py')
-rwxr-xr-x | test/vcpe/vcpe.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/vcpe/vcpe.py b/test/vcpe/vcpe.py index 460cb56de..8a46e359f 100755 --- a/test/vcpe/vcpe.py +++ b/test/vcpe/vcpe.py @@ -192,6 +192,10 @@ def tmp_sniro(): # 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 @@ if __name__ == '__main__': deploy_brg_only() elif sys.argv[1] == 'sniro': tmp_sniro() + elif sys.argv[1] == 'test': + test() |