diff options
-rwxr-xr-x | test/hpa_automation/tosca/hpa_automation.py | 3 | ||||
-rwxr-xr-x | test/hpa_automation/tosca/vcpe_vgw_config.json | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/test/hpa_automation/tosca/hpa_automation.py b/test/hpa_automation/tosca/hpa_automation.py index 68f848763..d542c20b6 100755 --- a/test/hpa_automation/tosca/hpa_automation.py +++ b/test/hpa_automation/tosca/hpa_automation.py @@ -385,7 +385,8 @@ def onboard_vnf(parameters): return vnf_onboard_outputs def onboard_ns(parameters): - ns_onboard_string = 'oclip vfc-catalog-onboard-ns -c {}'.format(parameters["ns-csar-id"]) + ns_onboard_string = 'oclip vfc-catalog-onboard-ns -m {} -c {}'.format(parameters["ns"]["url"], + parameters["ns"]["csar-id"]) ns_onboard_out = (os.popen(ns_onboard_string)).read() return ns_onboard_out diff --git a/test/hpa_automation/tosca/vcpe_vgw_config.json b/test/hpa_automation/tosca/vcpe_vgw_config.json index 989734f79..d4bcef901 100755 --- a/test/hpa_automation/tosca/vcpe_vgw_config.json +++ b/test/hpa_automation/tosca/vcpe_vgw_config.json @@ -147,6 +147,7 @@ } }, "ns":{ + "url": "http://msb-iag:80", "csar-id": "You need change it", "key": "key1", "value": "value1", |