diff options
author | Kanagaraj Manickam <kanagaraj.manickam@huawei.com> | 2019-08-09 10:21:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-08-09 10:21:47 +0000 |
commit | f249983a7cca64628f24a73092e813d2b4c18afc (patch) | |
tree | de6985046e588368ddc5f2827148e470d019d06d /products | |
parent | c487e982cbea45009017d387825533ffb9a35b8f (diff) | |
parent | e26c26027ef9b9c24788f58d7a1f4439b4d4d5ec (diff) |
Merge "Add request-id to vnf provision"
Diffstat (limited to 'products')
-rw-r--r-- | products/onap-dublin/features/integration/src/main/resources/script/ovp-tosca-vnf-provision.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/products/onap-dublin/features/integration/src/main/resources/script/ovp-tosca-vnf-provision.py b/products/onap-dublin/features/integration/src/main/resources/script/ovp-tosca-vnf-provision.py index a761fb15..2141e168 100644 --- a/products/onap-dublin/features/integration/src/main/resources/script/ovp-tosca-vnf-provision.py +++ b/products/onap-dublin/features/integration/src/main/resources/script/ovp-tosca-vnf-provision.py @@ -435,7 +435,11 @@ vnf_csar = args.vnf_csar ns_csar = args.ns_csar vnfm_driver = args.vnfm_driver result_json_path = args.result_json_path -request_id = args.request_id + +if args.request_id is None: + request_id = os.environ["OPEN_CLI_REQUEST_ID"] +else: + request_id = args.request_id # setup CLI parameters = get_parameters(config_file) |