1 - transformation-for: nodeTemplate #or "region: nodeTemplate"; or "object: nodeTemplate"
2 name: PnfExtCp transformation
3 description: converts any node template that has a type tosca.nodes.nfv.PnfExtCp
5 #currently we only support a single attribute and value search. Can be hierarchical like "properties: layer_protocols:".
6 #must have the same structure in the original node_template declaration, otherwise the attribute will not be found.
7 type: tosca.nodes.nfv.PnfExtCp
9 - query: #attribute query
10 #must have the same structure in the original node_template declaration, otherwise the attribute will not be found.
11 #the value does not matter as we are going to convert it.
13 to-name: type #new attribute name. We could have a default strategy to copy the original name (in the query) if this entry is not provided.
16 from: tosca.nodes.nfv.PnfExtCp #could be ignored
17 to: org.openecomp.resource.cp.v2.extCP
21 to-name: ip_requirements
23 strategy: replaceInList
27 assingment_method: dhcp
31 assingment_method: dhcp
33 to-get-input: ipRequirements
34 - transformation-for: getInputFunction
36 description: converts IpRequirements inputs when called by a get_input TOSCA function
55 to: org.openecomp.datatypes.network.IpRequirements
60 strategy: replaceInList
64 assingment_method: dhcp
68 assingment_method: dhcp