Add security group to extra node port security template
Without this it will be inaccessible.
This commit is contained in:
parent
6fd59a05d4
commit
f0e22b7292
|
@ -24,6 +24,23 @@ parameters:
|
|||
|
||||
resources:
|
||||
|
||||
extra_node_sg:
|
||||
type: OS::Neutron::SecurityGroup
|
||||
properties:
|
||||
name:
|
||||
list_join:
|
||||
- '_'
|
||||
- - 'extranode'
|
||||
- - {get_param: baremetal_prefix}
|
||||
- {get_param: suffix}
|
||||
- 'sg'
|
||||
description: Ping, SSH
|
||||
rules:
|
||||
- protocol: icmp
|
||||
- protocol: tcp
|
||||
port_range_min: 22
|
||||
port_range_max: 22
|
||||
|
||||
private_port:
|
||||
type: OS::Neutron::Port
|
||||
properties:
|
||||
|
@ -34,6 +51,8 @@ resources:
|
|||
- {get_param: baremetal_prefix}
|
||||
- {get_param: suffix}
|
||||
network: {get_param: private_net}
|
||||
security_groups:
|
||||
- {get_resource: extra_node_sg}
|
||||
|
||||
provision_port:
|
||||
type: OS::Neutron::Port
|
||||
|
|
Loading…
Reference in New Issue