diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2018-02-13 07:09:42 -0800 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2018-02-13 07:09:42 -0800 |
commit | 02627a1b8bd732b9b76f66ad413a8b6a7f51b4a8 (patch) | |
tree | 9fcf16f80ba5e830530ec275dd2e656509527465 | |
parent | c27640a084242f77600a8630b475772094ae314a (diff) |
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 <gary.i.wu@huawei.com>
-rw-r--r-- | kubernetes/config/docker/init/src/config/dcaegen2/heat/onap_dcae.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
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 |