Fix issue when creating SNIRO configuration
Change-Id: I739ce90b975bc820f007858bd9d2b49f39150301
Issue-ID: INT-789
Signed-off-by: Yang Xu <yang.xu3@huawei.com>
diff --git a/test/vcpe/vcpe.py b/test/vcpe/vcpe.py
index bb5bbb6..460cb56 100755
--- a/test/vcpe/vcpe.py
+++ b/test/vcpe/vcpe.py
@@ -29,10 +29,10 @@
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']: