related-networks property support as input
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / subinterface / vlantagging / pattern1c1 / allConnectivities / out / Nested_vdbeServiceTemplate.yaml
index 13006c7..3b803ba 100644 (file)
@@ -16,11 +16,6 @@ topology_template:
       required: true
       entry_schema:
         type: string
-    subinterface_vlan1_ip_v6_address:
-      type: list
-      required: true
-      entry_schema:
-        type: string
     subinterface_vlan1_aap_sec_untrusted_ip_prefix:
       type: list
       required: true
@@ -31,11 +26,6 @@ topology_template:
       required: true
       entry_schema:
         type: string
-    subinterface_vlan1_aap_untrusted_ip_prefix:
-      type: list
-      required: true
-      entry_schema:
-        type: string
     port_vdbe_untr_2_port_virtual_machine_interface_mac_addresses:
       type: list
       required: true
@@ -47,63 +37,126 @@ topology_template:
     vm_flavor_name:
       type: string
       required: true
-    port_vdbe_untr_2_port_virtual_network_refs:
+    subinterface_vlan1_counter:
       type: list
       required: true
       entry_schema:
-        type: json
-    subinterface_vlan1_counter:
+        type: float
+    vm_image_name:
+      type: string
+      required: true
+    port_vdbe_untr_2_port_network_role:
+      type: string
+      required: true
+    compute_vdbe_metadata:
       type: list
       required: true
       entry_schema:
-        type: float
-    subinterface_vlan1_subinterfaces_name_prefix:
+        type: json
+    subinterface_vlan1_aap_untrusted_v6_ip_prefix_len:
       type: list
       required: true
       entry_schema:
         type: string
-    vm_image_name:
-      type: string
+    port_vdbe_untr_1_port_ip_requirements:
+      type: list
       required: true
-    port_vdbe_untr_1_port_network_role:
+      entry_schema:
+        type: org.openecomp.datatypes.network.IpRequirements
+    port_vdbe_untr_2_port_vlan_requirements:
+      type: list
+      required: true
+      entry_schema:
+        type: org.openecomp.datatypes.network.VlanRequirements
+    port_vdbe_untr_2_port_exCP_naming:
+      type: org.openecomp.datatypes.Naming
+      required: true
+    port_vdbe_untr_2_port_ip_requirements:
+      type: list
+      required: true
+      entry_schema:
+        type: org.openecomp.datatypes.network.IpRequirements
+    port_vdbe_untr_1_port_mac_requirements:
+      type: org.openecomp.datatypes.network.MacRequirements
+      required: true
+    port_vdbe_untr_1_port_order:
+      type: integer
+      required: true
+    port_vdbe_untr_1_port_subnetpoolid:
       type: string
       required: true
-    port_vdbe_untr_2_port_name:
+    port_vdbe_untr_2_port_mac_requirements:
+      type: org.openecomp.datatypes.network.MacRequirements
+      required: true
+    port_vdbe_untr_1_port_virtual_machine_interface_allowed_address_pairs:
+      type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
+      required: true
+    subinterface_vlan1_mac_address:
       type: list
       required: true
       entry_schema:
         type: string
-    port_vdbe_untr_2_port_network_role:
+    subinterface_vlan1_aap_untrusted_ip_prefix_len:
+      type: list
+      required: true
+      entry_schema:
+        type: string
+    subinterface_vlan1_ip_address:
+      type: list
+      required: true
+      entry_schema:
+        type: string
+    compute_vdbe_name:
+      type: list
+      required: true
+      entry_schema:
+        type: string
+    port_vdbe_untr_1_port_network_role_tag:
       type: string
       required: true
-    compute_vdbe_metadata:
+    subinterface_vlan1_ip_v6_address:
       type: list
       required: true
       entry_schema:
-        type: json
-    subinterface_vlan1_aap_untrusted_v6_ip_prefix_len:
+        type: string
+    port_vdbe_untr_1_port_related_networks:
+      type: list
+      required: true
+      entry_schema:
+        type: org.openecomp.datatypes.network.RelatedNetworksAssignments
+    subinterface_vlan1_aap_untrusted_ip_prefix:
       type: list
       required: true
       entry_schema:
         type: string
-    port_vdbe_untr_1_port_virtual_network_refs:
+    port_vdbe_untr_2_port_virtual_network_refs:
       type: list
       required: true
       entry_schema:
         type: json
-    port_vdbe_untr_1_port_ip_requirements:
+    subinterface_vlan1_subinterfaces_name_prefix:
       type: list
       required: true
       entry_schema:
-        type: org.openecomp.datatypes.network.IpRequirements
-    port_vdbe_untr_2_port_vlan_requirements:
+        type: string
+    port_vdbe_untr_1_port_network_role:
+      type: string
+      required: true
+    port_vdbe_untr_2_port_name:
       type: list
       required: true
       entry_schema:
-        type: org.openecomp.datatypes.network.VlanRequirements
-    port_vdbe_untr_2_port_exCP_naming:
-      type: org.openecomp.datatypes.Naming
+        type: string
+    port_vdbe_untr_2_port_related_networks:
+      type: list
       required: true
+      entry_schema:
+        type: org.openecomp.datatypes.network.RelatedNetworksAssignments
+    port_vdbe_untr_1_port_virtual_network_refs:
+      type: list
+      required: true
+      entry_schema:
+        type: json
     subinterface_vlan1_vn_network_list:
       type: list
       required: true
@@ -120,17 +173,6 @@ topology_template:
       required: true
       entry_schema:
         type: float
-    port_vdbe_untr_2_port_ip_requirements:
-      type: list
-      required: true
-      entry_schema:
-        type: org.openecomp.datatypes.network.IpRequirements
-    port_vdbe_untr_1_port_mac_requirements:
-      type: org.openecomp.datatypes.network.MacRequirements
-      required: true
-    port_vdbe_untr_1_port_order:
-      type: integer
-      required: true
     subinterface_vlan1_parent_interface:
       type: list
       required: true
@@ -151,9 +193,6 @@ topology_template:
     port_vdbe_untr_1_port_exCP_naming:
       type: org.openecomp.datatypes.Naming
       required: true
-    port_vdbe_untr_1_port_subnetpoolid:
-      type: string
-      required: true
     subinterface_vlan1_optional_property_1:
       type: list
       required: true
@@ -164,48 +203,19 @@ topology_template:
       required: true
       entry_schema:
         type: string
-    port_vdbe_untr_2_port_mac_requirements:
-      type: org.openecomp.datatypes.network.MacRequirements
-      required: true
     subinterface_vlan1_optional_property_2:
       type: list
       required: true
       entry_schema:
         type: string
-    port_vdbe_untr_1_port_virtual_machine_interface_allowed_address_pairs:
-      type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
-      required: true
     subinterface_vlan1_aap_sec_untrusted_ip_prefix_len:
       type: list
       required: true
       entry_schema:
         type: string
-    subinterface_vlan1_mac_address:
-      type: list
-      required: true
-      entry_schema:
-        type: string
-    subinterface_vlan1_aap_untrusted_ip_prefix_len:
-      type: list
-      required: true
-      entry_schema:
-        type: string
-    subinterface_vlan1_ip_address:
-      type: list
-      required: true
-      entry_schema:
-        type: string
     port_vdbe_untr_2_port_virtual_machine_interface_allowed_address_pairs:
       type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
       required: true
-    compute_vdbe_name:
-      type: list
-      required: true
-      entry_schema:
-        type: string
-    port_vdbe_untr_1_port_network_role_tag:
-      type: string
-      required: true
     port_vdbe_untr_1_port_vlan_requirements:
       type: list
       required: true
@@ -257,6 +267,8 @@ topology_template:
         vlan_requirements:
           get_input: port_vdbe_untr_2_port_vlan_requirements
         subinterface_indicator: false
+        related_networks:
+          get_input: port_vdbe_untr_2_port_related_networks
         virtual_network_refs:
           get_input:
           - port_vdbe_untr_2_port_virtual_network_refs
@@ -387,6 +399,8 @@ topology_template:
         vlan_requirements:
           get_input: port_vdbe_untr_1_port_vlan_requirements
         subinterface_indicator: true
+        related_networks:
+          get_input: port_vdbe_untr_1_port_related_networks
         virtual_network_refs:
           get_input:
           - port_vdbe_untr_1_port_virtual_network_refs
@@ -644,4 +658,4 @@ topology_template:
       - dependency
       subinterface_link_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
       - vdbe_vdbe_untr_1_port_vlan1
-      - subinterface_link_vdbe_untr_x_vlan1-Network-Role_vmi_subport
+      - subinterface_link_vdbe_untr_x_vlan1-Network-Role_vmi_subport
\ No newline at end of file