summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Scripts/python/RestconfConfigDeploy.py
diff options
context:
space:
mode:
authorottero <rodrigo.ottero@est.tech>2019-04-05 14:47:21 +0000
committerottero <rodrigo.ottero@est.tech>2019-04-05 14:47:21 +0000
commitb3aceebc81daf3b64d043cf6e835a7ec5ebadd34 (patch)
tree2ff4b4f8b9e794a39a269ba78205722222ba4835 /components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Scripts/python/RestconfConfigDeploy.py
parent6e8706275241805e5fd9d2962c51a2c8f3ee3c62 (diff)
Retrieving PNF IP address from payload
PNF IP is now retrieved from the payload Issue-ID: CCSDK-926 Change-Id: I6942fc0000564553ae16bd1067351f00ca254d10 Signed-off-by: ottero <rodrigo.ottero@est.tech>
Diffstat (limited to 'components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Scripts/python/RestconfConfigDeploy.py')
-rw-r--r--components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Scripts/python/RestconfConfigDeploy.py4
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 d65aefabb..2402c5b1a 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("pnf-id")
+ pnf_id = execution_request.payload.get("config-deploy-request").get("config-deploy-properties").get("nf-id")
pnf_id = str(pnf_id).strip('\"')
- self.log.info("pnf-id: {}", pnf_id)
+ self.log.info("nf-id: {}", pnf_id)
return pnf_id, resolution_key
def recover(self, runtime_exception, execution_request):