summaryrefslogtreecommitdiffstats
path: root/heat/vCPE/infra
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2017-08-03 14:57:57 -0500
committerBrian Freeman <bf1936@att.com>2017-08-03 16:23:03 -0500
commit0f0a35c8b21465e2c9c6fd6fe58dd054b49bfcb6 (patch)
treed5daf7b4188b6911f03eacc5824bfd9c7b937050 /heat/vCPE/infra
parent572472c6c2d9f2a279008fa11f68f8176ba55ac7 (diff)
Updatd after network review 2017-08-03
Change-Id: I29e9610c18f3592fe933c247fd97afb6581ba974 Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'heat/vCPE/infra')
-rw-r--r--heat/vCPE/infra/base_vcpe_infra_rackspace.env20
-rw-r--r--heat/vCPE/infra/base_vcpe_infra_rackspace.yaml47
2 files changed, 44 insertions, 23 deletions
diff --git a/heat/vCPE/infra/base_vcpe_infra_rackspace.env b/heat/vCPE/infra/base_vcpe_infra_rackspace.env
index 48c59259..2ec1a0b8 100644
--- a/heat/vCPE/infra/base_vcpe_infra_rackspace.env
+++ b/heat/vCPE/infra/base_vcpe_infra_rackspace.env
@@ -2,17 +2,19 @@ parameters:
vcpe_image_name: Ubuntu 14.04 LTS (Trusty Tahr) (PVHVM)
vcpe_flavor_name: 4 GB General Purpose v1
public_net_id: 00000000-0000-0000-0000-000000000000
- vaaa_private_net_id: zdfw1aaa01_private
+ cpe_signal_net_id: zdfw1cpe01_private
+ cpe_public_net_id: zdfw1cpe01_public
onap_private_net_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
onap_private_subnet_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
- vaaa_private_net_cidr: 192.168.20.0/24
- onap_private_net_cidr: 10.0.0.0/8
- vaaa_private_ip_0: 192.168.20.121
- vaaa_private_ip_1: 10.1.20.4
- vdns_private_ip_0: 192.168.20.122
- vdns_private_ip_1: 10.1.20.5
- vdhcp_private_ip_0: 192.168.20.123
- vdhcp_private_ip_1: 10.1.20.6
+ cpe_signal_net_cidr: 10.4.0.0/24
+ onap_private_net_cidr: 10.0.0.0/16
+ cpe_public_net_cidr: 10.2.0.0/24
+ vdhcp_private_ip_0: 10.0.4.1
+ vdhcp_private_ip_1: 10.0.101.1
+ vaaa_private_ip_0: 10.0.4.2
+ vaaa_private_ip_1: 10.0.101.2
+ vdns_private_ip_0: 10.2.0.1
+ vdns_private_ip_1: 10.0.101.3
vaaa_name_0: zdcpe1cpe01aaa01
vdns_name_0: zdcpe11cpe01dns01
vdhcp_name_0: zdcpe1cpe01dhcp01
diff --git a/heat/vCPE/infra/base_vcpe_infra_rackspace.yaml b/heat/vCPE/infra/base_vcpe_infra_rackspace.yaml
index 16ea1cf0..14e82500 100644
--- a/heat/vCPE/infra/base_vcpe_infra_rackspace.yaml
+++ b/heat/vCPE/infra/base_vcpe_infra_rackspace.yaml
@@ -45,7 +45,7 @@ parameters:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
- vaaa_private_net_id:
+ cpe_signal_net_id:
type: string
label: vAAA private network name or ID
description: Private network that connects vAAA with vDNSs
@@ -53,11 +53,15 @@ parameters:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP components and the VNF
+ cpe_public_net_id:
+ type: string
+ label: vCPE Public network (emulates internet) name or ID
+ description: Private network that connects vGW to emulated internet
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP components and the VNF
- vaaa_private_net_cidr:
+ cpe_signal_net_cidr:
type: string
label: vAAA private network CIDR
description: The CIDR of the vAAA private network
@@ -65,6 +69,10 @@ parameters:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
+ cpe_public_net_cidr:
+ type: string
+ label: vCPE public network CIDR
+ description: The CIDR of the vCPE public
vaaa_private_ip_0:
type: string
label: vAAA private IP address towards the private network
@@ -171,24 +179,35 @@ resources:
public_key: { get_param: pub_key }
save_private_key: false
- vaaa_private_network:
+ cpe_signal_network:
type: OS::Neutron::Net
properties:
- name: { get_param: vaaa_private_net_id }
+ name: { get_param: cpe_signal_net_id }
+ cpe_signal_subnet:
+ type: OS::Neutron::Subnet
+ properties:
+ name: { get_param: cpe_signal_net_id }
+ network_id: { get_resource: cpe_signal_network }
+ cidr: { get_param: cpe_signal_net_cidr }
- vaaa_private_subnet:
+ cpe_public_network:
+ type: OS::Neutron::Net
+ properties:
+ name: { get_param: cpe_public_net_id }
+ cpe_public_subnet:
type: OS::Neutron::Subnet
properties:
- name: { get_param: vaaa_private_net_id }
- network_id: { get_resource: vaaa_private_network }
- cidr: { get_param: vaaa_private_net_cidr }
+ name: { get_param: cpe_public_net_id }
+ network_id: { get_resource: cpe_public_network }
+ cidr: { get_param: cpe_public_net_cidr }
+
# Virtual Load Balancer Instantiation
vaaa_private_0_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: vaaa_private_network }
- fixed_ips: [{"subnet": { get_resource: vaaa_private_subnet }, "ip_address": { get_param: vaaa_private_ip_0 }}]
+ network: { get_resource: cpe_signal_network }
+ fixed_ips: [{"subnet": { get_resource: cpe_signal_subnet }, "ip_address": { get_param: vaaa_private_ip_0 }}]
vaaa_private_1_port:
type: OS::Neutron::Port
@@ -245,8 +264,8 @@ resources:
vdns_private_0_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: vaaa_private_network }
- fixed_ips: [{"subnet": { get_resource: vaaa_private_subnet }, "ip_address": { get_param: vdns_private_ip_0 }}]
+ network: { get_resource: cpe_public_network }
+ fixed_ips: [{"subnet": { get_resource: cpe_public_subnet }, "ip_address": { get_param: vdns_private_ip_0 }}]
vdns_private_1_port:
type: OS::Neutron::Port
@@ -303,8 +322,8 @@ resources:
vdhcp_private_0_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: vaaa_private_network }
- fixed_ips: [{"subnet": { get_resource: vaaa_private_subnet }, "ip_address": { get_param: vdhcp_private_ip_0 }}]
+ network: { get_resource: cpe_signal_network }
+ fixed_ips: [{"subnet": { get_resource: cpe_signal_subnet }, "ip_address": { get_param: vdhcp_private_ip_0 }}]
vdhcp_private_1_port:
type: OS::Neutron::Port