[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_VLC1ServiceTemplate.yaml
index d1f52d6..9f5a49c 100644 (file)
@@ -12,30 +12,24 @@ node_types:
 topology_template:
   inputs:
     port_VLC1_Internal2_mac_address:
-      type: list
+      type: string
       required: true
-      entry_schema:
-        type: string
     port_VLC_GTP_exCP_naming:
       type: list
       required: true
       entry_schema:
         type: json
     port_VLC_OAM_network_role_tag:
-      type: list
+      type: string
       required: true
-      entry_schema:
-        type: string
     port_VLC1_Internal1_mac_address:
-      type: list
+      type: string
       required: true
-      entry_schema:
-        type: string
     port_VLC_GTP_ip_requirements:
       type: list
       required: true
       entry_schema:
-        type: json
+        type: org.openecomp.datatypes.network.IpRequirements
     port_VLC1_Internal2_exCP_naming:
       type: list
       required: true
@@ -47,10 +41,8 @@ topology_template:
       entry_schema:
         type: string
     port_VLC_SCTP_A_mac_requirements:
-      type: list
+      type: org.openecomp.datatypes.network.MacRequirements
       required: true
-      entry_schema:
-        type: json
     vm_flavor_name:
       type: string
       required: true
@@ -63,12 +55,12 @@ topology_template:
       type: list
       required: true
       entry_schema:
-        type: json
+        type: org.openecomp.datatypes.network.IpRequirements
     port_VLC_SCTP_A_fixed_ips:
       type: list
       required: true
       entry_schema:
-        type: json
+        type: org.openecomp.datatypes.heat.neutron.port.FixedIps
     port_VLC1_Internal2_network_role_tag:
       type: list
       required: true
@@ -113,10 +105,8 @@ topology_template:
       entry_schema:
         type: json
     port_VLC1_Internal1_mac_requirements:
-      type: list
+      type: org.openecomp.datatypes.network.MacRequirements
       required: true
-      entry_schema:
-        type: json
     port_VLC1_Internal1_vlan_requirements:
       type: list
       required: true
@@ -141,7 +131,7 @@ topology_template:
       type: list
       required: true
       entry_schema:
-        type: json
+        type: org.openecomp.datatypes.heat.neutron.port.FixedIps
     port_VLC_OAM_network:
       type: list
       required: true
@@ -156,7 +146,7 @@ topology_template:
       type: list
       required: true
       entry_schema:
-        type: json
+        type: org.openecomp.datatypes.network.IpRequirements
     port_VLC1_Internal1_network:
       type: list
       required: true
@@ -201,17 +191,17 @@ topology_template:
       type: list
       required: true
       entry_schema:
-        type: json
+        type: org.openecomp.datatypes.network.IpRequirements
     port_VLC1_Internal1_ip_requirements:
       type: list
       required: true
       entry_schema:
-        type: json
+        type: org.openecomp.datatypes.network.IpRequirements
     port_VLC_OAM_fixed_ips:
       type: list
       required: true
       entry_schema:
-        type: json
+        type: org.openecomp.datatypes.heat.neutron.port.FixedIps
     port_VLC1_Internal2_vlan_requirements:
       type: list
       required: true
@@ -236,7 +226,7 @@ topology_template:
       type: list
       required: true
       entry_schema:
-        type: json
+        type: org.openecomp.datatypes.network.IpRequirements
     port_VLC_SCTP_A_subnetpoolid:
       type: list
       required: true
@@ -270,10 +260,8 @@ topology_template:
       constraints:
       - greater_or_equal: 0
     port_VLC1_Internal2_mac_requirements:
-      type: list
+      type: org.openecomp.datatypes.network.MacRequirements
       required: true
-      entry_schema:
-        type: json
     port_VLC_SCTP_B_subnetpoolid:
       type: list
       required: true
@@ -283,7 +271,7 @@ topology_template:
       type: list
       required: true
       entry_schema:
-        type: json
+        type: org.openecomp.datatypes.heat.neutron.port.FixedIps
     port_VLC_GTP_network_role:
       type: list
       required: true
@@ -295,25 +283,19 @@ topology_template:
       entry_schema:
         type: string
     port_VLC_GTP_mac_requirements:
-      type: list
+      type: org.openecomp.datatypes.network.MacRequirements
       required: true
-      entry_schema:
-        type: json
     port_VLC_OAM_mac_requirements:
-      type: list
+      type: org.openecomp.datatypes.network.MacRequirements
       required: true
-      entry_schema:
-        type: json
     port_VLC1_Internal1_exCP_naming:
       type: list
       required: true
       entry_schema:
         type: json
     port_VLC_SCTP_B_mac_requirements:
-      type: list
+      type: org.openecomp.datatypes.network.MacRequirements
       required: true
-      entry_schema:
-        type: json
     port_VLC_SCTP_B_order:
       type: list
       required: true
@@ -347,17 +329,13 @@ topology_template:
           - port_VLC_SCTP_B_vlan_requirements
           - index_value
         ip_requirements:
-          get_input:
-          - port_VLC_SCTP_B_ip_requirements
-          - index_value
+          get_input: port_VLC_SCTP_B_ip_requirements
         network_role_tag:
           get_input:
           - port_VLC_SCTP_B_network_role_tag
           - index_value
         mac_requirements:
-          get_input:
-          - port_VLC_SCTP_B_mac_requirements
-          - index_value
+          get_input: port_VLC_SCTP_B_mac_requirements
         order:
           get_input:
           - port_VLC_SCTP_B_order
@@ -371,9 +349,7 @@ topology_template:
           - port_VLC_SCTP_B_subnetpoolid
           - index_value
         fixed_ips:
-          get_input:
-          - port_VLC_SCTP_B_fixed_ips
-          - index_value
+          get_input: port_VLC_SCTP_B_fixed_ips
         network:
           get_input:
           - port_VLC_SCTP_B_network
@@ -395,17 +371,13 @@ topology_template:
           - port_VLC1_Internal2_vlan_requirements
           - index_value
         ip_requirements:
-          get_input:
-          - port_VLC1_Internal2_ip_requirements
-          - index_value
+          get_input: port_VLC1_Internal2_ip_requirements
         network_role_tag:
           get_input:
           - port_VLC1_Internal2_network_role_tag
           - index_value
         mac_requirements:
-          get_input:
-          - port_VLC1_Internal2_mac_requirements
-          - index_value
+          get_input: port_VLC1_Internal2_mac_requirements
         order:
           get_input:
           - port_VLC1_Internal2_order
@@ -423,9 +395,7 @@ topology_template:
           - port_VLC1_Internal2_network
           - index_value
         mac_address:
-          get_input:
-          - port_VLC1_Internal2_mac_address
-          - index_value
+          get_input: port_VLC1_Internal2_mac_address
       requirements:
       - binding:
           capability: tosca.capabilities.network.Bindable
@@ -443,17 +413,13 @@ topology_template:
           - port_VLC1_Internal1_vlan_requirements
           - index_value
         ip_requirements:
-          get_input:
-          - port_VLC1_Internal1_ip_requirements
-          - index_value
+          get_input: port_VLC1_Internal1_ip_requirements
         network_role_tag:
           get_input:
           - port_VLC1_Internal1_network_role_tag
           - index_value
         mac_requirements:
-          get_input:
-          - port_VLC1_Internal1_mac_requirements
-          - index_value
+          get_input: port_VLC1_Internal1_mac_requirements
         order:
           get_input:
           - port_VLC1_Internal1_order
@@ -471,9 +437,7 @@ topology_template:
           - port_VLC1_Internal1_network
           - index_value
         mac_address:
-          get_input:
-          - port_VLC1_Internal1_mac_address
-          - index_value
+          get_input: port_VLC1_Internal1_mac_address
       requirements:
       - binding:
           capability: tosca.capabilities.network.Bindable
@@ -491,17 +455,11 @@ topology_template:
           - port_VLC_OAM_vlan_requirements
           - index_value
         ip_requirements:
-          get_input:
-          - port_VLC_OAM_ip_requirements
-          - index_value
+          get_input: port_VLC_OAM_ip_requirements
         network_role_tag:
-          get_input:
-          - port_VLC_OAM_network_role_tag
-          - index_value
+          get_input: port_VLC_OAM_network_role_tag
         mac_requirements:
-          get_input:
-          - port_VLC_OAM_mac_requirements
-          - index_value
+          get_input: port_VLC_OAM_mac_requirements
         order:
           get_input:
           - port_VLC_OAM_order
@@ -515,9 +473,7 @@ topology_template:
           - port_VLC_OAM_subnetpoolid
           - index_value
         fixed_ips:
-          get_input:
-          - port_VLC_OAM_fixed_ips
-          - index_value
+          get_input: port_VLC_OAM_fixed_ips
         network:
           get_input:
           - port_VLC_OAM_network
@@ -539,17 +495,13 @@ topology_template:
           - port_VLC_SCTP_A_vlan_requirements
           - index_value
         ip_requirements:
-          get_input:
-          - port_VLC_SCTP_A_ip_requirements
-          - index_value
+          get_input: port_VLC_SCTP_A_ip_requirements
         network_role_tag:
           get_input:
           - port_VLC_SCTP_A_network_role_tag
           - index_value
         mac_requirements:
-          get_input:
-          - port_VLC_SCTP_A_mac_requirements
-          - index_value
+          get_input: port_VLC_SCTP_A_mac_requirements
         order:
           get_input:
           - port_VLC_SCTP_A_order
@@ -563,9 +515,7 @@ topology_template:
           - port_VLC_SCTP_A_subnetpoolid
           - index_value
         fixed_ips:
-          get_input:
-          - port_VLC_SCTP_A_fixed_ips
-          - index_value
+          get_input: port_VLC_SCTP_A_fixed_ips
         network:
           get_input:
           - port_VLC_SCTP_A_network
@@ -602,17 +552,13 @@ topology_template:
           - port_VLC_GTP_vlan_requirements
           - index_value
         ip_requirements:
-          get_input:
-          - port_VLC_GTP_ip_requirements
-          - index_value
+          get_input: port_VLC_GTP_ip_requirements
         network_role_tag:
           get_input:
           - port_VLC_GTP_network_role_tag
           - index_value
         mac_requirements:
-          get_input:
-          - port_VLC_GTP_mac_requirements
-          - index_value
+          get_input: port_VLC_GTP_mac_requirements
         order:
           get_input:
           - port_VLC_GTP_order
@@ -626,9 +572,7 @@ topology_template:
           - port_VLC_GTP_subnetpoolid
           - index_value
         fixed_ips:
-          get_input:
-          - port_VLC_GTP_fixed_ips
-          - index_value
+          get_input: port_VLC_GTP_fixed_ips
         network:
           get_input:
           - port_VLC_GTP_network
@@ -1004,4 +948,4 @@ topology_template:
       - dependency
       dependency_VLC1_VLC_SCTP_A:
       - VLC1_VLC_SCTP_A
-      - dependency
\ No newline at end of file
+      - dependency