Chuyển tới nội dung chính
openstack security group list

List security groups

Options​

OptionDescription
--project <project>List security groups according to the project (name or ID)
--project-domain <project-domain>Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
--tags <tag>[,<tag>,...]List security group which have all given tag(s) (Comma-separated list of tags)
--any-tags <tag>[,<tag>,...]List security group which have any given tag(s) (Comma-separated list of tags)
--not-tags <tag>[,<tag>,...]Exclude security group which have all given tag(s) (Comma-separated list of tags)
--not-any-tags <tag>[,<tag>,...]Exclude security group which have any given tag(s) (Comma-separated list of tags)