Fix naming conflict in vLB/vDNS Heat template 75/19375/1
authorMarco Platania <platania@research.att.com>
Tue, 17 Oct 2017 21:15:43 +0000 (17:15 -0400)
committerMarco Platania <platania@research.att.com>
Tue, 17 Oct 2017 21:15:43 +0000 (17:15 -0400)
- Rename DNS2 VM and ports

Change-Id: Ic19865785c73c777f68ea177493eec9363c95ae0
Issue-ID: SDC-448
Signed-off-by: Marco Platania <platania@research.att.com>
heat/vLB/dnsscaling.yaml

index 2071827..60f8bac 100644 (file)
@@ -147,19 +147,19 @@ resources:
       public_key: { get_param: pub_key }
       save_private_key: false
 
-  vdns_private_0_port:
+  vdns_2_private_0_port:
     type: OS::Neutron::Port
     properties:
       network: { get_param: vlb_private_net_id }
       fixed_ips: [{"subnet": { get_param: vlb_private_net_id }, "ip_address": { get_param: vdns_private_ip_0 }}]
 
-  vdns_private_1_port:
+  vdns_2_private_1_port:
     type: OS::Neutron::Port
     properties:
       network: { get_param: onap_private_net_id }
       fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vdns_private_ip_1 }}]
 
-  vdns_0:
+  vdns_2:
     type: OS::Nova::Server
     properties:
       image: { get_param: vlb_image_name }
@@ -168,8 +168,8 @@ resources:
       key_name: { get_resource: my_keypair }
       networks:
         - network: { get_param: public_net_id }
-        - port: { get_resource: vdns_private_0_port }
-        - port: { get_resource: vdns_private_1_port }
+        - port: { get_resource: vdns_2_private_0_port }
+        - port: { get_resource: vdns_2_private_1_port }
       metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}
       user_data_format: RAW
       user_data: