diff options
author | 2019-04-08 14:15:07 +0000 | |
---|---|---|
committer | 2019-04-08 14:15:07 +0000 | |
commit | ef7bc2139e4e3007663d50e6973860fa47cde4ea (patch) | |
tree | 70509a1195626b9e67cfc115dc453f081273c247 /components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Scripts/python | |
parent | 782e55f79b7fca957e0ef393c50f72daab3a7b59 (diff) |
Fix blueprint data
Request parameter nf-id should be: pnf-id
ODL key name ODL-private-key should be: ODL_private_key_0
Change-Id: I846112c3bd6a80d21a4b5de0845ce99d06b0515f
Issue-ID: CCSDK-1208
Signed-off-by: ottero <rodrigo.ottero@est.tech>
Diffstat (limited to 'components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Scripts/python')
-rw-r--r-- | components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Scripts/python/RestconfConfigDeploy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Scripts/python/RestconfConfigDeploy.py b/components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Scripts/python/RestconfConfigDeploy.py index 2402c5b1a..d65aefabb 100644 --- a/components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Scripts/python/RestconfConfigDeploy.py +++ b/components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Scripts/python/RestconfConfigDeploy.py @@ -67,9 +67,9 @@ class RestconfConfigDeploy(RestconfComponentFunction): def retrieve_parameters(self, execution_request): resolution_key = self.getDynamicProperties("resolution-key").asText() self.log.info("resolution_key: {}", resolution_key) - pnf_id = execution_request.payload.get("config-deploy-request").get("config-deploy-properties").get("nf-id") + pnf_id = execution_request.payload.get("config-deploy-request").get("config-deploy-properties").get("pnf-id") pnf_id = str(pnf_id).strip('\"') - self.log.info("nf-id: {}", pnf_id) + self.log.info("pnf-id: {}", pnf_id) return pnf_id, resolution_key def recover(self, runtime_exception, execution_request): |