Implement PNFD Model driven conversion
[sdc.git] / openecomp-be / lib / openecomp-tosca-converter-lib / openecomp-tosca-converter-core / src / test / resources / transformation / pnfParseEngine / pnfWithGetInput / expectedOutput / fullTransformation.yaml
diff --git a/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/resources/transformation/pnfParseEngine/pnfWithGetInput/expectedOutput/fullTransformation.yaml b/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/resources/transformation/pnfParseEngine/pnfWithGetInput/expectedOutput/fullTransformation.yaml
new file mode 100644 (file)
index 0000000..4f9af4d
--- /dev/null
@@ -0,0 +1,36 @@
+topology_template:
+  inputs:
+    role1:
+      type: string
+      description: Role
+      default: leaf
+    layer_protocols:
+      type: list
+      description: IP protocols
+      entry_schema:
+        type: org.openecomp.datatypes.network.IpRequirements
+      default:
+        - assingment_method: dhcp
+          ip_version: 4
+        - assingment_method: dhcp
+          ip_version: 6
+    role:
+      type: string
+      description: Role
+      default: leaf
+  node_templates:
+    pnfExtCp_3:
+      properties:
+        role: {get_input: role1}
+    pnfExtCp_2:
+      properties:
+        ip_requirements: {get_input: layer_protocols}
+        role: {get_input: role}
+    pnfExtCp_1:
+      properties:
+        ip_requirements:
+          - assingment_method: dhcp
+            ip_version: 4
+          - assingment_method: dhcp
+            ip_version: 6
+        role: leaf
\ No newline at end of file