Arthur Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 1 | heat_template_version: 2013-05-23 |
| 2 | |
| 3 | description: heat template that creates multiple PCRF OAM nodes stack |
| 4 | |
| 5 | parameters: |
| 6 | pcrf_oam_server_names: |
| 7 | type: comma_delimited_list |
| 8 | label: PCRF OAM server names |
| 9 | description: name of the PCRF OAM instance |
| 10 | pcrf_oam_image_name: |
| 11 | type: string |
| 12 | label: PCRF OAM image name |
| 13 | description: PCRF OAM image name |
| 14 | pcrf_oam_flavor_name: |
| 15 | type: string |
| 16 | label: PCRF OAM flavor name |
| 17 | description: flavor name of PCRF OAM instance |
| 18 | availabilityzone_name: |
| 19 | type: string |
| 20 | label: availabilityzone name |
| 21 | description: availabilityzone name |
| 22 | pcrf_cps_net_name: |
| 23 | type: string |
| 24 | label: CPS network name |
| 25 | description: CPS network name |
| 26 | pcrf_cps_net_ips: |
| 27 | type: comma_delimited_list |
| 28 | label: CPS network ips |
| 29 | description: CPS network ips |
| 30 | pcrf_cps_net_mask: |
| 31 | type: string |
| 32 | label: CPS network mask |
| 33 | description: CPS network mask |
| 34 | pcrf_arbiter_vip: |
| 35 | type: string |
| 36 | label: OAM Arbiter LB VIP |
| 37 | description: OAM Arbiter LB VIP |
| 38 | pcrf_oam_net_name: |
| 39 | type: string |
| 40 | label: OAM network name |
| 41 | description: OAM network name |
| 42 | pcrf_oam_net_ips: |
| 43 | type: comma_delimited_list |
| 44 | label: OAM network ips |
| 45 | description: OAM network ips |
| 46 | pcrf_oam_net_gw: |
| 47 | type: string |
| 48 | label: CPS network gateway |
| 49 | description: CPS network gateway |
| 50 | pcrf_oam_net_mask: |
| 51 | type: string |
| 52 | label: CPS network mask |
| 53 | description: CPS network mask |
| 54 | pcrf_oam_volume_id_1: |
| 55 | type: string |
| 56 | label: CPS OAM 001 Cinder Volume |
| 57 | description: CPS OAM 001 Cinder Volumes |
| 58 | pcrf_oam_volume_id_2: |
| 59 | type: string |
| 60 | label: CPS OAM 002 Cinder Volume |
| 61 | description: CPS OAM 002 Cinder Volumes |
| 62 | pcrf_security_group_name: |
| 63 | type: string |
| 64 | label: security group name |
| 65 | description: the name of security group |
| 66 | pcrf_vnf_id: |
| 67 | type: string |
| 68 | label: PCRF VNF Id |
| 69 | description: PCRF VNF Id |
| 70 | |
| 71 | resources: |
| 72 | server_pcrf_oam_001: |
| 73 | type: nested-oam_v1.0.yaml |
| 74 | properties: |
| 75 | pcrf_oam_server_name: { get_param: [pcrf_oam_server_names, 0] } |
| 76 | pcrf_oam_image_name: { get_param: pcrf_oam_image_name } |
| 77 | pcrf_oam_flavor_name: { get_param: pcrf_oam_flavor_name } |
| 78 | availabilityzone_name: { get_param: availabilityzone_name } |
| 79 | pcrf_security_group_name: { get_param: pcrf_security_group_name } |
| 80 | pcrf_oam_volume_id: { get_param: pcrf_oam_volume_id_1 } |
| 81 | pcrf_cps_net_name: { get_param: pcrf_cps_net_name } |
| 82 | pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } |
| 83 | pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } |
| 84 | pcrf_oam_net_name: { get_param: pcrf_oam_net_name } |
| 85 | pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 0] } |
| 86 | pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } |
| 87 | pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } |
| 88 | pcrf_arbiter_vip: { get_param: pcrf_arbiter_vip } |
| 89 | pcrf_vnf_id: {get_param: pcrf_vnf_id} |
| 90 | |
| 91 | server_pcrf_oam_002: |
| 92 | type: nested-oam_v1.0.yaml |
| 93 | depends_on: [server_pcrf_oam_001] |
| 94 | properties: |
| 95 | pcrf_oam_server_name: { get_param: [pcrf_oam_server_names, 1] } |
| 96 | pcrf_oam_image_name: { get_param: pcrf_oam_image_name } |
| 97 | pcrf_oam_flavor_name: { get_param: pcrf_oam_flavor_name } |
| 98 | availabilityzone_name: { get_param: availabilityzone_name } |
| 99 | pcrf_security_group_name: { get_param: pcrf_security_group_name } |
| 100 | pcrf_oam_volume_id: { get_param: pcrf_oam_volume_id_2 } |
| 101 | pcrf_cps_net_name: { get_param: pcrf_cps_net_name } |
| 102 | pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } |
| 103 | pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } |
| 104 | pcrf_oam_net_name: { get_param: pcrf_oam_net_name } |
| 105 | pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 1] } |
| 106 | pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } |
| 107 | pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } |
| 108 | pcrf_arbiter_vip: { get_param: pcrf_arbiter_vip } |
| 109 | pcrf_vnf_id: {get_param: pcrf_vnf_id} |