diff options
author | Kanagaraj M <mkr1481@gmail.com> | 2019-09-04 18:30:52 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2019-09-04 18:30:52 +0530 |
commit | a050aba6575423744b4d34df79aac857c25547ef (patch) | |
tree | edf2736c63df7bf60278071710b74784023326e5 | |
parent | a6ccc5cb6da7ef9aa24b7564c96ec55162fd614d (diff) |
Make VNF name without - _
Issue-ID: CLI-166
Change-Id: Ieaced15970bce10f8c2094e458d4fad323ca7889
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
-rw-r--r-- | products/onap-dublin/features/integration/src/main/resources/script/vnf-tosca-provision.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |