From 731f2eedda9f3bca960c4a404f02b9b450e67828 Mon Sep 17 00:00:00 2001 From: Marco Platania Date: Fri, 11 Aug 2017 11:04:47 -0400 Subject: Add fixed IPs to vCPE-vBRGEMU and vCPE-vGW Change-Id: I0bc01ca1ae3089d23bf21c52ecf9170dc60ae458 Signed-off-by: Marco Platania --- heat/vCPE/vgw/base_vcpe_vgw_rackspace.env | 1 + heat/vCPE/vgw/base_vcpe_vgw_rackspace.yaml | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'heat/vCPE/vgw') diff --git a/heat/vCPE/vgw/base_vcpe_vgw_rackspace.env b/heat/vCPE/vgw/base_vcpe_vgw_rackspace.env index 3842fc0d..33da8d73 100644 --- a/heat/vCPE/vgw/base_vcpe_vgw_rackspace.env +++ b/heat/vCPE/vgw/base_vcpe_vgw_rackspace.env @@ -11,6 +11,7 @@ onap_private_net_cidr: 10.0.0.0/16 vgw_private_ip_0: 10.5.0.21 vgw_private_ip_1: 10.0.101.30 + vgw_private_ip_2: 10.2.0.2 vgw_name_0: zdcpe11cpe01gw01 vnf_id: vCPE_Infrastructure_GW_demo_app vf_module_id: vCPE_Customer_GW diff --git a/heat/vCPE/vgw/base_vcpe_vgw_rackspace.yaml b/heat/vCPE/vgw/base_vcpe_vgw_rackspace.yaml index 8fe5e59f..0621556a 100644 --- a/heat/vCPE/vgw/base_vcpe_vgw_rackspace.yaml +++ b/heat/vCPE/vgw/base_vcpe_vgw_rackspace.yaml @@ -81,6 +81,10 @@ parameters: type: string label: vGW private IP address towards the ONAP management network description: Private IP address that is assigned to the vGW to communicate with ONAP components + vgw_private_ip_2: + type: string + label: vGW private IP address towards the vCPE public network + description: Private IP address that is assigned to the vGW to communicate with vCPE public network vgw_name_0: type: string label: vGW name @@ -174,6 +178,7 @@ resources: type: OS::Neutron::Port properties: network: { get_param: cpe_public_net_id} + fixed_ips: [{"subnet": { get_param: cpe_public_net_id }, "ip_address": { get_param: vgw_private_ip_2 }}] vgw_0: type: OS::Nova::Server -- cgit 1.2.3-korg