1 heat_template_version: 2013-05-23
3 description: Heat template to deploy vLoadBalancer/vDNS demo app for OpenECOMP
8 label: Image name or ID
9 description: Image to be used for compute instance
13 description: Type of instance (flavor) to be used
16 label: Public network name or ID
17 description: Public network that enables remote connection to VNF
20 label: vLoadBalancer private network name or ID
21 description: Private network that connects vLoadBalancer with vDNSs
24 label: ECOMP management network name or ID
25 description: Private network that connects ECOMP component and the VNF
28 label: vLoadBalancer private network CIDR
29 description: The CIDR of the vLoadBalancer private network
30 ecomp_private_net_cidr:
32 label: ECOMP private network CIDR
33 description: The CIDR of the protected private network
36 label: vLoadBalancer private IP address towards the private network
37 description: Private IP address that is assigned to the vLoadBalancer to communicate with the vDNSs
40 label: vLoadBalancer private IP address towards the ECOMP management network
41 description: Private IP address that is assigned to the vLoadBalancer to communicate with ECOMP components
44 label: vDNS private IP address towards the private network
45 description: Private IP address that is assigned to the vDNS to communicate with the vLoadBalancer
48 label: vDNS private IP address towards the ECOMP management network
49 description: Private IP address that is assigned to the vDNS to communicate with ECOMP components
52 label: vLoadBalancer name
53 description: Name of the vLoadBalancer
57 description: Name of the vDNS
61 description: The VNF ID is provided by ECOMP
64 label: vFirewall module ID
65 description: The vLoadBalancer Module ID is provided by ECOMP
68 label: Webserver IP address
69 description: IP address of the webserver that hosts the source code and binaries
72 label: DCAE collector IP address
73 description: IP address of the DCAE collector
77 description: Public/Private key pair name
81 description: Public key to be installed on the compute instance
85 type: OS::Nova::KeyPair
87 name: { get_param: key_name }
88 public_key: { get_param: pub_key }
89 save_private_key: false
92 type: OS::Neutron::Net
94 name: { get_param: vlb_private_net_id }
97 type: OS::Neutron::Subnet
99 network_id: { get_resource: vlb_private_network }
100 cidr: { get_param: vlb_private_net_cidr }
103 type: OS::Nova::Server
105 image: { get_param: vlb_image_name }
106 flavor: { get_param: vlb_flavor_name }
107 name: { get_param: vlb_name_0 }
108 key_name: { get_resource: my_keypair }
110 - network: { get_param: public_net_id }
111 - port: { get_resource: vlb_private_0_port }
112 - port: { get_resource: vlb_private_1_port }
113 metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}
114 user_data_format: RAW
118 __webserver__: { get_param: webserver_ip }
119 __dcae_collector_ip__ : { get_param: dcae_collector_ip }
123 WEBSERVER_IP=__webserver__
124 DCAE_COLLECTOR_IP=__dcae_collector_ip__
128 wget http://$WEBSERVER_IP/demo_repo/v_lb_init.sh
129 chmod +x v_lb_init.sh
130 echo $WEBSERVER_IP > config/webserver_ip.txt
131 echo $DCAE_COLLECTOR_IP > config/dcae_collector_ip.txt
135 type: OS::Neutron::Port
137 network: { get_resource: vlb_private_network }
138 fixed_ips: [{"subnet": { get_resource: vlb_private_subnet }, "ip_address": { get_param: vlb_private_ip_0 }}]
141 type: OS::Neutron::Port
143 network: { get_param: ecomp_private_net_id }
144 fixed_ips: [{"subnet": { get_param: ecomp_private_net_id }, "ip_address": { get_param: vlb_private_ip_1 }}]
147 type: OS::Nova::Server
149 image: { get_param: vlb_image_name }
150 flavor: { get_param: vlb_flavor_name }
151 name: { get_param: vdsn_name_0 }
152 key_name: { get_resource: my_keypair }
154 - network: { get_param: public_net_id }
155 - port: { get_resource: vdns_private_0_port }
156 - port: { get_resource: vdns_private_1_port }
157 metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}
158 user_data_format: RAW
162 __webserver__: { get_param: webserver_ip }
163 __fw_ipaddr__: { get_param: vlb_private_ip_0 }
167 WEBSERVER_IP=__webserver__
168 LB_IPADDR=__lb_ipaddr__
172 wget http://$WEBSERVER_IP/demo_repo/v_dns_init.sh
173 chmod +x v_dns_init.sh
174 echo $WEBSERVER_IP > config/webserver_ip.txt
175 echo $LB_IPADDR > config/lb_ipaddr.txt
179 type: OS::Neutron::Port
181 network: { get_resource: vlb_private_network }
182 fixed_ips: [{"subnet": { get_resource: vlb_private_subnet }, "ip_address": { get_param: vdns_private_ip_0 }}]
185 type: OS::Neutron::Port
187 network: { get_param: ecomp_private_net_id }
188 fixed_ips: [{"subnet": { get_param: ecomp_private_net_id }, "ip_address": { get_param: vdns_private_ip_1 }}]