diff options
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/nested-pattern-4.yml')
1 files changed, 66 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/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 } + |