[
{
- "name": "pnf-id",
+ "name": "nf-id",
"input-param": true,
"property": {
"type": "string"
},
- "dictionary-name": "pnf-id",
+ "dictionary-name": "nf-id",
"dictionary-source": "input",
"dependencies": [
]
},
{
- "name": "pnf-name",
+ "name": "pnf-ipv4-address",
"input-param": true,
"property": {
"type": "string"
},
- "dictionary-name": "pnf-name",
+ "dictionary-name": "pnf-ipv4-address",
"dictionary-source": "input",
"dependencies": [
]
"description" : "Dynamic DataType definition for workflow(config-deploy).",
"version" : "1.0.0",
"properties" : {
- "pnf-id" : {
+ "pnf-ipv4-address" : {
"type" : "string"
},
- "pnf-name" : {
+ "nf-id" : {
"type" : "string"
}
},
"source-input" : {
"description" : "This is Input Resource Source Node Type",
"version" : "1.0.0",
- "properties" : {
- "key" : {
- "required" : false,
- "type" : "string"
- },
- "key-dependencies" : {
- "required" : true,
- "type" : "list",
- "entry_schema" : {
- "type" : "string"
- }
- }
- },
+ "properties" : { },
"derived_from" : "tosca.nodes.ResourceSource"
},
"tosca.nodes.Component" : {
"version" : "1.0.0",
"derived_from" : "tosca.nodes.Root"
},
- "tosca.nodes.Workflow" : {
- "description" : "This is Directed Graph Node Type",
+ "tosca.nodes.ResourceSource" : {
+ "description" : "TOSCA base type for Resource Sources",
"version" : "1.0.0",
"derived_from" : "tosca.nodes.Root"
},
- "tosca.nodes.ResourceSource" : {
- "description" : "TOSCA base type for Resource Sources",
+ "tosca.nodes.Workflow" : {
+ "description" : "This is Directed Graph Node Type",
"version" : "1.0.0",
"derived_from" : "tosca.nodes.Root"
}
{
- "pnf-id" : {
- "tags" : "pnf-id",
- "name" : "pnf-id",
+ "nf-id" : {
+ "tags" : "nf-id",
+ "name" : "nf-id",
"property" : {
- "description" : "pnf-id",
+ "description" : "nf-id",
"type" : "string"
},
"updated-by" : "Rodrigo Ottero <rodrigo.ottero@est.tech>",
}
}
},
- "pnf-name" : {
- "tags" : "pnf-name",
- "name" : "pnf-name",
+ "pnf-ipv4-address" : {
+ "tags" : "pnf-ipv4-address",
+ "name" : "pnf-ipv4-address",
"property" : {
- "description" : "pnf-name",
+ "description" : "pnf-ipv4-address",
"type" : "string"
},
"updated-by" : "Rodrigo Ottero <rodrigo.ottero@est.tech>",
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):
<node xmlns="urn:TBD:params:xml:ns:yang:network-topology">
- <node-id>$pnf-id</node-id>
+ <node-id>$nf-id</node-id>
<key-based xmlns="urn:opendaylight:netconf-node-topology">
<key-id xmlns="urn:opendaylight:netconf-node-topology">ODL-private-key</key-id>
<username xmlns="urn:opendaylight:netconf-node-topology">netconf</username>
</key-based>
- <host xmlns="urn:opendaylight:netconf-node-topology">$pnf-name</host>
+ <host xmlns="urn:opendaylight:netconf-node-topology">$pnf-ipv4-address</host>
<port xmlns="urn:opendaylight:netconf-node-topology">6513</port>
<tcp-only xmlns="urn:opendaylight:netconf-node-topology">false</tcp-only>
<protocol xmlns="urn:opendaylight:netconf-node-topology">
{
- "name" : "pnf-id",
- "tags" : "pnf-id",
+ "name" : "nf-id",
+ "tags" : "nf-id",
"updated-by" : "Rodrigo Ottero <rodrigo.ottero@est.tech>",
"property" : {
- "description" : "pnf-id",
+ "description" : "nf-id",
"type" : "string"
},
"sources" : {
--- /dev/null
+{
+ "name" : "pnf-ipv4-address",
+ "tags" : "pnf-ipv4-address",
+ "updated-by" : "Rodrigo Ottero <rodrigo.ottero@est.tech>",
+ "property" : {
+ "description" : "pnf-ipv4-address",
+ "type" : "string"
+ },
+ "sources" : {
+ "input" : {
+ "type" : "source-input",
+ "properties" : { }
+ }
+ }
+}
\ No newline at end of file
<logger name="org.hibernate" level="error"/>\r
<logger name="org.onap.ccsdk.cds" level="info"/>\r
\r
- <root level="warn">\r
+ <root level="info">\r
<appender-ref ref="STDOUT"/>\r
</root>\r
\r