1 heat_template_version: 2015-10-15
2 description: ONAP on Kubernetes using OOM
16 description: The ID of the Public network for floating IP address allocation
20 description: The name of the Public network referred by public_net_id
24 description: CIDR of the OAM ONAP network
28 description: URL of OpenStack Keystone
32 description: OpenStack tenant ID
34 openstack_tenant_name:
36 description: OpenStack tenant name (matching with the openstack_tenant_id)
40 description: OpenStack username
44 description: OpenStack password or API Key
48 description: Name of the Ubuntu 14.04 image
52 description: Name of the Ubuntu 16.04 image
56 description: the id/name of the CentOS 7 VM imange
60 description: Name of the Ubuntu 14.04 image
64 description: Name of the Ubuntu 14.04 image
68 description: the forwarder address for setting up ONAP's private DNS server
72 description: Public IP of the external DNS for ONAP network
76 description: whether to enable DNSaaS proxy via multicloud
80 description: the region of the cloud instance providing the Designate DNS as a Service
82 dnsaas_proxied_keystone_url_path:
84 description: the proxy keystone URL path for DCAE to use (via MultiCloud)
88 description: the keystone URL of the cloud instance providing the Designate DNS as a Service
92 description: the username of the cloud instance providing the Designate DNS as a Service
96 description: the password of the cloud instance providing the Designate DNS as a Service
100 description: the ID of the tenant in the cloud instance providing the Designate DNS as a Service
104 description: the name of the tenant in the cloud instance providing the Designate DNS as a Service
108 type: OS::Heat::RandomString
112 # ONAP security group
114 type: OS::Neutron::SecurityGroup
121 rand: { get_resource: random-str }
122 description: security group used by ONAP
134 port_range_max: 65535
137 port_range_max: 65535
140 # ONAP management private network
142 type: OS::Neutron::Net
146 template: oam_network_rand
148 rand: { get_resource: random-str }
151 type: OS::Neutron::Subnet
155 template: oam_network_rand
157 rand: { get_resource: random-str }
158 network_id: { get_resource: oam_network }
159 cidr: { get_param: oam_network_cidr }
160 dns_nameservers: [ get_param: dns_forwarder ]
163 type: OS::Neutron::Router
165 external_gateway_info:
166 network: { get_param: public_net_id }
169 type: OS::Neutron::RouterInterface
171 router_id: { get_resource: router }
172 subnet_id: { get_resource: oam_subnet }
174 rancher_private_port:
175 type: OS::Neutron::Port
177 network: { get_resource: oam_network }
178 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
180 - { get_resource: onap_sg }
183 type: OS::Neutron::FloatingIP
185 floating_network_id: { get_param: public_net_id }
186 port_id: { get_resource: rancher_private_port }
189 type: OS::Nova::Server
192 image: { get_param: ubuntu_1604_image }
193 flavor: { get_param: rancher_vm_flavor }
196 - port: { get_resource: rancher_private_port }
197 user_data_format: RAW
201 __docker_proxy__: { get_param: docker_proxy }
202 __apt_proxy__: { get_param: apt_proxy }
204 get_file: rancher_vm_entrypoint.sh
207 type: OS::Neutron::Port
209 network: { get_resource: oam_network }
210 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
212 - { get_resource: onap_sg }
215 type: OS::Neutron::FloatingIP
217 floating_network_id: { get_param: public_net_id }
218 port_id: { get_resource: k8s_private_port }
221 type: OS::Nova::Server
224 image: { get_param: ubuntu_1604_image }
225 flavor: { get_param: k8s_vm_flavor }
228 - port: { get_resource: k8s_private_port }
229 user_data_format: RAW
233 __lab_name__: { get_param: lab_name }
234 __docker_proxy__: { get_param: docker_proxy }
235 __apt_proxy__: { get_param: apt_proxy }
236 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
237 __k8s_ip_addr__: { get_attr: [k8s_floating_ip, floating_ip_address] }
238 __openstack_tenant_id__: { get_param: openstack_tenant_id }
239 __openstack_tenant_name__: { get_param: openstack_tenant_name }
240 __openstack_username__: { get_param: openstack_username }
241 __openstack_api_key__: { get_param : openstack_api_key }
242 __public_net_id__: { get_param: public_net_id }
243 __public_net_name__: { get_param: public_net_name }
244 __oam_network_id__: { get_resource: oam_network }
245 __oam_subnet_id__: { get_resource: oam_subnet }
246 __oam_network_cidr__: { get_param: oam_network_cidr }
247 __ubuntu_1404_image__: { get_param: ubuntu_1404_image }
248 __ubuntu_1604_image__: { get_param: ubuntu_1604_image }
249 __centos_7_image__: { get_param: centos_7_image }
250 __keystone_url__: { get_param: keystone_url }
251 __dns_forwarder__: { get_param: dns_forwarder }
252 __external_dns__: { get_param: external_dns }
253 __dnsaas_proxy_enable__: { get_param: dnsaas_proxy_enable }
254 __dnsaas_proxied_keystone_url_path__: { get_param: dnsaas_proxied_keystone_url_path }
255 __dnsaas_keystone_url__: { get_param: dnsaas_keystone_url }
256 __dnsaas_region__: { get_param: dnsaas_region }
257 __dnsaas_tenant_id__: { get_param: dnsaas_tenant_id }
258 __dnsaas_tenant_name__: { get_param: dnsaas_tenant_name }
259 __dnsaas_username__: { get_param: dnsaas_username }
260 __dnsaas_password__: { get_param: dnsaas_password }
262 get_file: k8s_vm_entrypoint.sh
266 description: The IP address of the rancher instance
267 value: { get_attr: [rancher_floating_ip, floating_ip_address] }
270 description: The IP address of the k8s instance
271 value: { get_attr: [k8s_floating_ip, floating_ip_address] }