diff options
author | Yang Xu <yang.xu3@huawei.com> | 2018-12-28 01:00:50 -0500 |
---|---|---|
committer | Yang Xu <yang.xu3@huawei.com> | 2018-12-28 06:25:25 +0000 |
commit | 27e1624422a4ed07b349719522e4eaa375ad694f (patch) | |
tree | a2b027799a13b1c2745ea350bd800c4cf24628a6 /test/vcpe/vcpe.py | |
parent | 0f3817046abaa5a4fa8a8831505d0d077d5e3473 (diff) |
Fix issue when creating SNIRO configuration
Change-Id: I739ce90b975bc820f007858bd9d2b49f39150301
Issue-ID: INT-789
Signed-off-by: Yang Xu <yang.xu3@huawei.com>
Diffstat (limited to 'test/vcpe/vcpe.py')
-rwxr-xr-x | test/vcpe/vcpe.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/vcpe/vcpe.py b/test/vcpe/vcpe.py index bb5bbb637..460cb56de 100755 --- a/test/vcpe/vcpe.py +++ b/test/vcpe/vcpe.py @@ -29,10 +29,10 @@ def config_sniro(vcpecommon, vgmux_svc_instance_uuid, vbrg_svc_instance_uuid): vgw_name = None for model in parser.vnf_models: logger.info('modelCustomizationName = %s', model['modelCustomizationName']) - if 'tunnel' in model['modelCustomizationName']: + if 'tunnel' in model['modelCustomizationName'].lower(): logger.info('tunnel is in %s', model['modelCustomizationName']) tunnelxconn_ar_name = model['modelCustomizationName'] - elif 'brg' in model['modelCustomizationName']: + elif 'brg' in model['modelCustomizationName'].lower(): logger.info('brg is in %s', model['modelCustomizationName']) brg_ar_name = model['modelCustomizationName'] #elif 'vgw' in model['modelCustomizationName']: |