1 heat_template_version: 2013-05-23
3 description: Heat template to deploy a vDNS for OpenECOMP (scaling-up scenario)
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 IP address towards the private network
29 description: Private IP address that is assigned to the vLoadBalancer to communicate with the vDNSs
32 label: vDNS private IP address towards the private network
33 description: Private IP address that is assigned to the vDNS to communicate with the vLoadBalancer
36 label: vDNS private IP address towards the ECOMP management network
37 description: Private IP address that is assigned to the vDNS to communicate with ECOMP components
41 description: Name of the vDNS
45 description: The VNF ID is provided by ECOMP
48 label: vFirewall module ID
49 description: The vLoadBalancer Module ID is provided by ECOMP
52 label: Webserver IP address
53 description: IP address of the webserver that hosts the source code and binaries
56 label: DCAE collector IP address
57 description: IP address of the DCAE collector
61 description: Public/Private key pair name
65 description: Public key to be installed on the compute instance
69 type: OS::Nova::KeyPair
71 name: { get_param: key_name }
72 public_key: { get_param: pub_key }
73 save_private_key: false
76 type: OS::Nova::Server
78 image: { get_param: vlb_image_name }
79 flavor: { get_param: vlb_flavor_name }
80 name: { get_param: vdsn_name_0 }
81 key_name: { get_resource: my_keypair }
83 - network: { get_param: public_net_id }
84 - port: { get_resource: vdns_private_0_port }
85 - port: { get_resource: vdns_private_1_port }
86 metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}
91 __webserver__: { get_param: webserver_ip }
92 __fw_ipaddr__: { get_param: vlb_private_ip_0 }
96 WEBSERVER_IP=__webserver__
97 LB_IPADDR=__lb_ipaddr__
101 wget http://$WEBSERVER_IP/demo_repo/v_dns_init.sh
102 chmod +x v_dns_init.sh
103 echo $WEBSERVER_IP > config/webserver_ip.txt
104 echo $LB_IPADDR > config/lb_ipaddr.txt
108 type: OS::Neutron::Port
110 network: { get_param: vlb_private_net_id }
111 fixed_ips: [{"subnet": { get_param: vlb_private_net_id }, "ip_address": { get_param: vdns_private_ip_0 }}]
114 type: OS::Neutron::Port
116 network: { get_param: ecomp_private_net_id }
117 fixed_ips: [{"subnet": { get_param: ecomp_private_net_id }, "ip_address": { get_param: vdns_private_ip_1 }}]