[SDC] Onboarding 1710 rebase.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / singleSubstitution / generalVf / out / Nested_GPB2ServiceTemplate.yaml
index 133d43e..d18d8f5 100644 (file)
@@ -11,74 +11,22 @@ node_types:
     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
 topology_template:
   inputs:
-    port_GPB2_Internal2_network_role_tag:
-      type: list
-      required: true
-      entry_schema:
-        type: string
-    port_GPB2_Internal2_order:
-      type: list
-      required: true
-      entry_schema:
-        type: integer
-    port_GPB2_Internal1_network:
-      type: list
-      required: true
-      entry_schema:
-        type: string
-    port_GPB2_Internal1_vlan_requirements:
-      type: list
-      required: true
-      entry_schema:
-        type: json
-    vm_flavor_name:
-      type: string
-      required: true
-    port_GPB2_Internal2_ip_requirements:
-      type: list
-      required: true
-      entry_schema:
-        type: org.openecomp.datatypes.network.IpRequirements
-    vm_image_name:
-      type: string
-      required: true
-    port_GPB2_Internal2_vlan_requirements:
-      type: list
-      required: true
-      entry_schema:
-        type: json
-    port_GPB2_Internal1_network_role:
-      type: list
-      required: true
-      entry_schema:
-        type: string
-    compute_GPB2_name:
-      type: list
-      required: true
-      entry_schema:
-        type: string
-    port_GPB2_Internal1_subnetpoolid:
+    port_GPB2_Internal2_mac_address:
       type: list
       required: true
       entry_schema:
         type: string
-    port_GPB2_Internal2_subnetpoolid:
+    port_GPB2_Internal2_mac_requirements:
       type: list
       required: true
       entry_schema:
-        type: string
-    port_GPB2_Internal2_mac_address:
-      type: string
-      required: true
-    port_GPB2_Internal2_mac_requirements:
-      type: org.openecomp.datatypes.network.MacRequirements
-      required: true
+        type: org.openecomp.datatypes.network.MacRequirements
     port_GPB2_Internal1_ip_requirements:
       type: list
       required: true
       entry_schema:
-        type: org.openecomp.datatypes.network.IpRequirements
-    port_GPB2_Internal2_network_role:
+        type: json
+    port_GPB2_Internal1_network:
       type: list
       required: true
       entry_schema:
@@ -95,32 +43,32 @@ topology_template:
       required: true
       entry_schema:
         type: string
-    port_GPB2_Internal2_exCP_naming:
-      type: list
+    vm_flavor_name:
+      type: string
       required: true
-      entry_schema:
-        type: json
-    port_GPB2_Internal1_order:
+    port_GPB2_Internal1_mac_requirements:
       type: list
       required: true
       entry_schema:
-        type: integer
-    port_GPB2_Internal1_mac_requirements:
-      type: org.openecomp.datatypes.network.MacRequirements
-      required: true
-    port_GPB2_Internal1_exCP_naming:
+        type: org.openecomp.datatypes.network.MacRequirements
+    port_GPB2_Internal2_ip_requirements:
       type: list
       required: true
       entry_schema:
         type: json
-    port_GPB2_Internal1_network_role_tag:
+    vm_image_name:
+      type: string
+      required: true
+    compute_GPB2_name:
       type: list
       required: true
       entry_schema:
         type: string
     port_GPB2_Internal1_mac_address:
-      type: string
+      type: list
       required: true
+      entry_schema:
+        type: string
     port_GPB2_Internal2_network:
       type: list
       required: true
@@ -130,40 +78,22 @@ topology_template:
     GPB2_GPB2_Internal2:
       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
       properties:
-        exCP_naming:
-          get_input:
-          - port_GPB2_Internal2_exCP_naming
-          - index_value
-        vlan_requirements:
-          get_input:
-          - port_GPB2_Internal2_vlan_requirements
-          - index_value
         ip_requirements:
-          get_input: port_GPB2_Internal2_ip_requirements
-        network_role_tag:
           get_input:
-          - port_GPB2_Internal2_network_role_tag
+          - port_GPB2_Internal2_ip_requirements
           - index_value
         mac_requirements:
-          get_input: port_GPB2_Internal2_mac_requirements
-        order:
-          get_input:
-          - port_GPB2_Internal2_order
-          - index_value
-        network_role:
           get_input:
-          - port_GPB2_Internal2_network_role
-          - index_value
-        subnetpoolid:
-          get_input:
-          - port_GPB2_Internal2_subnetpoolid
+          - port_GPB2_Internal2_mac_requirements
           - index_value
         network:
           get_input:
           - port_GPB2_Internal2_network
           - index_value
         mac_address:
-          get_input: port_GPB2_Internal2_mac_address
+          get_input:
+          - port_GPB2_Internal2_mac_address
+          - index_value
       requirements:
       - binding:
           capability: tosca.capabilities.network.Bindable
@@ -172,40 +102,22 @@ topology_template:
     GPB2_GPB2_Internal1:
       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
       properties:
-        exCP_naming:
-          get_input:
-          - port_GPB2_Internal1_exCP_naming
-          - index_value
-        vlan_requirements:
-          get_input:
-          - port_GPB2_Internal1_vlan_requirements
-          - index_value
         ip_requirements:
-          get_input: port_GPB2_Internal1_ip_requirements
-        network_role_tag:
           get_input:
-          - port_GPB2_Internal1_network_role_tag
+          - port_GPB2_Internal1_ip_requirements
           - index_value
         mac_requirements:
-          get_input: port_GPB2_Internal1_mac_requirements
-        order:
-          get_input:
-          - port_GPB2_Internal1_order
-          - index_value
-        network_role:
           get_input:
-          - port_GPB2_Internal1_network_role
-          - index_value
-        subnetpoolid:
-          get_input:
-          - port_GPB2_Internal1_subnetpoolid
+          - port_GPB2_Internal1_mac_requirements
           - index_value
         network:
           get_input:
           - port_GPB2_Internal1_network
           - index_value
         mac_address:
-          get_input: port_GPB2_Internal1_mac_address
+          get_input:
+          - port_GPB2_Internal1_mac_address
+          - index_value
       requirements:
       - binding:
           capability: tosca.capabilities.network.Bindable
@@ -436,4 +348,4 @@ topology_template:
       - dependency
       dependency_GPB2_GPB2_Internal1:
       - GPB2_GPB2_Internal1
-      - dependency
+      - dependency
\ No newline at end of file