summaryrefslogtreecommitdiffstats
path: root/heat/vCPE/vbrgemu
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/vbrgemu
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/vbrgemu')
-rw-r--r--heat/vCPE/vbrgemu/base_vcpe_vbrgemu_rackspace.env1
-rw-r--r--heat/vCPE/vbrgemu/base_vcpe_vbrgemu_rackspace.yaml11
2 files changed, 9 insertions, 3 deletions
diff --git a/heat/vCPE/vbrgemu/base_vcpe_vbrgemu_rackspace.env b/heat/vCPE/vbrgemu/base_vcpe_vbrgemu_rackspace.env
index f512bcde..0d4d894e 100644
--- a/heat/vCPE/vbrgemu/base_vcpe_vbrgemu_rackspace.env
+++ b/heat/vCPE/vbrgemu/base_vcpe_vbrgemu_rackspace.env
@@ -6,6 +6,7 @@
vbrgemu_private_net_id: zdfw1vbrgemu01_private
vbrgemu_bng_private_net_cidr: 10.3.0.0/24
vbrgemu_private_net_cidr: 192.168.1.0/24
+ vbrgemu_private_ip_0: 10.3.0.2
vbrgemu_private_ip_1: 192.168.1.1
vbrgemu_name_0: zdcpe11cpe01brgemu01
vnf_id: vCPE_Infrastructure_BGREMU_demo_app
diff --git a/heat/vCPE/vbrgemu/base_vcpe_vbrgemu_rackspace.yaml b/heat/vCPE/vbrgemu/base_vcpe_vbrgemu_rackspace.yaml
index c99da2ad..6f926eb5 100644
--- a/heat/vCPE/vbrgemu/base_vcpe_vbrgemu_rackspace.yaml
+++ b/heat/vCPE/vbrgemu/base_vcpe_vbrgemu_rackspace.yaml
@@ -63,10 +63,14 @@ parameters:
type: string
label: vBRGEMU Home private network CIDR
description: The CIDR of the input side of vBRGEMU Home private network
- vbrgemu_private_ip_1:
+ vbrgemu_private_ip_0:
type: string
- label: vGW IN private IP address
+ label: vGW private IP address
description: Private IP address towards the BRGEMU-BNG network
+ vbrgemu_private_ip_1:
+ type: string
+ label: vGW private IP address
+ description: Private IP address towards the BRGEMU private network
vbrgemu_name_0:
type: string
label: vGW name
@@ -146,11 +150,12 @@ resources:
cidr: { get_param: vbrgemu_private_net_cidr }
# Virtual BRG Emulator Instantiation
- # 0_port should get IP address from DHCP discover through vBNG
+ # 0_port should get IP address from DHCP discover through vBNG once the VNF is running
vbrgemu_private_0_port:
type: OS::Neutron::Port
properties:
network: { get_param: vbrgemu_bng_private_net_id }
+ fixed_ips: [{"subnet": { get_param: vbrgemu_bng_private_net_id }, "ip_address": { get_param: vbrgemu_private_ip_0 }}]
vbrgemu_private_1_port:
type: OS::Neutron::Port