aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/MANIFEST.json33
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/main.yml41
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/nested-no-compute.yml67
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/nested-pattern-4.yml66
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/nested1.yml197
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/nested2.yml197
6 files changed, 601 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/MANIFEST.json
new file mode 100644
index 0000000000..d149b6d9bb
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/MANIFEST.json
@@ -0,0 +1,33 @@
+{
+ "name": "Nested test",
+ "description": "HOT template to create nested one level multiple compute",
+ "version": "2013-05-23",
+ "data": [
+ {
+ "file": "main.yml",
+ "type": "HEAT",
+ "isBase": "true"
+ },
+ {
+ "file": "nested1.yml",
+ "type": "HEAT",
+ "isBase": "false"
+ },
+ {
+ "file": "nested2.yml",
+ "type": "HEAT",
+ "isBase": "false"
+ },
+ {
+ "file": "nested-no-compute.yml",
+ "type": "HEAT",
+ "isBase": "false"
+ },
+ {
+ "file": "nested-pattern-4.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/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/main.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/main.yml
new file mode 100644
index 0000000000..8ed2026356
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/main.yml
@@ -0,0 +1,41 @@
+heat_template_version: 2013-05-23
+
+description: >
+ Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
+
+parameters:
+ jsa_name:
+ type: string
+ description: network name of jsa log network
+
+resources:
+ test_nested_all_patterns:
+ type: nested1.yml
+ properties:
+ p1: {get_attr: [test_nested_pattern_4, pattern4_attr_1]}
+ p2: {get_attr: [test_nested_no_compute, no_compute_attr_1]}
+
+ test_nested_pattern_4:
+ type: nested-pattern-4.yml
+ depends_on:
+ - test_nested_all_patterns
+ properties:
+ p2: {get_attr: [test_nested_no_compute, no_compute_attr_1]}
+
+ test_nested_no_compute:
+ type: nested-no-compute.yml
+ depends_on:
+ - test_nested_all_patterns
+ - test_nested_pattern_4
+ properties:
+ p1: {get_attr: [test_nested_pattern_4, pattern4_attr_1]}
+
+ dependsOn_network:
+ type: OS::Neutron::Net
+ depends_on:
+ - test_nested_all_patterns
+ - test_nested_no_compute
+ - test_nested_pattern_4
+ properties:
+ name:
+ get_param: jsa_name \ 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/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/nested-no-compute.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/nested-no-compute.yml
new file mode 100644
index 0000000000..5e0627f053
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/nested-no-compute.yml
@@ -0,0 +1,67 @@
+heat_template_version: 2013-05-23
+
+description: nested1
+
+parameters:
+ p1:
+ type: string
+ description: UID of OAM network
+ p2:
+ type: string
+ description: UID of OAM network
+ security_group_name:
+ type: comma_delimited_list
+ description: CMAUI1, CMAUI2 server names
+ cmaui_names:
+ type: comma_delimited_list
+ description: CMAUI1, CMAUI2 server names
+ cmaui_image:
+ type: string
+ description: Image for CMAUI server
+ availability_zone_0:
+ type: string
+ label: availabilityzone name
+ description: availabilityzone name
+ cmaui_flavor:
+ type: string
+ description: Flavor for CMAUI server
+ cmaui_oam_ips:
+ type: string
+ packet_internal_network_name:
+ type: string
+ packet_external_network_name:
+ type: string
+ net:
+ type: string
+
+resources:
+ cmaui_port_1:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_resource: packet_internal_network}
+ fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
+ replacement_policy: AUTO
+
+ cmaui_port_2:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_resource: packet_external_network}
+ fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
+ replacement_policy: AUTO
+
+ packet_internal_network:
+ type: OS::Neutron::Net
+ properties:
+ name:
+ get_param: packet_internal_network_name
+
+ packet_external_network:
+ type: OS::Neutron::Net
+ properties:
+ name:
+ get_param: packet_external_network_name
+
+outputs:
+ no_compute_attr_1:
+ description: no_compute_attr_1
+ value: { get_resource: packet_external_network } \ 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/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/nested-pattern-4.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/nested-pattern-4.yml
new file mode 100644
index 0000000000..bbaa6a2636
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/nested-pattern-4.yml
@@ -0,0 +1,66 @@
+heat_template_version: 2013-05-23
+
+description: nested1
+
+parameters:
+ p1:
+ type: string
+ description: UID of OAM network
+ p2:
+ type: string
+ description: UID of OAM network
+ security_group_name:
+ type: comma_delimited_list
+ description: CMAUI1, CMAUI2 server names
+ pd_server_names:
+ type: comma_delimited_list
+ description: PD server names
+ availability_zone_0:
+ type: string
+ label: availabilityzone name
+ description: availabilityzone name
+ pd_server_flavor:
+ type: string
+ description: Flavor for PD server
+ pd_server_image:
+ type: string
+ description: Flavor for PD server
+ ps_server_flavor:
+ type: string
+ description: Flavor for PS server
+ pd_server_ips:
+ type: string
+ net:
+ type: string
+resources:
+
+ pd_server_port_1:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: net }
+ fixed_ips: [{"ip_address": {get_param: [pd_server_ips, 0]}}]
+ replacement_policy: AUTO
+
+ pd_server_port_2:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: net }
+ fixed_ips: [{"ip_address": {get_param: [pd_server_ips, 1]}}]
+ replacement_policy: AUTO
+
+ server_pd:
+ type: OS::Nova::Server
+ properties:
+ name: { get_param: [pd_server_names, 0]}
+ image: { get_param: pd_server_image }
+ availability_zone: { get_param: availability_zone_0 }
+ flavor: { get_param: pd_server_flavor }
+ networks:
+ - port: { get_resource: pd_server_port_1 }
+ - port: { get_resource: pd_server_port_2 }
+
+outputs:
+ pattern4_attr_1:
+ description: pattern4_attr_1_value
+ value: { get_resource: server_pd }
+
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/nested1.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/nested1.yml
new file mode 100644
index 0000000000..5907ec3648
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/nested1.yml
@@ -0,0 +1,197 @@
+heat_template_version: 2013-05-23
+
+description: nested1
+
+parameters:
+ p1:
+ type: string
+ description: UID of OAM network
+ p2:
+ type: string
+ description: UID of OAM network
+ security_group_name:
+ type: comma_delimited_list
+ description: CMAUI1, CMAUI2 server names
+ cmaui_1c1_names:
+ type: comma_delimited_list
+ description: CMAUI1, CMAUI2 server names
+ cmaui_1c1_image:
+ type: string
+ description: Image for CMAUI server
+ availability_zone_0:
+ type: string
+ label: availabilityzone name
+ description: availabilityzone name
+ cmaui_1c1_flavor:
+ type: string
+ description: Flavor for CMAUI server
+ oam_server_1c2_names:
+ type: comma_delimited_list
+ description: CMAUI1, CMAUI2 server names
+ oam_server_1c2_image:
+ type: string
+ description: Image for CMAUI server
+ oam_server_1c2_flavor:
+ type: string
+ description: Flavor for CMAUI server
+ cmaui_oam_ips:
+ type: string
+ packet_internal_network_name:
+ type: string
+ packet_external_network_name:
+ type: string
+ net:
+ type: string
+ pd_server_1b_names:
+ type: comma_delimited_list
+ description: PD server names
+ pd_server_1b_image:
+ type: string
+ description: PD Image server
+ ps_server_1b_names:
+ type: comma_delimited_list
+ description: Ps server names
+ ps_server_1b_image:
+ type: string
+ description: Ps Image server
+ pd_server_1b_flavor:
+ type: string
+ description: Flavor for PD server
+ ps_server_1b_flavor:
+ type: string
+ description: Flavor for PS server
+ pd_server_1b_ips:
+ type: string
+ ps_server_1b_ips:
+ type: string
+
+resources:
+ pd_server_1b_port:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: net }
+ fixed_ips: [{"ip_address": {get_param: [pd_server_1b_ips, 0]}}]
+ replacement_policy: AUTO
+
+ ps_server_1b_port:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: net }
+ fixed_ips: [{"ip_address": {get_param: [ps_server_1b_ips, 0]}}]
+ replacement_policy: AUTO
+
+ server_1b_pd_1:
+ type: OS::Nova::Server
+ properties:
+ name: { get_param: [pd_server_1b_names, 0]}
+ image: { get_param: pd_server_1b_image }
+ availability_zone: { get_param: availability_zone_0 }
+ flavor: { get_param: pd_server_1b_flavor }
+ networks:
+ - port: { get_resource: pd_server_1b_port }
+
+ server_1b_pd_2:
+ type: OS::Nova::Server
+ properties:
+ name: { get_param: [pd_server_1b_names, 1]}
+ image: { get_param: pd_server_1b_image }
+ availability_zone: { get_param: availability_zone_0 }
+ flavor: { get_param: pd_server_1b_flavor }
+ networks:
+ - port: { get_resource: ps_server_1b_port }
+
+ cmaui_port_1:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_resource: packet_internal_network}
+ fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
+ replacement_policy: AUTO
+
+ cmaui_port_2:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_resource: packet_internal_network}
+ fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
+ replacement_policy: AUTO
+
+ server_1c1_cmaui_1:
+ type: OS::Nova::Server
+ properties:
+ name: { get_param: [cmaui_1c1_names, 0]}
+ image: { get_param: cmaui_1c1_image }
+ availability_zone: { get_param: availability_zone_0 }
+ flavor: { get_param: cmaui_1c1_flavor }
+ networks:
+ - port: { get_resource: cmaui_port_1 }
+
+ server_1c1_cmaui_2:
+ type: OS::Nova::Server
+ properties:
+ name: { get_param: [cmaui_1c1_names, 1]}
+ image: { get_param: cmaui_1c1_image }
+ availability_zone: { get_param: availability_zone_0 }
+ flavor: { get_param: cmaui_1c1_flavor }
+ networks:
+ - port: { get_resource: cmaui_port_2 }
+
+ oam_port_1:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_resource: packet_internal_network}
+ fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 1]}}]
+ replacement_policy: AUTO
+
+ oam_port_2:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_resource: packet_external_network}
+ fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 1]}}]
+ replacement_policy: AUTO
+
+ server_1c2_oam_1:
+ type: OS::Nova::Server
+ properties:
+ name: { get_param: [oam_server_1c2_names, 0]}
+ image: { get_param: oam_server_1c2_image }
+ availability_zone: { get_param: availability_zone_0 }
+ flavor: { get_param: oam_server_1c2_flavor }
+ networks:
+ - port: { get_resource: oam_port_1 }
+
+ server_1c2_oam_2:
+ type: OS::Nova::Server
+ properties:
+ name: { get_param: [oam_server_1c2_names, 1]}
+ image: { get_param: oam_server_1c2_image }
+ availability_zone: { get_param: availability_zone_0 }
+ flavor: { get_param: oam_server_1c2_flavor }
+ networks:
+ - port: { get_resource: oam_port_2 }
+ metadata: {
+ connectivity_to_pd_server_1b: {get_attr: [server_1b_pd_1, accessIPv4]},
+ connectivity_to_server_1c1_cmaui_1: {get_attr: [server_1c1_cmaui_1, accessIPv4]},
+ connectivity_to_server_1c1_cmaui_2: {get_attr: [server_1c1_cmaui_2, accessIPv4]},
+ connectivity_to_pattern_4: {get_attr: [nested1_pattern_4, pattern4_attr_1]}
+ }
+
+ nested1_pattern_4:
+ type: nested-pattern-4.yml
+ properties:
+ p2: {get_param: p2}
+
+ packet_internal_network:
+ type: OS::Neutron::Net
+ properties:
+ name:
+ get_param: packet_internal_network_name
+
+ packet_external_network:
+ type: OS::Neutron::Net
+ properties:
+ name:
+ get_param: packet_external_network_name
+
+outputs:
+ all_pattern_attr_1:
+ description: all_pattern_attr_1
+ value: { get_attr: [server_1c2_oam_2, accessIPv4] } \ 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/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/nested2.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/nested2.yml
new file mode 100644
index 0000000000..3a5d110bd0
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/in/nested2.yml
@@ -0,0 +1,197 @@
+heat_template_version: 2013-05-23
+
+description: nested1
+
+parameters:
+ p1:
+ type: string
+ description: UID of osm network
+ p2:
+ type: string
+ description: UID of osm network
+ security_group_name:
+ type: comma_delimited_list
+ description: BE1, BE2 server names
+ BE_1c1_names:
+ type: comma_delimited_list
+ description: BE1, BE2 server names
+ BE_1c1_image:
+ type: string
+ description: Image for BE server
+ availability_zone_0:
+ type: string
+ label: availabilityzone name
+ description: availabilityzone name
+ BE_1c1_flavor:
+ type: string
+ description: Flavor for BE server
+ osm_server_1c2_names:
+ type: comma_delimited_list
+ description: BE1, BE2 server names
+ osm_server_1c2_image:
+ type: string
+ description: Image for BE server
+ osm_server_1c2_flavor:
+ type: string
+ description: Flavor for BE server
+ BE_osm_ips:
+ type: string
+ packet_internal_network_name:
+ type: string
+ packet_external_network_name:
+ type: string
+ net:
+ type: string
+ rd_server_1b_names:
+ type: comma_delimited_list
+ description: PD server names
+ rd_server_1b_image:
+ type: string
+ description: PD Image server
+ ps_server_1b_names:
+ type: comma_delimited_list
+ description: Ps server names
+ ps_server_1b_image:
+ type: string
+ description: Ps Image server
+ rd_server_1b_flavor:
+ type: string
+ description: Flavor for PD server
+ ps_server_1b_flavor:
+ type: string
+ description: Flavor for PS server
+ rd_server_1b_ips:
+ type: string
+ ps_server_1b_ips:
+ type: string
+
+resources:
+ rd_server_1b_port:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: net }
+ fixed_ips: [{"ip_address": {get_param: [rd_server_1b_ips, 0]}}]
+ replacement_policy: AUTO
+
+ ps_server_1b_port:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: net }
+ fixed_ips: [{"ip_address": {get_param: [ps_server_1b_ips, 0]}}]
+ replacement_policy: AUTO
+
+ server_1b_rd_1:
+ type: OS::Nova::Server
+ properties:
+ name: { get_param: [rd_server_1b_names, 0]}
+ image: { get_param: rd_server_1b_image }
+ availability_zone: { get_param: availability_zone_0 }
+ flavor: { get_param: rd_server_1b_flavor }
+ networks:
+ - port: { get_resource: rd_server_1b_port }
+
+ server_1b_rd_2:
+ type: OS::Nova::Server
+ properties:
+ name: { get_param: [rd_server_1b_names, 1]}
+ image: { get_param: rd_server_1b_image }
+ availability_zone: { get_param: availability_zone_0 }
+ flavor: { get_param: rd_server_1b_flavor }
+ networks:
+ - port: { get_resource: ps_server_1b_port }
+
+ BE_port_1:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_resource: packet_internal_network}
+ fixed_ips: [{"ip_address": {get_param: [BE_osm_ips, 0]}}]
+ replacement_policy: AUTO
+
+ BE_port_2:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_resource: packet_internal_network}
+ fixed_ips: [{"ip_address": {get_param: [BE_osm_ips, 0]}}]
+ replacement_policy: AUTO
+
+ server_1c1_BE_1:
+ type: OS::Nova::Server
+ properties:
+ name: { get_param: [BE_1c1_names, 0]}
+ image: { get_param: BE_1c1_image }
+ availability_zone: { get_param: availability_zone_0 }
+ flavor: { get_param: BE_1c1_flavor }
+ networks:
+ - port: { get_resource: BE_port_1 }
+
+ server_1c1_BE_2:
+ type: OS::Nova::Server
+ properties:
+ name: { get_param: [BE_1c1_names, 1]}
+ image: { get_param: BE_1c1_image }
+ availability_zone: { get_param: availability_zone_0 }
+ flavor: { get_param: BE_1c1_flavor }
+ networks:
+ - port: { get_resource: BE_port_2 }
+
+ osm_port_1:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_resource: packet_internal_network}
+ fixed_ips: [{"ip_address": {get_param: [BE_osm_ips, 1]}}]
+ replacement_policy: AUTO
+
+ osm_port_2:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_resource: packet_external_network}
+ fixed_ips: [{"ip_address": {get_param: [BE_osm_ips, 1]}}]
+ replacement_policy: AUTO
+
+ server_1c2_osm_1:
+ type: OS::Nova::Server
+ properties:
+ name: { get_param: [osm_server_1c2_names, 0]}
+ image: { get_param: osm_server_1c2_image }
+ availability_zone: { get_param: availability_zone_0 }
+ flavor: { get_param: osm_server_1c2_flavor }
+ networks:
+ - port: { get_resource: osm_port_1 }
+
+ server_1c2_osm_2:
+ type: OS::Nova::Server
+ properties:
+ name: { get_param: [osm_server_1c2_names, 1]}
+ image: { get_param: osm_server_1c2_image }
+ availability_zone: { get_param: availability_zone_0 }
+ flavor: { get_param: osm_server_1c2_flavor }
+ networks:
+ - port: { get_resource: osm_port_2 }
+ metadata: {
+ connectivity_to_rd_server_1b: {get_attr: [server_1b_rd_1, accessIPv4]},
+ connectivity_to_server_1c1_BE_1: {get_attr: [server_1c1_BE_1, accessIPv4]},
+ connectivity_to_server_1c1_BE_2: {get_attr: [server_1c1_BE_2, accessIPv4]},
+ connectivity_to_pattern_4: {get_attr: [nested2_pattern_4, pattern4_attr_1]}
+ }
+
+ nested2_pattern_4:
+ type: nested-pattern-4.yml
+ properties:
+ p2: {get_param: p2}
+
+ packet_internal_network:
+ type: OS::Neutron::Net
+ properties:
+ name:
+ get_param: packet_internal_network_name
+
+ packet_external_network:
+ type: OS::Neutron::Net
+ properties:
+ name:
+ get_param: packet_external_network_name
+
+outputs:
+ all_pattern_attr_1:
+ description: all_pattern_attr_1
+ value: { get_attr: [server_1c2_osm_2, accessIPv4] } \ No newline at end of file