diff options
Diffstat (limited to 'test/vcpe/vcpe.py')
-rwxr-xr-x | test/vcpe/vcpe.py | 8 |
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() |