From 2fa991c3273897940ef0d92e020daa298c68c73b Mon Sep 17 00:00:00 2001 From: Marco Platania Date: Thu, 18 May 2017 10:21:36 -0400 Subject: Remove floating IPs from vLB demo Change-Id: I65603f889271b6e99f977e6700df3a1ed384456f Signed-off-by: Marco Platania --- heat/vLB/base_vlb_openstack.env | 3 -- heat/vLB/base_vlb_openstack.yaml | 56 ---------------------------------- heat/vLB/dnsscaling_openstack.yaml | 6 ---- heat/vLB/packet_gen_vlb_openstack.env | 1 - heat/vLB/packet_gen_vlb_openstack.yaml | 18 +---------- 5 files changed, 1 insertion(+), 83 deletions(-) (limited to 'heat') diff --git a/heat/vLB/base_vlb_openstack.env b/heat/vLB/base_vlb_openstack.env index 87f77d72..afcfccfd 100644 --- a/heat/vLB/base_vlb_openstack.env +++ b/heat/vLB/base_vlb_openstack.env @@ -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 diff --git a/heat/vLB/base_vlb_openstack.yaml b/heat/vLB/base_vlb_openstack.yaml index 0db03682..3f098576 100644 --- a/heat/vLB/base_vlb_openstack.yaml +++ b/heat/vLB/base_vlb_openstack.yaml @@ -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: diff --git a/heat/vLB/dnsscaling_openstack.yaml b/heat/vLB/dnsscaling_openstack.yaml index f184c079..4313c7bb 100644 --- a/heat/vLB/dnsscaling_openstack.yaml +++ b/heat/vLB/dnsscaling_openstack.yaml @@ -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: diff --git a/heat/vLB/packet_gen_vlb_openstack.env b/heat/vLB/packet_gen_vlb_openstack.env index 028dd58d..724b0eed 100644 --- a/heat/vLB/packet_gen_vlb_openstack.env +++ b/heat/vLB/packet_gen_vlb_openstack.env @@ -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 diff --git a/heat/vLB/packet_gen_vlb_openstack.yaml b/heat/vLB/packet_gen_vlb_openstack.yaml index 21fbc90d..d9688075 100644 --- a/heat/vLB/packet_gen_vlb_openstack.yaml +++ b/heat/vLB/packet_gen_vlb_openstack.yaml @@ -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: -- cgit 1.2.3-korg