[sdc] update code of sdc
[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 64a239a..133d43e 100644 (file)
@@ -38,7 +38,7 @@ topology_template:
       type: list
       required: true
       entry_schema:
-        type: json
+        type: org.openecomp.datatypes.network.IpRequirements
     vm_image_name:
       type: string
       required: true
@@ -68,20 +68,16 @@ topology_template:
       entry_schema:
         type: string
     port_GPB2_Internal2_mac_address:
-      type: list
+      type: string
       required: true
-      entry_schema:
-        type: string
     port_GPB2_Internal2_mac_requirements:
-      type: list
+      type: org.openecomp.datatypes.network.MacRequirements
       required: true
-      entry_schema:
-        type: json
     port_GPB2_Internal1_ip_requirements:
       type: list
       required: true
       entry_schema:
-        type: json
+        type: org.openecomp.datatypes.network.IpRequirements
     port_GPB2_Internal2_network_role:
       type: list
       required: true
@@ -110,10 +106,8 @@ topology_template:
       entry_schema:
         type: integer
     port_GPB2_Internal1_mac_requirements:
-      type: list
+      type: org.openecomp.datatypes.network.MacRequirements
       required: true
-      entry_schema:
-        type: json
     port_GPB2_Internal1_exCP_naming:
       type: list
       required: true
@@ -125,10 +119,8 @@ topology_template:
       entry_schema:
         type: string
     port_GPB2_Internal1_mac_address:
-      type: list
+      type: string
       required: true
-      entry_schema:
-        type: string
     port_GPB2_Internal2_network:
       type: list
       required: true
@@ -147,17 +139,13 @@ topology_template:
           - port_GPB2_Internal2_vlan_requirements
           - index_value
         ip_requirements:
-          get_input:
-          - port_GPB2_Internal2_ip_requirements
-          - index_value
+          get_input: port_GPB2_Internal2_ip_requirements
         network_role_tag:
           get_input:
           - port_GPB2_Internal2_network_role_tag
           - index_value
         mac_requirements:
-          get_input:
-          - port_GPB2_Internal2_mac_requirements
-          - index_value
+          get_input: port_GPB2_Internal2_mac_requirements
         order:
           get_input:
           - port_GPB2_Internal2_order
@@ -175,9 +163,7 @@ topology_template:
           - port_GPB2_Internal2_network
           - index_value
         mac_address:
-          get_input:
-          - port_GPB2_Internal2_mac_address
-          - index_value
+          get_input: port_GPB2_Internal2_mac_address
       requirements:
       - binding:
           capability: tosca.capabilities.network.Bindable
@@ -195,17 +181,13 @@ topology_template:
           - port_GPB2_Internal1_vlan_requirements
           - index_value
         ip_requirements:
-          get_input:
-          - port_GPB2_Internal1_ip_requirements
-          - index_value
+          get_input: port_GPB2_Internal1_ip_requirements
         network_role_tag:
           get_input:
           - port_GPB2_Internal1_network_role_tag
           - index_value
         mac_requirements:
-          get_input:
-          - port_GPB2_Internal1_mac_requirements
-          - index_value
+          get_input: port_GPB2_Internal1_mac_requirements
         order:
           get_input:
           - port_GPB2_Internal1_order
@@ -223,9 +205,7 @@ topology_template:
           - port_GPB2_Internal1_network
           - index_value
         mac_address:
-          get_input:
-          - port_GPB2_Internal1_mac_address
-          - index_value
+          get_input: port_GPB2_Internal1_mac_address
       requirements:
       - binding:
           capability: tosca.capabilities.network.Bindable
@@ -456,4 +436,4 @@ topology_template:
       - dependency
       dependency_GPB2_GPB2_Internal1:
       - GPB2_GPB2_Internal1
-      - dependency
\ No newline at end of file
+      - dependency