From ab2ff959df55b212c7e50cc7c8d1e73402c7e4b7 Mon Sep 17 00:00:00 2001 From: Yang Xu Date: Sun, 2 Dec 2018 13:10:41 -0500 Subject: Use Casablanca released artifacts for vCPE VNFs Change-Id: I7bf82229b0e5cb8a02e0b5a0c8651c468cd3c436 Issue-ID: INT-717 Signed-off-by: Yang Xu --- test/vcpe/vcpe.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'test/vcpe/vcpe.py') 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() -- cgit 1.2.3-korg