[SDC] Onboarding 1710 rebase.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / nestedOtherScenarios / multiLevel / portSecurityGroupNetPattern1B / in / nested3.yml
1 heat_template_version: 2013-05-23
2
3 description: nested4
4
5 parameters:
6   p1:
7     type: string
8     description: UID of OAM network
9   p2:
10     type: string
11   net1:
12     type: string
13     description: Neutron network
14   net2:
15     type: string
16     description: Contrail V2 network
17   security_group_name:
18     type: comma_delimited_list
19     description: CMAUI1, CMAUI2 server names
20   cmaui_names:
21     type: comma_delimited_list
22     description: CMAUI1, CMAUI2 server names
23   cmaui_image:
24     type: string
25     description: Image for CMAUI server
26   availability_zone_0:
27     type: string
28     label: availabilityzone name
29     description: availabilityzone name
30   cmaui_flavor:
31     type: string
32     description: Flavor for CMAUI server
33   cmaui_oam_ips:
34       type: string
35   net:
36       type: string
37   indx:
38     type: number
39
40 resources:
41   cmaui_port_7:
42     type: OS::Neutron::Port
43     properties:
44       network: { get_param: net1 }
45       fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
46       security_groups: [{get_param: p1}]
47       replacement_policy: AUTO
48
49   cmaui_port_8:
50     type: OS::Neutron::Port
51     properties:
52       network: { get_param: net2 }
53       fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
54       security_groups: [{get_param: p2},{get_param: p2}]
55       replacement_policy: AUTO
56
57   server_cmaui:
58     type: OS::Nova::Server
59     properties:
60       name: { get_param: [cmaui_names, 0]}
61       image: { get_param: cmaui_image }
62       availability_zone: { get_param: availability_zone_0 }
63       flavor: { get_param: cmaui_flavor }
64       networks:
65       - port: { get_resource: cmaui_port_7 }
66       - port: { get_resource: cmaui_port_8 }