aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1
diff options
context:
space:
mode:
authorojasdubey <ojas.dubey@amdocs.com>2018-02-22 14:32:06 +0530
committerAvi Gaffa <avi.gaffa@amdocs.com>2018-02-28 09:56:30 +0000
commit51e051e86f9f5d10c9439e9e5e57d1e9ee8f8e06 (patch)
tree957583dc6b93667d7024c7258716d6c6b96776c2 /openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1
parentbc169d4b132891052cc8c642e18e642afd04464f (diff)
VLAN tagging - Pattern 1A, 1C1
1. Implementation for supporting VLAN tagging in Pattern 1A and 1C1 heats 2. Updated code for switch case refactor with command design pattern 3. Added unit tests and bug fixes Change-Id: I54938ffd6673f865b4506a890ec8e7b9c54597b1 Issue-ID: SDC-1036 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/in/MANIFEST.json17
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/in/main.yml483
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/in/vlan1.yml123
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/out/GlobalSubstitutionTypesServiceTemplate.yaml841
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/out/MainServiceTemplate.yaml617
-rw-r--r--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.yaml647
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/out/vlan1ServiceTemplate.yaml181
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/in/MANIFEST.json22
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/in/main.yml561
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/in/vlan1.yml116
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/in/vlan2.yml116
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/out/GlobalSubstitutionTypesServiceTemplate.yaml1059
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/out/MainServiceTemplate.yaml658
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/out/Nested_vdbeServiceTemplate.yaml800
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/out/vlan1ServiceTemplate.yaml171
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/out/vlan2ServiceTemplate.yaml171
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/in/MANIFEST.json17
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/in/main.yml353
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/in/nested.yml116
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/out/GlobalSubstitutionTypesServiceTemplate.yaml676
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/out/MainServiceTemplate.yaml606
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/out/Nested_vdbeServiceTemplate.yaml492
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/out/nestedServiceTemplate.yaml171
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/in/MANIFEST.json17
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/in/main.yml473
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/in/vlan1.yml123
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/out/GlobalSubstitutionTypesServiceTemplate.yaml843
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/out/MainServiceTemplate.yaml600
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/out/Nested_vdbeServiceTemplate.yaml645
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/out/vlan1ServiceTemplate.yaml181
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/in/MANIFEST.json17
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/in/main.yml347
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/in/nested.yml123
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/GlobalSubstitutionTypesServiceTemplate.yaml698
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/MainServiceTemplate.yaml609
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/Nested_vdbeServiceTemplate.yaml508
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/nestedServiceTemplate.yaml181
37 files changed, 14379 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/in/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/in/MANIFEST.json
new file mode 100644
index 0000000000..22229425be
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/in/MANIFEST.json
@@ -0,0 +1,17 @@
+{
+ "name": "vMME_Small",
+ "description": "HOT template to create 2 cinder volume attachment",
+ "version": "2013-05-23",
+ "data": [
+ {
+ "file": "main.yml",
+ "type": "HEAT",
+ "isBase": "true"
+ },
+ {
+ "file": "vlan1.yml",
+ "type": "HEAT",
+ "isBase": "false"
+ }
+ ]
+}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/in/main.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/in/main.yml
new file mode 100644
index 0000000000..d4590c8a4b
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/in/main.yml
@@ -0,0 +1,483 @@
+heat_template_version: 2013-05-23
+
+description: >
+ Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
+
+parameters:
+ aap_address_mode:
+ description: "Address mode for the vDBE cluster IP"
+ type: string
+ control_int_net_forwarding_mode:
+ description: "forwarding mode of the control virtual network"
+ type: string
+ control_int_net_rpf:
+ description: "Reverse Path Filtering enable or disable for the control virtual network"
+ type: string
+ control_int_net_shared:
+ description: "control virtual network shared"
+ type: boolean
+ control_int_net_flood_unknown_unicast:
+ description: "forwarding mode of the control virtual network"
+ type: boolean
+ fabric_int_net_flood_unknown_unicast:
+ description: "forwarding mode of the fabric virtual network"
+ type: boolean
+ fabric_int_net_forwarding_mode:
+ description: "forwarding mode of the fabric virtual network"
+ type: string
+ fabric_int_net_rpf:
+ description: "Reverse Path Filtering enable or disable for the fabric virtual network"
+ type: string
+ fabric_int_net_shared:
+ description: "fabric virtual network shared"
+ oam_net_name:
+ description: "Name of NSDNet network from which the management IP addresses will be allocated"
+ type: string
+ untrusted_net_name:
+ description: "Name of public untrusted network into which this vDBE HA cluster is deployed"
+ type: string
+ untrusted_num_vn:
+ constraints:
+ -
+ range:
+ max: 77
+ min: 1
+ description: "Number of vDBE subinterface virtual Networks"
+ type: number
+ untrusted_vlan_tags:
+ description: "List of subinterface vlan tags"
+ type: comma_delimited_list
+ untrusted_vn_networks:
+ description: "List of subinterface virtual networks"
+ type: comma_delimited_list
+ vdbe_aap_sec_untrusted_ip_prefix:
+ description: "ip prefix for secondary vDBE VM aap on the VAN untrusted network"
+ type: string
+ vdbe_aap_sec_untrusted_ip_prefix_len:
+ description: "ip prefix length for the secondary DBE VM aap on the VAN untrusted network"
+ type: string
+ vdbe_aap_untrusted_ip_prefix:
+ description: "ip prefix for primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_aap_untrusted_ip_prefix_len:
+ description: "ip prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_aap_untrusted_v6_ip_prefix:
+ description: "ipv6 prefix for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_aap_untrusted_v6_ip_prefix_len:
+ description: "ipv6 prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_device_name:
+ description: "VDBE device Name for this vdbe VNF"
+ type: string
+ vdbe_hw_untr_mac_1:
+ description: "Secondary MAC address of the secondary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_name_1:
+ description: "VM Name for this vdbe node 1"
+ type: string
+ vdbe_untrusted_ip_1:
+ description: "IPV4 address of the secondary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_untrusted_v6_ip_1:
+ description: "IPV6 address of the secondary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_untrusted_vmac_address:
+ description: "Virtual MAC of the primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_flavor_name:
+ description: "Flavor to use for vDBE"
+ type: string
+ vdbe_image_name:
+ description: "Image to use for vDBE"
+ type: string
+ vnf_id:
+ description: "Unique ID for this VF inst"
+ type: string
+ vnf_name:
+ description: "Unique name for this VF instance"
+ type: string
+ vf_module_id:
+ description: "Unique ID for this VF module inst"
+ type: string
+ availability_zone_1:
+ description: "The availability zone of secondary node1 vDBE vm in the local HA pair."
+ type: string
+ counter:
+ description: "Counter."
+ type: number
+resources:
+ vdbe_untr_1_subports:
+ type: OS::Heat::ResourceGroup
+ depends_on: control_int_net
+ properties:
+ count:
+ get_param: untrusted_num_vn
+ resource_def:
+ type: vlan1.yml
+ properties:
+ aap_address_mode:
+ get_param: aap_address_mode
+ aap_sec_untrusted_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ aap_sec_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ aap_untrusted_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ aap_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ aap_untrusted_v6_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ aap_untrusted_v6_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ counter:
+ get_param: counter
+ ip_address:
+ get_param: vdbe_untrusted_ip_1
+ ip_v6_address:
+ get_param: vdbe_untrusted_v6_ip_1
+ mac_address:
+ get_param: vdbe_hw_untr_mac_1
+ parent_interface:
+ get_resource: vdbe_untr_1_port_1
+ subinterfaces_name_prefix:
+ str_replace:
+ params:
+ DBE:
+ get_param: vdbe_device_name
+ VM_NAME:
+ get_param: vdbe_name_1
+ template: VM_NAMEDBE001p1n004
+ vlan_tag_list:
+ get_param: untrusted_vlan_tags
+ vmac_address:
+ {get_attr: [vdbe_node_1, accessIPv4]}
+ vn_network_list:
+ get_resource: control_int_net
+ optional_property_1: OPTIONAL_VALUE_SUBPORT_1
+ vdbe_node_1:
+ type: OS::Nova::Server
+ properties:
+ availability_zone:
+ get_param: availability_zone_1
+ flavor:
+ get_param: vdbe_flavor_name
+ image:
+ get_param: vdbe_image_name
+ metadata:
+ vf_module_id:
+ get_param: vf_module_id
+ vnf_id:
+ get_param: vnf_id
+ vnf_name:
+ get_param: vnf_name
+ name:
+ get_param: vdbe_name_1
+ networks:
+ - port: {get_resource: vdbe_untr_1_port_1}
+ - port: {get_resource: vdbe_untr_2_port_1}
+ vdbe_node_2:
+ type: OS::Nova::Server
+ properties:
+ availability_zone:
+ get_param: availability_zone_1
+ flavor:
+ get_param: vdbe_flavor_name
+ image:
+ get_param: vdbe_image_name
+ metadata:
+ vf_module_id:
+ get_param: vf_module_id
+ vnf_id:
+ get_param: vnf_id
+ vnf_name:
+ get_param: vnf_name
+ name:
+ get_param: vdbe_name_1
+ networks:
+ - port: {get_resource: vdbe_untr_1_port_2}
+ - port: {get_resource: vdbe_untr_2_port_2}
+ vdbe_untr_1_port_1:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name:
+ str_replace:
+ params:
+ DBE:
+ get_param: vdbe_device_name
+ VM_NAME:
+ get_param: vdbe_name_1
+ template: VM_NAMEDBE001p1n004
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_hw_untr_mac_1
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: vdbe_hw_untr_mac_1
+ virtual_network_refs:
+ -
+ get_resource: control_int_net
+ vdbe_untr_2_port_1:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name: Port_2
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_hw_untr_mac_1
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: vdbe_hw_untr_mac_1
+ virtual_network_refs:
+ -
+ get_resource: fabric_int_net
+
+
+
+ vdbe_untr_1_port_2:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name:
+ str_replace:
+ params:
+ DBE:
+ get_param: vdbe_device_name
+ VM_NAME:
+ get_param: vdbe_name_1
+ template: Port 3
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_hw_untr_mac_1
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: vdbe_hw_untr_mac_1
+ virtual_network_refs:
+ -
+ get_resource: control_int_net
+ vdbe_untr_2_port_2:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name: Port_4
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_hw_untr_mac_1
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: vdbe_hw_untr_mac_1
+ virtual_network_refs:
+ -
+ get_resource: fabric_int_net
+
+ vdbe_untr_2_subports:
+ type: OS::Heat::ResourceGroup
+ depends_on: control_int_net
+ properties:
+ count:
+ get_param: untrusted_num_vn
+ resource_def:
+ type: vlan1.yml
+ properties:
+ aap_address_mode:
+ get_param: aap_address_mode
+ aap_sec_untrusted_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ aap_sec_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ aap_untrusted_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ aap_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ aap_untrusted_v6_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ aap_untrusted_v6_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ counter:
+ get_param: counter
+ ip_address:
+ get_param: vdbe_untrusted_ip_1
+ ip_v6_address:
+ get_param: vdbe_untrusted_v6_ip_1
+ mac_address:
+ get_param: vdbe_hw_untr_mac_1
+ parent_interface:
+ get_resource: vdbe_untr_1_port_2
+ subinterfaces_name_prefix:
+ str_replace:
+ params:
+ DBE:
+ get_param: vdbe_device_name
+ VM_NAME:
+ get_param: vdbe_name_1
+ template: VM_NAMEDBE001p1n004
+ vlan_tag_list:
+ get_param: untrusted_vlan_tags
+ vmac_address:
+ {get_attr: [vdbe_node_1, accessIPv4]}
+ vn_network_list:
+ get_resource: control_int_net
+ optional_property_2: OPTIONAL_VALUE_SUBPORT_2
+
+ control_int_net:
+ type: OS::ContrailV2::VirtualNetwork
+ properties:
+ flood_unknown_unicast:
+ get_param: control_int_net_flood_unknown_unicast
+ is_shared:
+ get_param: control_int_net_shared
+ name:
+ str_replace:
+ params:
+ VNF_NAME:
+ get_param: vnf_name
+ template: VNF_NAME_control_net
+ virtual_network_properties:
+ virtual_network_properties_forwarding_mode:
+ get_param: control_int_net_forwarding_mode
+ virtual_network_properties_rpf:
+ get_param: control_int_net_rpf
+ fabric_int_net:
+ type: OS::ContrailV2::VirtualNetwork
+ depends_on:
+ - vdbe_untr_1_subports
+ - vdbe_untr_2_subports
+ properties:
+ flood_unknown_unicast:
+ get_param: fabric_int_net_flood_unknown_unicast
+ is_shared:
+ get_param: fabric_int_net_shared
+ name:
+ str_replace:
+ params:
+ VNF_NAME:
+ get_param: vnf_name
+ template: template-fabric-int
+ virtual_network_properties:
+ virtual_network_properties_forwarding_mode:
+ get_param: fabric_int_net_forwarding_mode
+ virtual_network_properties_rpf:
+ get_param: fabric_int_net_rpf
+
+outputs:
+ out1:
+ description: output param connectivity
+ value: {get_attr: [vdbe_untr_1_subports, aap_address_mode]}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/in/vlan1.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/in/vlan1.yml
new file mode 100644
index 0000000000..2c180dd556
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/in/vlan1.yml
@@ -0,0 +1,123 @@
+heat_template_version: 2013-05-23
+
+description: cmaui server template for vMMSC
+
+parameters:
+ aap_address_mode:
+ description: "Address mode for the vDBE cluster IP"
+ type: string
+ aap_sec_untrusted_ip_prefix:
+ description: "ip prefix for secondary vDBE VM aap on the VAN untrusted network"
+ type: string
+ aap_sec_untrusted_ip_prefix_len:
+ description: "ip prefix length for the secondary DBE VM aap on the VAN untrusted network"
+ type: string
+ aap_untrusted_ip_prefix:
+ description: "ip prefix for primary vDBE VM on the VAN untrusted network"
+ type: string
+ aap_untrusted_ip_prefix_len:
+ description: "ip prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ aap_untrusted_v6_ip_prefix:
+ description: "ipv6 prefix for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ aap_untrusted_v6_ip_prefix_len:
+ description: "ipv6 prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ counter:
+ description: "Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances."
+ type: number
+ mac_address:
+ description: "HW MAC address to use for subinterface"
+ type: string
+ parent_interface:
+ description: "Parent Contrail interface"
+ type: string
+ subinterfaces_name_prefix:
+ description: "Combined with subinterface_instance_index, this is used as the name of the subinterface resource"
+ type: string
+ vlan_tag_list:
+ description: "List of VLAN IDs to use for subinterfaces"
+ type: comma_delimited_list
+ vmac_address:
+ description: "virtual MAC address to use for subinterface"
+ type: string
+ vn_network_list:
+ description: "List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list"
+ type: string
+ ip_address:
+ description: "IPv4 address associated with subinterfaces"
+ type: string
+ ip_v6_address:
+ description: "IPv6 address associated with subinterfaces"
+ type: string
+ optional_property_1:
+ description: "Optional property"
+ type: string
+ optional_property_2:
+ description: "Optional property"
+ type: string
+
+resources:
+ vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name:
+ str_replace:
+ params:
+ $INDEX:
+ get_param:
+ - vlan_tag_list
+ -
+ get_param: counter
+ $NAME:
+ get_param: subinterfaces_name_prefix
+ template: $NAME_$INDEX
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: mac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: mac_address
+ virtual_machine_interface_properties:
+ virtual_machine_interface_properties_sub_interface_vlan_tag:
+ get_param:
+ - vlan_tag_list
+ -
+ get_param: counter
+ virtual_machine_interface_refs:
+ [{get_param: parent_interface}]
+ virtual_network_refs:
+ [{get_param: vn_network_list}]
+
+
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/out/GlobalSubstitutionTypesServiceTemplate.yaml
new file mode 100644
index 0000000000..5d6c575e31
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -0,0 +1,841 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: GlobalSubstitutionTypes
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+node_types:
+ org.openecomp.resource.abstract.nodes.vdbe:
+ derived_from: org.openecomp.resource.abstract.nodes.VFC
+ properties:
+ subinterface_vlan1_aap_untrusted_v6_ip_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_ip_v6_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_sec_untrusted_ip_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ compute_vdbe_availability_zone:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_untrusted_ip_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_2_port_virtual_machine_interface_mac_addresses:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ port_vdbe_untr_2_port_network_role_tag:
+ type: string
+ required: true
+ status: SUPPORTED
+ vm_flavor_name:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_2_port_virtual_network_refs:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ untrusted_num_vn:
+ type: float
+ description: Number of vDBE subinterface virtual Networks
+ required: true
+ status: SUPPORTED
+ constraints:
+ - in_range:
+ - 1
+ - 77
+ subinterface_vlan1_counter:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: float
+ subinterface_vlan1_subinterfaces_name_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ vm_image_name:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_1_port_network_role:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_2_port_name:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_2_port_network_role:
+ type: string
+ required: true
+ status: SUPPORTED
+ compute_vdbe_metadata:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ subinterface_vlan1_aap_untrusted_v6_ip_prefix_len:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_virtual_network_refs:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ port_vdbe_untr_1_port_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_vdbe_untr_2_port_vlan_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_vdbe_untr_2_port_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ subinterface_vlan1_vn_network_list:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_2_port_subnetpoolid:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_2_port_order:
+ type: integer
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_2_port_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_vdbe_untr_1_port_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_1_port_order:
+ type: integer
+ required: true
+ status: SUPPORTED
+ subinterface_vlan1_parent_interface:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_address_mode:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ index_value:
+ type: integer
+ description: Index value of this substitution service template runtime instance
+ required: false
+ default: 0
+ status: SUPPORTED
+ constraints:
+ - greater_or_equal: 0
+ port_vdbe_untr_1_port_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_1_port_subnetpoolid:
+ type: string
+ required: true
+ status: SUPPORTED
+ subinterface_vlan1_optional_property_1:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_name:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_2_port_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ subinterface_vlan1_optional_property_2:
+ type: list
+ required: true
+ status: SUPPORTED
+ 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
+ status: SUPPORTED
+ subinterface_vlan1_aap_sec_untrusted_ip_prefix_len:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_mac_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_untrusted_ip_prefix_len:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_ip_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ 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
+ status: SUPPORTED
+ compute_vdbe_name:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_network_role_tag:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_1_port_vlan_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ subinterface_vlan1_vlan_tag_list:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ attributes:
+ vdbe_vdbe_untr_1_port_vlan1_aap_address_mode:
+ type: string
+ status: SUPPORTED
+ requirements:
+ - dependency_vdbe:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - local_storage_vdbe:
+ capability: tosca.capabilities.Attachment
+ node: tosca.nodes.BlockStorage
+ relationship: tosca.relationships.AttachesTo
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - dependency_vdbe_vdbe_untr_2_port:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_vdbe_vdbe_untr_2_port:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - dependency_vdbe_vdbe_untr_1_port_vlan1:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - dependency_vdbe_vdbe_untr_1_port:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_vdbe_vdbe_untr_1_port:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ capabilities:
+ feature_vdbe:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.iops_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ endpoint_vdbe:
+ type: tosca.capabilities.Endpoint.Admin
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.ephemeral.size_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_vdbe_untr_2_port:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ cpu_util_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ vcpus_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.requests_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_vdbe_untr_1_port_vlan1:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.latency_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.requests.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_vdbe_untr_1_port:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.bytes.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes.rate_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets.rate_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ scalable_vdbe:
+ type: tosca.capabilities.Scalable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.iops_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.requests_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.capacity_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes.rate_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.allocation_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.usage_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ memory.usage_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outpoing.packets_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.read.requests_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ instance_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ cpu.delta_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.packets.rate_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding_vdbe_vdbe_untr_1_port:
+ type: tosca.capabilities.network.Bindable
+ valid_source_types:
+ - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ occurrences:
+ - 0
+ - UNBOUNDED
+ disk.device.read.bytes.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.bytes.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ memory.resident_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ forwarder_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.Forwarder
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.requests.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ cpu_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.bytes_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ forwarder_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.Forwarder
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.usage_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.bytes_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.latency_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.packets.rate_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.capacity_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ host_vdbe:
+ type: tosca.capabilities.Container
+ valid_source_types:
+ - tosca.nodes.SoftwareComponent
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.allocation_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outpoing.packets_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.read.bytes.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ os_vdbe:
+ type: tosca.capabilities.OperatingSystem
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.requests_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets.rate_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.root.size_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes.rate_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding_vdbe_vdbe_untr_2_port:
+ type: tosca.capabilities.network.Bindable
+ valid_source_types:
+ - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ occurrences:
+ - 0
+ - UNBOUNDED
+ memory_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding_vdbe:
+ type: tosca.capabilities.network.Bindable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.bytes_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes.rate_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.requests.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.read.bytes_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ org.openecomp.resource.abstract.nodes.heat.subinterface.vlan1:
+ derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
+ properties:
+ aap_untrusted_ip_prefix:
+ type: string
+ description: ip prefix for primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ aap_sec_untrusted_ip_prefix:
+ type: string
+ description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ ip_v6_address:
+ type: string
+ description: IPv6 address associated with subinterfaces
+ required: true
+ status: SUPPORTED
+ counter:
+ type: float
+ description: Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances.
+ required: true
+ status: SUPPORTED
+ subinterfaces_name_prefix:
+ type: string
+ description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource
+ required: true
+ status: SUPPORTED
+ ip_address:
+ type: string
+ description: IPv4 address associated with subinterfaces
+ required: true
+ status: SUPPORTED
+ aap_address_mode:
+ type: string
+ description: Address mode for the vDBE cluster IP
+ required: true
+ status: SUPPORTED
+ aap_untrusted_v6_ip_prefix:
+ type: string
+ description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ parent_interface:
+ type: string
+ description: Parent Contrail interface
+ required: true
+ status: SUPPORTED
+ vn_network_list:
+ type: string
+ description: List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list
+ required: true
+ status: SUPPORTED
+ optional_property_1:
+ type: string
+ description: Optional property
+ required: true
+ status: SUPPORTED
+ optional_property_2:
+ type: string
+ description: Optional property
+ required: true
+ status: SUPPORTED
+ mac_address:
+ type: string
+ description: HW MAC address to use for subinterface
+ required: true
+ status: SUPPORTED
+ vlan_tag_list:
+ type: list
+ description: List of VLAN IDs to use for subinterfaces
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ aap_sec_untrusted_ip_prefix_len:
+ type: string
+ description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ vmac_address:
+ type: string
+ description: virtual MAC address to use for subinterface
+ required: true
+ status: SUPPORTED
+ aap_untrusted_v6_ip_prefix_len:
+ type: string
+ description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ aap_untrusted_ip_prefix_len:
+ type: string
+ description: ip prefix length for the primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ requirements:
+ - dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - binding_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ capability: tosca.capabilities.network.Bindable
+ node: org.openecomp.resource.cp.nodes.network.Port
+ relationship: tosca.relationships.network.BindsTo
+ occurrences:
+ - 1
+ - 1
+ capabilities:
+ feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/out/MainServiceTemplate.yaml
new file mode 100644
index 0000000000..79d5d3aa65
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/out/MainServiceTemplate.yaml
@@ -0,0 +1,617 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: Main
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+topology_template:
+ inputs:
+ vf_module_id:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vf_module_id
+ type: string
+ description: Unique ID for this VF module inst
+ fabric_int_net_rpf:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: fabric_int_net_rpf
+ type: string
+ description: Reverse Path Filtering enable or disable for the fabric virtual network
+ control_int_net_rpf:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: control_int_net_rpf
+ type: string
+ description: Reverse Path Filtering enable or disable for the control virtual network
+ control_int_net_forwarding_mode:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: control_int_net_forwarding_mode
+ type: string
+ description: forwarding mode of the control virtual network
+ vnf_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vnf_name
+ type: string
+ description: Unique name for this VF instance
+ vdbe_untrusted_ip_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_untrusted_ip_1
+ type: string
+ description: IPV4 address of the secondary vDBE VM on the VAN untrusted network
+ vdbe_aap_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_untrusted_ip_prefix_len
+ type: string
+ description: ip prefix length for the primary vDBE VM on the VAN untrusted network
+ aap_address_mode:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: aap_address_mode
+ type: string
+ description: Address mode for the vDBE cluster IP
+ control_int_net_shared:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: control_int_net_shared
+ type: boolean
+ description: control virtual network shared
+ vdbe_untrusted_v6_ip_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_untrusted_v6_ip_1
+ type: string
+ description: IPV6 address of the secondary vDBE VM on the VAN untrusted network
+ vdbe_untrusted_vmac_address:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_untrusted_vmac_address
+ type: string
+ description: Virtual MAC of the primary vDBE VM on the VAN untrusted network
+ control_int_net_flood_unknown_unicast:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: control_int_net_flood_unknown_unicast
+ type: boolean
+ description: forwarding mode of the control virtual network
+ vdbe_aap_sec_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_sec_untrusted_ip_prefix
+ type: string
+ description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
+ vnf_id:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vnf_id
+ type: string
+ description: Unique ID for this VF inst
+ vdbe_name_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_name_1
+ type: string
+ description: VM Name for this vdbe node 1
+ availability_zone_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: availability_zone_1
+ type: string
+ description: The availability zone of secondary node1 vDBE vm in the local HA pair.
+ untrusted_vn_networks:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: untrusted_vn_networks
+ type: list
+ description: List of subinterface virtual networks
+ entry_schema:
+ type: string
+ vdbe_image_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_image_name
+ type: string
+ description: Image to use for vDBE
+ oam_net_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: oam_net_name
+ type: string
+ description: Name of NSDNet network from which the management IP addresses will be allocated
+ vdbe_aap_sec_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_sec_untrusted_ip_prefix_len
+ type: string
+ description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
+ vdbe_aap_untrusted_v6_ip_prefix:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_untrusted_v6_ip_prefix
+ type: string
+ description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
+ vdbe_aap_untrusted_v6_ip_prefix_len:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_untrusted_v6_ip_prefix_len
+ type: string
+ description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
+ fabric_int_net_flood_unknown_unicast:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: fabric_int_net_flood_unknown_unicast
+ type: boolean
+ description: forwarding mode of the fabric virtual network
+ untrusted_vlan_tags:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: untrusted_vlan_tags
+ type: list
+ description: List of subinterface vlan tags
+ entry_schema:
+ type: string
+ vdbe_flavor_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_flavor_name
+ type: string
+ description: Flavor to use for vDBE
+ counter:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: counter
+ type: float
+ description: Counter.
+ fabric_int_net_forwarding_mode:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: fabric_int_net_forwarding_mode
+ type: string
+ description: forwarding mode of the fabric virtual network
+ fabric_int_net_shared:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: fabric_int_net_shared
+ description: fabric virtual network shared
+ vdbe_hw_untr_mac_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_hw_untr_mac_1
+ type: string
+ description: Secondary MAC address of the secondary vDBE VM on the VAN untrusted network
+ untrusted_net_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: untrusted_net_name
+ type: string
+ description: Name of public untrusted network into which this vDBE HA cluster is deployed
+ vdbe_device_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_device_name
+ type: string
+ description: VDBE device Name for this vdbe VNF
+ vdbe_aap_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_untrusted_ip_prefix
+ type: string
+ description: ip prefix for primary vDBE VM on the VAN untrusted network
+ node_templates:
+ fabric_int_net:
+ type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
+ properties:
+ network_name:
+ str_replace:
+ template: template-fabric-int
+ params:
+ VNF_NAME:
+ get_input: vnf_name
+ requirements:
+ - dependency:
+ capability: feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1
+ node: abstract_vdbe
+ relationship: tosca.relationships.DependsOn
+ control_int_net:
+ type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
+ properties:
+ network_name:
+ str_replace:
+ template: VNF_NAME_control_net
+ params:
+ VNF_NAME:
+ get_input: vnf_name
+ abstract_vdbe:
+ type: org.openecomp.resource.abstract.nodes.vdbe
+ directives:
+ - substitutable
+ properties:
+ subinterface_vlan1_aap_untrusted_v6_ip_prefix:
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix
+ subinterface_vlan1_ip_v6_address:
+ - get_input: vdbe_untrusted_v6_ip_1
+ - get_input: vdbe_untrusted_v6_ip_1
+ subinterface_vlan1_aap_sec_untrusted_ip_prefix:
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix
+ compute_vdbe_availability_zone:
+ - get_input: availability_zone_1
+ - get_input: availability_zone_1
+ subinterface_vlan1_aap_untrusted_ip_prefix:
+ - get_input: vdbe_aap_untrusted_ip_prefix
+ - get_input: vdbe_aap_untrusted_ip_prefix
+ port_vdbe_untr_2_port_virtual_machine_interface_mac_addresses:
+ - - get_input: vdbe_hw_untr_mac_1
+ - - get_input: vdbe_hw_untr_mac_1
+ vm_flavor_name:
+ get_input: vdbe_flavor_name
+ port_vdbe_untr_2_port_virtual_network_refs:
+ - - fabric_int_net
+ - - fabric_int_net
+ subinterface_vlan1_counter:
+ - get_input: counter
+ - get_input: counter
+ subinterface_vlan1_subinterfaces_name_prefix:
+ - str_replace:
+ template: VM_NAMEDBE001p1n004
+ params:
+ DBE:
+ get_input: vdbe_device_name
+ VM_NAME:
+ get_input: vdbe_name_1
+ - str_replace:
+ template: VM_NAMEDBE001p1n004
+ params:
+ DBE:
+ get_input: vdbe_device_name
+ VM_NAME:
+ get_input: vdbe_name_1
+ vm_image_name:
+ get_input: vdbe_image_name
+ port_vdbe_untr_2_port_name:
+ - Port_2
+ - Port_4
+ compute_vdbe_metadata:
+ - vf_module_id:
+ get_input: vf_module_id
+ vnf_id:
+ get_input: vnf_id
+ vnf_name:
+ get_input: vnf_name
+ - vf_module_id:
+ get_input: vf_module_id
+ vnf_id:
+ get_input: vnf_id
+ vnf_name:
+ get_input: vnf_name
+ subinterface_vlan1_aap_untrusted_v6_ip_prefix_len:
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix_len
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix_len
+ port_vdbe_untr_1_port_virtual_network_refs:
+ - - control_int_net
+ - - control_int_net
+ subinterface_vlan1_vn_network_list:
+ - control_int_net
+ - control_int_net
+ subinterface_vlan1_parent_interface:
+ - vdbe_untr_1_port_1
+ - vdbe_untr_1_port_2
+ subinterface_vlan1_aap_address_mode:
+ - get_input: aap_address_mode
+ - get_input: aap_address_mode
+ subinterface_vlan1_optional_property_1:
+ - OPTIONAL_VALUE_SUBPORT_1
+ - null
+ port_vdbe_untr_1_port_name:
+ - str_replace:
+ template: VM_NAMEDBE001p1n004
+ params:
+ DBE:
+ get_input: vdbe_device_name
+ VM_NAME:
+ get_input: vdbe_name_1
+ - str_replace:
+ template: Port 3
+ params:
+ DBE:
+ get_input: vdbe_device_name
+ VM_NAME:
+ get_input: vdbe_name_1
+ subinterface_vlan1_optional_property_2:
+ - null
+ - OPTIONAL_VALUE_SUBPORT_2
+ subinterface_vlan1_aap_sec_untrusted_ip_prefix_len:
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix_len
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix_len
+ subinterface_vlan1_mac_address:
+ - get_input: vdbe_hw_untr_mac_1
+ - get_input: vdbe_hw_untr_mac_1
+ subinterface_vlan1_aap_untrusted_ip_prefix_len:
+ - get_input: vdbe_aap_untrusted_ip_prefix_len
+ - get_input: vdbe_aap_untrusted_ip_prefix_len
+ subinterface_vlan1_ip_address:
+ - get_input: vdbe_untrusted_ip_1
+ - get_input: vdbe_untrusted_ip_1
+ compute_vdbe_name:
+ - get_input: vdbe_name_1
+ - get_input: vdbe_name_1
+ port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses:
+ - - get_input: vdbe_hw_untr_mac_1
+ - - get_input: vdbe_hw_untr_mac_1
+ subinterface_vlan1_vlan_tag_list:
+ - get_input: untrusted_vlan_tags
+ - get_input: untrusted_vlan_tags
+ service_template_filter:
+ substitute_service_template: Nested_vdbeServiceTemplate.yaml
+ count: 2
+ index_value:
+ get_property:
+ - SELF
+ - service_template_filter
+ - index_value
+ requirements:
+ - link_vdbe_vdbe_untr_1_port:
+ capability: tosca.capabilities.network.Linkable
+ node: control_int_net
+ relationship: tosca.relationships.network.LinksTo
+ - link_vdbe_vdbe_untr_2_port:
+ capability: tosca.capabilities.network.Linkable
+ node: fabric_int_net
+ relationship: tosca.relationships.network.LinksTo
+ - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
+ capability: tosca.capabilities.network.Linkable
+ node: control_int_net
+ relationship: tosca.relationships.network.LinksTo
+ - dependency_vdbe_vdbe_untr_1_port_vlan1:
+ capability: tosca.capabilities.Node
+ node: control_int_net
+ relationship: tosca.relationships.DependsOn
+ groups:
+ main_group:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/main.yml
+ description: |
+ Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
+ members:
+ - fabric_int_net
+ - control_int_net
+ - abstract_vdbe
+ outputs:
+ out1:
+ description: output param connectivity
+ value:
+ get_attribute:
+ - abstract_vdbe
+ - vdbe_vdbe_untr_1_port_vlan1_aap_address_mode \ No newline at end of file
diff --git a/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 b/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
new file mode 100644
index 0000000000..6f5f545db6
--- /dev/null
+++ b/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
@@ -0,0 +1,647 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: Nested_vdbe
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+node_types:
+ org.openecomp.resource.vfc.compute.nodes.heat.vdbe:
+ derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
+topology_template:
+ inputs:
+ subinterface_vlan1_aap_untrusted_v6_ip_prefix:
+ type: list
+ 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
+ entry_schema:
+ type: string
+ compute_vdbe_availability_zone:
+ type: list
+ 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
+ entry_schema:
+ type: json
+ port_vdbe_untr_2_port_network_role_tag:
+ type: string
+ required: true
+ vm_flavor_name:
+ type: string
+ required: true
+ port_vdbe_untr_2_port_virtual_network_refs:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ untrusted_num_vn:
+ hidden: false
+ immutable: false
+ type: float
+ description: Number of vDBE subinterface virtual Networks
+ constraints:
+ - in_range:
+ - 1
+ - 77
+ subinterface_vlan1_counter:
+ type: list
+ required: true
+ entry_schema:
+ type: float
+ subinterface_vlan1_subinterfaces_name_prefix:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ vm_image_name:
+ type: string
+ required: true
+ port_vdbe_untr_1_port_network_role:
+ type: string
+ required: true
+ port_vdbe_untr_2_port_name:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_2_port_network_role:
+ type: string
+ required: true
+ compute_vdbe_metadata:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ subinterface_vlan1_aap_untrusted_v6_ip_prefix_len:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_virtual_network_refs:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ port_vdbe_untr_1_port_ip_requirements:
+ type: list
+ required: true
+ 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
+ subinterface_vlan1_vn_network_list:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_2_port_subnetpoolid:
+ type: string
+ required: true
+ port_vdbe_untr_2_port_order:
+ type: integer
+ 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
+ subinterface_vlan1_parent_interface:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_address_mode:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ index_value:
+ type: integer
+ description: Index value of this substitution service template runtime instance
+ required: false
+ default: 0
+ constraints:
+ - greater_or_equal: 0
+ 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
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_name:
+ type: list
+ 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
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ subinterface_vlan1_vlan_tag_list:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ node_templates:
+ vdbe:
+ type: org.openecomp.resource.vfc.compute.nodes.heat.vdbe
+ properties:
+ availability_zone:
+ get_input:
+ - compute_vdbe_availability_zone
+ - index_value
+ flavor:
+ get_input: vm_flavor_name
+ metadata:
+ get_input:
+ - compute_vdbe_metadata
+ - index_value
+ image:
+ get_input: vm_image_name
+ name:
+ get_input:
+ - compute_vdbe_name
+ - index_value
+ vdbe_vdbe_untr_2_port:
+ type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
+ properties:
+ mac_requirements:
+ get_input: port_vdbe_untr_2_port_mac_requirements
+ order:
+ get_input: port_vdbe_untr_2_port_order
+ exCP_naming:
+ get_input: port_vdbe_untr_2_port_exCP_naming
+ virtual_machine_interface_allowed_address_pairs:
+ get_input:
+ - port_vdbe_untr_2_port_virtual_machine_interface_allowed_address_pairs
+ - index_value
+ vlan_requirements:
+ get_input: port_vdbe_untr_2_port_vlan_requirements
+ virtual_network_refs:
+ get_input:
+ - port_vdbe_untr_2_port_virtual_network_refs
+ - index_value
+ ip_requirements:
+ get_input: port_vdbe_untr_2_port_ip_requirements
+ network_role_tag:
+ get_input: port_vdbe_untr_2_port_network_role_tag
+ virtual_machine_interface_mac_addresses:
+ get_input:
+ - port_vdbe_untr_2_port_virtual_machine_interface_mac_addresses
+ - index_value
+ network_role:
+ get_input: port_vdbe_untr_2_port_network_role
+ subnetpoolid:
+ get_input: port_vdbe_untr_2_port_subnetpoolid
+ name:
+ get_input:
+ - port_vdbe_untr_2_port_name
+ - index_value
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: vdbe
+ relationship: tosca.relationships.network.BindsTo
+ vdbe_vdbe_untr_1_port_vlan1:
+ type: org.openecomp.resource.abstract.nodes.heat.subinterface.vlan1
+ directives:
+ - substitutable
+ properties:
+ aap_untrusted_ip_prefix:
+ get_input:
+ - subinterface_vlan1_aap_untrusted_ip_prefix
+ - index_value
+ aap_sec_untrusted_ip_prefix:
+ get_input:
+ - subinterface_vlan1_aap_sec_untrusted_ip_prefix
+ - index_value
+ ip_v6_address:
+ get_input:
+ - subinterface_vlan1_ip_v6_address
+ - index_value
+ counter:
+ get_input:
+ - subinterface_vlan1_counter
+ - index_value
+ ip_address:
+ get_input:
+ - subinterface_vlan1_ip_address
+ - index_value
+ subinterfaces_name_prefix:
+ get_input:
+ - subinterface_vlan1_subinterfaces_name_prefix
+ - index_value
+ aap_address_mode:
+ get_input:
+ - subinterface_vlan1_aap_address_mode
+ - index_value
+ service_template_filter:
+ substitute_service_template: vlan1ServiceTemplate.yaml
+ count:
+ get_input: untrusted_num_vn
+ mandatory: false
+ aap_untrusted_v6_ip_prefix:
+ get_input:
+ - subinterface_vlan1_aap_untrusted_v6_ip_prefix
+ - index_value
+ parent_interface:
+ get_input:
+ - subinterface_vlan1_parent_interface
+ - index_value
+ vn_network_list:
+ get_input:
+ - subinterface_vlan1_vn_network_list
+ - index_value
+ optional_property_1:
+ get_input:
+ - subinterface_vlan1_optional_property_1
+ - index_value
+ optional_property_2:
+ get_input:
+ - subinterface_vlan1_optional_property_2
+ - index_value
+ mac_address:
+ get_input:
+ - subinterface_vlan1_mac_address
+ - index_value
+ vlan_tag_list:
+ get_input:
+ - subinterface_vlan1_vlan_tag_list
+ - index_value
+ aap_sec_untrusted_ip_prefix_len:
+ get_input:
+ - subinterface_vlan1_aap_sec_untrusted_ip_prefix_len
+ - index_value
+ vmac_address:
+ get_attribute:
+ - vdbe
+ - accessIPv4
+ aap_untrusted_v6_ip_prefix_len:
+ get_input:
+ - subinterface_vlan1_aap_untrusted_v6_ip_prefix_len
+ - index_value
+ aap_untrusted_ip_prefix_len:
+ get_input:
+ - subinterface_vlan1_aap_untrusted_ip_prefix_len
+ - index_value
+ requirements:
+ - binding_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ capability: tosca.capabilities.network.Bindable
+ node: vdbe_vdbe_untr_1_port
+ relationship: tosca.relationships.network.BindsTo
+ vdbe_vdbe_untr_1_port:
+ type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
+ properties:
+ mac_requirements:
+ get_input: port_vdbe_untr_1_port_mac_requirements
+ order:
+ get_input: port_vdbe_untr_1_port_order
+ exCP_naming:
+ get_input: port_vdbe_untr_1_port_exCP_naming
+ virtual_machine_interface_allowed_address_pairs:
+ get_input:
+ - port_vdbe_untr_1_port_virtual_machine_interface_allowed_address_pairs
+ - index_value
+ vlan_requirements:
+ get_input: port_vdbe_untr_1_port_vlan_requirements
+ virtual_network_refs:
+ get_input:
+ - port_vdbe_untr_1_port_virtual_network_refs
+ - index_value
+ ip_requirements:
+ get_input: port_vdbe_untr_1_port_ip_requirements
+ network_role_tag:
+ get_input: port_vdbe_untr_1_port_network_role_tag
+ virtual_machine_interface_mac_addresses:
+ get_input:
+ - port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses
+ - index_value
+ network_role:
+ get_input: port_vdbe_untr_1_port_network_role
+ subnetpoolid:
+ get_input: port_vdbe_untr_1_port_subnetpoolid
+ name:
+ get_input:
+ - port_vdbe_untr_1_port_name
+ - index_value
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: vdbe
+ relationship: tosca.relationships.network.BindsTo
+ outputs:
+ vdbe_vdbe_untr_1_port_vlan1_aap_address_mode:
+ type: string
+ value:
+ get_attribute:
+ - vdbe_vdbe_untr_1_port_vlan1
+ - aap_address_mode
+ substitution_mappings:
+ node_type: org.openecomp.resource.abstract.nodes.vdbe
+ capabilities:
+ feature_vdbe:
+ - vdbe
+ - feature
+ disk.device.iops_vdbe:
+ - vdbe
+ - disk.device.iops
+ endpoint_vdbe:
+ - vdbe
+ - endpoint
+ disk.ephemeral.size_vdbe:
+ - vdbe
+ - disk.ephemeral.size
+ feature_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - feature
+ feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
+ - vdbe_vdbe_untr_1_port_vlan1
+ - feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ cpu_util_vdbe:
+ - vdbe
+ - cpu_util
+ vcpus_vdbe:
+ - vdbe
+ - vcpus
+ disk.write.requests_vdbe:
+ - vdbe
+ - disk.write.requests
+ feature_vdbe_vdbe_untr_1_port_vlan1:
+ - vdbe_vdbe_untr_1_port_vlan1
+ - feature
+ disk.device.latency_vdbe:
+ - vdbe
+ - disk.device.latency
+ disk.device.write.requests.rate_vdbe:
+ - vdbe
+ - disk.device.write.requests.rate
+ network.incoming.packets_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.incoming.packets
+ feature_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - feature
+ disk.write.bytes.rate_vdbe:
+ - vdbe
+ - disk.write.bytes.rate
+ network.incoming.bytes.rate_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.incoming.bytes.rate
+ network.incoming.packets.rate_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.incoming.packets.rate
+ scalable_vdbe:
+ - vdbe
+ - scalable
+ disk.iops_vdbe:
+ - vdbe
+ - disk.iops
+ disk.device.write.requests_vdbe:
+ - vdbe
+ - disk.device.write.requests
+ disk.device.capacity_vdbe:
+ - vdbe
+ - disk.device.capacity
+ network.outgoing.bytes.rate_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.outgoing.bytes.rate
+ network.outgoing.bytes_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.outgoing.bytes
+ disk.device.allocation_vdbe:
+ - vdbe
+ - disk.device.allocation
+ disk.usage_vdbe:
+ - vdbe
+ - disk.usage
+ memory.usage_vdbe:
+ - vdbe
+ - memory.usage
+ network.outpoing.packets_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.outpoing.packets
+ disk.read.requests_vdbe:
+ - vdbe
+ - disk.read.requests
+ network.incoming.bytes_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.incoming.bytes
+ instance_vdbe:
+ - vdbe
+ - instance
+ cpu.delta_vdbe:
+ - vdbe
+ - cpu.delta
+ network.outgoing.packets.rate_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.outgoing.packets.rate
+ binding_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - binding
+ disk.device.read.bytes.rate_vdbe:
+ - vdbe
+ - disk.device.read.bytes.rate
+ disk.device.write.bytes.rate_vdbe:
+ - vdbe
+ - disk.device.write.bytes.rate
+ memory.resident_vdbe:
+ - vdbe
+ - memory.resident
+ forwarder_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - forwarder
+ disk.write.requests.rate_vdbe:
+ - vdbe
+ - disk.write.requests.rate
+ cpu_vdbe:
+ - vdbe
+ - cpu
+ disk.write.bytes_vdbe:
+ - vdbe
+ - disk.write.bytes
+ forwarder_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - forwarder
+ disk.device.usage_vdbe:
+ - vdbe
+ - disk.device.usage
+ disk.device.read.bytes_vdbe:
+ - vdbe
+ - disk.device.read.bytes
+ disk.latency_vdbe:
+ - vdbe
+ - disk.latency
+ network.outgoing.packets.rate_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.outgoing.packets.rate
+ disk.capacity_vdbe:
+ - vdbe
+ - disk.capacity
+ host_vdbe:
+ - vdbe
+ - host
+ disk.allocation_vdbe:
+ - vdbe
+ - disk.allocation
+ network.outpoing.packets_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.outpoing.packets
+ network.incoming.packets_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.incoming.packets
+ disk.read.bytes.rate_vdbe:
+ - vdbe
+ - disk.read.bytes.rate
+ network.incoming.bytes_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.incoming.bytes
+ os_vdbe:
+ - vdbe
+ - os
+ disk.device.read.requests_vdbe:
+ - vdbe
+ - disk.device.read.requests
+ network.incoming.packets.rate_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.incoming.packets.rate
+ disk.root.size_vdbe:
+ - vdbe
+ - disk.root.size
+ network.incoming.bytes.rate_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.incoming.bytes.rate
+ binding_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - binding
+ memory_vdbe:
+ - vdbe
+ - memory
+ binding_vdbe:
+ - vdbe
+ - binding
+ disk.device.write.bytes_vdbe:
+ - vdbe
+ - disk.device.write.bytes
+ network.outgoing.bytes_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.outgoing.bytes
+ network.outgoing.bytes.rate_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.outgoing.bytes.rate
+ disk.device.read.requests.rate_vdbe:
+ - vdbe
+ - disk.device.read.requests.rate
+ disk.read.bytes_vdbe:
+ - vdbe
+ - disk.read.bytes
+ requirements:
+ dependency_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - dependency
+ link_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - link
+ local_storage_vdbe:
+ - vdbe
+ - local_storage
+ dependency_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - dependency
+ dependency_vdbe_vdbe_untr_1_port_vlan1:
+ - vdbe_vdbe_untr_1_port_vlan1
+ - dependency
+ dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
+ - vdbe_vdbe_untr_1_port_vlan1
+ - dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ link_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - link
+ link_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
+ - vdbe_vdbe_untr_1_port_vlan1
+ - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ dependency_vdbe:
+ - vdbe
+ - dependency \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/out/vlan1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/out/vlan1ServiceTemplate.yaml
new file mode 100644
index 0000000000..559263b791
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/allConnectivities/out/vlan1ServiceTemplate.yaml
@@ -0,0 +1,181 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: vlan1
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+topology_template:
+ inputs:
+ aap_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix for primary vDBE VM on the VAN untrusted network
+ aap_sec_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
+ ip_v6_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: IPv6 address associated with subinterfaces
+ counter:
+ hidden: false
+ immutable: false
+ type: float
+ description: Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances.
+ subinterfaces_name_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource
+ ip_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: IPv4 address associated with subinterfaces
+ aap_address_mode:
+ hidden: false
+ immutable: false
+ type: string
+ description: Address mode for the vDBE cluster IP
+ aap_untrusted_v6_ip_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
+ parent_interface:
+ hidden: false
+ immutable: false
+ type: string
+ description: Parent Contrail interface
+ vn_network_list:
+ hidden: false
+ immutable: false
+ type: string
+ description: List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list
+ optional_property_1:
+ hidden: false
+ immutable: false
+ type: string
+ description: Optional property
+ optional_property_2:
+ hidden: false
+ immutable: false
+ type: string
+ description: Optional property
+ mac_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: HW MAC address to use for subinterface
+ vlan_tag_list:
+ hidden: false
+ immutable: false
+ type: list
+ description: List of VLAN IDs to use for subinterfaces
+ entry_schema:
+ type: string
+ aap_sec_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
+ vmac_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: virtual MAC address to use for subinterface
+ aap_untrusted_v6_ip_prefix_len:
+ hidden: false
+ immutable: false
+ type: string
+ description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
+ aap_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix length for the primary vDBE VM on the VAN untrusted network
+ node_templates:
+ vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ properties:
+ virtual_machine_interface_refs:
+ - get_input: parent_interface
+ name:
+ str_replace:
+ template: $NAME_$INDEX
+ params:
+ $NAME:
+ get_input: subinterfaces_name_prefix
+ $INDEX:
+ get_input:
+ - vlan_tag_list
+ - get_input: counter
+ virtual_network_refs:
+ - get_input: vn_network_list
+ virtual_machine_interface_properties:
+ sub_interface_vlan_tag:
+ get_input:
+ - vlan_tag_list
+ - get_input: counter
+ virtual_machine_interface_allowed_address_pairs:
+ allowed_address_pair:
+ - address_mode:
+ get_input: aap_address_mode
+ ip:
+ ip_prefix:
+ get_input: aap_untrusted_ip_prefix
+ ip_prefix_len:
+ get_input: aap_untrusted_ip_prefix_len
+ mac:
+ get_input: vmac_address
+ - address_mode:
+ get_input: aap_address_mode
+ ip:
+ ip_prefix:
+ get_input: aap_sec_untrusted_ip_prefix
+ ip_prefix_len:
+ get_input: aap_sec_untrusted_ip_prefix_len
+ mac:
+ get_input: mac_address
+ - address_mode:
+ get_input: aap_address_mode
+ ip:
+ ip_prefix:
+ get_input: aap_untrusted_v6_ip_prefix
+ ip_prefix_len:
+ get_input: aap_untrusted_v6_ip_prefix_len
+ mac:
+ get_input: vmac_address
+ virtual_machine_interface_mac_addresses:
+ mac_address:
+ - get_input: mac_address
+ groups:
+ vlan1_group:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/vlan1.yml
+ description: cmaui server template for vMMSC
+ members:
+ - vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ substitution_mappings:
+ node_type: org.openecomp.resource.abstract.nodes.heat.subinterface.vlan1
+ capabilities:
+ feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ - vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ - feature
+ requirements:
+ link_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ - vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ - link
+ binding_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ - vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ - binding
+ dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ - vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ - dependency \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/in/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/in/MANIFEST.json
new file mode 100644
index 0000000000..89f844a714
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/in/MANIFEST.json
@@ -0,0 +1,22 @@
+{
+ "name": "vMME_Small",
+ "description": "HOT template to create 2 cinder volume attachment",
+ "version": "2013-05-23",
+ "data": [
+ {
+ "file": "main.yml",
+ "type": "HEAT",
+ "isBase": "true"
+ },
+ {
+ "file": "vlan1.yml",
+ "type": "HEAT",
+ "isBase": "false"
+ },
+ {
+ "file": "vlan2.yml",
+ "type": "HEAT",
+ "isBase": "false"
+ }
+ ]
+}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/in/main.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/in/main.yml
new file mode 100644
index 0000000000..fae10a6b99
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/in/main.yml
@@ -0,0 +1,561 @@
+heat_template_version: 2013-05-23
+
+description: >
+ Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
+
+parameters:
+ aap_address_mode:
+ description: "Address mode for the vDBE cluster IP"
+ type: string
+ control_int_net_forwarding_mode:
+ description: "forwarding mode of the control virtual network"
+ type: string
+ control_int_net_rpf:
+ description: "Reverse Path Filtering enable or disable for the control virtual network"
+ type: string
+ control_int_net_shared:
+ description: "control virtual network shared"
+ type: boolean
+ control_int_net_flood_unknown_unicast:
+ description: "forwarding mode of the control virtual network"
+ type: boolean
+ fabric_int_net_flood_unknown_unicast:
+ description: "forwarding mode of the fabric virtual network"
+ type: boolean
+ fabric_int_net_forwarding_mode:
+ description: "forwarding mode of the fabric virtual network"
+ type: string
+ fabric_int_net_rpf:
+ description: "Reverse Path Filtering enable or disable for the fabric virtual network"
+ type: string
+ fabric_int_net_shared:
+ description: "fabric virtual network shared"
+ oam_net_name:
+ description: "Name of NSDNet network from which the management IP addresses will be allocated"
+ type: string
+ untrusted_net_name:
+ description: "Name of public untrusted network into which this vDBE HA cluster is deployed"
+ type: string
+ untrusted_num_vn:
+ constraints:
+ -
+ range:
+ max: 77
+ min: 1
+ description: "Number of vDBE subinterface virtual Networks"
+ type: number
+ untrusted_vlan_tags:
+ description: "List of subinterface vlan tags"
+ type: comma_delimited_list
+ untrusted_vn_networks:
+ description: "List of subinterface virtual networks"
+ type: comma_delimited_list
+ vdbe_aap_sec_untrusted_ip_prefix:
+ description: "ip prefix for secondary vDBE VM aap on the VAN untrusted network"
+ type: string
+ vdbe_aap_sec_untrusted_ip_prefix_len:
+ description: "ip prefix length for the secondary DBE VM aap on the VAN untrusted network"
+ type: string
+ vdbe_aap_untrusted_ip_prefix:
+ description: "ip prefix for primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_aap_untrusted_ip_prefix_len:
+ description: "ip prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_aap_untrusted_v6_ip_prefix:
+ description: "ipv6 prefix for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_aap_untrusted_v6_ip_prefix_len:
+ description: "ipv6 prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_device_name:
+ description: "VDBE device Name for this vdbe VNF"
+ type: string
+ vdbe_hw_untr_mac_1:
+ description: "Secondary MAC address of the secondary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_name_1:
+ description: "VM Name for this vdbe node 1"
+ type: string
+ vdbe_untrusted_ip_1:
+ description: "IPV4 address of the secondary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_untrusted_v6_ip_1:
+ description: "IPV6 address of the secondary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_untrusted_vmac_address:
+ description: "Virtual MAC of the primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_flavor_name:
+ description: "Flavor to use for vDBE"
+ type: string
+ vdbe_image_name:
+ description: "Image to use for vDBE"
+ type: string
+ vnf_id:
+ description: "Unique ID for this VF inst"
+ type: string
+ vnf_name:
+ description: "Unique name for this VF instance"
+ type: string
+ vf_module_id:
+ description: "Unique ID for this VF module inst"
+ type: string
+ availability_zone_1:
+ description: "The availability zone of secondary node1 vDBE vm in the local HA pair."
+ type: string
+ counter:
+ description: "Counter."
+ type: number
+resources:
+ vdbe_untr_1_subports:
+ type: OS::Heat::ResourceGroup
+ properties:
+ count:
+ get_param: untrusted_num_vn
+ resource_def:
+ type: vlan1.yml
+ properties:
+ aap_address_mode:
+ get_param: aap_address_mode
+ aap_sec_untrusted_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ aap_sec_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ aap_untrusted_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ aap_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ aap_untrusted_v6_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ aap_untrusted_v6_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ counter:
+ get_param: counter
+ ip_address:
+ get_param: vdbe_untrusted_ip_1
+ ip_v6_address:
+ get_param: vdbe_untrusted_v6_ip_1
+ mac_address:
+ get_param: vdbe_hw_untr_mac_1
+ parent_interface:
+ get_resource: vdbe_untr_1_port_1
+ subinterfaces_name_prefix:
+ str_replace:
+ params:
+ DBE:
+ get_param: vdbe_device_name
+ VM_NAME:
+ get_param: vdbe_name_1
+ template: VM_NAMEDBE001p1n004
+ vlan_tag_list:
+ get_param: untrusted_vlan_tags
+ vmac_address:
+ get_param: vdbe_untrusted_vmac_address
+ vn_network_list:
+ get_param: untrusted_vn_networks
+ vdbe_node_1:
+ type: OS::Nova::Server
+ properties:
+ availability_zone:
+ get_param: availability_zone_1
+ flavor:
+ get_param: vdbe_flavor_name
+ image:
+ get_param: vdbe_image_name
+ metadata:
+ vf_module_id:
+ get_param: vf_module_id
+ vnf_id:
+ get_param: vnf_id
+ vnf_name:
+ get_param: vnf_name
+ name:
+ get_param: vdbe_name_1
+ networks:
+ - port: {get_resource: vdbe_untr_1_port_1}
+ - port: {get_resource: vdbe_untr_2_port_1}
+ vdbe_node_2:
+ type: OS::Nova::Server
+ properties:
+ availability_zone:
+ get_param: availability_zone_1
+ flavor:
+ get_param: vdbe_flavor_name
+ image:
+ get_param: vdbe_image_name
+ metadata:
+ vf_module_id:
+ get_param: vf_module_id
+ vnf_id:
+ get_param: vnf_id
+ vnf_name:
+ get_param: vnf_name
+ name:
+ get_param: vdbe_name_1
+ networks:
+ - port: {get_resource: vdbe_untr_1_port_2}
+ - port: {get_resource: vdbe_untr_2_port_2}
+ vdbe_untr_1_port_1:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name:
+ str_replace:
+ params:
+ DBE:
+ get_param: vdbe_device_name
+ VM_NAME:
+ get_param: vdbe_name_1
+ template: VM_NAMEDBE001p1n004
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_hw_untr_mac_1
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: vdbe_hw_untr_mac_1
+ virtual_network_refs:
+ -
+ get_resource: control_int_net
+ vdbe_untr_2_port_1:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name: Port_2
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_hw_untr_mac_1
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: vdbe_hw_untr_mac_1
+ virtual_network_refs:
+ -
+ get_resource: fabric_int_net
+
+
+
+ vdbe_untr_1_port_2:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name:
+ str_replace:
+ params:
+ DBE:
+ get_param: vdbe_device_name
+ VM_NAME:
+ get_param: vdbe_name_1
+ template: Port 3
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_hw_untr_mac_1
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: vdbe_hw_untr_mac_1
+ virtual_network_refs:
+ -
+ get_resource: control_int_net
+ vdbe_untr_2_port_2:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name: Port_4
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_hw_untr_mac_1
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: vdbe_hw_untr_mac_1
+ virtual_network_refs:
+ -
+ get_resource: fabric_int_net
+ vdbe_untr_2_subports:
+ type: OS::Heat::ResourceGroup
+ properties:
+ count: 5
+ resource_def:
+ type: vlan2.yml
+ properties:
+ aap_address_mode:
+ get_param: aap_address_mode
+ aap_sec_untrusted_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ aap_sec_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ aap_untrusted_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ aap_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ aap_untrusted_v6_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ aap_untrusted_v6_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ counter:
+ get_param: counter
+ ip_address:
+ get_param: vdbe_untrusted_ip_1
+ ip_v6_address:
+ get_param: vdbe_untrusted_v6_ip_1
+ mac_address:
+ get_param: vdbe_hw_untr_mac_1
+ parent_interface:
+ get_resource: vdbe_untr_2_port_1
+ subinterfaces_name_prefix:
+ str_replace:
+ params:
+ DBE:
+ get_param: vdbe_device_name
+ VM_NAME:
+ get_param: vdbe_name_1
+ template: VM_NAMEDBE001p1n004
+ vlan_tag_list:
+ get_param: untrusted_vlan_tags
+ vmac_address:
+ get_param: vdbe_untrusted_vmac_address
+ vn_network_list:
+ get_resource: fabric_int_net
+
+ vdbe_untr_3_subports:
+ type: OS::Heat::ResourceGroup
+ properties:
+ count:
+ get_param: untrusted_num_vn
+ resource_def:
+ type: vlan1.yml
+ properties:
+ aap_address_mode:
+ get_param: aap_address_mode
+ aap_sec_untrusted_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ aap_sec_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ aap_untrusted_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ aap_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ aap_untrusted_v6_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ aap_untrusted_v6_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ counter:
+ get_param: counter
+ ip_address:
+ get_param: vdbe_untrusted_ip_1
+ ip_v6_address:
+ get_param: vdbe_untrusted_v6_ip_1
+ mac_address:
+ get_param: vdbe_hw_untr_mac_1
+ parent_interface:
+ get_resource: vdbe_untr_1_port_2
+ subinterfaces_name_prefix:
+ str_replace:
+ params:
+ DBE:
+ get_param: vdbe_device_name
+ VM_NAME:
+ get_param: vdbe_name_1
+ template: VM_NAMEDBE001p1n004
+ vlan_tag_list:
+ get_param: untrusted_vlan_tags
+ vmac_address:
+ get_param: vdbe_untrusted_vmac_address
+ vn_network_list:
+ get_param: untrusted_vn_networks
+
+ vdbe_untr_4_subports:
+ type: OS::Heat::ResourceGroup
+ properties:
+ count: 5
+ resource_def:
+ type: vlan2.yml
+ properties:
+ aap_address_mode:
+ get_param: aap_address_mode
+ aap_sec_untrusted_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ aap_sec_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ aap_untrusted_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ aap_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ aap_untrusted_v6_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ aap_untrusted_v6_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ counter:
+ get_param: counter
+ ip_address:
+ get_param: vdbe_untrusted_ip_1
+ ip_v6_address:
+ get_param: vdbe_untrusted_v6_ip_1
+ mac_address:
+ get_param: vdbe_hw_untr_mac_1
+ parent_interface:
+ get_resource: vdbe_untr_2_port_2
+ subinterfaces_name_prefix:
+ str_replace:
+ params:
+ DBE:
+ get_param: vdbe_device_name
+ VM_NAME:
+ get_param: vdbe_name_1
+ template: VM_NAMEDBE001p1n004
+ vlan_tag_list:
+ get_param: untrusted_vlan_tags
+ vmac_address:
+ get_param: vdbe_untrusted_vmac_address
+ vn_network_list:
+ get_resource: fabric_int_net
+ control_int_net:
+ type: OS::ContrailV2::VirtualNetwork
+ properties:
+ flood_unknown_unicast:
+ get_param: control_int_net_flood_unknown_unicast
+ is_shared:
+ get_param: control_int_net_shared
+ name:
+ str_replace:
+ params:
+ VNF_NAME:
+ get_param: vnf_name
+ template: VNF_NAME_control_net
+ virtual_network_properties:
+ virtual_network_properties_forwarding_mode:
+ get_param: control_int_net_forwarding_mode
+ virtual_network_properties_rpf:
+ get_param: control_int_net_rpf
+ fabric_int_net:
+ type: OS::ContrailV2::VirtualNetwork
+ properties:
+ flood_unknown_unicast:
+ get_param: fabric_int_net_flood_unknown_unicast
+ is_shared:
+ get_param: fabric_int_net_shared
+ name:
+ str_replace:
+ params:
+ VNF_NAME:
+ get_param: vnf_name
+ template: template-fabric-int
+ virtual_network_properties:
+ virtual_network_properties_forwarding_mode:
+ get_param: fabric_int_net_forwarding_mode
+ virtual_network_properties_rpf:
+ get_param: fabric_int_net_rpf \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/in/vlan1.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/in/vlan1.yml
new file mode 100644
index 0000000000..b120379565
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/in/vlan1.yml
@@ -0,0 +1,116 @@
+heat_template_version: 2013-05-23
+
+description: cmaui server template for vMMSC
+
+parameters:
+ aap_address_mode:
+ description: "Address mode for the vDBE cluster IP"
+ type: string
+ aap_sec_untrusted_ip_prefix:
+ description: "ip prefix for secondary vDBE VM aap on the VAN untrusted network"
+ type: string
+ aap_sec_untrusted_ip_prefix_len:
+ description: "ip prefix length for the secondary DBE VM aap on the VAN untrusted network"
+ type: string
+ aap_untrusted_ip_prefix:
+ description: "ip prefix for primary vDBE VM on the VAN untrusted network"
+ type: string
+ aap_untrusted_ip_prefix_len:
+ description: "ip prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ aap_untrusted_v6_ip_prefix:
+ description: "ipv6 prefix for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ aap_untrusted_v6_ip_prefix_len:
+ description: "ipv6 prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ counter:
+ description: "Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances."
+ type: number
+ mac_address:
+ description: "HW MAC address to use for subinterface"
+ type: string
+ parent_interface:
+ description: "Parent Contrail interface"
+ type: string
+ subinterfaces_name_prefix:
+ description: "Combined with subinterface_instance_index, this is used as the name of the subinterface resource"
+ type: string
+ vlan_tag_list:
+ description: "List of VLAN IDs to use for subinterfaces"
+ type: comma_delimited_list
+ vmac_address:
+ description: "virtual MAC address to use for subinterface"
+ type: string
+ vn_network_list:
+ description: "List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list"
+ type: string
+ ip_address:
+ description: "IPv4 address associated with subinterfaces"
+ type: string
+ ip_v6_address:
+ description: "IPv6 address associated with subinterfaces"
+ type: string
+resources:
+ vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name:
+ str_replace:
+ params:
+ $INDEX:
+ get_param:
+ - vlan_tag_list
+ -
+ get_param: counter
+ $NAME:
+ get_param: subinterfaces_name_prefix
+ template: $NAME_$INDEX
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: mac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: mac_address
+ virtual_machine_interface_properties:
+ virtual_machine_interface_properties_sub_interface_vlan_tag:
+ get_param:
+ - vlan_tag_list
+ -
+ get_param: counter
+ virtual_machine_interface_refs:
+ [{get_param: parent_interface}]
+ virtual_network_refs:
+ [{get_param: vn_network_list}]
+
+
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/in/vlan2.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/in/vlan2.yml
new file mode 100644
index 0000000000..4ac55a5cde
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/in/vlan2.yml
@@ -0,0 +1,116 @@
+heat_template_version: 2013-05-23
+
+description: cmaui server template for vMMSC
+
+parameters:
+ aap_address_mode:
+ description: "Address mode for the vDBE cluster IP"
+ type: string
+ aap_sec_untrusted_ip_prefix:
+ description: "ip prefix for secondary vDBE VM aap on the VAN untrusted network"
+ type: string
+ aap_sec_untrusted_ip_prefix_len:
+ description: "ip prefix length for the secondary DBE VM aap on the VAN untrusted network"
+ type: string
+ aap_untrusted_ip_prefix:
+ description: "ip prefix for primary vDBE VM on the VAN untrusted network"
+ type: string
+ aap_untrusted_ip_prefix_len:
+ description: "ip prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ aap_untrusted_v6_ip_prefix:
+ description: "ipv6 prefix for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ aap_untrusted_v6_ip_prefix_len:
+ description: "ipv6 prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ counter:
+ description: "Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances."
+ type: number
+ mac_address:
+ description: "HW MAC address to use for subinterface"
+ type: string
+ parent_interface:
+ description: "Parent Contrail interface"
+ type: string
+ subinterfaces_name_prefix:
+ description: "Combined with subinterface_instance_index, this is used as the name of the subinterface resource"
+ type: string
+ vlan_tag_list:
+ description: "List of VLAN IDs to use for subinterfaces"
+ type: comma_delimited_list
+ vmac_address:
+ description: "virtual MAC address to use for subinterface"
+ type: string
+ vn_network_list:
+ description: "List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list"
+ type: string
+ ip_address:
+ description: "IPv4 address associated with subinterfaces"
+ type: string
+ ip_v6_address:
+ description: "IPv6 address associated with subinterfaces"
+ type: string
+resources:
+ vdbe_untr_x_vlan2-Network-Role_vmi_subport_another:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name:
+ str_replace:
+ params:
+ $INDEX:
+ get_param:
+ - vlan_tag_list
+ -
+ get_param: counter
+ $NAME:
+ get_param: subinterfaces_name_prefix
+ template: $NAME_$INDEX
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: mac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: mac_address
+ virtual_machine_interface_properties:
+ virtual_machine_interface_properties_sub_interface_vlan_tag:
+ get_param:
+ - vlan_tag_list
+ -
+ get_param: counter
+ virtual_machine_interface_refs:
+ [{get_param: parent_interface}]
+ virtual_network_refs:
+ [{get_param: vn_network_list}]
+
+
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/out/GlobalSubstitutionTypesServiceTemplate.yaml
new file mode 100644
index 0000000000..49f86fbb8e
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -0,0 +1,1059 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: GlobalSubstitutionTypes
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+node_types:
+ org.openecomp.resource.abstract.nodes.vdbe:
+ derived_from: org.openecomp.resource.abstract.nodes.VFC
+ properties:
+ subinterface_vlan1_aap_untrusted_v6_ip_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_sec_untrusted_ip_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_vmac_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ compute_vdbe_availability_zone:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_2_port_virtual_machine_interface_mac_addresses:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ port_vdbe_untr_2_port_network_role_tag:
+ type: string
+ required: true
+ status: SUPPORTED
+ vm_flavor_name:
+ type: string
+ required: true
+ status: SUPPORTED
+ untrusted_num_vn:
+ type: float
+ description: Number of vDBE subinterface virtual Networks
+ required: true
+ status: SUPPORTED
+ constraints:
+ - in_range:
+ - 1
+ - 77
+ subinterface_vlan1_counter:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: float
+ subinterface_vlan2_aap_untrusted_v6_ip_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ vm_image_name:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_2_port_network_role:
+ type: string
+ required: true
+ status: SUPPORTED
+ compute_vdbe_metadata:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ subinterface_vlan1_aap_untrusted_v6_ip_prefix_len:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_vdbe_untr_2_port_vlan_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_vdbe_untr_2_port_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_2_port_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_vdbe_untr_1_port_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_1_port_order:
+ type: integer
+ required: true
+ status: SUPPORTED
+ subinterface_vlan2_ip_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan2_ip_v6_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_subnetpoolid:
+ type: string
+ required: true
+ status: SUPPORTED
+ subinterface_vlan2_parent_interface:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan2_aap_address_mode:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_2_port_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_1_port_virtual_machine_interface_allowed_address_pairs:
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
+ required: true
+ status: SUPPORTED
+ subinterface_vlan1_mac_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan2_mac_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_untrusted_ip_prefix_len:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_ip_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan2_aap_sec_untrusted_ip_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ compute_vdbe_name:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_network_role_tag:
+ type: string
+ required: true
+ status: SUPPORTED
+ subinterface_vlan2_aap_untrusted_ip_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_ip_v6_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan2_vmac_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_untrusted_ip_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_2_port_virtual_network_refs:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ subinterface_vlan2_vn_network_list:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_subinterfaces_name_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_network_role:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_2_port_name:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_virtual_network_refs:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ subinterface_vlan2_vlan_tag_list:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ subinterface_vlan1_vn_network_list:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan2_aap_sec_untrusted_ip_prefix_len:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_2_port_subnetpoolid:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_2_port_order:
+ type: integer
+ required: true
+ status: SUPPORTED
+ subinterface_vlan2_counter:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: float
+ subinterface_vlan1_parent_interface:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_address_mode:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan2_aap_untrusted_ip_prefix_len:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ index_value:
+ type: integer
+ description: Index value of this substitution service template runtime instance
+ required: false
+ default: 0
+ status: SUPPORTED
+ constraints:
+ - greater_or_equal: 0
+ subinterface_vlan2_subinterfaces_name_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan2_aap_untrusted_v6_ip_prefix_len:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_1_port_name:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_sec_untrusted_ip_prefix_len:
+ type: list
+ required: true
+ status: SUPPORTED
+ 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
+ status: SUPPORTED
+ port_vdbe_untr_1_port_vlan_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ subinterface_vlan1_vlan_tag_list:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ requirements:
+ - dependency_vdbe:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - local_storage_vdbe:
+ capability: tosca.capabilities.Attachment
+ node: tosca.nodes.BlockStorage
+ relationship: tosca.relationships.AttachesTo
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - dependency_vdbe_vdbe_untr_2_port:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_vdbe_vdbe_untr_2_port:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - dependency_vdbe_vdbe_untr_2_port_vlan2:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - dependency_vdbe_untr_x_vlan2-Network-Role_vmi_subport_another_vdbe_vdbe_untr_2_port_vlan2:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_vdbe_untr_x_vlan2-Network-Role_vmi_subport_another_vdbe_vdbe_untr_2_port_vlan2:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - dependency_vdbe_vdbe_untr_1_port_vlan1:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - dependency_vdbe_vdbe_untr_1_port:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_vdbe_vdbe_untr_1_port:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ capabilities:
+ feature_vdbe:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.iops_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ endpoint_vdbe:
+ type: tosca.capabilities.Endpoint.Admin
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.ephemeral.size_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_vdbe_untr_2_port:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ cpu_util_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ vcpus_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.requests_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_vdbe_untr_1_port_vlan1:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.latency_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.requests.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_vdbe_untr_1_port:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.bytes.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes.rate_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets.rate_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ scalable_vdbe:
+ type: tosca.capabilities.Scalable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.iops_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.requests_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.capacity_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes.rate_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.allocation_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_untr_x_vlan2-Network-Role_vmi_subport_another_vdbe_vdbe_untr_2_port_vlan2:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.usage_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ memory.usage_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outpoing.packets_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.read.requests_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ instance_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ cpu.delta_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.packets.rate_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_vdbe_untr_2_port_vlan2:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding_vdbe_vdbe_untr_1_port:
+ type: tosca.capabilities.network.Bindable
+ valid_source_types:
+ - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ occurrences:
+ - 0
+ - UNBOUNDED
+ disk.device.read.bytes.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.bytes.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ memory.resident_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ forwarder_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.Forwarder
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.requests.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ cpu_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.bytes_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ forwarder_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.Forwarder
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.usage_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.bytes_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.latency_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.packets.rate_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.capacity_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ host_vdbe:
+ type: tosca.capabilities.Container
+ valid_source_types:
+ - tosca.nodes.SoftwareComponent
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.allocation_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outpoing.packets_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.read.bytes.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ os_vdbe:
+ type: tosca.capabilities.OperatingSystem
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.requests_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets.rate_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.root.size_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes.rate_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding_vdbe_vdbe_untr_2_port:
+ type: tosca.capabilities.network.Bindable
+ valid_source_types:
+ - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ occurrences:
+ - 0
+ - UNBOUNDED
+ memory_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding_vdbe:
+ type: tosca.capabilities.network.Bindable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.bytes_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes.rate_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.requests.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.read.bytes_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ org.openecomp.resource.abstract.nodes.heat.subinterface.vlan1:
+ derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
+ properties:
+ aap_untrusted_ip_prefix:
+ type: string
+ description: ip prefix for primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ aap_sec_untrusted_ip_prefix:
+ type: string
+ description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ ip_v6_address:
+ type: string
+ description: IPv6 address associated with subinterfaces
+ required: true
+ status: SUPPORTED
+ counter:
+ type: float
+ description: Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances.
+ required: true
+ status: SUPPORTED
+ subinterfaces_name_prefix:
+ type: string
+ description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource
+ required: true
+ status: SUPPORTED
+ ip_address:
+ type: string
+ description: IPv4 address associated with subinterfaces
+ required: true
+ status: SUPPORTED
+ aap_address_mode:
+ type: string
+ description: Address mode for the vDBE cluster IP
+ required: true
+ status: SUPPORTED
+ aap_untrusted_v6_ip_prefix:
+ type: string
+ description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ parent_interface:
+ type: string
+ description: Parent Contrail interface
+ required: true
+ status: SUPPORTED
+ vn_network_list:
+ type: string
+ description: List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list
+ required: true
+ status: SUPPORTED
+ mac_address:
+ type: string
+ description: HW MAC address to use for subinterface
+ required: true
+ status: SUPPORTED
+ vlan_tag_list:
+ type: list
+ description: List of VLAN IDs to use for subinterfaces
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ aap_sec_untrusted_ip_prefix_len:
+ type: string
+ description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ vmac_address:
+ type: string
+ description: virtual MAC address to use for subinterface
+ required: true
+ status: SUPPORTED
+ aap_untrusted_v6_ip_prefix_len:
+ type: string
+ description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ aap_untrusted_ip_prefix_len:
+ type: string
+ description: ip prefix length for the primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ requirements:
+ - dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - binding_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ capability: tosca.capabilities.network.Bindable
+ node: org.openecomp.resource.cp.nodes.network.Port
+ relationship: tosca.relationships.network.BindsTo
+ occurrences:
+ - 1
+ - 1
+ capabilities:
+ feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ org.openecomp.resource.abstract.nodes.heat.subinterface.vlan2:
+ derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
+ properties:
+ aap_untrusted_ip_prefix:
+ type: string
+ description: ip prefix for primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ aap_sec_untrusted_ip_prefix:
+ type: string
+ description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ ip_v6_address:
+ type: string
+ description: IPv6 address associated with subinterfaces
+ required: true
+ status: SUPPORTED
+ counter:
+ type: float
+ description: Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances.
+ required: true
+ status: SUPPORTED
+ subinterfaces_name_prefix:
+ type: string
+ description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource
+ required: true
+ status: SUPPORTED
+ ip_address:
+ type: string
+ description: IPv4 address associated with subinterfaces
+ required: true
+ status: SUPPORTED
+ aap_address_mode:
+ type: string
+ description: Address mode for the vDBE cluster IP
+ required: true
+ status: SUPPORTED
+ aap_untrusted_v6_ip_prefix:
+ type: string
+ description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ parent_interface:
+ type: string
+ description: Parent Contrail interface
+ required: true
+ status: SUPPORTED
+ vn_network_list:
+ type: string
+ description: List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list
+ required: true
+ status: SUPPORTED
+ mac_address:
+ type: string
+ description: HW MAC address to use for subinterface
+ required: true
+ status: SUPPORTED
+ vlan_tag_list:
+ type: list
+ description: List of VLAN IDs to use for subinterfaces
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ aap_sec_untrusted_ip_prefix_len:
+ type: string
+ description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ vmac_address:
+ type: string
+ description: virtual MAC address to use for subinterface
+ required: true
+ status: SUPPORTED
+ aap_untrusted_v6_ip_prefix_len:
+ type: string
+ description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ aap_untrusted_ip_prefix_len:
+ type: string
+ description: ip prefix length for the primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ requirements:
+ - dependency_vdbe_untr_x_vlan2-Network-Role_vmi_subport_another:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_vdbe_untr_x_vlan2-Network-Role_vmi_subport_another:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - binding_vdbe_untr_x_vlan2-Network-Role_vmi_subport_another:
+ capability: tosca.capabilities.network.Bindable
+ node: org.openecomp.resource.cp.nodes.network.Port
+ relationship: tosca.relationships.network.BindsTo
+ occurrences:
+ - 1
+ - 1
+ capabilities:
+ feature_vdbe_untr_x_vlan2-Network-Role_vmi_subport_another:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/out/MainServiceTemplate.yaml
new file mode 100644
index 0000000000..9247ae5943
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/out/MainServiceTemplate.yaml
@@ -0,0 +1,658 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: Main
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+topology_template:
+ inputs:
+ vf_module_id:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vf_module_id
+ type: string
+ description: Unique ID for this VF module inst
+ fabric_int_net_rpf:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: fabric_int_net_rpf
+ type: string
+ description: Reverse Path Filtering enable or disable for the fabric virtual network
+ control_int_net_rpf:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: control_int_net_rpf
+ type: string
+ description: Reverse Path Filtering enable or disable for the control virtual network
+ control_int_net_forwarding_mode:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: control_int_net_forwarding_mode
+ type: string
+ description: forwarding mode of the control virtual network
+ vnf_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vnf_name
+ type: string
+ description: Unique name for this VF instance
+ vdbe_untrusted_ip_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_untrusted_ip_1
+ type: string
+ description: IPV4 address of the secondary vDBE VM on the VAN untrusted network
+ vdbe_aap_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_untrusted_ip_prefix_len
+ type: string
+ description: ip prefix length for the primary vDBE VM on the VAN untrusted network
+ aap_address_mode:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: aap_address_mode
+ type: string
+ description: Address mode for the vDBE cluster IP
+ control_int_net_shared:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: control_int_net_shared
+ type: boolean
+ description: control virtual network shared
+ vdbe_untrusted_v6_ip_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_untrusted_v6_ip_1
+ type: string
+ description: IPV6 address of the secondary vDBE VM on the VAN untrusted network
+ vdbe_untrusted_vmac_address:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_untrusted_vmac_address
+ type: string
+ description: Virtual MAC of the primary vDBE VM on the VAN untrusted network
+ control_int_net_flood_unknown_unicast:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: control_int_net_flood_unknown_unicast
+ type: boolean
+ description: forwarding mode of the control virtual network
+ vdbe_aap_sec_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_sec_untrusted_ip_prefix
+ type: string
+ description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
+ vnf_id:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vnf_id
+ type: string
+ description: Unique ID for this VF inst
+ vdbe_name_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_name_1
+ type: string
+ description: VM Name for this vdbe node 1
+ availability_zone_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: availability_zone_1
+ type: string
+ description: The availability zone of secondary node1 vDBE vm in the local HA pair.
+ untrusted_vn_networks:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: untrusted_vn_networks
+ type: list
+ description: List of subinterface virtual networks
+ entry_schema:
+ type: string
+ vdbe_image_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_image_name
+ type: string
+ description: Image to use for vDBE
+ oam_net_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: oam_net_name
+ type: string
+ description: Name of NSDNet network from which the management IP addresses will be allocated
+ vdbe_aap_sec_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_sec_untrusted_ip_prefix_len
+ type: string
+ description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
+ vdbe_aap_untrusted_v6_ip_prefix:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_untrusted_v6_ip_prefix
+ type: string
+ description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
+ vdbe_aap_untrusted_v6_ip_prefix_len:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_untrusted_v6_ip_prefix_len
+ type: string
+ description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
+ fabric_int_net_flood_unknown_unicast:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: fabric_int_net_flood_unknown_unicast
+ type: boolean
+ description: forwarding mode of the fabric virtual network
+ untrusted_vlan_tags:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: untrusted_vlan_tags
+ type: list
+ description: List of subinterface vlan tags
+ entry_schema:
+ type: string
+ vdbe_flavor_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_flavor_name
+ type: string
+ description: Flavor to use for vDBE
+ counter:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: counter
+ type: float
+ description: Counter.
+ fabric_int_net_forwarding_mode:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: fabric_int_net_forwarding_mode
+ type: string
+ description: forwarding mode of the fabric virtual network
+ fabric_int_net_shared:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: fabric_int_net_shared
+ description: fabric virtual network shared
+ vdbe_hw_untr_mac_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_hw_untr_mac_1
+ type: string
+ description: Secondary MAC address of the secondary vDBE VM on the VAN untrusted network
+ untrusted_net_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: untrusted_net_name
+ type: string
+ description: Name of public untrusted network into which this vDBE HA cluster is deployed
+ vdbe_device_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_device_name
+ type: string
+ description: VDBE device Name for this vdbe VNF
+ vdbe_aap_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_untrusted_ip_prefix
+ type: string
+ description: ip prefix for primary vDBE VM on the VAN untrusted network
+ node_templates:
+ fabric_int_net:
+ type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
+ properties:
+ network_name:
+ str_replace:
+ template: template-fabric-int
+ params:
+ VNF_NAME:
+ get_input: vnf_name
+ control_int_net:
+ type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
+ properties:
+ network_name:
+ str_replace:
+ template: VNF_NAME_control_net
+ params:
+ VNF_NAME:
+ get_input: vnf_name
+ abstract_vdbe:
+ type: org.openecomp.resource.abstract.nodes.vdbe
+ directives:
+ - substitutable
+ properties:
+ subinterface_vlan1_aap_untrusted_v6_ip_prefix:
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix
+ subinterface_vlan1_aap_sec_untrusted_ip_prefix:
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix
+ subinterface_vlan1_vmac_address:
+ - get_input: vdbe_untrusted_vmac_address
+ - get_input: vdbe_untrusted_vmac_address
+ compute_vdbe_availability_zone:
+ - get_input: availability_zone_1
+ - get_input: availability_zone_1
+ port_vdbe_untr_2_port_virtual_machine_interface_mac_addresses:
+ - - get_input: vdbe_hw_untr_mac_1
+ - - get_input: vdbe_hw_untr_mac_1
+ vm_flavor_name:
+ get_input: vdbe_flavor_name
+ subinterface_vlan1_counter:
+ - get_input: counter
+ - get_input: counter
+ subinterface_vlan2_aap_untrusted_v6_ip_prefix:
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix
+ vm_image_name:
+ get_input: vdbe_image_name
+ compute_vdbe_metadata:
+ - vf_module_id:
+ get_input: vf_module_id
+ vnf_id:
+ get_input: vnf_id
+ vnf_name:
+ get_input: vnf_name
+ - vf_module_id:
+ get_input: vf_module_id
+ vnf_id:
+ get_input: vnf_id
+ vnf_name:
+ get_input: vnf_name
+ subinterface_vlan1_aap_untrusted_v6_ip_prefix_len:
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix_len
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix_len
+ subinterface_vlan2_ip_address:
+ - get_input: vdbe_untrusted_ip_1
+ - get_input: vdbe_untrusted_ip_1
+ subinterface_vlan2_ip_v6_address:
+ - get_input: vdbe_untrusted_v6_ip_1
+ - get_input: vdbe_untrusted_v6_ip_1
+ subinterface_vlan2_parent_interface:
+ - vdbe_untr_2_port_1
+ - vdbe_untr_2_port_2
+ subinterface_vlan2_aap_address_mode:
+ - get_input: aap_address_mode
+ - get_input: aap_address_mode
+ subinterface_vlan1_mac_address:
+ - get_input: vdbe_hw_untr_mac_1
+ - get_input: vdbe_hw_untr_mac_1
+ subinterface_vlan2_mac_address:
+ - get_input: vdbe_hw_untr_mac_1
+ - get_input: vdbe_hw_untr_mac_1
+ subinterface_vlan1_aap_untrusted_ip_prefix_len:
+ - get_input: vdbe_aap_untrusted_ip_prefix_len
+ - get_input: vdbe_aap_untrusted_ip_prefix_len
+ subinterface_vlan1_ip_address:
+ - get_input: vdbe_untrusted_ip_1
+ - get_input: vdbe_untrusted_ip_1
+ subinterface_vlan2_aap_sec_untrusted_ip_prefix:
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix
+ compute_vdbe_name:
+ - get_input: vdbe_name_1
+ - get_input: vdbe_name_1
+ subinterface_vlan2_aap_untrusted_ip_prefix:
+ - get_input: vdbe_aap_untrusted_ip_prefix
+ - get_input: vdbe_aap_untrusted_ip_prefix
+ subinterface_vlan1_ip_v6_address:
+ - get_input: vdbe_untrusted_v6_ip_1
+ - get_input: vdbe_untrusted_v6_ip_1
+ subinterface_vlan2_vmac_address:
+ - get_input: vdbe_untrusted_vmac_address
+ - get_input: vdbe_untrusted_vmac_address
+ subinterface_vlan1_aap_untrusted_ip_prefix:
+ - get_input: vdbe_aap_untrusted_ip_prefix
+ - get_input: vdbe_aap_untrusted_ip_prefix
+ port_vdbe_untr_2_port_virtual_network_refs:
+ - - fabric_int_net
+ - - fabric_int_net
+ subinterface_vlan2_vn_network_list:
+ - fabric_int_net
+ - fabric_int_net
+ subinterface_vlan1_subinterfaces_name_prefix:
+ - str_replace:
+ template: VM_NAMEDBE001p1n004
+ params:
+ DBE:
+ get_input: vdbe_device_name
+ VM_NAME:
+ get_input: vdbe_name_1
+ - str_replace:
+ template: VM_NAMEDBE001p1n004
+ params:
+ DBE:
+ get_input: vdbe_device_name
+ VM_NAME:
+ get_input: vdbe_name_1
+ port_vdbe_untr_2_port_name:
+ - Port_2
+ - Port_4
+ port_vdbe_untr_1_port_virtual_network_refs:
+ - - control_int_net
+ - - control_int_net
+ subinterface_vlan2_vlan_tag_list:
+ - get_input: untrusted_vlan_tags
+ - get_input: untrusted_vlan_tags
+ subinterface_vlan1_vn_network_list:
+ - get_input: untrusted_vn_networks
+ - get_input: untrusted_vn_networks
+ subinterface_vlan2_aap_sec_untrusted_ip_prefix_len:
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix_len
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix_len
+ subinterface_vlan2_counter:
+ - get_input: counter
+ - get_input: counter
+ subinterface_vlan1_parent_interface:
+ - vdbe_untr_1_port_1
+ - vdbe_untr_1_port_2
+ subinterface_vlan1_aap_address_mode:
+ - get_input: aap_address_mode
+ - get_input: aap_address_mode
+ subinterface_vlan2_aap_untrusted_ip_prefix_len:
+ - get_input: vdbe_aap_untrusted_ip_prefix_len
+ - get_input: vdbe_aap_untrusted_ip_prefix_len
+ subinterface_vlan2_subinterfaces_name_prefix:
+ - str_replace:
+ template: VM_NAMEDBE001p1n004
+ params:
+ DBE:
+ get_input: vdbe_device_name
+ VM_NAME:
+ get_input: vdbe_name_1
+ - str_replace:
+ template: VM_NAMEDBE001p1n004
+ params:
+ DBE:
+ get_input: vdbe_device_name
+ VM_NAME:
+ get_input: vdbe_name_1
+ subinterface_vlan2_aap_untrusted_v6_ip_prefix_len:
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix_len
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix_len
+ port_vdbe_untr_1_port_name:
+ - str_replace:
+ template: VM_NAMEDBE001p1n004
+ params:
+ DBE:
+ get_input: vdbe_device_name
+ VM_NAME:
+ get_input: vdbe_name_1
+ - str_replace:
+ template: Port 3
+ params:
+ DBE:
+ get_input: vdbe_device_name
+ VM_NAME:
+ get_input: vdbe_name_1
+ subinterface_vlan1_aap_sec_untrusted_ip_prefix_len:
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix_len
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix_len
+ port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses:
+ - - get_input: vdbe_hw_untr_mac_1
+ - - get_input: vdbe_hw_untr_mac_1
+ subinterface_vlan1_vlan_tag_list:
+ - get_input: untrusted_vlan_tags
+ - get_input: untrusted_vlan_tags
+ service_template_filter:
+ substitute_service_template: Nested_vdbeServiceTemplate.yaml
+ count: 2
+ index_value:
+ get_property:
+ - SELF
+ - service_template_filter
+ - index_value
+ requirements:
+ - link_vdbe_vdbe_untr_1_port:
+ capability: tosca.capabilities.network.Linkable
+ node: control_int_net
+ relationship: tosca.relationships.network.LinksTo
+ - link_vdbe_vdbe_untr_2_port:
+ capability: tosca.capabilities.network.Linkable
+ node: fabric_int_net
+ relationship: tosca.relationships.network.LinksTo
+ - link_vdbe_untr_x_vlan2-Network-Role_vmi_subport_another_vdbe_vdbe_untr_2_port_vlan2:
+ capability: tosca.capabilities.network.Linkable
+ node: fabric_int_net
+ relationship: tosca.relationships.network.LinksTo
+ groups:
+ main_group:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/main.yml
+ description: |
+ Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
+ members:
+ - fabric_int_net
+ - control_int_net
+ - abstract_vdbe \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/out/Nested_vdbeServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/out/Nested_vdbeServiceTemplate.yaml
new file mode 100644
index 0000000000..e62e4c4dff
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/out/Nested_vdbeServiceTemplate.yaml
@@ -0,0 +1,800 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: Nested_vdbe
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+node_types:
+ org.openecomp.resource.vfc.compute.nodes.heat.vdbe:
+ derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
+topology_template:
+ inputs:
+ subinterface_vlan1_aap_untrusted_v6_ip_prefix:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_sec_untrusted_ip_prefix:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_vlan1_vmac_address:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ compute_vdbe_availability_zone:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_2_port_virtual_machine_interface_mac_addresses:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ port_vdbe_untr_2_port_network_role_tag:
+ type: string
+ required: true
+ vm_flavor_name:
+ type: string
+ required: true
+ untrusted_num_vn:
+ hidden: false
+ immutable: false
+ type: float
+ description: Number of vDBE subinterface virtual Networks
+ constraints:
+ - in_range:
+ - 1
+ - 77
+ subinterface_vlan1_counter:
+ type: list
+ required: true
+ entry_schema:
+ type: float
+ subinterface_vlan2_aap_untrusted_v6_ip_prefix:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ 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: json
+ subinterface_vlan1_aap_untrusted_v6_ip_prefix_len:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_ip_requirements:
+ type: list
+ required: true
+ 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
+ subinterface_vlan2_ip_address:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_vlan2_ip_v6_address:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_subnetpoolid:
+ type: string
+ required: true
+ subinterface_vlan2_parent_interface:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_vlan2_aap_address_mode:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ 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
+ subinterface_vlan2_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
+ subinterface_vlan2_aap_sec_untrusted_ip_prefix:
+ 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
+ subinterface_vlan2_aap_untrusted_ip_prefix:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_vlan1_ip_v6_address:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_vlan2_vmac_address:
+ type: list
+ 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_network_refs:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ subinterface_vlan2_vn_network_list:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_vlan1_subinterfaces_name_prefix:
+ type: list
+ required: true
+ entry_schema:
+ 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: string
+ port_vdbe_untr_1_port_virtual_network_refs:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ subinterface_vlan2_vlan_tag_list:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ subinterface_vlan1_vn_network_list:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_vlan2_aap_sec_untrusted_ip_prefix_len:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_2_port_subnetpoolid:
+ type: string
+ required: true
+ port_vdbe_untr_2_port_order:
+ type: integer
+ required: true
+ subinterface_vlan2_counter:
+ type: list
+ required: true
+ entry_schema:
+ type: float
+ subinterface_vlan1_parent_interface:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_address_mode:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_vlan2_aap_untrusted_ip_prefix_len:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ index_value:
+ type: integer
+ description: Index value of this substitution service template runtime instance
+ required: false
+ default: 0
+ constraints:
+ - greater_or_equal: 0
+ subinterface_vlan2_subinterfaces_name_prefix:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_vlan2_aap_untrusted_v6_ip_prefix_len:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_vdbe_untr_1_port_name:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_sec_untrusted_ip_prefix_len:
+ 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
+ port_vdbe_untr_1_port_vlan_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ subinterface_vlan1_vlan_tag_list:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ node_templates:
+ vdbe:
+ type: org.openecomp.resource.vfc.compute.nodes.heat.vdbe
+ properties:
+ availability_zone:
+ get_input:
+ - compute_vdbe_availability_zone
+ - index_value
+ flavor:
+ get_input: vm_flavor_name
+ metadata:
+ get_input:
+ - compute_vdbe_metadata
+ - index_value
+ image:
+ get_input: vm_image_name
+ name:
+ get_input:
+ - compute_vdbe_name
+ - index_value
+ vdbe_vdbe_untr_2_port:
+ type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
+ properties:
+ mac_requirements:
+ get_input: port_vdbe_untr_2_port_mac_requirements
+ order:
+ get_input: port_vdbe_untr_2_port_order
+ exCP_naming:
+ get_input: port_vdbe_untr_2_port_exCP_naming
+ virtual_machine_interface_allowed_address_pairs:
+ get_input:
+ - port_vdbe_untr_2_port_virtual_machine_interface_allowed_address_pairs
+ - index_value
+ vlan_requirements:
+ get_input: port_vdbe_untr_2_port_vlan_requirements
+ virtual_network_refs:
+ get_input:
+ - port_vdbe_untr_2_port_virtual_network_refs
+ - index_value
+ ip_requirements:
+ get_input: port_vdbe_untr_2_port_ip_requirements
+ network_role_tag:
+ get_input: port_vdbe_untr_2_port_network_role_tag
+ virtual_machine_interface_mac_addresses:
+ get_input:
+ - port_vdbe_untr_2_port_virtual_machine_interface_mac_addresses
+ - index_value
+ network_role:
+ get_input: port_vdbe_untr_2_port_network_role
+ subnetpoolid:
+ get_input: port_vdbe_untr_2_port_subnetpoolid
+ name:
+ get_input:
+ - port_vdbe_untr_2_port_name
+ - index_value
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: vdbe
+ relationship: tosca.relationships.network.BindsTo
+ vdbe_vdbe_untr_2_port_vlan2:
+ type: org.openecomp.resource.abstract.nodes.heat.subinterface.vlan2
+ directives:
+ - substitutable
+ properties:
+ aap_untrusted_ip_prefix:
+ get_input:
+ - subinterface_vlan2_aap_untrusted_ip_prefix
+ - index_value
+ aap_sec_untrusted_ip_prefix:
+ get_input:
+ - subinterface_vlan2_aap_sec_untrusted_ip_prefix
+ - index_value
+ ip_v6_address:
+ get_input:
+ - subinterface_vlan2_ip_v6_address
+ - index_value
+ counter:
+ get_input:
+ - subinterface_vlan2_counter
+ - index_value
+ ip_address:
+ get_input:
+ - subinterface_vlan2_ip_address
+ - index_value
+ subinterfaces_name_prefix:
+ get_input:
+ - subinterface_vlan2_subinterfaces_name_prefix
+ - index_value
+ aap_address_mode:
+ get_input:
+ - subinterface_vlan2_aap_address_mode
+ - index_value
+ service_template_filter:
+ substitute_service_template: vlan2ServiceTemplate.yaml
+ count: 5
+ mandatory: true
+ aap_untrusted_v6_ip_prefix:
+ get_input:
+ - subinterface_vlan2_aap_untrusted_v6_ip_prefix
+ - index_value
+ parent_interface:
+ get_input:
+ - subinterface_vlan2_parent_interface
+ - index_value
+ vn_network_list:
+ get_input:
+ - subinterface_vlan2_vn_network_list
+ - index_value
+ mac_address:
+ get_input:
+ - subinterface_vlan2_mac_address
+ - index_value
+ vlan_tag_list:
+ get_input:
+ - subinterface_vlan2_vlan_tag_list
+ - index_value
+ aap_sec_untrusted_ip_prefix_len:
+ get_input:
+ - subinterface_vlan2_aap_sec_untrusted_ip_prefix_len
+ - index_value
+ vmac_address:
+ get_input:
+ - subinterface_vlan2_vmac_address
+ - index_value
+ aap_untrusted_v6_ip_prefix_len:
+ get_input:
+ - subinterface_vlan2_aap_untrusted_v6_ip_prefix_len
+ - index_value
+ aap_untrusted_ip_prefix_len:
+ get_input:
+ - subinterface_vlan2_aap_untrusted_ip_prefix_len
+ - index_value
+ requirements:
+ - binding_vdbe_untr_x_vlan2-Network-Role_vmi_subport_another:
+ capability: tosca.capabilities.network.Bindable
+ node: vdbe_vdbe_untr_2_port
+ relationship: tosca.relationships.network.BindsTo
+ vdbe_vdbe_untr_1_port_vlan1:
+ type: org.openecomp.resource.abstract.nodes.heat.subinterface.vlan1
+ directives:
+ - substitutable
+ properties:
+ aap_untrusted_ip_prefix:
+ get_input:
+ - subinterface_vlan1_aap_untrusted_ip_prefix
+ - index_value
+ aap_sec_untrusted_ip_prefix:
+ get_input:
+ - subinterface_vlan1_aap_sec_untrusted_ip_prefix
+ - index_value
+ ip_v6_address:
+ get_input:
+ - subinterface_vlan1_ip_v6_address
+ - index_value
+ counter:
+ get_input:
+ - subinterface_vlan1_counter
+ - index_value
+ ip_address:
+ get_input:
+ - subinterface_vlan1_ip_address
+ - index_value
+ subinterfaces_name_prefix:
+ get_input:
+ - subinterface_vlan1_subinterfaces_name_prefix
+ - index_value
+ aap_address_mode:
+ get_input:
+ - subinterface_vlan1_aap_address_mode
+ - index_value
+ service_template_filter:
+ substitute_service_template: vlan1ServiceTemplate.yaml
+ count:
+ get_input: untrusted_num_vn
+ mandatory: false
+ aap_untrusted_v6_ip_prefix:
+ get_input:
+ - subinterface_vlan1_aap_untrusted_v6_ip_prefix
+ - index_value
+ parent_interface:
+ get_input:
+ - subinterface_vlan1_parent_interface
+ - index_value
+ vn_network_list:
+ get_input:
+ - subinterface_vlan1_vn_network_list
+ - index_value
+ mac_address:
+ get_input:
+ - subinterface_vlan1_mac_address
+ - index_value
+ vlan_tag_list:
+ get_input:
+ - subinterface_vlan1_vlan_tag_list
+ - index_value
+ aap_sec_untrusted_ip_prefix_len:
+ get_input:
+ - subinterface_vlan1_aap_sec_untrusted_ip_prefix_len
+ - index_value
+ vmac_address:
+ get_input:
+ - subinterface_vlan1_vmac_address
+ - index_value
+ aap_untrusted_v6_ip_prefix_len:
+ get_input:
+ - subinterface_vlan1_aap_untrusted_v6_ip_prefix_len
+ - index_value
+ aap_untrusted_ip_prefix_len:
+ get_input:
+ - subinterface_vlan1_aap_untrusted_ip_prefix_len
+ - index_value
+ requirements:
+ - binding_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ capability: tosca.capabilities.network.Bindable
+ node: vdbe_vdbe_untr_1_port
+ relationship: tosca.relationships.network.BindsTo
+ vdbe_vdbe_untr_1_port:
+ type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
+ properties:
+ mac_requirements:
+ get_input: port_vdbe_untr_1_port_mac_requirements
+ order:
+ get_input: port_vdbe_untr_1_port_order
+ exCP_naming:
+ get_input: port_vdbe_untr_1_port_exCP_naming
+ virtual_machine_interface_allowed_address_pairs:
+ get_input:
+ - port_vdbe_untr_1_port_virtual_machine_interface_allowed_address_pairs
+ - index_value
+ vlan_requirements:
+ get_input: port_vdbe_untr_1_port_vlan_requirements
+ virtual_network_refs:
+ get_input:
+ - port_vdbe_untr_1_port_virtual_network_refs
+ - index_value
+ ip_requirements:
+ get_input: port_vdbe_untr_1_port_ip_requirements
+ network_role_tag:
+ get_input: port_vdbe_untr_1_port_network_role_tag
+ virtual_machine_interface_mac_addresses:
+ get_input:
+ - port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses
+ - index_value
+ network_role:
+ get_input: port_vdbe_untr_1_port_network_role
+ subnetpoolid:
+ get_input: port_vdbe_untr_1_port_subnetpoolid
+ name:
+ get_input:
+ - port_vdbe_untr_1_port_name
+ - index_value
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: vdbe
+ relationship: tosca.relationships.network.BindsTo
+ substitution_mappings:
+ node_type: org.openecomp.resource.abstract.nodes.vdbe
+ capabilities:
+ feature_vdbe:
+ - vdbe
+ - feature
+ disk.device.iops_vdbe:
+ - vdbe
+ - disk.device.iops
+ endpoint_vdbe:
+ - vdbe
+ - endpoint
+ disk.ephemeral.size_vdbe:
+ - vdbe
+ - disk.ephemeral.size
+ feature_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - feature
+ feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
+ - vdbe_vdbe_untr_1_port_vlan1
+ - feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ cpu_util_vdbe:
+ - vdbe
+ - cpu_util
+ vcpus_vdbe:
+ - vdbe
+ - vcpus
+ disk.write.requests_vdbe:
+ - vdbe
+ - disk.write.requests
+ feature_vdbe_vdbe_untr_1_port_vlan1:
+ - vdbe_vdbe_untr_1_port_vlan1
+ - feature
+ disk.device.latency_vdbe:
+ - vdbe
+ - disk.device.latency
+ disk.device.write.requests.rate_vdbe:
+ - vdbe
+ - disk.device.write.requests.rate
+ network.incoming.packets_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.incoming.packets
+ feature_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - feature
+ disk.write.bytes.rate_vdbe:
+ - vdbe
+ - disk.write.bytes.rate
+ network.incoming.bytes.rate_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.incoming.bytes.rate
+ network.incoming.packets.rate_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.incoming.packets.rate
+ scalable_vdbe:
+ - vdbe
+ - scalable
+ disk.iops_vdbe:
+ - vdbe
+ - disk.iops
+ disk.device.write.requests_vdbe:
+ - vdbe
+ - disk.device.write.requests
+ disk.device.capacity_vdbe:
+ - vdbe
+ - disk.device.capacity
+ network.outgoing.bytes.rate_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.outgoing.bytes.rate
+ network.outgoing.bytes_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.outgoing.bytes
+ disk.device.allocation_vdbe:
+ - vdbe
+ - disk.device.allocation
+ feature_vdbe_untr_x_vlan2-Network-Role_vmi_subport_another_vdbe_vdbe_untr_2_port_vlan2:
+ - vdbe_vdbe_untr_2_port_vlan2
+ - feature_vdbe_untr_x_vlan2-Network-Role_vmi_subport_another
+ disk.usage_vdbe:
+ - vdbe
+ - disk.usage
+ memory.usage_vdbe:
+ - vdbe
+ - memory.usage
+ network.outpoing.packets_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.outpoing.packets
+ disk.read.requests_vdbe:
+ - vdbe
+ - disk.read.requests
+ network.incoming.bytes_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.incoming.bytes
+ instance_vdbe:
+ - vdbe
+ - instance
+ cpu.delta_vdbe:
+ - vdbe
+ - cpu.delta
+ network.outgoing.packets.rate_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.outgoing.packets.rate
+ feature_vdbe_vdbe_untr_2_port_vlan2:
+ - vdbe_vdbe_untr_2_port_vlan2
+ - feature
+ binding_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - binding
+ disk.device.read.bytes.rate_vdbe:
+ - vdbe
+ - disk.device.read.bytes.rate
+ disk.device.write.bytes.rate_vdbe:
+ - vdbe
+ - disk.device.write.bytes.rate
+ memory.resident_vdbe:
+ - vdbe
+ - memory.resident
+ forwarder_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - forwarder
+ disk.write.requests.rate_vdbe:
+ - vdbe
+ - disk.write.requests.rate
+ cpu_vdbe:
+ - vdbe
+ - cpu
+ disk.write.bytes_vdbe:
+ - vdbe
+ - disk.write.bytes
+ forwarder_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - forwarder
+ disk.device.usage_vdbe:
+ - vdbe
+ - disk.device.usage
+ disk.device.read.bytes_vdbe:
+ - vdbe
+ - disk.device.read.bytes
+ disk.latency_vdbe:
+ - vdbe
+ - disk.latency
+ network.outgoing.packets.rate_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.outgoing.packets.rate
+ disk.capacity_vdbe:
+ - vdbe
+ - disk.capacity
+ host_vdbe:
+ - vdbe
+ - host
+ disk.allocation_vdbe:
+ - vdbe
+ - disk.allocation
+ network.outpoing.packets_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.outpoing.packets
+ network.incoming.packets_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.incoming.packets
+ disk.read.bytes.rate_vdbe:
+ - vdbe
+ - disk.read.bytes.rate
+ network.incoming.bytes_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.incoming.bytes
+ os_vdbe:
+ - vdbe
+ - os
+ disk.device.read.requests_vdbe:
+ - vdbe
+ - disk.device.read.requests
+ network.incoming.packets.rate_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.incoming.packets.rate
+ disk.root.size_vdbe:
+ - vdbe
+ - disk.root.size
+ network.incoming.bytes.rate_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.incoming.bytes.rate
+ binding_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - binding
+ memory_vdbe:
+ - vdbe
+ - memory
+ binding_vdbe:
+ - vdbe
+ - binding
+ disk.device.write.bytes_vdbe:
+ - vdbe
+ - disk.device.write.bytes
+ network.outgoing.bytes_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.outgoing.bytes
+ network.outgoing.bytes.rate_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.outgoing.bytes.rate
+ disk.device.read.requests.rate_vdbe:
+ - vdbe
+ - disk.device.read.requests.rate
+ disk.read.bytes_vdbe:
+ - vdbe
+ - disk.read.bytes
+ requirements:
+ link_vdbe_untr_x_vlan2-Network-Role_vmi_subport_another_vdbe_vdbe_untr_2_port_vlan2:
+ - vdbe_vdbe_untr_2_port_vlan2
+ - link_vdbe_untr_x_vlan2-Network-Role_vmi_subport_another
+ dependency_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - dependency
+ link_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - link
+ dependency_vdbe_untr_x_vlan2-Network-Role_vmi_subport_another_vdbe_vdbe_untr_2_port_vlan2:
+ - vdbe_vdbe_untr_2_port_vlan2
+ - dependency_vdbe_untr_x_vlan2-Network-Role_vmi_subport_another
+ local_storage_vdbe:
+ - vdbe
+ - local_storage
+ dependency_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - dependency
+ dependency_vdbe_vdbe_untr_2_port_vlan2:
+ - vdbe_vdbe_untr_2_port_vlan2
+ - dependency
+ dependency_vdbe_vdbe_untr_1_port_vlan1:
+ - vdbe_vdbe_untr_1_port_vlan1
+ - dependency
+ dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
+ - vdbe_vdbe_untr_1_port_vlan1
+ - dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ link_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - link
+ link_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
+ - vdbe_vdbe_untr_1_port_vlan1
+ - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ dependency_vdbe:
+ - vdbe
+ - dependency \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/out/vlan1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/out/vlan1ServiceTemplate.yaml
new file mode 100644
index 0000000000..67821a7c3d
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/out/vlan1ServiceTemplate.yaml
@@ -0,0 +1,171 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: vlan1
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+topology_template:
+ inputs:
+ aap_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix for primary vDBE VM on the VAN untrusted network
+ aap_sec_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
+ ip_v6_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: IPv6 address associated with subinterfaces
+ counter:
+ hidden: false
+ immutable: false
+ type: float
+ description: Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances.
+ subinterfaces_name_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource
+ ip_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: IPv4 address associated with subinterfaces
+ aap_address_mode:
+ hidden: false
+ immutable: false
+ type: string
+ description: Address mode for the vDBE cluster IP
+ aap_untrusted_v6_ip_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
+ parent_interface:
+ hidden: false
+ immutable: false
+ type: string
+ description: Parent Contrail interface
+ vn_network_list:
+ hidden: false
+ immutable: false
+ type: string
+ description: List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list
+ mac_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: HW MAC address to use for subinterface
+ vlan_tag_list:
+ hidden: false
+ immutable: false
+ type: list
+ description: List of VLAN IDs to use for subinterfaces
+ entry_schema:
+ type: string
+ aap_sec_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
+ vmac_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: virtual MAC address to use for subinterface
+ aap_untrusted_v6_ip_prefix_len:
+ hidden: false
+ immutable: false
+ type: string
+ description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
+ aap_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix length for the primary vDBE VM on the VAN untrusted network
+ node_templates:
+ vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ properties:
+ virtual_machine_interface_refs:
+ - get_input: parent_interface
+ name:
+ str_replace:
+ template: $NAME_$INDEX
+ params:
+ $NAME:
+ get_input: subinterfaces_name_prefix
+ $INDEX:
+ get_input:
+ - vlan_tag_list
+ - get_input: counter
+ virtual_network_refs:
+ - get_input: vn_network_list
+ virtual_machine_interface_properties:
+ sub_interface_vlan_tag:
+ get_input:
+ - vlan_tag_list
+ - get_input: counter
+ virtual_machine_interface_allowed_address_pairs:
+ allowed_address_pair:
+ - address_mode:
+ get_input: aap_address_mode
+ ip:
+ ip_prefix:
+ get_input: aap_untrusted_ip_prefix
+ ip_prefix_len:
+ get_input: aap_untrusted_ip_prefix_len
+ mac:
+ get_input: vmac_address
+ - address_mode:
+ get_input: aap_address_mode
+ ip:
+ ip_prefix:
+ get_input: aap_sec_untrusted_ip_prefix
+ ip_prefix_len:
+ get_input: aap_sec_untrusted_ip_prefix_len
+ mac:
+ get_input: mac_address
+ - address_mode:
+ get_input: aap_address_mode
+ ip:
+ ip_prefix:
+ get_input: aap_untrusted_v6_ip_prefix
+ ip_prefix_len:
+ get_input: aap_untrusted_v6_ip_prefix_len
+ mac:
+ get_input: vmac_address
+ virtual_machine_interface_mac_addresses:
+ mac_address:
+ - get_input: mac_address
+ groups:
+ vlan1_group:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/vlan1.yml
+ description: cmaui server template for vMMSC
+ members:
+ - vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ substitution_mappings:
+ node_type: org.openecomp.resource.abstract.nodes.heat.subinterface.vlan1
+ capabilities:
+ feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ - vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ - feature
+ requirements:
+ link_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ - vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ - link
+ binding_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ - vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ - binding
+ dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ - vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ - dependency \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/out/vlan2ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/out/vlan2ServiceTemplate.yaml
new file mode 100644
index 0000000000..af537a8884
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/multiplePortsMultipleVlans/out/vlan2ServiceTemplate.yaml
@@ -0,0 +1,171 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: vlan2
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+topology_template:
+ inputs:
+ aap_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix for primary vDBE VM on the VAN untrusted network
+ aap_sec_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
+ ip_v6_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: IPv6 address associated with subinterfaces
+ counter:
+ hidden: false
+ immutable: false
+ type: float
+ description: Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances.
+ subinterfaces_name_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource
+ ip_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: IPv4 address associated with subinterfaces
+ aap_address_mode:
+ hidden: false
+ immutable: false
+ type: string
+ description: Address mode for the vDBE cluster IP
+ aap_untrusted_v6_ip_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
+ parent_interface:
+ hidden: false
+ immutable: false
+ type: string
+ description: Parent Contrail interface
+ vn_network_list:
+ hidden: false
+ immutable: false
+ type: string
+ description: List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list
+ mac_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: HW MAC address to use for subinterface
+ vlan_tag_list:
+ hidden: false
+ immutable: false
+ type: list
+ description: List of VLAN IDs to use for subinterfaces
+ entry_schema:
+ type: string
+ aap_sec_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
+ vmac_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: virtual MAC address to use for subinterface
+ aap_untrusted_v6_ip_prefix_len:
+ hidden: false
+ immutable: false
+ type: string
+ description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
+ aap_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix length for the primary vDBE VM on the VAN untrusted network
+ node_templates:
+ vdbe_untr_x_vlan2-Network-Role_vmi_subport_another:
+ type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ properties:
+ virtual_machine_interface_refs:
+ - get_input: parent_interface
+ name:
+ str_replace:
+ template: $NAME_$INDEX
+ params:
+ $NAME:
+ get_input: subinterfaces_name_prefix
+ $INDEX:
+ get_input:
+ - vlan_tag_list
+ - get_input: counter
+ virtual_network_refs:
+ - get_input: vn_network_list
+ virtual_machine_interface_properties:
+ sub_interface_vlan_tag:
+ get_input:
+ - vlan_tag_list
+ - get_input: counter
+ virtual_machine_interface_allowed_address_pairs:
+ allowed_address_pair:
+ - address_mode:
+ get_input: aap_address_mode
+ ip:
+ ip_prefix:
+ get_input: aap_untrusted_ip_prefix
+ ip_prefix_len:
+ get_input: aap_untrusted_ip_prefix_len
+ mac:
+ get_input: vmac_address
+ - address_mode:
+ get_input: aap_address_mode
+ ip:
+ ip_prefix:
+ get_input: aap_sec_untrusted_ip_prefix
+ ip_prefix_len:
+ get_input: aap_sec_untrusted_ip_prefix_len
+ mac:
+ get_input: mac_address
+ - address_mode:
+ get_input: aap_address_mode
+ ip:
+ ip_prefix:
+ get_input: aap_untrusted_v6_ip_prefix
+ ip_prefix_len:
+ get_input: aap_untrusted_v6_ip_prefix_len
+ mac:
+ get_input: vmac_address
+ virtual_machine_interface_mac_addresses:
+ mac_address:
+ - get_input: mac_address
+ groups:
+ vlan2_group:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/vlan2.yml
+ description: cmaui server template for vMMSC
+ members:
+ - vdbe_untr_x_vlan2-Network-Role_vmi_subport_another
+ substitution_mappings:
+ node_type: org.openecomp.resource.abstract.nodes.heat.subinterface.vlan2
+ capabilities:
+ feature_vdbe_untr_x_vlan2-Network-Role_vmi_subport_another:
+ - vdbe_untr_x_vlan2-Network-Role_vmi_subport_another
+ - feature
+ requirements:
+ link_vdbe_untr_x_vlan2-Network-Role_vmi_subport_another:
+ - vdbe_untr_x_vlan2-Network-Role_vmi_subport_another
+ - link
+ binding_vdbe_untr_x_vlan2-Network-Role_vmi_subport_another:
+ - vdbe_untr_x_vlan2-Network-Role_vmi_subport_another
+ - binding
+ dependency_vdbe_untr_x_vlan2-Network-Role_vmi_subport_another:
+ - vdbe_untr_x_vlan2-Network-Role_vmi_subport_another
+ - dependency \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/in/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/in/MANIFEST.json
new file mode 100644
index 0000000000..aca75b5055
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/in/MANIFEST.json
@@ -0,0 +1,17 @@
+{
+ "name": "vMME_Small",
+ "description": "HOT template to create 2 cinder volume attachment",
+ "version": "2013-05-23",
+ "data": [
+ {
+ "file": "main.yml",
+ "type": "HEAT",
+ "isBase": "true"
+ },
+ {
+ "file": "nested.yml",
+ "type": "HEAT",
+ "isBase": "false"
+ }
+ ]
+}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/in/main.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/in/main.yml
new file mode 100644
index 0000000000..3bf6d050ff
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/in/main.yml
@@ -0,0 +1,353 @@
+heat_template_version: 2013-05-23
+
+description: >
+ Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
+
+parameters:
+ aap_address_mode:
+ description: "Address mode for the vDBE cluster IP"
+ type: string
+ control_int_net_forwarding_mode:
+ description: "forwarding mode of the control virtual network"
+ type: string
+ control_int_net_rpf:
+ description: "Reverse Path Filtering enable or disable for the control virtual network"
+ type: string
+ control_int_net_shared:
+ description: "control virtual network shared"
+ type: boolean
+ control_int_net_flood_unknown_unicast:
+ description: "forwarding mode of the control virtual network"
+ type: boolean
+ oam_net_name:
+ description: "Name of NSDNet network from which the management IP addresses will be allocated"
+ type: string
+ untrusted_net_name:
+ description: "Name of public untrusted network into which this vDBE HA cluster is deployed"
+ type: string
+ untrusted_num_vn:
+ constraints:
+ -
+ range:
+ max: 77
+ min: 1
+ description: "Number of vDBE subinterface virtual Networks"
+ type: number
+ untrusted_vlan_tags:
+ description: "List of subinterface vlan tags"
+ type: comma_delimited_list
+ untrusted_vn_networks:
+ description: "List of subinterface virtual networks"
+ type: comma_delimited_list
+ vdbe_aap_sec_untrusted_ip_prefix:
+ description: "ip prefix for secondary vDBE VM aap on the VAN untrusted network"
+ type: string
+ vdbe_aap_sec_untrusted_ip_prefix_len:
+ description: "ip prefix length for the secondary DBE VM aap on the VAN untrusted network"
+ type: string
+ vdbe_aap_untrusted_ip_prefix:
+ description: "ip prefix for primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_aap_untrusted_ip_prefix_len:
+ description: "ip prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_aap_untrusted_v6_ip_prefix:
+ description: "ipv6 prefix for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_aap_untrusted_v6_ip_prefix_len:
+ description: "ipv6 prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_device_name:
+ description: "VDBE device Name for this vdbe VNF"
+ type: string
+ vdbe_hw_untr_mac_1:
+ description: "Secondary MAC address of the secondary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_name_1:
+ description: "VM Name for this vdbe node 1"
+ type: string
+ vdbe_name_2:
+ description: "VM Name for this vdbe node 2"
+ type: string
+ vdbe_untrusted_ip_1:
+ description: "IPV4 address of the secondary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_untrusted_v6_ip_1:
+ description: "IPV6 address of the secondary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_untrusted_vmac_address:
+ description: "Virtual MAC of the primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_flavor_name:
+ description: "Flavor to use for vDBE"
+ type: string
+ vdbe_image_name:
+ description: "Image to use for vDBE"
+ type: string
+ vnf_name:
+ description: "Unique name for this VF instance"
+ type: string
+ vnf_id_1:
+ description: "Unique ID for this VF inst"
+ type: string
+ vnf_name_1:
+ description: "Unique name for this VF instance"
+ type: string
+ vf_module_id_1:
+ description: "Unique ID for this VF module inst"
+ type: string
+ vnf_id_2:
+ description: "Unique ID for this VF inst"
+ type: string
+ vnf_name_2:
+ description: "Unique name for this VF instance"
+ type: string
+ vf_module_id_2:
+ description: "Unique ID for this VF module inst"
+ type: string
+ availability_zone_1:
+ description: "The availability zone of secondary node1 vDBE vm in the local HA pair."
+ type: string
+ availability_zone_2:
+ description: "The availability zone of secondary node2 vDBE vm in the local HA pair."
+ type: string
+ counter:
+ description: "Counter."
+ type: number
+resources:
+ vdbe_node_1:
+ type: OS::Nova::Server
+ properties:
+ availability_zone:
+ get_param: availability_zone_1
+ flavor:
+ get_param: vdbe_flavor_name
+ image:
+ get_param: vdbe_image_name
+ metadata:
+ vf_module_id:
+ get_param: vf_module_id_1
+ vnf_id:
+ get_param: vnf_id_1
+ vnf_name:
+ get_param: vnf_name_1
+ name:
+ get_param: vdbe_name_1
+ networks:
+ - port: {get_resource: vdbe_untr_port_1}
+ vdbe_node_2:
+ type: OS::Nova::Server
+ properties:
+ availability_zone:
+ get_param: availability_zone_2
+ flavor:
+ get_param: vdbe_flavor_name
+ image:
+ get_param: vdbe_image_name
+ metadata:
+ vf_module_id:
+ get_param: vf_module_id_2
+ vnf_id:
+ get_param: vnf_id_2
+ vnf_name:
+ get_param: vnf_name_2
+ name:
+ get_param: vdbe_name_2
+ networks:
+ - port: {get_resource: vdbe_untr_port_2}
+ vdbe_untr_port_1:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name: Untr_Port_1
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_hw_untr_mac_1
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: vdbe_hw_untr_mac_1
+ virtual_network_refs:
+ -
+ get_resource: control_int_net
+ vdbe_untr_port_2:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name: Untr_Port_2
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_hw_untr_mac_1
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: vdbe_hw_untr_mac_1
+ virtual_network_refs:
+ -
+ get_resource: control_int_net
+
+ vdbe_untr_1_subports:
+ type: OS::Heat::ResourceGroup
+ properties:
+ count: 5
+ resource_def:
+ type: nested.yml
+ properties:
+ aap_address_mode:
+ get_param: aap_address_mode
+ aap_sec_untrusted_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ aap_sec_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ aap_untrusted_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ aap_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ aap_untrusted_v6_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ aap_untrusted_v6_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ counter: "%index%"
+ ip_address:
+ get_param: vdbe_untrusted_ip_1
+ ip_v6_address:
+ get_param: vdbe_untrusted_v6_ip_1
+ mac_address:
+ get_param: vdbe_hw_untr_mac_1
+ parent_interface:
+ get_resource: vdbe_untr_port_1
+ subinterfaces_name_prefix:
+ str_replace:
+ params:
+ DBE:
+ get_param: vdbe_device_name
+ VM_NAME:
+ get_param: vdbe_name_1
+ template: VM_NAMEDBE001p1n004
+ vlan_tag_list:
+ get_param: untrusted_vlan_tags
+ vmac_address:
+ get_param: vdbe_untrusted_vmac_address
+ vn_network_list:
+ get_param: untrusted_vn_networks
+
+ vdbe_untr_2_subports:
+ type: OS::Heat::ResourceGroup
+ properties:
+ count: 5
+ resource_def:
+ type: nested.yml
+ properties:
+ aap_address_mode:
+ get_param: aap_address_mode
+ aap_sec_untrusted_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ aap_sec_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ aap_untrusted_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ aap_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ aap_untrusted_v6_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ aap_untrusted_v6_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ counter:
+ get_param: counter
+ ip_address:
+ get_param: vdbe_untrusted_ip_1
+ ip_v6_address:
+ get_param: vdbe_untrusted_v6_ip_1
+ mac_address:
+ get_param: vdbe_hw_untr_mac_1
+ parent_interface:
+ get_resource: vdbe_untr_port_2
+ subinterfaces_name_prefix:
+ str_replace:
+ params:
+ DBE:
+ get_param: vdbe_device_name
+ VM_NAME:
+ get_param: vdbe_name_1
+ template: VM_NAMEDBE001p1n004
+ vlan_tag_list:
+ get_param: untrusted_vlan_tags
+ vmac_address:
+ get_param: vdbe_untrusted_vmac_address
+ vn_network_list:
+ get_param: untrusted_vn_networks
+
+ control_int_net:
+ type: OS::ContrailV2::VirtualNetwork
+ properties:
+ flood_unknown_unicast:
+ get_param: control_int_net_flood_unknown_unicast
+ is_shared:
+ get_param: control_int_net_shared
+ name:
+ str_replace:
+ params:
+ VNF_NAME:
+ get_param: vnf_name
+ template: VNF_NAME_control_net
+ virtual_network_properties:
+ virtual_network_properties_forwarding_mode:
+ get_param: control_int_net_forwarding_mode
+ virtual_network_properties_rpf:
+ get_param: control_int_net_rpf
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/in/nested.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/in/nested.yml
new file mode 100644
index 0000000000..2a218f648a
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/in/nested.yml
@@ -0,0 +1,116 @@
+heat_template_version: 2013-05-23
+
+description: cmaui server template for vMMSC
+
+parameters:
+ aap_address_mode:
+ description: "Address mode for the vDBE cluster IP"
+ type: string
+ aap_sec_untrusted_ip_prefix:
+ description: "ip prefix for secondary vDBE VM aap on the VAN untrusted network"
+ type: string
+ aap_sec_untrusted_ip_prefix_len:
+ description: "ip prefix length for the secondary DBE VM aap on the VAN untrusted network"
+ type: string
+ aap_untrusted_ip_prefix:
+ description: "ip prefix for primary vDBE VM on the VAN untrusted network"
+ type: string
+ aap_untrusted_ip_prefix_len:
+ description: "ip prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ aap_untrusted_v6_ip_prefix:
+ description: "ipv6 prefix for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ aap_untrusted_v6_ip_prefix_len:
+ description: "ipv6 prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ counter:
+ description: "Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances."
+ type: number
+ mac_address:
+ description: "HW MAC address to use for subinterface"
+ type: string
+ parent_interface:
+ description: "Parent Contrail interface"
+ type: string
+ subinterfaces_name_prefix:
+ description: "Combined with subinterface_instance_index, this is used as the name of the subinterface resource"
+ type: string
+ vlan_tag_list:
+ description: "List of VLAN IDs to use for subinterfaces"
+ type: comma_delimited_list
+ vmac_address:
+ description: "virtual MAC address to use for subinterface"
+ type: string
+ vn_network_list:
+ description: "List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list"
+ type: string
+ ip_address:
+ description: "IPv4 address associated with subinterfaces"
+ type: string
+ ip_v6_address:
+ description: "IPv6 address associated with subinterfaces"
+ type: string
+resources:
+ vdbe_untr_x_int_vmi_subport:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name:
+ str_replace:
+ params:
+ $INDEX:
+ get_param:
+ - vlan_tag_list
+ -
+ get_param: counter
+ $NAME:
+ get_param: subinterfaces_name_prefix
+ template: $NAME_$INDEX
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: mac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: mac_address
+ virtual_machine_interface_properties:
+ virtual_machine_interface_properties_sub_interface_vlan_tag:
+ get_param:
+ - vlan_tag_list
+ -
+ get_param: counter
+ virtual_machine_interface_refs:
+ [{get_param: parent_interface}]
+ virtual_network_refs:
+ [{get_param: vn_network_list}]
+
+
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/out/GlobalSubstitutionTypesServiceTemplate.yaml
new file mode 100644
index 0000000000..d296770065
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -0,0 +1,676 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: GlobalSubstitutionTypes
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+node_types:
+ org.openecomp.resource.abstract.nodes.vdbe:
+ derived_from: org.openecomp.resource.abstract.nodes.VFC
+ properties:
+ port_vdbe_untr_port_network_role_tag:
+ type: string
+ required: true
+ status: SUPPORTED
+ subinterface_nested_parent_interface:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_nested_aap_address_mode:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_nested_vlan_tag_list:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ port_vdbe_untr_port_subnetpoolid:
+ type: string
+ required: true
+ status: SUPPORTED
+ compute_vdbe_availability_zone:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_nested_aap_untrusted_v6_ip_prefix_len:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ vm_flavor_name:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_port_order:
+ type: integer
+ required: true
+ status: SUPPORTED
+ subinterface_nested_aap_untrusted_ip_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ vm_image_name:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_port_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ subinterface_nested_aap_sec_untrusted_ip_prefix_len:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_nested_aap_sec_untrusted_ip_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_nested_aap_untrusted_v6_ip_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ compute_vdbe_metadata:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ subinterface_nested_mac_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_virtual_machine_interface_allowed_address_pairs:
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
+ required: true
+ status: SUPPORTED
+ subinterface_nested_ip_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_virtual_network_refs:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ subinterface_nested_ip_v6_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ index_value:
+ type: integer
+ description: Index value of this substitution service template runtime instance
+ required: false
+ default: 0
+ status: SUPPORTED
+ constraints:
+ - greater_or_equal: 0
+ subinterface_nested_vmac_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_nested_vn_network_list:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_name:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_vlan_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_vdbe_untr_port_network_role:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_port_virtual_machine_interface_mac_addresses:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ subinterface_nested_aap_untrusted_ip_prefix_len:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_nested_counter:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: float
+ subinterface_nested_subinterfaces_name_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ compute_vdbe_name:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ requirements:
+ - dependency_vdbe:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - local_storage_vdbe:
+ capability: tosca.capabilities.Attachment
+ node: tosca.nodes.BlockStorage
+ relationship: tosca.relationships.AttachesTo
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - dependency_vdbe_vdbe_untr_port:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_vdbe_vdbe_untr_port:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - dependency_vdbe_vdbe_untr_port_nested:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - dependency_vdbe_untr_x_int_vmi_subport_vdbe_vdbe_untr_port_nested:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_vdbe_untr_x_int_vmi_subport_vdbe_vdbe_untr_port_nested:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ capabilities:
+ network.outgoing.packets.rate_vdbe_vdbe_untr_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes_vdbe_vdbe_untr_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_vdbe_untr_port:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.iops_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ endpoint_vdbe:
+ type: tosca.capabilities.Endpoint.Admin
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.ephemeral.size_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_untr_x_int_vmi_subport_vdbe_vdbe_untr_port_nested:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ cpu_util_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ vcpus_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.requests_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.latency_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.requests.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.bytes.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets_vdbe_vdbe_untr_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ scalable_vdbe:
+ type: tosca.capabilities.Scalable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.iops_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.requests_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.capacity_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.allocation_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.usage_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ memory.usage_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outpoing.packets_vdbe_vdbe_untr_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes.rate_vdbe_vdbe_untr_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.read.requests_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ forwarder_vdbe_vdbe_untr_port:
+ type: org.openecomp.capabilities.Forwarder
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding_vdbe_vdbe_untr_port:
+ type: tosca.capabilities.network.Bindable
+ valid_source_types:
+ - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ occurrences:
+ - 0
+ - UNBOUNDED
+ instance_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes.rate_vdbe_vdbe_untr_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ cpu.delta_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.bytes.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.bytes.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ memory.resident_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_vdbe_untr_port_nested:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.requests.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ cpu_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.bytes_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.usage_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.bytes_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.latency_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes_vdbe_vdbe_untr_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.capacity_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ host_vdbe:
+ type: tosca.capabilities.Container
+ valid_source_types:
+ - tosca.nodes.SoftwareComponent
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.allocation_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.read.bytes.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ os_vdbe:
+ type: tosca.capabilities.OperatingSystem
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.requests_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.root.size_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ memory_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding_vdbe:
+ type: tosca.capabilities.network.Bindable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.bytes_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.requests.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.read.bytes_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets.rate_vdbe_vdbe_untr_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ org.openecomp.resource.abstract.nodes.heat.subinterface.nested:
+ derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
+ properties:
+ aap_untrusted_ip_prefix:
+ type: string
+ description: ip prefix for primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ aap_sec_untrusted_ip_prefix:
+ type: string
+ description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ ip_v6_address:
+ type: string
+ description: IPv6 address associated with subinterfaces
+ required: true
+ status: SUPPORTED
+ counter:
+ type: float
+ description: Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances.
+ required: true
+ status: SUPPORTED
+ subinterfaces_name_prefix:
+ type: string
+ description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource
+ required: true
+ status: SUPPORTED
+ ip_address:
+ type: string
+ description: IPv4 address associated with subinterfaces
+ required: true
+ status: SUPPORTED
+ aap_address_mode:
+ type: string
+ description: Address mode for the vDBE cluster IP
+ required: true
+ status: SUPPORTED
+ aap_untrusted_v6_ip_prefix:
+ type: string
+ description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ parent_interface:
+ type: string
+ description: Parent Contrail interface
+ required: true
+ status: SUPPORTED
+ vn_network_list:
+ type: string
+ description: List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list
+ required: true
+ status: SUPPORTED
+ mac_address:
+ type: string
+ description: HW MAC address to use for subinterface
+ required: true
+ status: SUPPORTED
+ vlan_tag_list:
+ type: list
+ description: List of VLAN IDs to use for subinterfaces
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ aap_sec_untrusted_ip_prefix_len:
+ type: string
+ description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ vmac_address:
+ type: string
+ description: virtual MAC address to use for subinterface
+ required: true
+ status: SUPPORTED
+ aap_untrusted_v6_ip_prefix_len:
+ type: string
+ description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ aap_untrusted_ip_prefix_len:
+ type: string
+ description: ip prefix length for the primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ requirements:
+ - dependency_vdbe_untr_x_int_vmi_subport:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_vdbe_untr_x_int_vmi_subport:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - binding_vdbe_untr_x_int_vmi_subport:
+ capability: tosca.capabilities.network.Bindable
+ node: org.openecomp.resource.cp.nodes.network.Port
+ relationship: tosca.relationships.network.BindsTo
+ occurrences:
+ - 1
+ - 1
+ capabilities:
+ feature_vdbe_untr_x_int_vmi_subport:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/out/MainServiceTemplate.yaml
new file mode 100644
index 0000000000..828abb9bef
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/out/MainServiceTemplate.yaml
@@ -0,0 +1,606 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: Main
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+topology_template:
+ inputs:
+ control_int_net_rpf:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: control_int_net_rpf
+ type: string
+ description: Reverse Path Filtering enable or disable for the control virtual network
+ control_int_net_forwarding_mode:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: control_int_net_forwarding_mode
+ type: string
+ description: forwarding mode of the control virtual network
+ vnf_name_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vnf_name_1
+ type: string
+ description: Unique name for this VF instance
+ vnf_name_2:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vnf_name_2
+ type: string
+ description: Unique name for this VF instance
+ vnf_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vnf_name
+ type: string
+ description: Unique name for this VF instance
+ vdbe_untrusted_ip_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_untrusted_ip_1
+ type: string
+ description: IPV4 address of the secondary vDBE VM on the VAN untrusted network
+ vdbe_aap_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_untrusted_ip_prefix_len
+ type: string
+ description: ip prefix length for the primary vDBE VM on the VAN untrusted network
+ vnf_id_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vnf_id_1
+ type: string
+ description: Unique ID for this VF inst
+ vnf_id_2:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vnf_id_2
+ type: string
+ description: Unique ID for this VF inst
+ untrusted_num_vn:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: untrusted_num_vn
+ type: float
+ description: Number of vDBE subinterface virtual Networks
+ constraints:
+ - in_range:
+ - 1
+ - 77
+ aap_address_mode:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: aap_address_mode
+ type: string
+ description: Address mode for the vDBE cluster IP
+ control_int_net_shared:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: control_int_net_shared
+ type: boolean
+ description: control virtual network shared
+ vdbe_untrusted_v6_ip_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_untrusted_v6_ip_1
+ type: string
+ description: IPV6 address of the secondary vDBE VM on the VAN untrusted network
+ vdbe_untrusted_vmac_address:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_untrusted_vmac_address
+ type: string
+ description: Virtual MAC of the primary vDBE VM on the VAN untrusted network
+ control_int_net_flood_unknown_unicast:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: control_int_net_flood_unknown_unicast
+ type: boolean
+ description: forwarding mode of the control virtual network
+ vdbe_aap_sec_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_sec_untrusted_ip_prefix
+ type: string
+ description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
+ vdbe_name_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_name_1
+ type: string
+ description: VM Name for this vdbe node 1
+ availability_zone_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: availability_zone_1
+ type: string
+ description: The availability zone of secondary node1 vDBE vm in the local HA pair.
+ availability_zone_2:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: availability_zone_2
+ type: string
+ description: The availability zone of secondary node2 vDBE vm in the local HA pair.
+ untrusted_vn_networks:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: untrusted_vn_networks
+ type: list
+ description: List of subinterface virtual networks
+ entry_schema:
+ type: string
+ vdbe_image_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_image_name
+ type: string
+ description: Image to use for vDBE
+ oam_net_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: oam_net_name
+ type: string
+ description: Name of NSDNet network from which the management IP addresses will be allocated
+ vdbe_name_2:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_name_2
+ type: string
+ description: VM Name for this vdbe node 2
+ vdbe_aap_sec_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_sec_untrusted_ip_prefix_len
+ type: string
+ description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
+ vdbe_aap_untrusted_v6_ip_prefix:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_untrusted_v6_ip_prefix
+ type: string
+ description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
+ vdbe_aap_untrusted_v6_ip_prefix_len:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_untrusted_v6_ip_prefix_len
+ type: string
+ description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
+ untrusted_vlan_tags:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: untrusted_vlan_tags
+ type: list
+ description: List of subinterface vlan tags
+ entry_schema:
+ type: string
+ vdbe_flavor_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_flavor_name
+ type: string
+ description: Flavor to use for vDBE
+ counter:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: counter
+ type: float
+ description: Counter.
+ vf_module_id_2:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vf_module_id_2
+ type: string
+ description: Unique ID for this VF module inst
+ vf_module_id_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vf_module_id_1
+ type: string
+ description: Unique ID for this VF module inst
+ vdbe_hw_untr_mac_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_hw_untr_mac_1
+ type: string
+ description: Secondary MAC address of the secondary vDBE VM on the VAN untrusted network
+ untrusted_net_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: untrusted_net_name
+ type: string
+ description: Name of public untrusted network into which this vDBE HA cluster is deployed
+ vdbe_device_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_device_name
+ type: string
+ description: VDBE device Name for this vdbe VNF
+ vdbe_aap_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_untrusted_ip_prefix
+ type: string
+ description: ip prefix for primary vDBE VM on the VAN untrusted network
+ node_templates:
+ control_int_net:
+ type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
+ properties:
+ network_name:
+ str_replace:
+ template: VNF_NAME_control_net
+ params:
+ VNF_NAME:
+ get_input: vnf_name
+ abstract_vdbe:
+ type: org.openecomp.resource.abstract.nodes.vdbe
+ directives:
+ - substitutable
+ properties:
+ subinterface_nested_parent_interface:
+ - vdbe_untr_port_1
+ - vdbe_untr_port_2
+ subinterface_nested_aap_address_mode:
+ - get_input: aap_address_mode
+ - get_input: aap_address_mode
+ subinterface_nested_vlan_tag_list:
+ - get_input: untrusted_vlan_tags
+ - get_input: untrusted_vlan_tags
+ compute_vdbe_availability_zone:
+ - get_input: availability_zone_1
+ - get_input: availability_zone_2
+ subinterface_nested_aap_untrusted_v6_ip_prefix_len:
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix_len
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix_len
+ vm_flavor_name:
+ get_input: vdbe_flavor_name
+ subinterface_nested_aap_untrusted_ip_prefix:
+ - get_input: vdbe_aap_untrusted_ip_prefix
+ - get_input: vdbe_aap_untrusted_ip_prefix
+ vm_image_name:
+ get_input: vdbe_image_name
+ subinterface_nested_aap_sec_untrusted_ip_prefix_len:
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix_len
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix_len
+ subinterface_nested_aap_sec_untrusted_ip_prefix:
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix
+ subinterface_nested_aap_untrusted_v6_ip_prefix:
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix
+ compute_vdbe_metadata:
+ - vf_module_id:
+ get_input: vf_module_id_1
+ vnf_id:
+ get_input: vnf_id_1
+ vnf_name:
+ get_input: vnf_name_1
+ - vf_module_id:
+ get_input: vf_module_id_2
+ vnf_id:
+ get_input: vnf_id_2
+ vnf_name:
+ get_input: vnf_name_2
+ subinterface_nested_mac_address:
+ - get_input: vdbe_hw_untr_mac_1
+ - get_input: vdbe_hw_untr_mac_1
+ subinterface_nested_ip_address:
+ - get_input: vdbe_untrusted_ip_1
+ - get_input: vdbe_untrusted_ip_1
+ port_vdbe_untr_port_virtual_network_refs:
+ - - control_int_net
+ - - control_int_net
+ subinterface_nested_ip_v6_address:
+ - get_input: vdbe_untrusted_v6_ip_1
+ - get_input: vdbe_untrusted_v6_ip_1
+ subinterface_nested_vmac_address:
+ - get_input: vdbe_untrusted_vmac_address
+ - get_input: vdbe_untrusted_vmac_address
+ subinterface_nested_vn_network_list:
+ - get_input: untrusted_vn_networks
+ - get_input: untrusted_vn_networks
+ port_vdbe_untr_port_name:
+ - Untr_Port_1
+ - Untr_Port_2
+ port_vdbe_untr_port_virtual_machine_interface_mac_addresses:
+ - - get_input: vdbe_hw_untr_mac_1
+ - - get_input: vdbe_hw_untr_mac_1
+ subinterface_nested_aap_untrusted_ip_prefix_len:
+ - get_input: vdbe_aap_untrusted_ip_prefix_len
+ - get_input: vdbe_aap_untrusted_ip_prefix_len
+ subinterface_nested_counter:
+ - get_property:
+ - SELF
+ - service_template_filter
+ - index_value
+ - get_input: counter
+ subinterface_nested_subinterfaces_name_prefix:
+ - str_replace:
+ template: VM_NAMEDBE001p1n004
+ params:
+ DBE:
+ get_input: vdbe_device_name
+ VM_NAME:
+ get_input: vdbe_name_1
+ - str_replace:
+ template: VM_NAMEDBE001p1n004
+ params:
+ DBE:
+ get_input: vdbe_device_name
+ VM_NAME:
+ get_input: vdbe_name_1
+ compute_vdbe_name:
+ - get_input: vdbe_name_1
+ - get_input: vdbe_name_2
+ service_template_filter:
+ substitute_service_template: Nested_vdbeServiceTemplate.yaml
+ count: 2
+ index_value:
+ get_property:
+ - SELF
+ - service_template_filter
+ - index_value
+ requirements:
+ - link_vdbe_vdbe_untr_port:
+ capability: tosca.capabilities.network.Linkable
+ node: control_int_net
+ relationship: tosca.relationships.network.LinksTo
+ groups:
+ main_group:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/main.yml
+ description: |
+ Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
+ members:
+ - control_int_net
+ - abstract_vdbe \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/out/Nested_vdbeServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/out/Nested_vdbeServiceTemplate.yaml
new file mode 100644
index 0000000000..73c0fe372c
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/out/Nested_vdbeServiceTemplate.yaml
@@ -0,0 +1,492 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: Nested_vdbe
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+node_types:
+ org.openecomp.resource.vfc.compute.nodes.heat.vdbe:
+ derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
+topology_template:
+ inputs:
+ port_vdbe_untr_port_network_role_tag:
+ type: string
+ required: true
+ subinterface_nested_parent_interface:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_nested_aap_address_mode:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_nested_vlan_tag_list:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ port_vdbe_untr_port_subnetpoolid:
+ type: string
+ required: true
+ compute_vdbe_availability_zone:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_nested_aap_untrusted_v6_ip_prefix_len:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ vm_flavor_name:
+ type: string
+ required: true
+ port_vdbe_untr_port_order:
+ type: integer
+ required: true
+ subinterface_nested_aap_untrusted_ip_prefix:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ vm_image_name:
+ type: string
+ required: true
+ port_vdbe_untr_port_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ subinterface_nested_aap_sec_untrusted_ip_prefix_len:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_nested_aap_sec_untrusted_ip_prefix:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_nested_aap_untrusted_v6_ip_prefix:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ compute_vdbe_metadata:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ subinterface_nested_mac_address:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_virtual_machine_interface_allowed_address_pairs:
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
+ required: true
+ subinterface_nested_ip_address:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_virtual_network_refs:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ subinterface_nested_ip_v6_address:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ index_value:
+ type: integer
+ description: Index value of this substitution service template runtime instance
+ required: false
+ default: 0
+ constraints:
+ - greater_or_equal: 0
+ subinterface_nested_vmac_address:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_nested_vn_network_list:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_name:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_vlan_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_vdbe_untr_port_network_role:
+ type: string
+ required: true
+ port_vdbe_untr_port_virtual_machine_interface_mac_addresses:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ subinterface_nested_aap_untrusted_ip_prefix_len:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_nested_counter:
+ type: list
+ required: true
+ entry_schema:
+ type: float
+ subinterface_nested_subinterfaces_name_prefix:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ compute_vdbe_name:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ node_templates:
+ vdbe:
+ type: org.openecomp.resource.vfc.compute.nodes.heat.vdbe
+ properties:
+ availability_zone:
+ get_input:
+ - compute_vdbe_availability_zone
+ - index_value
+ flavor:
+ get_input: vm_flavor_name
+ metadata:
+ get_input:
+ - compute_vdbe_metadata
+ - index_value
+ image:
+ get_input: vm_image_name
+ name:
+ get_input:
+ - compute_vdbe_name
+ - index_value
+ vdbe_vdbe_untr_port:
+ type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
+ properties:
+ mac_requirements:
+ get_input: port_vdbe_untr_port_mac_requirements
+ order:
+ get_input: port_vdbe_untr_port_order
+ exCP_naming:
+ get_input: port_vdbe_untr_port_exCP_naming
+ virtual_machine_interface_allowed_address_pairs:
+ get_input:
+ - port_vdbe_untr_port_virtual_machine_interface_allowed_address_pairs
+ - index_value
+ vlan_requirements:
+ get_input: port_vdbe_untr_port_vlan_requirements
+ virtual_network_refs:
+ get_input:
+ - port_vdbe_untr_port_virtual_network_refs
+ - index_value
+ ip_requirements:
+ get_input: port_vdbe_untr_port_ip_requirements
+ network_role_tag:
+ get_input: port_vdbe_untr_port_network_role_tag
+ virtual_machine_interface_mac_addresses:
+ get_input:
+ - port_vdbe_untr_port_virtual_machine_interface_mac_addresses
+ - index_value
+ network_role:
+ get_input: port_vdbe_untr_port_network_role
+ subnetpoolid:
+ get_input: port_vdbe_untr_port_subnetpoolid
+ name:
+ get_input:
+ - port_vdbe_untr_port_name
+ - index_value
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: vdbe
+ relationship: tosca.relationships.network.BindsTo
+ vdbe_vdbe_untr_port_nested:
+ type: org.openecomp.resource.abstract.nodes.heat.subinterface.nested
+ directives:
+ - substitutable
+ properties:
+ aap_untrusted_ip_prefix:
+ get_input:
+ - subinterface_nested_aap_untrusted_ip_prefix
+ - index_value
+ aap_sec_untrusted_ip_prefix:
+ get_input:
+ - subinterface_nested_aap_sec_untrusted_ip_prefix
+ - index_value
+ ip_v6_address:
+ get_input:
+ - subinterface_nested_ip_v6_address
+ - index_value
+ counter:
+ get_input:
+ - subinterface_nested_counter
+ - index_value
+ ip_address:
+ get_input:
+ - subinterface_nested_ip_address
+ - index_value
+ subinterfaces_name_prefix:
+ get_input:
+ - subinterface_nested_subinterfaces_name_prefix
+ - index_value
+ aap_address_mode:
+ get_input:
+ - subinterface_nested_aap_address_mode
+ - index_value
+ service_template_filter:
+ substitute_service_template: nestedServiceTemplate.yaml
+ count: 5
+ mandatory: true
+ aap_untrusted_v6_ip_prefix:
+ get_input:
+ - subinterface_nested_aap_untrusted_v6_ip_prefix
+ - index_value
+ parent_interface:
+ get_input:
+ - subinterface_nested_parent_interface
+ - index_value
+ vn_network_list:
+ get_input:
+ - subinterface_nested_vn_network_list
+ - index_value
+ mac_address:
+ get_input:
+ - subinterface_nested_mac_address
+ - index_value
+ vlan_tag_list:
+ get_input:
+ - subinterface_nested_vlan_tag_list
+ - index_value
+ aap_sec_untrusted_ip_prefix_len:
+ get_input:
+ - subinterface_nested_aap_sec_untrusted_ip_prefix_len
+ - index_value
+ vmac_address:
+ get_input:
+ - subinterface_nested_vmac_address
+ - index_value
+ aap_untrusted_v6_ip_prefix_len:
+ get_input:
+ - subinterface_nested_aap_untrusted_v6_ip_prefix_len
+ - index_value
+ aap_untrusted_ip_prefix_len:
+ get_input:
+ - subinterface_nested_aap_untrusted_ip_prefix_len
+ - index_value
+ requirements:
+ - binding_vdbe_untr_x_int_vmi_subport:
+ capability: tosca.capabilities.network.Bindable
+ node: vdbe_vdbe_untr_port
+ relationship: tosca.relationships.network.BindsTo
+ substitution_mappings:
+ node_type: org.openecomp.resource.abstract.nodes.vdbe
+ capabilities:
+ network.outgoing.packets.rate_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - network.outgoing.packets.rate
+ network.outgoing.bytes_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - network.outgoing.bytes
+ feature_vdbe:
+ - vdbe
+ - feature
+ feature_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - feature
+ disk.device.iops_vdbe:
+ - vdbe
+ - disk.device.iops
+ endpoint_vdbe:
+ - vdbe
+ - endpoint
+ disk.ephemeral.size_vdbe:
+ - vdbe
+ - disk.ephemeral.size
+ feature_vdbe_untr_x_int_vmi_subport_vdbe_vdbe_untr_port_nested:
+ - vdbe_vdbe_untr_port_nested
+ - feature_vdbe_untr_x_int_vmi_subport
+ cpu_util_vdbe:
+ - vdbe
+ - cpu_util
+ vcpus_vdbe:
+ - vdbe
+ - vcpus
+ disk.write.requests_vdbe:
+ - vdbe
+ - disk.write.requests
+ disk.device.latency_vdbe:
+ - vdbe
+ - disk.device.latency
+ disk.device.write.requests.rate_vdbe:
+ - vdbe
+ - disk.device.write.requests.rate
+ disk.write.bytes.rate_vdbe:
+ - vdbe
+ - disk.write.bytes.rate
+ network.incoming.packets_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - network.incoming.packets
+ scalable_vdbe:
+ - vdbe
+ - scalable
+ disk.iops_vdbe:
+ - vdbe
+ - disk.iops
+ disk.device.write.requests_vdbe:
+ - vdbe
+ - disk.device.write.requests
+ disk.device.capacity_vdbe:
+ - vdbe
+ - disk.device.capacity
+ disk.device.allocation_vdbe:
+ - vdbe
+ - disk.device.allocation
+ disk.usage_vdbe:
+ - vdbe
+ - disk.usage
+ memory.usage_vdbe:
+ - vdbe
+ - memory.usage
+ network.outpoing.packets_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - network.outpoing.packets
+ network.outgoing.bytes.rate_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - network.outgoing.bytes.rate
+ disk.read.requests_vdbe:
+ - vdbe
+ - disk.read.requests
+ forwarder_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - forwarder
+ binding_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - binding
+ instance_vdbe:
+ - vdbe
+ - instance
+ network.incoming.bytes.rate_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - network.incoming.bytes.rate
+ cpu.delta_vdbe:
+ - vdbe
+ - cpu.delta
+ disk.device.read.bytes.rate_vdbe:
+ - vdbe
+ - disk.device.read.bytes.rate
+ disk.device.write.bytes.rate_vdbe:
+ - vdbe
+ - disk.device.write.bytes.rate
+ memory.resident_vdbe:
+ - vdbe
+ - memory.resident
+ feature_vdbe_vdbe_untr_port_nested:
+ - vdbe_vdbe_untr_port_nested
+ - feature
+ disk.write.requests.rate_vdbe:
+ - vdbe
+ - disk.write.requests.rate
+ cpu_vdbe:
+ - vdbe
+ - cpu
+ disk.write.bytes_vdbe:
+ - vdbe
+ - disk.write.bytes
+ disk.device.usage_vdbe:
+ - vdbe
+ - disk.device.usage
+ disk.device.read.bytes_vdbe:
+ - vdbe
+ - disk.device.read.bytes
+ disk.latency_vdbe:
+ - vdbe
+ - disk.latency
+ network.incoming.bytes_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - network.incoming.bytes
+ disk.capacity_vdbe:
+ - vdbe
+ - disk.capacity
+ host_vdbe:
+ - vdbe
+ - host
+ disk.allocation_vdbe:
+ - vdbe
+ - disk.allocation
+ disk.read.bytes.rate_vdbe:
+ - vdbe
+ - disk.read.bytes.rate
+ os_vdbe:
+ - vdbe
+ - os
+ disk.device.read.requests_vdbe:
+ - vdbe
+ - disk.device.read.requests
+ disk.root.size_vdbe:
+ - vdbe
+ - disk.root.size
+ memory_vdbe:
+ - vdbe
+ - memory
+ binding_vdbe:
+ - vdbe
+ - binding
+ disk.device.write.bytes_vdbe:
+ - vdbe
+ - disk.device.write.bytes
+ disk.device.read.requests.rate_vdbe:
+ - vdbe
+ - disk.device.read.requests.rate
+ disk.read.bytes_vdbe:
+ - vdbe
+ - disk.read.bytes
+ network.incoming.packets.rate_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - network.incoming.packets.rate
+ requirements:
+ dependency_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - dependency
+ dependency_vdbe_untr_x_int_vmi_subport_vdbe_vdbe_untr_port_nested:
+ - vdbe_vdbe_untr_port_nested
+ - dependency_vdbe_untr_x_int_vmi_subport
+ link_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - link
+ local_storage_vdbe:
+ - vdbe
+ - local_storage
+ link_vdbe_untr_x_int_vmi_subport_vdbe_vdbe_untr_port_nested:
+ - vdbe_vdbe_untr_port_nested
+ - link_vdbe_untr_x_int_vmi_subport
+ dependency_vdbe_vdbe_untr_port_nested:
+ - vdbe_vdbe_untr_port_nested
+ - dependency
+ dependency_vdbe:
+ - vdbe
+ - dependency \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/out/nestedServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/out/nestedServiceTemplate.yaml
new file mode 100644
index 0000000000..b5d5fad9f2
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/onePortVlanSameType/out/nestedServiceTemplate.yaml
@@ -0,0 +1,171 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: nested
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+topology_template:
+ inputs:
+ aap_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix for primary vDBE VM on the VAN untrusted network
+ aap_sec_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
+ ip_v6_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: IPv6 address associated with subinterfaces
+ counter:
+ hidden: false
+ immutable: false
+ type: float
+ description: Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances.
+ subinterfaces_name_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource
+ ip_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: IPv4 address associated with subinterfaces
+ aap_address_mode:
+ hidden: false
+ immutable: false
+ type: string
+ description: Address mode for the vDBE cluster IP
+ aap_untrusted_v6_ip_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
+ parent_interface:
+ hidden: false
+ immutable: false
+ type: string
+ description: Parent Contrail interface
+ vn_network_list:
+ hidden: false
+ immutable: false
+ type: string
+ description: List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list
+ mac_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: HW MAC address to use for subinterface
+ vlan_tag_list:
+ hidden: false
+ immutable: false
+ type: list
+ description: List of VLAN IDs to use for subinterfaces
+ entry_schema:
+ type: string
+ aap_sec_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
+ vmac_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: virtual MAC address to use for subinterface
+ aap_untrusted_v6_ip_prefix_len:
+ hidden: false
+ immutable: false
+ type: string
+ description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
+ aap_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix length for the primary vDBE VM on the VAN untrusted network
+ node_templates:
+ vdbe_untr_x_int_vmi_subport:
+ type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ properties:
+ virtual_machine_interface_refs:
+ - get_input: parent_interface
+ name:
+ str_replace:
+ template: $NAME_$INDEX
+ params:
+ $NAME:
+ get_input: subinterfaces_name_prefix
+ $INDEX:
+ get_input:
+ - vlan_tag_list
+ - get_input: counter
+ virtual_network_refs:
+ - get_input: vn_network_list
+ virtual_machine_interface_properties:
+ sub_interface_vlan_tag:
+ get_input:
+ - vlan_tag_list
+ - get_input: counter
+ virtual_machine_interface_allowed_address_pairs:
+ allowed_address_pair:
+ - address_mode:
+ get_input: aap_address_mode
+ ip:
+ ip_prefix:
+ get_input: aap_untrusted_ip_prefix
+ ip_prefix_len:
+ get_input: aap_untrusted_ip_prefix_len
+ mac:
+ get_input: vmac_address
+ - address_mode:
+ get_input: aap_address_mode
+ ip:
+ ip_prefix:
+ get_input: aap_sec_untrusted_ip_prefix
+ ip_prefix_len:
+ get_input: aap_sec_untrusted_ip_prefix_len
+ mac:
+ get_input: mac_address
+ - address_mode:
+ get_input: aap_address_mode
+ ip:
+ ip_prefix:
+ get_input: aap_untrusted_v6_ip_prefix
+ ip_prefix_len:
+ get_input: aap_untrusted_v6_ip_prefix_len
+ mac:
+ get_input: vmac_address
+ virtual_machine_interface_mac_addresses:
+ mac_address:
+ - get_input: mac_address
+ groups:
+ nested_group:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/nested.yml
+ description: cmaui server template for vMMSC
+ members:
+ - vdbe_untr_x_int_vmi_subport
+ substitution_mappings:
+ node_type: org.openecomp.resource.abstract.nodes.heat.subinterface.nested
+ capabilities:
+ feature_vdbe_untr_x_int_vmi_subport:
+ - vdbe_untr_x_int_vmi_subport
+ - feature
+ requirements:
+ binding_vdbe_untr_x_int_vmi_subport:
+ - vdbe_untr_x_int_vmi_subport
+ - binding
+ dependency_vdbe_untr_x_int_vmi_subport:
+ - vdbe_untr_x_int_vmi_subport
+ - dependency
+ link_vdbe_untr_x_int_vmi_subport:
+ - vdbe_untr_x_int_vmi_subport
+ - link \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/in/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/in/MANIFEST.json
new file mode 100644
index 0000000000..22229425be
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/in/MANIFEST.json
@@ -0,0 +1,17 @@
+{
+ "name": "vMME_Small",
+ "description": "HOT template to create 2 cinder volume attachment",
+ "version": "2013-05-23",
+ "data": [
+ {
+ "file": "main.yml",
+ "type": "HEAT",
+ "isBase": "true"
+ },
+ {
+ "file": "vlan1.yml",
+ "type": "HEAT",
+ "isBase": "false"
+ }
+ ]
+}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/in/main.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/in/main.yml
new file mode 100644
index 0000000000..47280fa625
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/in/main.yml
@@ -0,0 +1,473 @@
+heat_template_version: 2013-05-23
+
+description: >
+ Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
+
+parameters:
+ aap_address_mode:
+ description: "Address mode for the vDBE cluster IP"
+ type: string
+ control_int_net_forwarding_mode:
+ description: "forwarding mode of the control virtual network"
+ type: string
+ control_int_net_rpf:
+ description: "Reverse Path Filtering enable or disable for the control virtual network"
+ type: string
+ control_int_net_shared:
+ description: "control virtual network shared"
+ type: boolean
+ control_int_net_flood_unknown_unicast:
+ description: "forwarding mode of the control virtual network"
+ type: boolean
+ fabric_int_net_flood_unknown_unicast:
+ description: "forwarding mode of the fabric virtual network"
+ type: boolean
+ fabric_int_net_forwarding_mode:
+ description: "forwarding mode of the fabric virtual network"
+ type: string
+ fabric_int_net_rpf:
+ description: "Reverse Path Filtering enable or disable for the fabric virtual network"
+ type: string
+ fabric_int_net_shared:
+ description: "fabric virtual network shared"
+ oam_net_name:
+ description: "Name of NSDNet network from which the management IP addresses will be allocated"
+ type: string
+ untrusted_net_name:
+ description: "Name of public untrusted network into which this vDBE HA cluster is deployed"
+ type: string
+ untrusted_num_vn:
+ constraints:
+ -
+ range:
+ max: 77
+ min: 1
+ description: "Number of vDBE subinterface virtual Networks"
+ type: number
+ untrusted_vlan_tags:
+ description: "List of subinterface vlan tags"
+ type: comma_delimited_list
+ untrusted_vn_networks:
+ description: "List of subinterface virtual networks"
+ type: comma_delimited_list
+ vdbe_aap_sec_untrusted_ip_prefix:
+ description: "ip prefix for secondary vDBE VM aap on the VAN untrusted network"
+ type: string
+ vdbe_aap_sec_untrusted_ip_prefix_len:
+ description: "ip prefix length for the secondary DBE VM aap on the VAN untrusted network"
+ type: string
+ vdbe_aap_untrusted_ip_prefix:
+ description: "ip prefix for primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_aap_untrusted_ip_prefix_len:
+ description: "ip prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_aap_untrusted_v6_ip_prefix:
+ description: "ipv6 prefix for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_aap_untrusted_v6_ip_prefix_len:
+ description: "ipv6 prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_device_name:
+ description: "VDBE device Name for this vdbe VNF"
+ type: string
+ vdbe_hw_untr_mac_1:
+ description: "Secondary MAC address of the secondary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_name_1:
+ description: "VM Name for this vdbe node 1"
+ type: string
+ vdbe_untrusted_ip_1:
+ description: "IPV4 address of the secondary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_untrusted_v6_ip_1:
+ description: "IPV6 address of the secondary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_untrusted_vmac_address:
+ description: "Virtual MAC of the primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_flavor_name:
+ description: "Flavor to use for vDBE"
+ type: string
+ vdbe_image_name:
+ description: "Image to use for vDBE"
+ type: string
+ vnf_id:
+ description: "Unique ID for this VF inst"
+ type: string
+ vnf_name:
+ description: "Unique name for this VF instance"
+ type: string
+ vf_module_id:
+ description: "Unique ID for this VF module inst"
+ type: string
+ availability_zone_1:
+ description: "The availability zone of secondary node1 vDBE vm in the local HA pair."
+ type: string
+ counter:
+ description: "Counter."
+ type: number
+resources:
+ vdbe_untr_1_subports:
+ type: OS::Heat::ResourceGroup
+ properties:
+ count:
+ get_param: untrusted_num_vn
+ resource_def:
+ type: vlan1.yml
+ properties:
+ aap_address_mode:
+ get_param: aap_address_mode
+ aap_sec_untrusted_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ aap_sec_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ aap_untrusted_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ aap_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ aap_untrusted_v6_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ aap_untrusted_v6_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ counter:
+ get_param: counter
+ ip_address:
+ get_param: vdbe_untrusted_ip_1
+ ip_v6_address:
+ get_param: vdbe_untrusted_v6_ip_1
+ mac_address:
+ get_param: vdbe_hw_untr_mac_1
+ parent_interface:
+ get_resource: vdbe_untr_1_port_1
+ subinterfaces_name_prefix:
+ str_replace:
+ params:
+ DBE:
+ get_param: vdbe_device_name
+ VM_NAME:
+ get_param: vdbe_name_1
+ template: VM_NAMEDBE001p1n004
+ vlan_tag_list:
+ get_param: untrusted_vlan_tags
+ vmac_address:
+ get_param: vdbe_untrusted_vmac_address
+ vn_network_list:
+ get_param: untrusted_vn_networks
+ optional_property_1: OPTIONAL_VALUE_SUBPORT_1
+ vdbe_node_1:
+ type: OS::Nova::Server
+ properties:
+ availability_zone:
+ get_param: availability_zone_1
+ flavor:
+ get_param: vdbe_flavor_name
+ image:
+ get_param: vdbe_image_name
+ metadata:
+ vf_module_id:
+ get_param: vf_module_id
+ vnf_id:
+ get_param: vnf_id
+ vnf_name:
+ get_param: vnf_name
+ name:
+ get_param: vdbe_name_1
+ networks:
+ - port: {get_resource: vdbe_untr_1_port_1}
+ - port: {get_resource: vdbe_untr_2_port_1}
+ vdbe_node_2:
+ type: OS::Nova::Server
+ properties:
+ availability_zone:
+ get_param: availability_zone_1
+ flavor:
+ get_param: vdbe_flavor_name
+ image:
+ get_param: vdbe_image_name
+ metadata:
+ vf_module_id:
+ get_param: vf_module_id
+ vnf_id:
+ get_param: vnf_id
+ vnf_name:
+ get_param: vnf_name
+ name:
+ get_param: vdbe_name_1
+ networks:
+ - port: {get_resource: vdbe_untr_1_port_2}
+ - port: {get_resource: vdbe_untr_2_port_2}
+ vdbe_untr_1_port_1:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name:
+ str_replace:
+ params:
+ DBE:
+ get_param: vdbe_device_name
+ VM_NAME:
+ get_param: vdbe_name_1
+ template: VM_NAMEDBE001p1n004
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_hw_untr_mac_1
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: vdbe_hw_untr_mac_1
+ virtual_network_refs:
+ -
+ get_resource: control_int_net
+ vdbe_untr_2_port_1:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name: Port_2
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_hw_untr_mac_1
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: vdbe_hw_untr_mac_1
+ virtual_network_refs:
+ -
+ get_resource: fabric_int_net
+
+
+
+ vdbe_untr_1_port_2:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name:
+ str_replace:
+ params:
+ DBE:
+ get_param: vdbe_device_name
+ VM_NAME:
+ get_param: vdbe_name_1
+ template: Port 3
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_hw_untr_mac_1
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: vdbe_hw_untr_mac_1
+ virtual_network_refs:
+ -
+ get_resource: control_int_net
+ vdbe_untr_2_port_2:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name: Port_4
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_hw_untr_mac_1
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: vdbe_hw_untr_mac_1
+ virtual_network_refs:
+ -
+ get_resource: fabric_int_net
+
+ vdbe_untr_2_subports:
+ type: OS::Heat::ResourceGroup
+ properties:
+ count:
+ get_param: untrusted_num_vn
+ resource_def:
+ type: vlan1.yml
+ properties:
+ aap_address_mode:
+ get_param: aap_address_mode
+ aap_sec_untrusted_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ aap_sec_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ aap_untrusted_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ aap_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ aap_untrusted_v6_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ aap_untrusted_v6_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ counter:
+ get_param: counter
+ ip_address:
+ get_param: vdbe_untrusted_ip_1
+ ip_v6_address:
+ get_param: vdbe_untrusted_v6_ip_1
+ mac_address:
+ get_param: vdbe_hw_untr_mac_1
+ parent_interface:
+ get_resource: vdbe_untr_1_port_2
+ subinterfaces_name_prefix:
+ str_replace:
+ params:
+ DBE:
+ get_param: vdbe_device_name
+ VM_NAME:
+ get_param: vdbe_name_1
+ template: VM_NAMEDBE001p1n004
+ vlan_tag_list:
+ get_param: untrusted_vlan_tags
+ vmac_address:
+ get_param: vdbe_untrusted_vmac_address
+ vn_network_list:
+ get_param: untrusted_vn_networks
+ optional_property_2: OPTIONAL_VALUE_SUBPORT_2
+
+ control_int_net:
+ type: OS::ContrailV2::VirtualNetwork
+ properties:
+ flood_unknown_unicast:
+ get_param: control_int_net_flood_unknown_unicast
+ is_shared:
+ get_param: control_int_net_shared
+ name:
+ str_replace:
+ params:
+ VNF_NAME:
+ get_param: vnf_name
+ template: VNF_NAME_control_net
+ virtual_network_properties:
+ virtual_network_properties_forwarding_mode:
+ get_param: control_int_net_forwarding_mode
+ virtual_network_properties_rpf:
+ get_param: control_int_net_rpf
+ fabric_int_net:
+ type: OS::ContrailV2::VirtualNetwork
+ properties:
+ flood_unknown_unicast:
+ get_param: fabric_int_net_flood_unknown_unicast
+ is_shared:
+ get_param: fabric_int_net_shared
+ name:
+ str_replace:
+ params:
+ VNF_NAME:
+ get_param: vnf_name
+ template: template-fabric-int
+ virtual_network_properties:
+ virtual_network_properties_forwarding_mode:
+ get_param: fabric_int_net_forwarding_mode
+ virtual_network_properties_rpf:
+ get_param: fabric_int_net_rpf \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/in/vlan1.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/in/vlan1.yml
new file mode 100644
index 0000000000..2c180dd556
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/in/vlan1.yml
@@ -0,0 +1,123 @@
+heat_template_version: 2013-05-23
+
+description: cmaui server template for vMMSC
+
+parameters:
+ aap_address_mode:
+ description: "Address mode for the vDBE cluster IP"
+ type: string
+ aap_sec_untrusted_ip_prefix:
+ description: "ip prefix for secondary vDBE VM aap on the VAN untrusted network"
+ type: string
+ aap_sec_untrusted_ip_prefix_len:
+ description: "ip prefix length for the secondary DBE VM aap on the VAN untrusted network"
+ type: string
+ aap_untrusted_ip_prefix:
+ description: "ip prefix for primary vDBE VM on the VAN untrusted network"
+ type: string
+ aap_untrusted_ip_prefix_len:
+ description: "ip prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ aap_untrusted_v6_ip_prefix:
+ description: "ipv6 prefix for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ aap_untrusted_v6_ip_prefix_len:
+ description: "ipv6 prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ counter:
+ description: "Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances."
+ type: number
+ mac_address:
+ description: "HW MAC address to use for subinterface"
+ type: string
+ parent_interface:
+ description: "Parent Contrail interface"
+ type: string
+ subinterfaces_name_prefix:
+ description: "Combined with subinterface_instance_index, this is used as the name of the subinterface resource"
+ type: string
+ vlan_tag_list:
+ description: "List of VLAN IDs to use for subinterfaces"
+ type: comma_delimited_list
+ vmac_address:
+ description: "virtual MAC address to use for subinterface"
+ type: string
+ vn_network_list:
+ description: "List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list"
+ type: string
+ ip_address:
+ description: "IPv4 address associated with subinterfaces"
+ type: string
+ ip_v6_address:
+ description: "IPv6 address associated with subinterfaces"
+ type: string
+ optional_property_1:
+ description: "Optional property"
+ type: string
+ optional_property_2:
+ description: "Optional property"
+ type: string
+
+resources:
+ vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name:
+ str_replace:
+ params:
+ $INDEX:
+ get_param:
+ - vlan_tag_list
+ -
+ get_param: counter
+ $NAME:
+ get_param: subinterfaces_name_prefix
+ template: $NAME_$INDEX
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: mac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: mac_address
+ virtual_machine_interface_properties:
+ virtual_machine_interface_properties_sub_interface_vlan_tag:
+ get_param:
+ - vlan_tag_list
+ -
+ get_param: counter
+ virtual_machine_interface_refs:
+ [{get_param: parent_interface}]
+ virtual_network_refs:
+ [{get_param: vn_network_list}]
+
+
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/out/GlobalSubstitutionTypesServiceTemplate.yaml
new file mode 100644
index 0000000000..ef80586599
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -0,0 +1,843 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: GlobalSubstitutionTypes
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+node_types:
+ org.openecomp.resource.abstract.nodes.vdbe:
+ derived_from: org.openecomp.resource.abstract.nodes.VFC
+ properties:
+ subinterface_vlan1_aap_untrusted_v6_ip_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_sec_untrusted_ip_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_vmac_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ compute_vdbe_availability_zone:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_2_port_virtual_machine_interface_mac_addresses:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ port_vdbe_untr_2_port_network_role_tag:
+ type: string
+ required: true
+ status: SUPPORTED
+ vm_flavor_name:
+ type: string
+ required: true
+ status: SUPPORTED
+ untrusted_num_vn:
+ type: float
+ description: Number of vDBE subinterface virtual Networks
+ required: true
+ status: SUPPORTED
+ constraints:
+ - in_range:
+ - 1
+ - 77
+ subinterface_vlan1_counter:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: float
+ vm_image_name:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_2_port_network_role:
+ type: string
+ required: true
+ status: SUPPORTED
+ compute_vdbe_metadata:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ subinterface_vlan1_aap_untrusted_v6_ip_prefix_len:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_vdbe_untr_2_port_vlan_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_vdbe_untr_2_port_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_2_port_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_vdbe_untr_1_port_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_1_port_order:
+ type: integer
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_1_port_subnetpoolid:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_2_port_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_1_port_virtual_machine_interface_allowed_address_pairs:
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
+ required: true
+ status: SUPPORTED
+ subinterface_vlan1_mac_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_untrusted_ip_prefix_len:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_ip_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ compute_vdbe_name:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_network_role_tag:
+ type: string
+ required: true
+ status: SUPPORTED
+ subinterface_vlan1_ip_v6_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_untrusted_ip_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_2_port_virtual_network_refs:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ subinterface_vlan1_subinterfaces_name_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_network_role:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_2_port_name:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_virtual_network_refs:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ subinterface_vlan1_vn_network_list:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_2_port_subnetpoolid:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_2_port_order:
+ type: integer
+ required: true
+ status: SUPPORTED
+ subinterface_vlan1_parent_interface:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_address_mode:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ index_value:
+ type: integer
+ description: Index value of this substitution service template runtime instance
+ required: false
+ default: 0
+ status: SUPPORTED
+ constraints:
+ - greater_or_equal: 0
+ port_vdbe_untr_1_port_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ subinterface_vlan1_optional_property_1:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_name:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_optional_property_2:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_sec_untrusted_ip_prefix_len:
+ type: list
+ required: true
+ status: SUPPORTED
+ 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
+ status: SUPPORTED
+ port_vdbe_untr_1_port_vlan_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ subinterface_vlan1_vlan_tag_list:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ requirements:
+ - dependency_vdbe:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - local_storage_vdbe:
+ capability: tosca.capabilities.Attachment
+ node: tosca.nodes.BlockStorage
+ relationship: tosca.relationships.AttachesTo
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - dependency_vdbe_vdbe_untr_2_port:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_vdbe_vdbe_untr_2_port:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - dependency_vdbe_vdbe_untr_1_port_vlan1:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - dependency_vdbe_vdbe_untr_1_port:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_vdbe_vdbe_untr_1_port:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ capabilities:
+ feature_vdbe:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.iops_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ endpoint_vdbe:
+ type: tosca.capabilities.Endpoint.Admin
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.ephemeral.size_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_vdbe_untr_2_port:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ cpu_util_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ vcpus_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.requests_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_vdbe_untr_1_port_vlan1:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.latency_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.requests.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_vdbe_untr_1_port:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.bytes.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes.rate_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets.rate_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ scalable_vdbe:
+ type: tosca.capabilities.Scalable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.iops_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.requests_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.capacity_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes.rate_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.allocation_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.usage_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ memory.usage_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outpoing.packets_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.read.requests_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ instance_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ cpu.delta_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.packets.rate_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding_vdbe_vdbe_untr_1_port:
+ type: tosca.capabilities.network.Bindable
+ valid_source_types:
+ - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ occurrences:
+ - 0
+ - UNBOUNDED
+ disk.device.read.bytes.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.bytes.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ memory.resident_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ forwarder_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.Forwarder
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.requests.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ cpu_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.bytes_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ forwarder_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.Forwarder
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.usage_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.bytes_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.latency_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.packets.rate_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.capacity_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ host_vdbe:
+ type: tosca.capabilities.Container
+ valid_source_types:
+ - tosca.nodes.SoftwareComponent
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.allocation_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outpoing.packets_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.read.bytes.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ os_vdbe:
+ type: tosca.capabilities.OperatingSystem
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.requests_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets.rate_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.root.size_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes.rate_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding_vdbe_vdbe_untr_2_port:
+ type: tosca.capabilities.network.Bindable
+ valid_source_types:
+ - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ occurrences:
+ - 0
+ - UNBOUNDED
+ memory_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding_vdbe:
+ type: tosca.capabilities.network.Bindable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.bytes_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes_vdbe_vdbe_untr_2_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes.rate_vdbe_vdbe_untr_1_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.requests.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.read.bytes_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ org.openecomp.resource.abstract.nodes.heat.subinterface.vlan1:
+ derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
+ properties:
+ aap_untrusted_ip_prefix:
+ type: string
+ description: ip prefix for primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ aap_sec_untrusted_ip_prefix:
+ type: string
+ description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ ip_v6_address:
+ type: string
+ description: IPv6 address associated with subinterfaces
+ required: true
+ status: SUPPORTED
+ counter:
+ type: float
+ description: Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances.
+ required: true
+ status: SUPPORTED
+ subinterfaces_name_prefix:
+ type: string
+ description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource
+ required: true
+ status: SUPPORTED
+ ip_address:
+ type: string
+ description: IPv4 address associated with subinterfaces
+ required: true
+ status: SUPPORTED
+ aap_address_mode:
+ type: string
+ description: Address mode for the vDBE cluster IP
+ required: true
+ status: SUPPORTED
+ aap_untrusted_v6_ip_prefix:
+ type: string
+ description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ parent_interface:
+ type: string
+ description: Parent Contrail interface
+ required: true
+ status: SUPPORTED
+ vn_network_list:
+ type: string
+ description: List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list
+ required: true
+ status: SUPPORTED
+ optional_property_1:
+ type: string
+ description: Optional property
+ required: true
+ status: SUPPORTED
+ optional_property_2:
+ type: string
+ description: Optional property
+ required: true
+ status: SUPPORTED
+ mac_address:
+ type: string
+ description: HW MAC address to use for subinterface
+ required: true
+ status: SUPPORTED
+ vlan_tag_list:
+ type: list
+ description: List of VLAN IDs to use for subinterfaces
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ aap_sec_untrusted_ip_prefix_len:
+ type: string
+ description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ vmac_address:
+ type: string
+ description: virtual MAC address to use for subinterface
+ required: true
+ status: SUPPORTED
+ aap_untrusted_v6_ip_prefix_len:
+ type: string
+ description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ aap_untrusted_ip_prefix_len:
+ type: string
+ description: ip prefix length for the primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ requirements:
+ - dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - binding_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ capability: tosca.capabilities.network.Bindable
+ node: org.openecomp.resource.cp.nodes.network.Port
+ relationship: tosca.relationships.network.BindsTo
+ occurrences:
+ - 1
+ - 1
+ capabilities:
+ feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/out/MainServiceTemplate.yaml
new file mode 100644
index 0000000000..90cdb208c7
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/out/MainServiceTemplate.yaml
@@ -0,0 +1,600 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: Main
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+topology_template:
+ inputs:
+ vf_module_id:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vf_module_id
+ type: string
+ description: Unique ID for this VF module inst
+ fabric_int_net_rpf:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: fabric_int_net_rpf
+ type: string
+ description: Reverse Path Filtering enable or disable for the fabric virtual network
+ control_int_net_rpf:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: control_int_net_rpf
+ type: string
+ description: Reverse Path Filtering enable or disable for the control virtual network
+ control_int_net_forwarding_mode:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: control_int_net_forwarding_mode
+ type: string
+ description: forwarding mode of the control virtual network
+ vnf_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vnf_name
+ type: string
+ description: Unique name for this VF instance
+ vdbe_untrusted_ip_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_untrusted_ip_1
+ type: string
+ description: IPV4 address of the secondary vDBE VM on the VAN untrusted network
+ vdbe_aap_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_untrusted_ip_prefix_len
+ type: string
+ description: ip prefix length for the primary vDBE VM on the VAN untrusted network
+ aap_address_mode:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: aap_address_mode
+ type: string
+ description: Address mode for the vDBE cluster IP
+ control_int_net_shared:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: control_int_net_shared
+ type: boolean
+ description: control virtual network shared
+ vdbe_untrusted_v6_ip_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_untrusted_v6_ip_1
+ type: string
+ description: IPV6 address of the secondary vDBE VM on the VAN untrusted network
+ vdbe_untrusted_vmac_address:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_untrusted_vmac_address
+ type: string
+ description: Virtual MAC of the primary vDBE VM on the VAN untrusted network
+ control_int_net_flood_unknown_unicast:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: control_int_net_flood_unknown_unicast
+ type: boolean
+ description: forwarding mode of the control virtual network
+ vdbe_aap_sec_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_sec_untrusted_ip_prefix
+ type: string
+ description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
+ vnf_id:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vnf_id
+ type: string
+ description: Unique ID for this VF inst
+ vdbe_name_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_name_1
+ type: string
+ description: VM Name for this vdbe node 1
+ availability_zone_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: availability_zone_1
+ type: string
+ description: The availability zone of secondary node1 vDBE vm in the local HA pair.
+ untrusted_vn_networks:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: untrusted_vn_networks
+ type: list
+ description: List of subinterface virtual networks
+ entry_schema:
+ type: string
+ vdbe_image_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_image_name
+ type: string
+ description: Image to use for vDBE
+ oam_net_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: oam_net_name
+ type: string
+ description: Name of NSDNet network from which the management IP addresses will be allocated
+ vdbe_aap_sec_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_sec_untrusted_ip_prefix_len
+ type: string
+ description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
+ vdbe_aap_untrusted_v6_ip_prefix:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_untrusted_v6_ip_prefix
+ type: string
+ description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
+ vdbe_aap_untrusted_v6_ip_prefix_len:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_untrusted_v6_ip_prefix_len
+ type: string
+ description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
+ fabric_int_net_flood_unknown_unicast:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: fabric_int_net_flood_unknown_unicast
+ type: boolean
+ description: forwarding mode of the fabric virtual network
+ untrusted_vlan_tags:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: untrusted_vlan_tags
+ type: list
+ description: List of subinterface vlan tags
+ entry_schema:
+ type: string
+ vdbe_flavor_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_flavor_name
+ type: string
+ description: Flavor to use for vDBE
+ counter:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: counter
+ type: float
+ description: Counter.
+ fabric_int_net_forwarding_mode:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: fabric_int_net_forwarding_mode
+ type: string
+ description: forwarding mode of the fabric virtual network
+ fabric_int_net_shared:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: fabric_int_net_shared
+ description: fabric virtual network shared
+ vdbe_hw_untr_mac_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_hw_untr_mac_1
+ type: string
+ description: Secondary MAC address of the secondary vDBE VM on the VAN untrusted network
+ untrusted_net_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: untrusted_net_name
+ type: string
+ description: Name of public untrusted network into which this vDBE HA cluster is deployed
+ vdbe_device_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_device_name
+ type: string
+ description: VDBE device Name for this vdbe VNF
+ vdbe_aap_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_untrusted_ip_prefix
+ type: string
+ description: ip prefix for primary vDBE VM on the VAN untrusted network
+ node_templates:
+ fabric_int_net:
+ type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
+ properties:
+ network_name:
+ str_replace:
+ template: template-fabric-int
+ params:
+ VNF_NAME:
+ get_input: vnf_name
+ control_int_net:
+ type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
+ properties:
+ network_name:
+ str_replace:
+ template: VNF_NAME_control_net
+ params:
+ VNF_NAME:
+ get_input: vnf_name
+ abstract_vdbe:
+ type: org.openecomp.resource.abstract.nodes.vdbe
+ directives:
+ - substitutable
+ properties:
+ subinterface_vlan1_aap_untrusted_v6_ip_prefix:
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix
+ subinterface_vlan1_aap_sec_untrusted_ip_prefix:
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix
+ subinterface_vlan1_vmac_address:
+ - get_input: vdbe_untrusted_vmac_address
+ - get_input: vdbe_untrusted_vmac_address
+ compute_vdbe_availability_zone:
+ - get_input: availability_zone_1
+ - get_input: availability_zone_1
+ port_vdbe_untr_2_port_virtual_machine_interface_mac_addresses:
+ - - get_input: vdbe_hw_untr_mac_1
+ - - get_input: vdbe_hw_untr_mac_1
+ vm_flavor_name:
+ get_input: vdbe_flavor_name
+ subinterface_vlan1_counter:
+ - get_input: counter
+ - get_input: counter
+ vm_image_name:
+ get_input: vdbe_image_name
+ compute_vdbe_metadata:
+ - vf_module_id:
+ get_input: vf_module_id
+ vnf_id:
+ get_input: vnf_id
+ vnf_name:
+ get_input: vnf_name
+ - vf_module_id:
+ get_input: vf_module_id
+ vnf_id:
+ get_input: vnf_id
+ vnf_name:
+ get_input: vnf_name
+ subinterface_vlan1_aap_untrusted_v6_ip_prefix_len:
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix_len
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix_len
+ subinterface_vlan1_mac_address:
+ - get_input: vdbe_hw_untr_mac_1
+ - get_input: vdbe_hw_untr_mac_1
+ subinterface_vlan1_aap_untrusted_ip_prefix_len:
+ - get_input: vdbe_aap_untrusted_ip_prefix_len
+ - get_input: vdbe_aap_untrusted_ip_prefix_len
+ subinterface_vlan1_ip_address:
+ - get_input: vdbe_untrusted_ip_1
+ - get_input: vdbe_untrusted_ip_1
+ compute_vdbe_name:
+ - get_input: vdbe_name_1
+ - get_input: vdbe_name_1
+ subinterface_vlan1_ip_v6_address:
+ - get_input: vdbe_untrusted_v6_ip_1
+ - get_input: vdbe_untrusted_v6_ip_1
+ subinterface_vlan1_aap_untrusted_ip_prefix:
+ - get_input: vdbe_aap_untrusted_ip_prefix
+ - get_input: vdbe_aap_untrusted_ip_prefix
+ port_vdbe_untr_2_port_virtual_network_refs:
+ - - fabric_int_net
+ - - fabric_int_net
+ subinterface_vlan1_subinterfaces_name_prefix:
+ - str_replace:
+ template: VM_NAMEDBE001p1n004
+ params:
+ DBE:
+ get_input: vdbe_device_name
+ VM_NAME:
+ get_input: vdbe_name_1
+ - str_replace:
+ template: VM_NAMEDBE001p1n004
+ params:
+ DBE:
+ get_input: vdbe_device_name
+ VM_NAME:
+ get_input: vdbe_name_1
+ port_vdbe_untr_2_port_name:
+ - Port_2
+ - Port_4
+ port_vdbe_untr_1_port_virtual_network_refs:
+ - - control_int_net
+ - - control_int_net
+ subinterface_vlan1_vn_network_list:
+ - get_input: untrusted_vn_networks
+ - get_input: untrusted_vn_networks
+ subinterface_vlan1_parent_interface:
+ - vdbe_untr_1_port_1
+ - vdbe_untr_1_port_2
+ subinterface_vlan1_aap_address_mode:
+ - get_input: aap_address_mode
+ - get_input: aap_address_mode
+ subinterface_vlan1_optional_property_1:
+ - OPTIONAL_VALUE_SUBPORT_1
+ - null
+ port_vdbe_untr_1_port_name:
+ - str_replace:
+ template: VM_NAMEDBE001p1n004
+ params:
+ DBE:
+ get_input: vdbe_device_name
+ VM_NAME:
+ get_input: vdbe_name_1
+ - str_replace:
+ template: Port 3
+ params:
+ DBE:
+ get_input: vdbe_device_name
+ VM_NAME:
+ get_input: vdbe_name_1
+ subinterface_vlan1_optional_property_2:
+ - null
+ - OPTIONAL_VALUE_SUBPORT_2
+ subinterface_vlan1_aap_sec_untrusted_ip_prefix_len:
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix_len
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix_len
+ port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses:
+ - - get_input: vdbe_hw_untr_mac_1
+ - - get_input: vdbe_hw_untr_mac_1
+ subinterface_vlan1_vlan_tag_list:
+ - get_input: untrusted_vlan_tags
+ - get_input: untrusted_vlan_tags
+ service_template_filter:
+ substitute_service_template: Nested_vdbeServiceTemplate.yaml
+ count: 2
+ index_value:
+ get_property:
+ - SELF
+ - service_template_filter
+ - index_value
+ requirements:
+ - link_vdbe_vdbe_untr_1_port:
+ capability: tosca.capabilities.network.Linkable
+ node: control_int_net
+ relationship: tosca.relationships.network.LinksTo
+ - link_vdbe_vdbe_untr_2_port:
+ capability: tosca.capabilities.network.Linkable
+ node: fabric_int_net
+ relationship: tosca.relationships.network.LinksTo
+ groups:
+ main_group:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/main.yml
+ description: |
+ Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
+ members:
+ - fabric_int_net
+ - control_int_net
+ - abstract_vdbe \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/out/Nested_vdbeServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/out/Nested_vdbeServiceTemplate.yaml
new file mode 100644
index 0000000000..0d08d1e133
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/out/Nested_vdbeServiceTemplate.yaml
@@ -0,0 +1,645 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: Nested_vdbe
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+node_types:
+ org.openecomp.resource.vfc.compute.nodes.heat.vdbe:
+ derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
+topology_template:
+ inputs:
+ subinterface_vlan1_aap_untrusted_v6_ip_prefix:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_sec_untrusted_ip_prefix:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_vlan1_vmac_address:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ compute_vdbe_availability_zone:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_2_port_virtual_machine_interface_mac_addresses:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ port_vdbe_untr_2_port_network_role_tag:
+ type: string
+ required: true
+ vm_flavor_name:
+ type: string
+ required: true
+ untrusted_num_vn:
+ hidden: false
+ immutable: false
+ type: float
+ description: Number of vDBE subinterface virtual Networks
+ constraints:
+ - in_range:
+ - 1
+ - 77
+ subinterface_vlan1_counter:
+ type: list
+ required: true
+ entry_schema:
+ 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: json
+ subinterface_vlan1_aap_untrusted_v6_ip_prefix_len:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_ip_requirements:
+ type: list
+ required: true
+ 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_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
+ 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
+ subinterface_vlan1_ip_v6_address:
+ type: list
+ 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_network_refs:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ subinterface_vlan1_subinterfaces_name_prefix:
+ type: list
+ required: true
+ entry_schema:
+ 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: string
+ 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
+ entry_schema:
+ type: string
+ port_vdbe_untr_2_port_subnetpoolid:
+ type: string
+ required: true
+ port_vdbe_untr_2_port_order:
+ type: integer
+ required: true
+ subinterface_vlan1_parent_interface:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_address_mode:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ index_value:
+ type: integer
+ description: Index value of this substitution service template runtime instance
+ required: false
+ default: 0
+ constraints:
+ - greater_or_equal: 0
+ port_vdbe_untr_1_port_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ subinterface_vlan1_optional_property_1:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_1_port_name:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_vlan1_optional_property_2:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_vlan1_aap_sec_untrusted_ip_prefix_len:
+ 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
+ port_vdbe_untr_1_port_vlan_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ subinterface_vlan1_vlan_tag_list:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ node_templates:
+ vdbe:
+ type: org.openecomp.resource.vfc.compute.nodes.heat.vdbe
+ properties:
+ availability_zone:
+ get_input:
+ - compute_vdbe_availability_zone
+ - index_value
+ flavor:
+ get_input: vm_flavor_name
+ metadata:
+ get_input:
+ - compute_vdbe_metadata
+ - index_value
+ image:
+ get_input: vm_image_name
+ name:
+ get_input:
+ - compute_vdbe_name
+ - index_value
+ vdbe_vdbe_untr_2_port:
+ type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
+ properties:
+ mac_requirements:
+ get_input: port_vdbe_untr_2_port_mac_requirements
+ order:
+ get_input: port_vdbe_untr_2_port_order
+ exCP_naming:
+ get_input: port_vdbe_untr_2_port_exCP_naming
+ virtual_machine_interface_allowed_address_pairs:
+ get_input:
+ - port_vdbe_untr_2_port_virtual_machine_interface_allowed_address_pairs
+ - index_value
+ vlan_requirements:
+ get_input: port_vdbe_untr_2_port_vlan_requirements
+ virtual_network_refs:
+ get_input:
+ - port_vdbe_untr_2_port_virtual_network_refs
+ - index_value
+ ip_requirements:
+ get_input: port_vdbe_untr_2_port_ip_requirements
+ network_role_tag:
+ get_input: port_vdbe_untr_2_port_network_role_tag
+ virtual_machine_interface_mac_addresses:
+ get_input:
+ - port_vdbe_untr_2_port_virtual_machine_interface_mac_addresses
+ - index_value
+ network_role:
+ get_input: port_vdbe_untr_2_port_network_role
+ subnetpoolid:
+ get_input: port_vdbe_untr_2_port_subnetpoolid
+ name:
+ get_input:
+ - port_vdbe_untr_2_port_name
+ - index_value
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: vdbe
+ relationship: tosca.relationships.network.BindsTo
+ vdbe_vdbe_untr_1_port_vlan1:
+ type: org.openecomp.resource.abstract.nodes.heat.subinterface.vlan1
+ directives:
+ - substitutable
+ properties:
+ aap_untrusted_ip_prefix:
+ get_input:
+ - subinterface_vlan1_aap_untrusted_ip_prefix
+ - index_value
+ aap_sec_untrusted_ip_prefix:
+ get_input:
+ - subinterface_vlan1_aap_sec_untrusted_ip_prefix
+ - index_value
+ ip_v6_address:
+ get_input:
+ - subinterface_vlan1_ip_v6_address
+ - index_value
+ counter:
+ get_input:
+ - subinterface_vlan1_counter
+ - index_value
+ ip_address:
+ get_input:
+ - subinterface_vlan1_ip_address
+ - index_value
+ subinterfaces_name_prefix:
+ get_input:
+ - subinterface_vlan1_subinterfaces_name_prefix
+ - index_value
+ aap_address_mode:
+ get_input:
+ - subinterface_vlan1_aap_address_mode
+ - index_value
+ service_template_filter:
+ substitute_service_template: vlan1ServiceTemplate.yaml
+ count:
+ get_input: untrusted_num_vn
+ mandatory: false
+ aap_untrusted_v6_ip_prefix:
+ get_input:
+ - subinterface_vlan1_aap_untrusted_v6_ip_prefix
+ - index_value
+ parent_interface:
+ get_input:
+ - subinterface_vlan1_parent_interface
+ - index_value
+ vn_network_list:
+ get_input:
+ - subinterface_vlan1_vn_network_list
+ - index_value
+ optional_property_1:
+ get_input:
+ - subinterface_vlan1_optional_property_1
+ - index_value
+ optional_property_2:
+ get_input:
+ - subinterface_vlan1_optional_property_2
+ - index_value
+ mac_address:
+ get_input:
+ - subinterface_vlan1_mac_address
+ - index_value
+ vlan_tag_list:
+ get_input:
+ - subinterface_vlan1_vlan_tag_list
+ - index_value
+ aap_sec_untrusted_ip_prefix_len:
+ get_input:
+ - subinterface_vlan1_aap_sec_untrusted_ip_prefix_len
+ - index_value
+ vmac_address:
+ get_input:
+ - subinterface_vlan1_vmac_address
+ - index_value
+ aap_untrusted_v6_ip_prefix_len:
+ get_input:
+ - subinterface_vlan1_aap_untrusted_v6_ip_prefix_len
+ - index_value
+ aap_untrusted_ip_prefix_len:
+ get_input:
+ - subinterface_vlan1_aap_untrusted_ip_prefix_len
+ - index_value
+ requirements:
+ - binding_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ capability: tosca.capabilities.network.Bindable
+ node: vdbe_vdbe_untr_1_port
+ relationship: tosca.relationships.network.BindsTo
+ vdbe_vdbe_untr_1_port:
+ type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
+ properties:
+ mac_requirements:
+ get_input: port_vdbe_untr_1_port_mac_requirements
+ order:
+ get_input: port_vdbe_untr_1_port_order
+ exCP_naming:
+ get_input: port_vdbe_untr_1_port_exCP_naming
+ virtual_machine_interface_allowed_address_pairs:
+ get_input:
+ - port_vdbe_untr_1_port_virtual_machine_interface_allowed_address_pairs
+ - index_value
+ vlan_requirements:
+ get_input: port_vdbe_untr_1_port_vlan_requirements
+ virtual_network_refs:
+ get_input:
+ - port_vdbe_untr_1_port_virtual_network_refs
+ - index_value
+ ip_requirements:
+ get_input: port_vdbe_untr_1_port_ip_requirements
+ network_role_tag:
+ get_input: port_vdbe_untr_1_port_network_role_tag
+ virtual_machine_interface_mac_addresses:
+ get_input:
+ - port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses
+ - index_value
+ network_role:
+ get_input: port_vdbe_untr_1_port_network_role
+ subnetpoolid:
+ get_input: port_vdbe_untr_1_port_subnetpoolid
+ name:
+ get_input:
+ - port_vdbe_untr_1_port_name
+ - index_value
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: vdbe
+ relationship: tosca.relationships.network.BindsTo
+ substitution_mappings:
+ node_type: org.openecomp.resource.abstract.nodes.vdbe
+ capabilities:
+ feature_vdbe:
+ - vdbe
+ - feature
+ disk.device.iops_vdbe:
+ - vdbe
+ - disk.device.iops
+ endpoint_vdbe:
+ - vdbe
+ - endpoint
+ disk.ephemeral.size_vdbe:
+ - vdbe
+ - disk.ephemeral.size
+ feature_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - feature
+ feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
+ - vdbe_vdbe_untr_1_port_vlan1
+ - feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ cpu_util_vdbe:
+ - vdbe
+ - cpu_util
+ vcpus_vdbe:
+ - vdbe
+ - vcpus
+ disk.write.requests_vdbe:
+ - vdbe
+ - disk.write.requests
+ feature_vdbe_vdbe_untr_1_port_vlan1:
+ - vdbe_vdbe_untr_1_port_vlan1
+ - feature
+ disk.device.latency_vdbe:
+ - vdbe
+ - disk.device.latency
+ disk.device.write.requests.rate_vdbe:
+ - vdbe
+ - disk.device.write.requests.rate
+ network.incoming.packets_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.incoming.packets
+ feature_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - feature
+ disk.write.bytes.rate_vdbe:
+ - vdbe
+ - disk.write.bytes.rate
+ network.incoming.bytes.rate_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.incoming.bytes.rate
+ network.incoming.packets.rate_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.incoming.packets.rate
+ scalable_vdbe:
+ - vdbe
+ - scalable
+ disk.iops_vdbe:
+ - vdbe
+ - disk.iops
+ disk.device.write.requests_vdbe:
+ - vdbe
+ - disk.device.write.requests
+ disk.device.capacity_vdbe:
+ - vdbe
+ - disk.device.capacity
+ network.outgoing.bytes.rate_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.outgoing.bytes.rate
+ network.outgoing.bytes_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.outgoing.bytes
+ disk.device.allocation_vdbe:
+ - vdbe
+ - disk.device.allocation
+ disk.usage_vdbe:
+ - vdbe
+ - disk.usage
+ memory.usage_vdbe:
+ - vdbe
+ - memory.usage
+ network.outpoing.packets_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.outpoing.packets
+ disk.read.requests_vdbe:
+ - vdbe
+ - disk.read.requests
+ network.incoming.bytes_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.incoming.bytes
+ instance_vdbe:
+ - vdbe
+ - instance
+ cpu.delta_vdbe:
+ - vdbe
+ - cpu.delta
+ network.outgoing.packets.rate_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.outgoing.packets.rate
+ binding_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - binding
+ disk.device.read.bytes.rate_vdbe:
+ - vdbe
+ - disk.device.read.bytes.rate
+ disk.device.write.bytes.rate_vdbe:
+ - vdbe
+ - disk.device.write.bytes.rate
+ memory.resident_vdbe:
+ - vdbe
+ - memory.resident
+ forwarder_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - forwarder
+ disk.write.requests.rate_vdbe:
+ - vdbe
+ - disk.write.requests.rate
+ cpu_vdbe:
+ - vdbe
+ - cpu
+ disk.write.bytes_vdbe:
+ - vdbe
+ - disk.write.bytes
+ forwarder_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - forwarder
+ disk.device.usage_vdbe:
+ - vdbe
+ - disk.device.usage
+ disk.device.read.bytes_vdbe:
+ - vdbe
+ - disk.device.read.bytes
+ disk.latency_vdbe:
+ - vdbe
+ - disk.latency
+ network.outgoing.packets.rate_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.outgoing.packets.rate
+ disk.capacity_vdbe:
+ - vdbe
+ - disk.capacity
+ host_vdbe:
+ - vdbe
+ - host
+ disk.allocation_vdbe:
+ - vdbe
+ - disk.allocation
+ network.outpoing.packets_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.outpoing.packets
+ network.incoming.packets_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.incoming.packets
+ disk.read.bytes.rate_vdbe:
+ - vdbe
+ - disk.read.bytes.rate
+ network.incoming.bytes_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.incoming.bytes
+ os_vdbe:
+ - vdbe
+ - os
+ disk.device.read.requests_vdbe:
+ - vdbe
+ - disk.device.read.requests
+ network.incoming.packets.rate_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.incoming.packets.rate
+ disk.root.size_vdbe:
+ - vdbe
+ - disk.root.size
+ network.incoming.bytes.rate_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.incoming.bytes.rate
+ binding_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - binding
+ memory_vdbe:
+ - vdbe
+ - memory
+ binding_vdbe:
+ - vdbe
+ - binding
+ disk.device.write.bytes_vdbe:
+ - vdbe
+ - disk.device.write.bytes
+ network.outgoing.bytes_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - network.outgoing.bytes
+ network.outgoing.bytes.rate_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - network.outgoing.bytes.rate
+ disk.device.read.requests.rate_vdbe:
+ - vdbe
+ - disk.device.read.requests.rate
+ disk.read.bytes_vdbe:
+ - vdbe
+ - disk.read.bytes
+ requirements:
+ dependency_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - dependency
+ link_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - link
+ local_storage_vdbe:
+ - vdbe
+ - local_storage
+ dependency_vdbe_vdbe_untr_2_port:
+ - vdbe_vdbe_untr_2_port
+ - dependency
+ dependency_vdbe_vdbe_untr_1_port_vlan1:
+ - vdbe_vdbe_untr_1_port_vlan1
+ - dependency
+ dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
+ - vdbe_vdbe_untr_1_port_vlan1
+ - dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ link_vdbe_vdbe_untr_1_port:
+ - vdbe_vdbe_untr_1_port
+ - link
+ link_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
+ - vdbe_vdbe_untr_1_port_vlan1
+ - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ dependency_vdbe:
+ - vdbe
+ - dependency \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/out/vlan1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/out/vlan1ServiceTemplate.yaml
new file mode 100644
index 0000000000..559263b791
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/optionalPropertiesConsolidation/out/vlan1ServiceTemplate.yaml
@@ -0,0 +1,181 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: vlan1
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+topology_template:
+ inputs:
+ aap_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix for primary vDBE VM on the VAN untrusted network
+ aap_sec_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
+ ip_v6_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: IPv6 address associated with subinterfaces
+ counter:
+ hidden: false
+ immutable: false
+ type: float
+ description: Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances.
+ subinterfaces_name_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource
+ ip_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: IPv4 address associated with subinterfaces
+ aap_address_mode:
+ hidden: false
+ immutable: false
+ type: string
+ description: Address mode for the vDBE cluster IP
+ aap_untrusted_v6_ip_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
+ parent_interface:
+ hidden: false
+ immutable: false
+ type: string
+ description: Parent Contrail interface
+ vn_network_list:
+ hidden: false
+ immutable: false
+ type: string
+ description: List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list
+ optional_property_1:
+ hidden: false
+ immutable: false
+ type: string
+ description: Optional property
+ optional_property_2:
+ hidden: false
+ immutable: false
+ type: string
+ description: Optional property
+ mac_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: HW MAC address to use for subinterface
+ vlan_tag_list:
+ hidden: false
+ immutable: false
+ type: list
+ description: List of VLAN IDs to use for subinterfaces
+ entry_schema:
+ type: string
+ aap_sec_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
+ vmac_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: virtual MAC address to use for subinterface
+ aap_untrusted_v6_ip_prefix_len:
+ hidden: false
+ immutable: false
+ type: string
+ description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
+ aap_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix length for the primary vDBE VM on the VAN untrusted network
+ node_templates:
+ vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ properties:
+ virtual_machine_interface_refs:
+ - get_input: parent_interface
+ name:
+ str_replace:
+ template: $NAME_$INDEX
+ params:
+ $NAME:
+ get_input: subinterfaces_name_prefix
+ $INDEX:
+ get_input:
+ - vlan_tag_list
+ - get_input: counter
+ virtual_network_refs:
+ - get_input: vn_network_list
+ virtual_machine_interface_properties:
+ sub_interface_vlan_tag:
+ get_input:
+ - vlan_tag_list
+ - get_input: counter
+ virtual_machine_interface_allowed_address_pairs:
+ allowed_address_pair:
+ - address_mode:
+ get_input: aap_address_mode
+ ip:
+ ip_prefix:
+ get_input: aap_untrusted_ip_prefix
+ ip_prefix_len:
+ get_input: aap_untrusted_ip_prefix_len
+ mac:
+ get_input: vmac_address
+ - address_mode:
+ get_input: aap_address_mode
+ ip:
+ ip_prefix:
+ get_input: aap_sec_untrusted_ip_prefix
+ ip_prefix_len:
+ get_input: aap_sec_untrusted_ip_prefix_len
+ mac:
+ get_input: mac_address
+ - address_mode:
+ get_input: aap_address_mode
+ ip:
+ ip_prefix:
+ get_input: aap_untrusted_v6_ip_prefix
+ ip_prefix_len:
+ get_input: aap_untrusted_v6_ip_prefix_len
+ mac:
+ get_input: vmac_address
+ virtual_machine_interface_mac_addresses:
+ mac_address:
+ - get_input: mac_address
+ groups:
+ vlan1_group:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/vlan1.yml
+ description: cmaui server template for vMMSC
+ members:
+ - vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ substitution_mappings:
+ node_type: org.openecomp.resource.abstract.nodes.heat.subinterface.vlan1
+ capabilities:
+ feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ - vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ - feature
+ requirements:
+ link_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ - vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ - link
+ binding_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ - vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ - binding
+ dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ - vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ - dependency \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/in/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/in/MANIFEST.json
new file mode 100644
index 0000000000..aca75b5055
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/in/MANIFEST.json
@@ -0,0 +1,17 @@
+{
+ "name": "vMME_Small",
+ "description": "HOT template to create 2 cinder volume attachment",
+ "version": "2013-05-23",
+ "data": [
+ {
+ "file": "main.yml",
+ "type": "HEAT",
+ "isBase": "true"
+ },
+ {
+ "file": "nested.yml",
+ "type": "HEAT",
+ "isBase": "false"
+ }
+ ]
+}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/in/main.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/in/main.yml
new file mode 100644
index 0000000000..5d2410ce66
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/in/main.yml
@@ -0,0 +1,347 @@
+heat_template_version: 2013-05-23
+
+description: >
+ Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
+
+parameters:
+ aap_address_mode:
+ description: "Address mode for the vDBE cluster IP"
+ type: string
+ control_int_net_forwarding_mode:
+ description: "forwarding mode of the control virtual network"
+ type: string
+ control_int_net_rpf:
+ description: "Reverse Path Filtering enable or disable for the control virtual network"
+ type: string
+ control_int_net_shared:
+ description: "control virtual network shared"
+ type: boolean
+ control_int_net_flood_unknown_unicast:
+ description: "forwarding mode of the control virtual network"
+ type: boolean
+ oam_net_name:
+ description: "Name of NSDNet network from which the management IP addresses will be allocated"
+ type: string
+ untrusted_net_name:
+ description: "Name of public untrusted network into which this vDBE HA cluster is deployed"
+ type: string
+ untrusted_num_vn:
+ constraints:
+ -
+ range:
+ max: 77
+ min: 1
+ description: "Number of vDBE subinterface virtual Networks"
+ type: number
+ untrusted_vlan_tags:
+ description: "List of subinterface vlan tags"
+ type: comma_delimited_list
+ untrusted_vn_networks:
+ description: "List of subinterface virtual networks"
+ type: comma_delimited_list
+ vdbe_aap_sec_untrusted_ip_prefix:
+ description: "ip prefix for secondary vDBE VM aap on the VAN untrusted network"
+ type: string
+ vdbe_aap_sec_untrusted_ip_prefix_len:
+ description: "ip prefix length for the secondary DBE VM aap on the VAN untrusted network"
+ type: string
+ vdbe_aap_untrusted_ip_prefix:
+ description: "ip prefix for primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_aap_untrusted_ip_prefix_len:
+ description: "ip prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_aap_untrusted_v6_ip_prefix:
+ description: "ipv6 prefix for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_aap_untrusted_v6_ip_prefix_len:
+ description: "ipv6 prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_device_name:
+ description: "VDBE device Name for this vdbe VNF"
+ type: string
+ vdbe_hw_untr_mac_1:
+ description: "Secondary MAC address of the secondary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_name_1:
+ description: "VM Name for this vdbe node 1"
+ type: string
+ vdbe_name_2:
+ description: "VM Name for this vdbe node 2"
+ type: string
+ vdbe_untrusted_ip_1:
+ description: "IPV4 address of the secondary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_untrusted_v6_ip_1:
+ description: "IPV6 address of the secondary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_untrusted_vmac_address:
+ description: "Virtual MAC of the primary vDBE VM on the VAN untrusted network"
+ type: string
+ vdbe_flavor_name:
+ description: "Flavor to use for vDBE"
+ type: string
+ vdbe_image_name:
+ description: "Image to use for vDBE"
+ type: string
+ vnf_name:
+ description: "Unique name for this VF instance"
+ type: string
+ vnf_id_1:
+ description: "Unique ID for this VF inst"
+ type: string
+ vnf_name_1:
+ description: "Unique name for this VF instance"
+ type: string
+ vf_module_id_1:
+ description: "Unique ID for this VF module inst"
+ type: string
+ vnf_id_2:
+ description: "Unique ID for this VF inst"
+ type: string
+ vnf_name_2:
+ description: "Unique name for this VF instance"
+ type: string
+ vf_module_id_2:
+ description: "Unique ID for this VF module inst"
+ type: string
+ availability_zone_1:
+ description: "The availability zone of secondary node1 vDBE vm in the local HA pair."
+ type: string
+ availability_zone_2:
+ description: "The availability zone of secondary node2 vDBE vm in the local HA pair."
+ type: string
+ counter:
+ description: "Counter."
+ type: number
+resources:
+ vdbe_node_1:
+ type: OS::Nova::Server
+ properties:
+ availability_zone:
+ get_param: availability_zone_1
+ flavor:
+ get_param: vdbe_flavor_name
+ image:
+ get_param: vdbe_image_name
+ metadata:
+ vf_module_id:
+ get_param: vf_module_id_1
+ vnf_id:
+ get_param: vnf_id_1
+ vnf_name:
+ get_param: vnf_name_1
+ name:
+ get_param: vdbe_name_1
+ networks:
+ - port: {get_resource: vdbe_untr_port_1}
+ vdbe_node_2:
+ type: OS::Nova::Server
+ properties:
+ availability_zone:
+ get_param: availability_zone_2
+ flavor:
+ get_param: vdbe_flavor_name
+ image:
+ get_param: vdbe_image_name
+ metadata:
+ vf_module_id:
+ get_param: vf_module_id_2
+ vnf_id:
+ get_param: vnf_id_2
+ vnf_name:
+ get_param: vnf_name_2
+ name:
+ get_param: vdbe_name_2
+ networks:
+ - port: {get_resource: vdbe_untr_port_2}
+ vdbe_untr_port_1:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name: Untr_Port_1
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_hw_untr_mac_1
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: vdbe_hw_untr_mac_1
+ virtual_network_refs:
+ -
+ get_resource: control_int_net
+ vdbe_untr_port_2:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name: Untr_Port_2
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_hw_untr_mac_1
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vdbe_untrusted_vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: vdbe_hw_untr_mac_1
+ virtual_network_refs:
+ -
+ get_resource: control_int_net
+
+ vdbe_untr_1_subports:
+ type: nested.yml
+ properties:
+ aap_address_mode:
+ get_param: aap_address_mode
+ aap_sec_untrusted_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ aap_sec_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ aap_untrusted_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ aap_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ aap_untrusted_v6_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ aap_untrusted_v6_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ counter: 5
+ ip_address:
+ get_param: vdbe_untrusted_ip_1
+ ip_v6_address:
+ get_param: vdbe_untrusted_v6_ip_1
+ mac_address:
+ get_param: vdbe_hw_untr_mac_1
+ parent_interface:
+ get_resource: vdbe_untr_port_1
+ subinterfaces_name_prefix:
+ str_replace:
+ params:
+ DBE:
+ get_param: vdbe_device_name
+ VM_NAME:
+ get_param: vdbe_name_1
+ template: VM_NAMEDBE001p1n004
+ vlan_tag_list:
+ get_param: untrusted_vlan_tags
+ vmac_address:
+ get_param: vdbe_untrusted_vmac_address
+ vn_network_list:
+ get_param: untrusted_vn_networks
+ optional_property_1: OPTIONAL_VALUE_SUBPORT_1
+
+ vdbe_untr_2_subports:
+ type: nested.yml
+ properties:
+ aap_address_mode:
+ get_param: aap_address_mode
+ aap_sec_untrusted_ip_prefix:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix
+ aap_sec_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_sec_untrusted_ip_prefix_len
+ aap_untrusted_ip_prefix:
+ get_param: vdbe_aap_untrusted_ip_prefix
+ aap_untrusted_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_ip_prefix_len
+ aap_untrusted_v6_ip_prefix:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix
+ aap_untrusted_v6_ip_prefix_len:
+ get_param: vdbe_aap_untrusted_v6_ip_prefix_len
+ counter:
+ get_param: counter
+ ip_address:
+ get_param: vdbe_untrusted_ip_1
+ ip_v6_address:
+ get_param: vdbe_untrusted_v6_ip_1
+ mac_address:
+ get_param: vdbe_hw_untr_mac_1
+ parent_interface:
+ get_resource: vdbe_untr_port_2
+ subinterfaces_name_prefix:
+ str_replace:
+ params:
+ DBE:
+ get_param: vdbe_device_name
+ VM_NAME:
+ get_param: vdbe_name_1
+ template: VM_NAMEDBE001p1n004
+ vlan_tag_list:
+ get_param: untrusted_vlan_tags
+ vmac_address:
+ get_param: vdbe_untrusted_vmac_address
+ vn_network_list:
+ get_param: untrusted_vn_networks
+ optional_property_2: OPTIONAL_VALUE_SUBPORT_2
+
+ control_int_net:
+ type: OS::ContrailV2::VirtualNetwork
+ properties:
+ flood_unknown_unicast:
+ get_param: control_int_net_flood_unknown_unicast
+ is_shared:
+ get_param: control_int_net_shared
+ name:
+ str_replace:
+ params:
+ VNF_NAME:
+ get_param: vnf_name
+ template: VNF_NAME_control_net
+ virtual_network_properties:
+ virtual_network_properties_forwarding_mode:
+ get_param: control_int_net_forwarding_mode
+ virtual_network_properties_rpf:
+ get_param: control_int_net_rpf
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/in/nested.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/in/nested.yml
new file mode 100644
index 0000000000..2c180dd556
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/in/nested.yml
@@ -0,0 +1,123 @@
+heat_template_version: 2013-05-23
+
+description: cmaui server template for vMMSC
+
+parameters:
+ aap_address_mode:
+ description: "Address mode for the vDBE cluster IP"
+ type: string
+ aap_sec_untrusted_ip_prefix:
+ description: "ip prefix for secondary vDBE VM aap on the VAN untrusted network"
+ type: string
+ aap_sec_untrusted_ip_prefix_len:
+ description: "ip prefix length for the secondary DBE VM aap on the VAN untrusted network"
+ type: string
+ aap_untrusted_ip_prefix:
+ description: "ip prefix for primary vDBE VM on the VAN untrusted network"
+ type: string
+ aap_untrusted_ip_prefix_len:
+ description: "ip prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ aap_untrusted_v6_ip_prefix:
+ description: "ipv6 prefix for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ aap_untrusted_v6_ip_prefix_len:
+ description: "ipv6 prefix length for the primary vDBE VM on the VAN untrusted network"
+ type: string
+ counter:
+ description: "Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances."
+ type: number
+ mac_address:
+ description: "HW MAC address to use for subinterface"
+ type: string
+ parent_interface:
+ description: "Parent Contrail interface"
+ type: string
+ subinterfaces_name_prefix:
+ description: "Combined with subinterface_instance_index, this is used as the name of the subinterface resource"
+ type: string
+ vlan_tag_list:
+ description: "List of VLAN IDs to use for subinterfaces"
+ type: comma_delimited_list
+ vmac_address:
+ description: "virtual MAC address to use for subinterface"
+ type: string
+ vn_network_list:
+ description: "List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list"
+ type: string
+ ip_address:
+ description: "IPv4 address associated with subinterfaces"
+ type: string
+ ip_v6_address:
+ description: "IPv6 address associated with subinterfaces"
+ type: string
+ optional_property_1:
+ description: "Optional property"
+ type: string
+ optional_property_2:
+ description: "Optional property"
+ type: string
+
+resources:
+ vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ name:
+ str_replace:
+ params:
+ $INDEX:
+ get_param:
+ - vlan_tag_list
+ -
+ get_param: counter
+ $NAME:
+ get_param: subinterfaces_name_prefix
+ template: $NAME_$INDEX
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: aap_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: aap_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vmac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: aap_sec_untrusted_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: aap_sec_untrusted_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: mac_address
+ -
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode:
+ get_param: aap_address_mode
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix:
+ get_param: aap_untrusted_v6_ip_prefix
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len:
+ get_param: aap_untrusted_v6_ip_prefix_len
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac:
+ get_param: vmac_address
+ virtual_machine_interface_mac_addresses:
+ virtual_machine_interface_mac_addresses_mac_address:
+ -
+ get_param: mac_address
+ virtual_machine_interface_properties:
+ virtual_machine_interface_properties_sub_interface_vlan_tag:
+ get_param:
+ - vlan_tag_list
+ -
+ get_param: counter
+ virtual_machine_interface_refs:
+ [{get_param: parent_interface}]
+ virtual_network_refs:
+ [{get_param: vn_network_list}]
+
+
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/GlobalSubstitutionTypesServiceTemplate.yaml
new file mode 100644
index 0000000000..46ad8840c6
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -0,0 +1,698 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: GlobalSubstitutionTypes
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+node_types:
+ org.openecomp.resource.abstract.nodes.vdbe:
+ derived_from: org.openecomp.resource.abstract.nodes.VFC
+ properties:
+ port_vdbe_untr_port_network_role_tag:
+ type: string
+ required: true
+ status: SUPPORTED
+ subinterface_nested_parent_interface:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_nested_aap_address_mode:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_nested_vlan_tag_list:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ port_vdbe_untr_port_subnetpoolid:
+ type: string
+ required: true
+ status: SUPPORTED
+ compute_vdbe_availability_zone:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_nested_aap_untrusted_v6_ip_prefix_len:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ vm_flavor_name:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_port_order:
+ type: integer
+ required: true
+ status: SUPPORTED
+ subinterface_nested_aap_untrusted_ip_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ vm_image_name:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_port_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ subinterface_nested_aap_sec_untrusted_ip_prefix_len:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_nested_aap_sec_untrusted_ip_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_nested_aap_untrusted_v6_ip_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ compute_vdbe_metadata:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ subinterface_nested_mac_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_virtual_machine_interface_allowed_address_pairs:
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
+ required: true
+ status: SUPPORTED
+ subinterface_nested_ip_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_virtual_network_refs:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ subinterface_nested_ip_v6_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ index_value:
+ type: integer
+ description: Index value of this substitution service template runtime instance
+ required: false
+ default: 0
+ status: SUPPORTED
+ constraints:
+ - greater_or_equal: 0
+ subinterface_nested_vmac_address:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_nested_vn_network_list:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_name:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_vlan_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_vdbe_untr_port_network_role:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_port_virtual_machine_interface_mac_addresses:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ subinterface_nested_aap_untrusted_ip_prefix_len:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_nested_counter:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: float
+ subinterface_nested_subinterfaces_name_prefix:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ compute_vdbe_name:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_nested_optional_property_1:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ subinterface_nested_optional_property_2:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ requirements:
+ - dependency_vdbe:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - local_storage_vdbe:
+ capability: tosca.capabilities.Attachment
+ node: tosca.nodes.BlockStorage
+ relationship: tosca.relationships.AttachesTo
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - dependency_vdbe_vdbe_untr_port:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_vdbe_vdbe_untr_port:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - dependency_vdbe_vdbe_untr_port_nested:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_port_nested:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_port_nested:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ capabilities:
+ network.outgoing.packets.rate_vdbe_vdbe_untr_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes_vdbe_vdbe_untr_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_vdbe_untr_port:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.iops_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ endpoint_vdbe:
+ type: tosca.capabilities.Endpoint.Admin
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.ephemeral.size_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ cpu_util_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ vcpus_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.requests_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.latency_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.requests.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.bytes.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets_vdbe_vdbe_untr_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ scalable_vdbe:
+ type: tosca.capabilities.Scalable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.iops_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.requests_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.capacity_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.allocation_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.usage_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ memory.usage_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outpoing.packets_vdbe_vdbe_untr_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes.rate_vdbe_vdbe_untr_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.read.requests_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ forwarder_vdbe_vdbe_untr_port:
+ type: org.openecomp.capabilities.Forwarder
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_port_nested:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding_vdbe_vdbe_untr_port:
+ type: tosca.capabilities.network.Bindable
+ valid_source_types:
+ - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ occurrences:
+ - 0
+ - UNBOUNDED
+ instance_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes.rate_vdbe_vdbe_untr_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ cpu.delta_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.bytes.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.bytes.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ memory.resident_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_vdbe_untr_port_nested:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.requests.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ cpu_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.bytes_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.usage_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.bytes_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.latency_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes_vdbe_vdbe_untr_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.capacity_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ host_vdbe:
+ type: tosca.capabilities.Container
+ valid_source_types:
+ - tosca.nodes.SoftwareComponent
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.allocation_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.read.bytes.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ os_vdbe:
+ type: tosca.capabilities.OperatingSystem
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.requests_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.root.size_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ memory_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding_vdbe:
+ type: tosca.capabilities.network.Bindable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.bytes_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.requests.rate_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.read.bytes_vdbe:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets.rate_vdbe_vdbe_untr_port:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ org.openecomp.resource.abstract.nodes.heat.subinterface.nested:
+ derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
+ properties:
+ aap_untrusted_ip_prefix:
+ type: string
+ description: ip prefix for primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ aap_sec_untrusted_ip_prefix:
+ type: string
+ description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ ip_v6_address:
+ type: string
+ description: IPv6 address associated with subinterfaces
+ required: true
+ status: SUPPORTED
+ counter:
+ type: float
+ description: Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances.
+ required: true
+ status: SUPPORTED
+ subinterfaces_name_prefix:
+ type: string
+ description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource
+ required: true
+ status: SUPPORTED
+ ip_address:
+ type: string
+ description: IPv4 address associated with subinterfaces
+ required: true
+ status: SUPPORTED
+ aap_address_mode:
+ type: string
+ description: Address mode for the vDBE cluster IP
+ required: true
+ status: SUPPORTED
+ aap_untrusted_v6_ip_prefix:
+ type: string
+ description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ parent_interface:
+ type: string
+ description: Parent Contrail interface
+ required: true
+ status: SUPPORTED
+ vn_network_list:
+ type: string
+ description: List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list
+ required: true
+ status: SUPPORTED
+ optional_property_1:
+ type: string
+ description: Optional property
+ required: true
+ status: SUPPORTED
+ optional_property_2:
+ type: string
+ description: Optional property
+ required: true
+ status: SUPPORTED
+ mac_address:
+ type: string
+ description: HW MAC address to use for subinterface
+ required: true
+ status: SUPPORTED
+ vlan_tag_list:
+ type: list
+ description: List of VLAN IDs to use for subinterfaces
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ aap_sec_untrusted_ip_prefix_len:
+ type: string
+ description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ vmac_address:
+ type: string
+ description: virtual MAC address to use for subinterface
+ required: true
+ status: SUPPORTED
+ aap_untrusted_v6_ip_prefix_len:
+ type: string
+ description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ aap_untrusted_ip_prefix_len:
+ type: string
+ description: ip prefix length for the primary vDBE VM on the VAN untrusted network
+ required: true
+ status: SUPPORTED
+ requirements:
+ - dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - binding_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ capability: tosca.capabilities.network.Bindable
+ node: org.openecomp.resource.cp.nodes.network.Port
+ relationship: tosca.relationships.network.BindsTo
+ occurrences:
+ - 1
+ - 1
+ capabilities:
+ feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/MainServiceTemplate.yaml
new file mode 100644
index 0000000000..6fd7b7bc24
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/MainServiceTemplate.yaml
@@ -0,0 +1,609 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: Main
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+topology_template:
+ inputs:
+ control_int_net_rpf:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: control_int_net_rpf
+ type: string
+ description: Reverse Path Filtering enable or disable for the control virtual network
+ control_int_net_forwarding_mode:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: control_int_net_forwarding_mode
+ type: string
+ description: forwarding mode of the control virtual network
+ vnf_name_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vnf_name_1
+ type: string
+ description: Unique name for this VF instance
+ vnf_name_2:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vnf_name_2
+ type: string
+ description: Unique name for this VF instance
+ vnf_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vnf_name
+ type: string
+ description: Unique name for this VF instance
+ vdbe_untrusted_ip_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_untrusted_ip_1
+ type: string
+ description: IPV4 address of the secondary vDBE VM on the VAN untrusted network
+ vdbe_aap_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_untrusted_ip_prefix_len
+ type: string
+ description: ip prefix length for the primary vDBE VM on the VAN untrusted network
+ vnf_id_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vnf_id_1
+ type: string
+ description: Unique ID for this VF inst
+ vnf_id_2:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vnf_id_2
+ type: string
+ description: Unique ID for this VF inst
+ untrusted_num_vn:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: untrusted_num_vn
+ type: float
+ description: Number of vDBE subinterface virtual Networks
+ constraints:
+ - in_range:
+ - 1
+ - 77
+ aap_address_mode:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: aap_address_mode
+ type: string
+ description: Address mode for the vDBE cluster IP
+ control_int_net_shared:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: control_int_net_shared
+ type: boolean
+ description: control virtual network shared
+ vdbe_untrusted_v6_ip_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_untrusted_v6_ip_1
+ type: string
+ description: IPV6 address of the secondary vDBE VM on the VAN untrusted network
+ vdbe_untrusted_vmac_address:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_untrusted_vmac_address
+ type: string
+ description: Virtual MAC of the primary vDBE VM on the VAN untrusted network
+ control_int_net_flood_unknown_unicast:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: control_int_net_flood_unknown_unicast
+ type: boolean
+ description: forwarding mode of the control virtual network
+ vdbe_aap_sec_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_sec_untrusted_ip_prefix
+ type: string
+ description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
+ vdbe_name_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_name_1
+ type: string
+ description: VM Name for this vdbe node 1
+ availability_zone_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: availability_zone_1
+ type: string
+ description: The availability zone of secondary node1 vDBE vm in the local HA pair.
+ availability_zone_2:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: availability_zone_2
+ type: string
+ description: The availability zone of secondary node2 vDBE vm in the local HA pair.
+ untrusted_vn_networks:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: untrusted_vn_networks
+ type: list
+ description: List of subinterface virtual networks
+ entry_schema:
+ type: string
+ vdbe_image_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_image_name
+ type: string
+ description: Image to use for vDBE
+ oam_net_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: oam_net_name
+ type: string
+ description: Name of NSDNet network from which the management IP addresses will be allocated
+ vdbe_name_2:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_name_2
+ type: string
+ description: VM Name for this vdbe node 2
+ vdbe_aap_sec_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_sec_untrusted_ip_prefix_len
+ type: string
+ description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
+ vdbe_aap_untrusted_v6_ip_prefix:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_untrusted_v6_ip_prefix
+ type: string
+ description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
+ vdbe_aap_untrusted_v6_ip_prefix_len:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_untrusted_v6_ip_prefix_len
+ type: string
+ description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
+ untrusted_vlan_tags:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: untrusted_vlan_tags
+ type: list
+ description: List of subinterface vlan tags
+ entry_schema:
+ type: string
+ vdbe_flavor_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_flavor_name
+ type: string
+ description: Flavor to use for vDBE
+ counter:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: counter
+ type: float
+ description: Counter.
+ vf_module_id_2:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vf_module_id_2
+ type: string
+ description: Unique ID for this VF module inst
+ vf_module_id_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vf_module_id_1
+ type: string
+ description: Unique ID for this VF module inst
+ vdbe_hw_untr_mac_1:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_hw_untr_mac_1
+ type: string
+ description: Secondary MAC address of the secondary vDBE VM on the VAN untrusted network
+ untrusted_net_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: untrusted_net_name
+ type: string
+ description: Name of public untrusted network into which this vDBE HA cluster is deployed
+ vdbe_device_name:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_device_name
+ type: string
+ description: VDBE device Name for this vdbe VNF
+ vdbe_aap_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ annotations:
+ source:
+ type: org.openecomp.annotations.Source
+ properties:
+ vf_module_label:
+ - main
+ source_type: HEAT
+ param_name: vdbe_aap_untrusted_ip_prefix
+ type: string
+ description: ip prefix for primary vDBE VM on the VAN untrusted network
+ node_templates:
+ control_int_net:
+ type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
+ properties:
+ network_name:
+ str_replace:
+ template: VNF_NAME_control_net
+ params:
+ VNF_NAME:
+ get_input: vnf_name
+ abstract_vdbe:
+ type: org.openecomp.resource.abstract.nodes.vdbe
+ directives:
+ - substitutable
+ properties:
+ subinterface_nested_parent_interface:
+ - vdbe_untr_port_1
+ - vdbe_untr_port_2
+ subinterface_nested_aap_address_mode:
+ - get_input: aap_address_mode
+ - get_input: aap_address_mode
+ subinterface_nested_vlan_tag_list:
+ - get_input: untrusted_vlan_tags
+ - get_input: untrusted_vlan_tags
+ compute_vdbe_availability_zone:
+ - get_input: availability_zone_1
+ - get_input: availability_zone_2
+ subinterface_nested_aap_untrusted_v6_ip_prefix_len:
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix_len
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix_len
+ vm_flavor_name:
+ get_input: vdbe_flavor_name
+ subinterface_nested_aap_untrusted_ip_prefix:
+ - get_input: vdbe_aap_untrusted_ip_prefix
+ - get_input: vdbe_aap_untrusted_ip_prefix
+ vm_image_name:
+ get_input: vdbe_image_name
+ subinterface_nested_aap_sec_untrusted_ip_prefix_len:
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix_len
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix_len
+ subinterface_nested_aap_sec_untrusted_ip_prefix:
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix
+ - get_input: vdbe_aap_sec_untrusted_ip_prefix
+ subinterface_nested_aap_untrusted_v6_ip_prefix:
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix
+ - get_input: vdbe_aap_untrusted_v6_ip_prefix
+ compute_vdbe_metadata:
+ - vf_module_id:
+ get_input: vf_module_id_1
+ vnf_id:
+ get_input: vnf_id_1
+ vnf_name:
+ get_input: vnf_name_1
+ - vf_module_id:
+ get_input: vf_module_id_2
+ vnf_id:
+ get_input: vnf_id_2
+ vnf_name:
+ get_input: vnf_name_2
+ subinterface_nested_mac_address:
+ - get_input: vdbe_hw_untr_mac_1
+ - get_input: vdbe_hw_untr_mac_1
+ subinterface_nested_ip_address:
+ - get_input: vdbe_untrusted_ip_1
+ - get_input: vdbe_untrusted_ip_1
+ port_vdbe_untr_port_virtual_network_refs:
+ - - control_int_net
+ - - control_int_net
+ subinterface_nested_ip_v6_address:
+ - get_input: vdbe_untrusted_v6_ip_1
+ - get_input: vdbe_untrusted_v6_ip_1
+ subinterface_nested_vmac_address:
+ - get_input: vdbe_untrusted_vmac_address
+ - get_input: vdbe_untrusted_vmac_address
+ subinterface_nested_vn_network_list:
+ - get_input: untrusted_vn_networks
+ - get_input: untrusted_vn_networks
+ port_vdbe_untr_port_name:
+ - Untr_Port_1
+ - Untr_Port_2
+ port_vdbe_untr_port_virtual_machine_interface_mac_addresses:
+ - - get_input: vdbe_hw_untr_mac_1
+ - - get_input: vdbe_hw_untr_mac_1
+ subinterface_nested_aap_untrusted_ip_prefix_len:
+ - get_input: vdbe_aap_untrusted_ip_prefix_len
+ - get_input: vdbe_aap_untrusted_ip_prefix_len
+ subinterface_nested_counter:
+ - 5
+ - get_input: counter
+ subinterface_nested_subinterfaces_name_prefix:
+ - str_replace:
+ template: VM_NAMEDBE001p1n004
+ params:
+ DBE:
+ get_input: vdbe_device_name
+ VM_NAME:
+ get_input: vdbe_name_1
+ - str_replace:
+ template: VM_NAMEDBE001p1n004
+ params:
+ DBE:
+ get_input: vdbe_device_name
+ VM_NAME:
+ get_input: vdbe_name_1
+ compute_vdbe_name:
+ - get_input: vdbe_name_1
+ - get_input: vdbe_name_2
+ subinterface_nested_optional_property_1:
+ - OPTIONAL_VALUE_SUBPORT_1
+ - null
+ subinterface_nested_optional_property_2:
+ - null
+ - OPTIONAL_VALUE_SUBPORT_2
+ service_template_filter:
+ substitute_service_template: Nested_vdbeServiceTemplate.yaml
+ count: 2
+ index_value:
+ get_property:
+ - SELF
+ - service_template_filter
+ - index_value
+ requirements:
+ - link_vdbe_vdbe_untr_port:
+ capability: tosca.capabilities.network.Linkable
+ node: control_int_net
+ relationship: tosca.relationships.network.LinksTo
+ groups:
+ main_group:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/main.yml
+ description: |
+ Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
+ members:
+ - control_int_net
+ - abstract_vdbe \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/Nested_vdbeServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/Nested_vdbeServiceTemplate.yaml
new file mode 100644
index 0000000000..28d52cfb08
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/Nested_vdbeServiceTemplate.yaml
@@ -0,0 +1,508 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: Nested_vdbe
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+node_types:
+ org.openecomp.resource.vfc.compute.nodes.heat.vdbe:
+ derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
+topology_template:
+ inputs:
+ port_vdbe_untr_port_network_role_tag:
+ type: string
+ required: true
+ subinterface_nested_parent_interface:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_nested_aap_address_mode:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_nested_vlan_tag_list:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ port_vdbe_untr_port_subnetpoolid:
+ type: string
+ required: true
+ compute_vdbe_availability_zone:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_nested_aap_untrusted_v6_ip_prefix_len:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ vm_flavor_name:
+ type: string
+ required: true
+ port_vdbe_untr_port_order:
+ type: integer
+ required: true
+ subinterface_nested_aap_untrusted_ip_prefix:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ vm_image_name:
+ type: string
+ required: true
+ port_vdbe_untr_port_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ subinterface_nested_aap_sec_untrusted_ip_prefix_len:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_nested_aap_sec_untrusted_ip_prefix:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_nested_aap_untrusted_v6_ip_prefix:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ compute_vdbe_metadata:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ subinterface_nested_mac_address:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_virtual_machine_interface_allowed_address_pairs:
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
+ required: true
+ subinterface_nested_ip_address:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_virtual_network_refs:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ subinterface_nested_ip_v6_address:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ index_value:
+ type: integer
+ description: Index value of this substitution service template runtime instance
+ required: false
+ default: 0
+ constraints:
+ - greater_or_equal: 0
+ subinterface_nested_vmac_address:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_nested_vn_network_list:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_name:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_vlan_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_vdbe_untr_port_network_role:
+ type: string
+ required: true
+ port_vdbe_untr_port_virtual_machine_interface_mac_addresses:
+ type: list
+ required: true
+ entry_schema:
+ type: json
+ subinterface_nested_aap_untrusted_ip_prefix_len:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_nested_counter:
+ type: list
+ required: true
+ entry_schema:
+ type: float
+ subinterface_nested_subinterfaces_name_prefix:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ compute_vdbe_name:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_nested_optional_property_1:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ subinterface_nested_optional_property_2:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ node_templates:
+ vdbe:
+ type: org.openecomp.resource.vfc.compute.nodes.heat.vdbe
+ properties:
+ availability_zone:
+ get_input:
+ - compute_vdbe_availability_zone
+ - index_value
+ flavor:
+ get_input: vm_flavor_name
+ metadata:
+ get_input:
+ - compute_vdbe_metadata
+ - index_value
+ image:
+ get_input: vm_image_name
+ name:
+ get_input:
+ - compute_vdbe_name
+ - index_value
+ vdbe_vdbe_untr_port:
+ type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
+ properties:
+ mac_requirements:
+ get_input: port_vdbe_untr_port_mac_requirements
+ order:
+ get_input: port_vdbe_untr_port_order
+ exCP_naming:
+ get_input: port_vdbe_untr_port_exCP_naming
+ virtual_machine_interface_allowed_address_pairs:
+ get_input:
+ - port_vdbe_untr_port_virtual_machine_interface_allowed_address_pairs
+ - index_value
+ vlan_requirements:
+ get_input: port_vdbe_untr_port_vlan_requirements
+ virtual_network_refs:
+ get_input:
+ - port_vdbe_untr_port_virtual_network_refs
+ - index_value
+ ip_requirements:
+ get_input: port_vdbe_untr_port_ip_requirements
+ network_role_tag:
+ get_input: port_vdbe_untr_port_network_role_tag
+ virtual_machine_interface_mac_addresses:
+ get_input:
+ - port_vdbe_untr_port_virtual_machine_interface_mac_addresses
+ - index_value
+ network_role:
+ get_input: port_vdbe_untr_port_network_role
+ subnetpoolid:
+ get_input: port_vdbe_untr_port_subnetpoolid
+ name:
+ get_input:
+ - port_vdbe_untr_port_name
+ - index_value
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: vdbe
+ relationship: tosca.relationships.network.BindsTo
+ vdbe_vdbe_untr_port_nested:
+ type: org.openecomp.resource.abstract.nodes.heat.subinterface.nested
+ directives:
+ - substitutable
+ properties:
+ aap_untrusted_ip_prefix:
+ get_input:
+ - subinterface_nested_aap_untrusted_ip_prefix
+ - index_value
+ aap_sec_untrusted_ip_prefix:
+ get_input:
+ - subinterface_nested_aap_sec_untrusted_ip_prefix
+ - index_value
+ ip_v6_address:
+ get_input:
+ - subinterface_nested_ip_v6_address
+ - index_value
+ counter:
+ get_input:
+ - subinterface_nested_counter
+ - index_value
+ ip_address:
+ get_input:
+ - subinterface_nested_ip_address
+ - index_value
+ subinterfaces_name_prefix:
+ get_input:
+ - subinterface_nested_subinterfaces_name_prefix
+ - index_value
+ aap_address_mode:
+ get_input:
+ - subinterface_nested_aap_address_mode
+ - index_value
+ service_template_filter:
+ substitute_service_template: nestedServiceTemplate.yaml
+ aap_untrusted_v6_ip_prefix:
+ get_input:
+ - subinterface_nested_aap_untrusted_v6_ip_prefix
+ - index_value
+ parent_interface:
+ get_input:
+ - subinterface_nested_parent_interface
+ - index_value
+ vn_network_list:
+ get_input:
+ - subinterface_nested_vn_network_list
+ - index_value
+ optional_property_1:
+ get_input:
+ - subinterface_nested_optional_property_1
+ - index_value
+ optional_property_2:
+ get_input:
+ - subinterface_nested_optional_property_2
+ - index_value
+ mac_address:
+ get_input:
+ - subinterface_nested_mac_address
+ - index_value
+ vlan_tag_list:
+ get_input:
+ - subinterface_nested_vlan_tag_list
+ - index_value
+ aap_sec_untrusted_ip_prefix_len:
+ get_input:
+ - subinterface_nested_aap_sec_untrusted_ip_prefix_len
+ - index_value
+ vmac_address:
+ get_input:
+ - subinterface_nested_vmac_address
+ - index_value
+ aap_untrusted_v6_ip_prefix_len:
+ get_input:
+ - subinterface_nested_aap_untrusted_v6_ip_prefix_len
+ - index_value
+ aap_untrusted_ip_prefix_len:
+ get_input:
+ - subinterface_nested_aap_untrusted_ip_prefix_len
+ - index_value
+ requirements:
+ - binding_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ capability: tosca.capabilities.network.Bindable
+ node: vdbe_vdbe_untr_port
+ relationship: tosca.relationships.network.BindsTo
+ substitution_mappings:
+ node_type: org.openecomp.resource.abstract.nodes.vdbe
+ capabilities:
+ network.outgoing.packets.rate_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - network.outgoing.packets.rate
+ network.outgoing.bytes_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - network.outgoing.bytes
+ feature_vdbe:
+ - vdbe
+ - feature
+ feature_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - feature
+ disk.device.iops_vdbe:
+ - vdbe
+ - disk.device.iops
+ endpoint_vdbe:
+ - vdbe
+ - endpoint
+ disk.ephemeral.size_vdbe:
+ - vdbe
+ - disk.ephemeral.size
+ cpu_util_vdbe:
+ - vdbe
+ - cpu_util
+ vcpus_vdbe:
+ - vdbe
+ - vcpus
+ disk.write.requests_vdbe:
+ - vdbe
+ - disk.write.requests
+ disk.device.latency_vdbe:
+ - vdbe
+ - disk.device.latency
+ disk.device.write.requests.rate_vdbe:
+ - vdbe
+ - disk.device.write.requests.rate
+ disk.write.bytes.rate_vdbe:
+ - vdbe
+ - disk.write.bytes.rate
+ network.incoming.packets_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - network.incoming.packets
+ scalable_vdbe:
+ - vdbe
+ - scalable
+ disk.iops_vdbe:
+ - vdbe
+ - disk.iops
+ disk.device.write.requests_vdbe:
+ - vdbe
+ - disk.device.write.requests
+ disk.device.capacity_vdbe:
+ - vdbe
+ - disk.device.capacity
+ disk.device.allocation_vdbe:
+ - vdbe
+ - disk.device.allocation
+ disk.usage_vdbe:
+ - vdbe
+ - disk.usage
+ memory.usage_vdbe:
+ - vdbe
+ - memory.usage
+ network.outpoing.packets_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - network.outpoing.packets
+ network.outgoing.bytes.rate_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - network.outgoing.bytes.rate
+ disk.read.requests_vdbe:
+ - vdbe
+ - disk.read.requests
+ forwarder_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - forwarder
+ feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_port_nested:
+ - vdbe_vdbe_untr_port_nested
+ - feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ binding_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - binding
+ instance_vdbe:
+ - vdbe
+ - instance
+ network.incoming.bytes.rate_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - network.incoming.bytes.rate
+ cpu.delta_vdbe:
+ - vdbe
+ - cpu.delta
+ disk.device.read.bytes.rate_vdbe:
+ - vdbe
+ - disk.device.read.bytes.rate
+ disk.device.write.bytes.rate_vdbe:
+ - vdbe
+ - disk.device.write.bytes.rate
+ memory.resident_vdbe:
+ - vdbe
+ - memory.resident
+ feature_vdbe_vdbe_untr_port_nested:
+ - vdbe_vdbe_untr_port_nested
+ - feature
+ disk.write.requests.rate_vdbe:
+ - vdbe
+ - disk.write.requests.rate
+ cpu_vdbe:
+ - vdbe
+ - cpu
+ disk.write.bytes_vdbe:
+ - vdbe
+ - disk.write.bytes
+ disk.device.usage_vdbe:
+ - vdbe
+ - disk.device.usage
+ disk.device.read.bytes_vdbe:
+ - vdbe
+ - disk.device.read.bytes
+ disk.latency_vdbe:
+ - vdbe
+ - disk.latency
+ network.incoming.bytes_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - network.incoming.bytes
+ disk.capacity_vdbe:
+ - vdbe
+ - disk.capacity
+ host_vdbe:
+ - vdbe
+ - host
+ disk.allocation_vdbe:
+ - vdbe
+ - disk.allocation
+ disk.read.bytes.rate_vdbe:
+ - vdbe
+ - disk.read.bytes.rate
+ os_vdbe:
+ - vdbe
+ - os
+ disk.device.read.requests_vdbe:
+ - vdbe
+ - disk.device.read.requests
+ disk.root.size_vdbe:
+ - vdbe
+ - disk.root.size
+ memory_vdbe:
+ - vdbe
+ - memory
+ binding_vdbe:
+ - vdbe
+ - binding
+ disk.device.write.bytes_vdbe:
+ - vdbe
+ - disk.device.write.bytes
+ disk.device.read.requests.rate_vdbe:
+ - vdbe
+ - disk.device.read.requests.rate
+ disk.read.bytes_vdbe:
+ - vdbe
+ - disk.read.bytes
+ network.incoming.packets.rate_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - network.incoming.packets.rate
+ requirements:
+ dependency_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - dependency
+ link_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_port_nested:
+ - vdbe_vdbe_untr_port_nested
+ - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ link_vdbe_vdbe_untr_port:
+ - vdbe_vdbe_untr_port
+ - link
+ local_storage_vdbe:
+ - vdbe
+ - local_storage
+ dependency_vdbe_vdbe_untr_port_nested:
+ - vdbe_vdbe_untr_port_nested
+ - dependency
+ dependency_vdbe:
+ - vdbe
+ - dependency
+ dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_port_nested:
+ - vdbe_vdbe_untr_port_nested
+ - dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/nestedServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/nestedServiceTemplate.yaml
new file mode 100644
index 0000000000..893a3affe9
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/nestedServiceTemplate.yaml
@@ -0,0 +1,181 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: nested
+imports:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+topology_template:
+ inputs:
+ aap_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix for primary vDBE VM on the VAN untrusted network
+ aap_sec_untrusted_ip_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
+ ip_v6_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: IPv6 address associated with subinterfaces
+ counter:
+ hidden: false
+ immutable: false
+ type: float
+ description: Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances.
+ subinterfaces_name_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource
+ ip_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: IPv4 address associated with subinterfaces
+ aap_address_mode:
+ hidden: false
+ immutable: false
+ type: string
+ description: Address mode for the vDBE cluster IP
+ aap_untrusted_v6_ip_prefix:
+ hidden: false
+ immutable: false
+ type: string
+ description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
+ parent_interface:
+ hidden: false
+ immutable: false
+ type: string
+ description: Parent Contrail interface
+ vn_network_list:
+ hidden: false
+ immutable: false
+ type: string
+ description: List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list
+ optional_property_1:
+ hidden: false
+ immutable: false
+ type: string
+ description: Optional property
+ optional_property_2:
+ hidden: false
+ immutable: false
+ type: string
+ description: Optional property
+ mac_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: HW MAC address to use for subinterface
+ vlan_tag_list:
+ hidden: false
+ immutable: false
+ type: list
+ description: List of VLAN IDs to use for subinterfaces
+ entry_schema:
+ type: string
+ aap_sec_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
+ vmac_address:
+ hidden: false
+ immutable: false
+ type: string
+ description: virtual MAC address to use for subinterface
+ aap_untrusted_v6_ip_prefix_len:
+ hidden: false
+ immutable: false
+ type: string
+ description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
+ aap_untrusted_ip_prefix_len:
+ hidden: false
+ immutable: false
+ type: string
+ description: ip prefix length for the primary vDBE VM on the VAN untrusted network
+ node_templates:
+ vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ properties:
+ virtual_machine_interface_refs:
+ - get_input: parent_interface
+ name:
+ str_replace:
+ template: $NAME_$INDEX
+ params:
+ $NAME:
+ get_input: subinterfaces_name_prefix
+ $INDEX:
+ get_input:
+ - vlan_tag_list
+ - get_input: counter
+ virtual_network_refs:
+ - get_input: vn_network_list
+ virtual_machine_interface_properties:
+ sub_interface_vlan_tag:
+ get_input:
+ - vlan_tag_list
+ - get_input: counter
+ virtual_machine_interface_allowed_address_pairs:
+ allowed_address_pair:
+ - address_mode:
+ get_input: aap_address_mode
+ ip:
+ ip_prefix:
+ get_input: aap_untrusted_ip_prefix
+ ip_prefix_len:
+ get_input: aap_untrusted_ip_prefix_len
+ mac:
+ get_input: vmac_address
+ - address_mode:
+ get_input: aap_address_mode
+ ip:
+ ip_prefix:
+ get_input: aap_sec_untrusted_ip_prefix
+ ip_prefix_len:
+ get_input: aap_sec_untrusted_ip_prefix_len
+ mac:
+ get_input: mac_address
+ - address_mode:
+ get_input: aap_address_mode
+ ip:
+ ip_prefix:
+ get_input: aap_untrusted_v6_ip_prefix
+ ip_prefix_len:
+ get_input: aap_untrusted_v6_ip_prefix_len
+ mac:
+ get_input: vmac_address
+ virtual_machine_interface_mac_addresses:
+ mac_address:
+ - get_input: mac_address
+ groups:
+ nested_group:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/nested.yml
+ description: cmaui server template for vMMSC
+ members:
+ - vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ substitution_mappings:
+ node_type: org.openecomp.resource.abstract.nodes.heat.subinterface.nested
+ capabilities:
+ feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ - vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ - feature
+ requirements:
+ link_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ - vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ - link
+ binding_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ - vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ - binding
+ dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
+ - vdbe_untr_x_vlan1-Network-Role_vmi_subport
+ - dependency \ No newline at end of file