[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / nestedSingleCompute / nestedNodesConnectedIn / in / nested-oam_v0.1.yaml
1 heat_template_version: 2013-05-23
2
3 description: heat template that creates PCRF Cluman stack
4
5 parameters:
6   p2:
7     type: string
8     description: UID of OAM network
9   shared_security_group_id1:
10     type: string
11     description: UID of OAM network
12   oam_server_name:
13     type: string
14     label: oam server name
15     description: oam server name
16   oam_image_name:
17     type: string
18     label: image name
19     description: oam image name
20   oam_flavor_name:
21     type: string
22     label: PCRF CM flavor name
23     description: flavor name of PCRF CM instance
24   availabilityzone_name:
25     type: string
26     label: availabilityzone name
27     description: availabilityzone name
28   cps_net_name:
29     type: string
30     label: CPS network name
31     description: CPS network name
32   cps_net_ip:
33     type: string
34     label: CPS network ip
35     description: CPS network ip
36   cps_net_mask:
37     type: string
38     label: CPS network mask
39     description: CPS network mask
40   oam_net_name:
41     type: string
42     label: OAM network name
43     description: OAM network name
44   oam_net_ip:
45     type: string
46     label: OAM network ip
47     description: OAM network ip
48   oam_net_gw:
49     type: string
50     label: CPS network gateway
51     description: CPS network gateway
52   oam_net_mask:
53     type: string
54     label: CPS network mask
55     description: CPS network mask
56   pcm_vol:
57     type: string
58     label: CPS Cluman Cinder Volume
59     description: CPS Cluman Cinder Volume
60   security_group_name:
61     type: string
62     label: security group name
63     description: the name of security group
64
65 resources:
66   server_oam:
67     type: OS::Nova::Server
68     properties:
69       config_drive: "True"
70       name: { get_param: oam_server_name }
71       image: { get_param: oam_image_name }
72       flavor: { get_param: oam_flavor_name }
73       availability_zone: { get_param: availabilityzone_name }
74       networks:
75         - port: { get_resource: oam_port_0}
76         - port: { get_resource: oam_port_1}
77
78   oam_port_0:
79     type: OS::Neutron::Port
80     properties:
81       network: { get_param: cps_net_name }
82       fixed_ips:
83         - ip_address: { get_param: cps_net_ip }
84       security_groups: [{ get_param: shared_security_group_id1 }]
85
86   oam_port_1:
87     type: OS::Neutron::Port
88     properties:
89       network: { get_param: oam_net_name }
90       fixed_ips:
91         - ip_address: { get_param: oam_net_ip }
92       security_groups: [{ get_param: shared_security_group_id1 }, {get_param: security_group_name }]
93 outputs:
94   server_oam_id:
95     description: the oam nova service id
96     value: { get_resource: server_oam }