summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/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/oneLevel/nestedAllNonNestedPatterns/in')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/in/MANIFEST.json17
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/in/main.yml16
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/in/nested1.yml181
3 files changed, 214 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/oneLevel/nestedAllNonNestedPatterns/in/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/in/MANIFEST.json
new file mode 100644
index 0000000000..cc7753397c
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/in/MANIFEST.json
@@ -0,0 +1,17 @@
+{
+ "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"
+ }
+ ]
+}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/in/main.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/in/main.yml
new file mode 100644
index 0000000000..dc749bd088
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/in/main.yml
@@ -0,0 +1,16 @@
+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_param: jsa_name}
+ p2: image
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/in/nested1.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/in/nested1.yml
new file mode 100644
index 0000000000..065355486c
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/in/nested1.yml
@@ -0,0 +1,181 @@
+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:
+ 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_ps:
+ type: OS::Nova::Server
+ properties:
+ name: { get_param: [ps_server_1b_names, 1]}
+ image: { get_param: ps_server_1b_image }
+ availability_zone: { get_param: availability_zone_0 }
+ flavor: { get_param: ps_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 }
+
+ 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 \ No newline at end of file