aboutsummaryrefslogtreecommitdiffstats
path: root/heat/vLB/dnsscaling.yaml
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2018-08-16 14:47:45 -0500
committerBrian Freeman <bf1936@att.com>2018-08-16 14:48:59 -0500
commit144aad41ce8ff8c491a95cd26d12647122642ff6 (patch)
treea5962d678b93126ba99819787529ecd04cc9b47e /heat/vLB/dnsscaling.yaml
parent18ef083873327a00efc5d413d347b160d918d485 (diff)
Fix heat template for sec_group
Issue-ID: SDC-1634 Change-Id: I799ec06218559d204566370dd36b5dbea50c1933 Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'heat/vLB/dnsscaling.yaml')
-rw-r--r--heat/vLB/dnsscaling.yaml10
1 files changed, 9 insertions, 1 deletions
diff --git a/heat/vLB/dnsscaling.yaml b/heat/vLB/dnsscaling.yaml
index 4d5e01f0..69444fe7 100644
--- a/heat/vLB/dnsscaling.yaml
+++ b/heat/vLB/dnsscaling.yaml
@@ -121,6 +121,10 @@ parameters:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
+ sec_group:
+ type: string
+ description: ONAP Security Group
+
#############
# #
@@ -152,12 +156,16 @@ resources:
properties:
network: { get_param: vlb_private_net_id }
fixed_ips: [{"subnet": { get_param: vlb_private_net_id }, "ip_address": { get_param: vdns_private_ip_0 }}]
+ security_groups:
+ - { get_param: sec_group }
vdns_2_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: vdns_private_ip_1 }}]
+ security_groups:
+ - { get_param: sec_group }
vdns_2:
type: OS::Nova::Server
@@ -210,4 +218,4 @@ resources:
unzip -j /opt/vlb-scripts-__install_script_version__.zip -d /opt v_dns_install.sh
cd /opt
chmod +x v_dns_install.sh
- ./v_dns_install.sh \ No newline at end of file
+ ./v_dns_install.sh