Skip to content

Commit 707f921

Browse files
authored
Merge pull request #32 from stackhpc/example-secgroups
Rework example security group to avoid SSH and ICMP in default secgroup
2 parents b6d80b8 + 1fd68c8 commit 707f921

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

examples/networks.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,16 @@ openstack_router_demo:
125125
# List of security groups in the openstack demo project.
126126
# Format is as required by the stackhpc.os-networks role.
127127
openstack_security_groups:
128-
# Default security group for the openstack demo project.
129-
- name: default
128+
# ICMP security group for the openstack demo project.
129+
- name: ICMP
130130
project: demo
131131
rules:
132132
# Allow ICMP (for ping, etc.).
133133
- protocol: icmp
134+
# SSH security group for the openstack demo project.
135+
- name: SSH
136+
project: demo
137+
rules:
134138
# Allow SSH.
135139
- protocol: tcp
136140
port_range_min: 22

0 commit comments

Comments
 (0)