[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_NCB1ServiceTemplate.yaml
index c41603b..2da2afc 100644 (file)
@@ -35,10 +35,8 @@ topology_template:
       entry_schema:
         type: string
     port_NCB1_Internal2_mac_requirements:
-      type: list
+      type: org.openecomp.datatypes.network.MacRequirements
       required: true
-      entry_schema:
-        type: json
     vm_image_name:
       type: string
       required: true
@@ -51,7 +49,7 @@ topology_template:
       type: list
       required: true
       entry_schema:
-        type: json
+        type: org.openecomp.datatypes.network.IpRequirements
     port_NCB1_Internal1_exCP_naming:
       type: list
       required: true
@@ -73,10 +71,8 @@ topology_template:
       entry_schema:
         type: string
     port_NCB1_Internal2_mac_address:
-      type: list
+      type: string
       required: true
-      entry_schema:
-        type: string
     index_value:
       type: integer
       description: Index value of this substitution service template runtime instance
@@ -85,10 +81,8 @@ topology_template:
       constraints:
       - greater_or_equal: 0
     port_NCB1_Internal1_mac_address:
-      type: list
+      type: string
       required: true
-      entry_schema:
-        type: string
     port_NCB1_Internal1_order:
       type: list
       required: true
@@ -103,17 +97,15 @@ topology_template:
       type: list
       required: true
       entry_schema:
-        type: json
+        type: org.openecomp.datatypes.network.IpRequirements
     port_NCB1_Internal1_vlan_requirements:
       type: list
       required: true
       entry_schema:
         type: json
     port_NCB1_Internal1_mac_requirements:
-      type: list
+      type: org.openecomp.datatypes.network.MacRequirements
       required: true
-      entry_schema:
-        type: json
     port_NCB1_Internal1_network:
       type: list
       required: true
@@ -162,17 +154,13 @@ topology_template:
           - port_NCB1_Internal1_vlan_requirements
           - index_value
         ip_requirements:
-          get_input:
-          - port_NCB1_Internal1_ip_requirements
-          - index_value
+          get_input: port_NCB1_Internal1_ip_requirements
         network_role_tag:
           get_input:
           - port_NCB1_Internal1_network_role_tag
           - index_value
         mac_requirements:
-          get_input:
-          - port_NCB1_Internal1_mac_requirements
-          - index_value
+          get_input: port_NCB1_Internal1_mac_requirements
         order:
           get_input:
           - port_NCB1_Internal1_order
@@ -190,9 +178,7 @@ topology_template:
           - port_NCB1_Internal1_network
           - index_value
         mac_address:
-          get_input:
-          - port_NCB1_Internal1_mac_address
-          - index_value
+          get_input: port_NCB1_Internal1_mac_address
       requirements:
       - binding:
           capability: tosca.capabilities.network.Bindable
@@ -210,17 +196,13 @@ topology_template:
           - port_NCB1_Internal2_vlan_requirements
           - index_value
         ip_requirements:
-          get_input:
-          - port_NCB1_Internal2_ip_requirements
-          - index_value
+          get_input: port_NCB1_Internal2_ip_requirements
         network_role_tag:
           get_input:
           - port_NCB1_Internal2_network_role_tag
           - index_value
         mac_requirements:
-          get_input:
-          - port_NCB1_Internal2_mac_requirements
-          - index_value
+          get_input: port_NCB1_Internal2_mac_requirements
         order:
           get_input:
           - port_NCB1_Internal2_order
@@ -238,9 +220,7 @@ topology_template:
           - port_NCB1_Internal2_network
           - index_value
         mac_address:
-          get_input:
-          - port_NCB1_Internal2_mac_address
-          - index_value
+          get_input: port_NCB1_Internal2_mac_address
       requirements:
       - binding:
           capability: tosca.capabilities.network.Bindable
@@ -456,4 +436,4 @@ topology_template:
       - dependency
       dependency_NCB1_NCB1_Internal2:
       - NCB1_NCB1_Internal2
-      - dependency
\ No newline at end of file
+      - dependency