aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/vcpe.py
diff options
context:
space:
mode:
authorYang Xu <yang.xu3@huawei.com>2018-12-02 13:10:41 -0500
committerYang Xu <yang.xu3@huawei.com>2018-12-02 18:17:31 +0000
commit86c0e4a2cd78c553ff905b9ce3222a07b0775c86 (patch)
treed43a908490e8fce00114880ed2781f04c4839307 /test/vcpe/vcpe.py
parent3e58ef50fc8ea1e087a72dcc2a2f444ea4635b73 (diff)
Use Casablanca released artifacts for vCPE VNFs
Change-Id: I7bf82229b0e5cb8a02e0b5a0c8651c468cd3c436 Issue-ID: INT-717 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
Diffstat (limited to 'test/vcpe/vcpe.py')
-rwxr-xr-xtest/vcpe/vcpe.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/vcpe/vcpe.py b/test/vcpe/vcpe.py
index 3fb96c55e..bb5bbb637 100755
--- a/test/vcpe/vcpe.py
+++ b/test/vcpe/vcpe.py
@@ -28,11 +28,15 @@ def config_sniro(vcpecommon, vgmux_svc_instance_uuid, vbrg_svc_instance_uuid):
brg_ar_name = None
vgw_name = None
for model in parser.vnf_models:
+ logger.info('modelCustomizationName = %s', model['modelCustomizationName'])
if 'tunnel' in model['modelCustomizationName']:
+ logger.info('tunnel is in %s', model['modelCustomizationName'])
tunnelxconn_ar_name = model['modelCustomizationName']
elif 'brg' in model['modelCustomizationName']:
+ logger.info('brg is in %s', model['modelCustomizationName'])
brg_ar_name = model['modelCustomizationName']
- elif 'vgw' in model['modelCustomizationName']:
+ #elif 'vgw' in model['modelCustomizationName']:
+ else:
vgw_name = model['modelCustomizationName']
if not (tunnelxconn_ar_name and brg_ar_name and vgw_name):
@@ -222,4 +226,6 @@ if __name__ == '__main__':
closed_loop(0)
elif sys.argv[1] == 'brg':
deploy_brg_only()
+ elif sys.argv[1] == 'sniro':
+ tmp_sniro()