From a050aba6575423744b4d34df79aac857c25547ef Mon Sep 17 00:00:00 2001 From: Kanagaraj M Date: Wed, 4 Sep 2019 18:30:52 +0530 Subject: Make VNF name without - _ Issue-ID: CLI-166 Change-Id: Ieaced15970bce10f8c2094e458d4fad323ca7889 Signed-off-by: Kanagaraj Manickam k00365106 --- .../integration/src/main/resources/script/vnf-tosca-provision.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'products/onap-dublin') diff --git a/products/onap-dublin/features/integration/src/main/resources/script/vnf-tosca-provision.py b/products/onap-dublin/features/integration/src/main/resources/script/vnf-tosca-provision.py index c624d4fb..d412fa66 100644 --- a/products/onap-dublin/features/integration/src/main/resources/script/vnf-tosca-provision.py +++ b/products/onap-dublin/features/integration/src/main/resources/script/vnf-tosca-provision.py @@ -683,7 +683,7 @@ if __name__ == '__main__': conf['vnf']['ns-csar'] = vnf_csar if vnf_name: conf['vnf']['name'] = vnf_name - conf['vnf']['name'] = '{}{}'.format(conf['vnf']['name'], request_id) + conf['vnf']['name'] = '{}{}'.format(conf['vnf']['name'], request_id).replace("-", "").replace("_", "") if vnf_name: conf['vnf']['vendor-name'] = vendor_name conf['vnf']['vendor-name'] = '{}-{}'.format(conf['vnf']['vendor-name'], request_id) -- cgit 1.2.3-korg