From 02627a1b8bd732b9b76f66ad413a8b6a7f51b4a8 Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Tue, 13 Feb 2018 07:09:42 -0800 Subject: Explicitly assign security group to VMs The default behavior for VMs without explicit security group assignments is different in TLAB, resulting in unreachable VMs. This change explicitly assigns the created security group onap_sg to the VMs. Change-Id: Iac635ea9a271d91f16427f4d15aa108773e6e256 Issue-ID: INT-414 Signed-off-by: Gary Wu --- kubernetes/config/docker/init/src/config/dcaegen2/heat/onap_dcae.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kubernetes/config/docker/init/src/config/dcaegen2/heat/onap_dcae.yaml b/kubernetes/config/docker/init/src/config/dcaegen2/heat/onap_dcae.yaml index 12191bf86d..1a07ef2bdb 100644 --- a/kubernetes/config/docker/init/src/config/dcaegen2/heat/onap_dcae.yaml +++ b/kubernetes/config/docker/init/src/config/dcaegen2/heat/onap_dcae.yaml @@ -315,6 +315,8 @@ resources: properties: network: { get_resource: oam_onap } fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dcae_ip_addr }}] + security_groups: + - { get_resource: onap_sg } dcae_c_floating_ip: type: OS::Neutron::FloatingIP -- cgit 1.2.3-korg