summaryrefslogtreecommitdiffstats
path: root/heat/vLB/base_vlb.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'heat/vLB/base_vlb.yaml')
-rw-r--r--heat/vLB/base_vlb.yaml22
1 files changed, 21 insertions, 1 deletions
diff --git a/heat/vLB/base_vlb.yaml b/heat/vLB/base_vlb.yaml
index 6ca2538b..0d8c575a 100644
--- a/heat/vLB/base_vlb.yaml
+++ b/heat/vLB/base_vlb.yaml
@@ -169,6 +169,10 @@ parameters:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
+ sec_group:
+ type: string
+ description: ONAP Security Group
+
#############
# #
@@ -224,18 +228,25 @@ resources:
properties:
network: { get_resource: vlb_private_network }
fixed_ips: [{"subnet": { get_resource: vlb_private_subnet }, "ip_address": { get_param: vlb_private_ip_0 }}]
+ security_groups:
+ - { get_param: sec_group }
+
vlb_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: vlb_private_ip_1 }}]
+ security_groups:
+ - { get_param: sec_group }
vlb_private_2_port:
type: OS::Neutron::Port
properties:
network: { get_resource: pktgen_private_network }
fixed_ips: [{"subnet": { get_resource: pktgen_private_subnet }, "ip_address": { get_param: vlb_private_ip_2 }}]
+ security_groups:
+ - { get_param: sec_group }
vlb_0:
type: OS::Nova::Server
@@ -309,12 +320,17 @@ resources:
properties:
network: { get_resource: vlb_private_network }
fixed_ips: [{"subnet": { get_resource: vlb_private_subnet }, "ip_address": { get_param: vdns_private_ip_0 }}]
+ security_groups:
+ - { get_param: sec_group }
vdns_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_0:
type: OS::Nova::Server
@@ -375,12 +391,16 @@ resources:
properties:
network: { get_resource: pktgen_private_network }
fixed_ips: [{"subnet": { get_resource: pktgen_private_subnet }, "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
@@ -434,4 +454,4 @@ resources:
unzip -j /opt/vlb-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh
cd /opt
chmod +x v_packetgen_install.sh
- ./v_packetgen_install.sh \ No newline at end of file
+ ./v_packetgen_install.sh