aboutsummaryrefslogtreecommitdiffstats
path: root/heat/vCPE/vgw
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-08-11 11:04:47 -0400
committerMarco Platania <platania@research.att.com>2017-08-11 11:04:47 -0400
commit731f2eedda9f3bca960c4a404f02b9b450e67828 (patch)
tree50b15c580258bfb6ff11452a809c29676aef08be /heat/vCPE/vgw
parent5060d16c99f68b7a8ae0699dfda8ce673b8954e7 (diff)
Add fixed IPs to vCPE-vBRGEMU and vCPE-vGW
Change-Id: I0bc01ca1ae3089d23bf21c52ecf9170dc60ae458 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'heat/vCPE/vgw')
-rw-r--r--heat/vCPE/vgw/base_vcpe_vgw_rackspace.env1
-rw-r--r--heat/vCPE/vgw/base_vcpe_vgw_rackspace.yaml5
2 files changed, 6 insertions, 0 deletions
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