Remove floating IPs from vLB demo 15/4315/1
authorMarco Platania <platania@research.att.com>
Thu, 18 May 2017 14:21:36 +0000 (10:21 -0400)
committerMarco Platania <platania@research.att.com>
Thu, 18 May 2017 14:21:36 +0000 (10:21 -0400)
Change-Id: I65603f889271b6e99f977e6700df3a1ed384456f
Signed-off-by: Marco Platania <platania@research.att.com>
heat/vLB/base_vlb_openstack.env
heat/vLB/base_vlb_openstack.yaml
heat/vLB/dnsscaling_openstack.yaml
heat/vLB/packet_gen_vlb_openstack.env
heat/vLB/packet_gen_vlb_openstack.yaml

index 87f77d7..afcfccf 100644 (file)
@@ -6,12 +6,9 @@ parameters:
   onap_private_net_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
   onap_private_subnet_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
   vlb_private_net_cidr: 192.168.10.0/24
-  vlb_private_net_id_for_floating: zdfw1lb01_private_for_floating
-  vlb_private_net_cidr_for_floating: 192.168.30.0/24
   onap_private_net_cidr: PUT THE ONAP NETWORK CIDR HERE
   vlb_private_ip_0: 192.168.10.111
   vlb_private_ip_1: ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VLB
-  vlb_private_ip_2_for_floating: ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VLB
   vdns_private_ip_0: 192.168.10.211
   vdns_private_ip_1: ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VDNS
   vlb_name_0: zdfw1lb01lb01
index 0db0368..3f09857 100644 (file)
@@ -49,10 +49,6 @@ parameters:
     type: string
     label: vLoadBalancer private network name or ID
     description: Private network that connects vLoadBalancer with vDNSs
-  vlb_private_net_id_for_floating:
-    type: string
-    label: vLoadBalancer private network name or ID
-    description: Private network that connects vLoadBalancer with the public OpenStack network using floating IP
   onap_private_net_id:
     type: string
     label: ECOMP management network name or ID
@@ -65,10 +61,6 @@ parameters:
     type: string
     label: vLoadBalancer private network CIDR
     description: The CIDR of the vLoadBalancer private network
-  vlb_private_net_cidr_for_floating:
-    type: string
-    label: vLoadBalancer private network CIDR
-    description: The CIDR of the vLoadBalancer private network that connects vLoadBalancer with the public OpenStack network using floating IP
   onap_private_net_cidr:
     type: string
     label: ONAP private network CIDR
@@ -81,10 +73,6 @@ parameters:
     type: string
     label: vLoadBalancer private IP address towards the ONAP management network
     description: Private IP address that is assigned to the vLoadBalancer to communicate with ONAP components
-  vlb_private_ip_2_for_floating:
-    type: string
-    label: vLoadBalancer private IP address towards the OpenStack public network via floating IP
-    description: vLoadBalancer private IP address towards the OpenStack public network via floating IP
   vdns_private_ip_0:
     type: string
     label: vDNS private IP address towards the private network
@@ -182,26 +170,6 @@ resources:
       name: { get_param: vlb_private_net_id }
       network_id: { get_resource: vlb_private_network }
       cidr: { get_param: vlb_private_net_cidr }
-      
-#  vlb_private_network_for_floating:
-#    type: OS::Neutron::Net
-#    properties:
-#      name: { get_param: vlb_private_net_id_for_floating }
-
-#  vlb_private_subnet_for_floating:
-#    type: OS::Neutron::Subnet
-#    properties:
-#      name: { get_param: vlb_private_net_id_for_floating }
-#      network_id: { get_resource: vlb_private_network_for_floating }
-#      network_id: { get_param: onap_private_net_id }
-#      cidr: { get_param: vlb_private_net_cidr_for_floating }
-      
-#  router_interface:
-#    type: OS::Neutron::RouterInterface
-#    properties:
-#      router_id: d6f7a5c3-8bae-4171-aebd-c53a8c85b2ee
-#      subnet_id: { get_resource: vlb_private_subnet_for_floating }
-#      subnet_id: { get_param: onap_private_subnet_id }
 
   vlb_private_0_port:
     type: OS::Neutron::Port
@@ -214,19 +182,6 @@ resources:
     properties:
       network: { get_param: onap_private_net_id }
       fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vlb_private_ip_1 }}]
-      
-#  vlb_private_2_port_for_floating:
-#    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: vlb_private_ip_2_for_floating }}]
-  
-#  vlb_floating_ip:
-#    type: OS::Neutron::FloatingIP
-#    properties:
-#      floating_network_id: { get_param: public_net_id }
-#      port_id: { get_resource: vlb_private_1_port }
-#      port_id: { get_resource: vlb_private_2_port_for_floating }
 
   vlb_0:
     type: OS::Nova::Server
@@ -236,9 +191,6 @@ resources:
       name: { get_param: vlb_name_0 }
       key_name: { get_resource: my_keypair }
       networks:
-#        - port: { get_resource: vlb_private_2_port_for_floating }
-#        - port: { get_resource: vlb_private_0_port }
-#        - port: { get_resource: vlb_private_1_port }
         - network: { get_param: public_net_id }
         - port: { get_resource: vlb_private_0_port }
         - port: { get_resource: vlb_private_1_port }
@@ -249,7 +201,6 @@ resources:
           params:
             __dcae_collector_ip__: { get_param: dcae_collector_ip }
             __dcae_collector_port__: { get_param: dcae_collector_port }
-            #__local_public_ipaddr__: { get_attr: [vlb_floating_ip, floating_ip_address] }
             __local_private_ipaddr__: { get_param: vlb_private_ip_0 }
             __oam_private_ipaddr__: { get_param: vlb_private_ip_1 }
             __repo_url_blob__: { get_param: repo_url_blob }
@@ -264,7 +215,6 @@ resources:
             mkdir /opt/config
             echo "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt
             echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt
-            #echo "__local_public_ipaddr__" > /opt/config/local_public_ipaddr.txt
             echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
             echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
             echo "__repo_url_blob__" > /opt/config/repo_url_blob.txt
@@ -292,12 +242,6 @@ resources:
       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_floating_ip:
-#    type: OS::Neutron::FloatingIP
-#    properties:
-#      floating_network_id: { get_param: public_net_id }
-#      port_id: { get_resource: vdns_private_1_port }
-
   vdns_0:
     type: OS::Nova::Server
     properties:
index f184c07..4313c7b 100644 (file)
@@ -151,12 +151,6 @@ resources:
       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_floating_ip:
-#    type: OS::Neutron::FloatingIP
-#    properties:
-#      floating_network_id: { get_param: public_net_id }
-#      port_id: { get_resource: vdns_private_1_port }
-
   vdns_0:
     type: OS::Nova::Server
     properties:
index 028dd58..724b0ee 100644 (file)
@@ -2,7 +2,6 @@ parameters:
   vpg_image_name: PUT THE IMAGE NAME HERE
   vpg_flavor_name: PUT THE FLAVOR NAME HERE
   public_net_id: PUT THE NETWORK ID HERE
-  vpg_private_ip_0_for_floating: ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE PACKET GENERATOR
   vlb_ipaddr: 135.207.129.131
   vpg_name_0: ziad1vdnspg01pg01
   onap_private_net_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
index 21fbc90..d968807 100644 (file)
@@ -84,10 +84,6 @@ parameters:
     type: string
     label: ONAP management sub-network name or ID
     description: Private sub-network that connects ONAP component and the VNF
-  vpg_private_ip_0_for_floating:
-    type: string
-    label: vPG private IP address towards the OpenStack public network via floating IP
-    description: vPG private IP address towards the OpenStack public network via floating IP
 
 #############
 #           #
@@ -114,18 +110,6 @@ resources:
       public_key: { get_param: pub_key }
       save_private_key: false
 
-  vpg_private_0_port_for_floating:
-    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: vpg_private_ip_0_for_floating }}]
-
-  vpg_floating_ip:
-    type: OS::Neutron::FloatingIP
-    properties:
-      floating_network_id: { get_param: public_net_id }
-      port_id: { get_resource: vpg_private_0_port_for_floating }
-
   vpg_0:
     type: OS::Nova::Server
     properties:
@@ -134,7 +118,7 @@ resources:
       name: { get_param: vpg_name_0 }
       key_name: { get_resource: my_keypair }
       networks:
-        - port: { get_resource: vpg_private_0_port_for_floating }
+        - network: { get_param: public_net_id }
       user_data_format: RAW
       user_data:
         str_replace: