summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/dynamicPorts/dynamicPortsWithDependsOn/in/DPA3_New_VNF_TSBGv_nested_AVPN_subport.yaml
diff options
context:
space:
mode:
authortalio <tali.orenbach@amdocs.com>2017-11-05 11:34:51 +0200
committertalio <tali.orenbach@amdocs.com>2017-11-05 11:59:36 +0200
commit24fbb8c526272ef7c4455e0f3f1a6709f87476a3 (patch)
tree5fb2aa4c240037bd73023dcf59b9c072a8716219 /openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/dynamicPorts/dynamicPortsWithDependsOn/in/DPA3_New_VNF_TSBGv_nested_AVPN_subport.yaml
parent7d2eca54a057341a35dbe4be2ad732be7d137d80 (diff)
dynamic ports
ignore "depends_on" from / to nested entities, and adding tests Issue - Id : SDC-576 Change-Id: I2bdf8d97e727395420ff1516c97ff4c8af541749 Signed-off-by: talio <tali.orenbach@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/dynamicPorts/dynamicPortsWithDependsOn/in/DPA3_New_VNF_TSBGv_nested_AVPN_subport.yaml')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/dynamicPorts/dynamicPortsWithDependsOn/in/DPA3_New_VNF_TSBGv_nested_AVPN_subport.yaml38
1 files changed, 38 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/dynamicPorts/dynamicPortsWithDependsOn/in/DPA3_New_VNF_TSBGv_nested_AVPN_subport.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/dynamicPorts/dynamicPortsWithDependsOn/in/DPA3_New_VNF_TSBGv_nested_AVPN_subport.yaml
new file mode 100644
index 0000000000..f95d86beb7
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/dynamicPorts/dynamicPortsWithDependsOn/in/DPA3_New_VNF_TSBGv_nested_AVPN_subport.yaml
@@ -0,0 +1,38 @@
+heat_template_version: 2013-05-23
+
+description: >
+ Nested template for AVPN port creation
+
+parameters:
+ nested_sbg_AVPN_vlan_tag_list:
+ type: comma_delimited_list
+ description: the CDL representing the vlan ID list
+ nested_avpn_net_id:
+ type: comma_delimited_list
+ description: the CDL representing the networks to attach to the ports
+ nested_avpn_subnet_id:
+ type: comma_delimited_list
+ description: comma delimited list of the UUIDs of the operator created IPv4 AVPN subnets
+ nested_sbg_avpn_ip_0:
+ type: string
+ description: IPv4 IP address for AVPN networks. Same IP is used for all AVPNs
+ nested_sbg_AVPN_counter:
+ type: number
+ description: current array_index
+ nested_trunk_port_id:
+ type: string
+ description: string containint the trunk parrent port
+
+resources:
+ sub_port:
+ type: OS::Neutron::Port
+ properties:
+ replacement_policy: AUTO
+ network_id: { get_param: [nested_avpn_net_id, { get_param: nested_sbg_AVPN_counter}]}
+ fixed_ips:
+ - ip_address: { get_param: nested_sbg_avpn_ip_0}
+ subnet_id: {get_param: [nested_avpn_subnet_id, {get_param: nested_sbg_AVPN_counter}]}
+ value_specs:
+ trunkport:type: 'subport'
+ trunkport:vid: { get_param: [nested_sbg_AVPN_vlan_tag_list, { get_param: nested_sbg_AVPN_counter}]}
+ trunkport:parent_id: { get_param: nested_trunk_port_id}