Working with security groups
Security groups can be managed in either the Neutron CLI or the Horizon dashboard. Both methods offer a fairly comprehensive experience and are discussed in the following sections.
Managing security groups in the CLI
From within the Neutron command-line client, a number of commands can be used to manage security groups, including:
security-group-create
security-group-delete
security-group-list
security-group-rule-create
security-group-rule-delete
security-group-rule-list
security-group-rule-show
security-group-show
security-group-update
Creating security groups in the CLI
To create a security group within the CLI, use the Neutron security-group-create
command as follows:
Usage: security-group-create [--tenant-id TENANT_ID] [--description ...
Get Learning OpenStack Networking (Neutron) - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.