Skip to Content
Learning OpenStack Networking - Third Edition
book

Learning OpenStack Networking - Third Edition

by James Denton
August 2018
Beginner
462 pages
12h 36m
English
Packt Publishing
Content preview from Learning OpenStack Networking - Third Edition

Deleting security groups in the CLI

To delete a security group, use the openstack security group delete command and specify the ID or name of the security group:

openstack security group delete <group> [<group> ...] 

To delete a security group named MySampleSecGrp, you can enter the following command:

openstack security group delete MySampleSecGrp 

Alternatively, you can use the group's ID:

openstack security group delete f8ch3db3-e25b-4760-972a-cb700d9a73dc 

Multiple security groups can also be deleted simultaneously, as follows:

openstack security group delete MySampleSecGrp MyOtherSampleSecGrp 

Neutron will successfully delete the security group(s) as long as ports utilizing the group(s) have been deleted prior to the request.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

You might also like

OpenStack Certification, 2/e

OpenStack Certification, 2/e

Sander van Vugt
Mastering OpenStack - Second Edition

Mastering OpenStack - Second Edition

Omar Khedher, Chandan Dutta

Publisher Resources

ISBN: 9781788392495