1 heat_template_version: 2015-04-30
3 description: Base Module of Sample VNF
7 # ONAP Assigned Parameters
10 description: Unique ID for this VNF instance
14 description: Unique ID for this VNF instance
18 description: Unique ID for this VNF instance
22 description: Unique ID for this VNF module instance
26 description: Index of this VF Module
30 description: Unique name for this VNF instance
36 description: Primary Availability Zone
42 description: High Availability Network
46 description: Private network
48 int_private_subnet_id:
50 description: Private network subnet
52 # Server Inputs: Loadbalancer
54 type: comma_delimited_list
55 description: Load Balancer Names
59 description: Loadbalancer VM Image
63 description: Loadbalancer VM Flavor
67 description: Floating HA IP for LB
71 description: Floating HA IP for LB
73 # Server Inputs: Services
75 type: comma_delimited_list
76 description: Service VM Names
79 type: comma_delimited_list
80 description: Service VM Names
83 type: comma_delimited_list
84 description: Service VM Names
88 description: Service VM Image
92 description: Service VM Flavor
96 description: Number of instances of Service to create
102 type: OS::Nova::Server
104 image: { get_param: lb_image_name }
105 flavor: { get_param: lb_flavor_name }
106 name: { get_param: [lb_names, {get_param: vf_module_index}] }
108 vnf_id: { get_param: vnf_id }
109 vf_module_id: { get_param: vf_module_id }
110 vf_module_index: { get_param: vf_module_index }
111 vnf_name: { get_param: vnf_name }
112 workload_context: { get_param: workload_context }
113 environment_context: { get_param: environment_context }
115 - port: { get_resource: lb_1_int_private_port_0 }
116 - port: { get_resource: lb_1_ha_port_0 }
117 user_data: { get_file: user.data }
118 availability_zone: { get_param: availability_zone_0 }
121 type: OS::Neutron::Port
123 network: { get_param: ha_net_id }
124 allowed_address_pairs:
125 - ip_address: {get_param: lb_ha_floating_ip }
126 - ip_address: {get_param: lb_ha_floating_v6_ip }
128 lb_1_int_private_port_0:
129 type: OS::Neutron::Port
131 network: { get_param: int_private_net_id }
133 - subnet: { get_param: int_private_subnet_id }
135 svc_resource_group_1:
136 type: OS::Heat::ResourceGroup
138 count: { get_param: svc_count }
140 type: nested_svc.yaml
142 workload_context: {get_param: workload_context}
143 environment_context: {get_param: environment_context}
144 vnf_id: {get_param: vnf_id}
145 vf_module_id: {get_param: vf_module_id}
146 vnf_name: {get_param: vnf_name}
147 availability_zone_0: {get_param: availability_zone_0}
149 - {get_param: [svc_0_names, {get_param: vf_module_index}]}
150 - {get_param: [svc_1_names, {get_param: vf_module_index}]}
151 - {get_param: [svc_2_names, {get_param: vf_module_index}]}
152 svc_image_name: {get_param: svc_image_name}
153 svc_flavor_name: {get_param: svc_flavor_name}
154 int_private_net_id: {get_param: int_private_net_id}
155 int_private_subnet_id: {get_param: int_private_subnet_id}