aboutsummaryrefslogtreecommitdiffstats
path: root/heat/vFWCL/vPKG
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2018-08-02 14:52:45 -0400
committerMarco Platania <platania@research.att.com>2018-08-02 14:55:52 -0400
commit3ddd88cf4cb92f5b8e0eebca9afe806f96a09fba (patch)
treeb5abafefc59f9bbc77333d548c02bab6ea880b56 /heat/vFWCL/vPKG
parentd4c5f6b933e2ba449cb1ddf39355f03affec9b53 (diff)
Add security group to vFW, vLB
- Extend the ONAP sec group to support the vLB/vDNS use case - Add sec group to vFW, vFWCL, vLB, vLBMS Change-Id: Ica89840cf40249990d6df2dfff9a7712c094ab3a Issue-ID: INT-526 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'heat/vFWCL/vPKG')
-rw-r--r--heat/vFWCL/vPKG/base_vpkg.env1
-rw-r--r--heat/vFWCL/vPKG/base_vpkg.yaml7
2 files changed, 8 insertions, 0 deletions
diff --git a/heat/vFWCL/vPKG/base_vpkg.env b/heat/vFWCL/vPKG/base_vpkg.env
index 04e8a681..080d02f9 100644
--- a/heat/vFWCL/vPKG/base_vpkg.env
+++ b/heat/vFWCL/vPKG/base_vpkg.env
@@ -22,3 +22,4 @@ parameters:
key_name: vfw_key
pub_key: PUT YOUR PUBLIC KEY HERE
cloud_env: PUT openstack OR rackspace HERE
+ sec_group: PUT THE ONAP SECURITY GROUP HERE \ No newline at end of file
diff --git a/heat/vFWCL/vPKG/base_vpkg.yaml b/heat/vFWCL/vPKG/base_vpkg.yaml
index b1f01939..62d405a7 100644
--- a/heat/vFWCL/vPKG/base_vpkg.yaml
+++ b/heat/vFWCL/vPKG/base_vpkg.yaml
@@ -129,6 +129,9 @@ parameters:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
+ sec_group:
+ type: string
+ description: ONAP Security Group
#############
# #
@@ -161,12 +164,16 @@ resources:
properties:
network: { get_param: unprotected_private_net_id }
fixed_ips: [{"subnet": { get_param: unprotected_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_0 }}]
+ security_groups:
+ - { get_param: sec_group }
vpg_private_1_port:
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_1 }}]
+ security_groups:
+ - { get_param: sec_group }
vpg_0:
type: OS::Nova::Server