============== security group ============== A **security group** acts as a virtual firewall for servers and other resources on a network. It is a container for security group rules which specify the network access rules. Compute v2, Network v2 security group create --------------------- Create a new security group .. program:: security group create .. code:: bash openstack security group create [--description ] [--project [--project-domain ]] [--tag | --no-tag] .. option:: --description Security group description .. option:: --project Owner's project (name or ID) *Network version 2 only* .. option:: --project-domain Domain the project belongs to (name or ID). This can be used in case collisions between project names exist. *Network version 2 only* .. option:: --tag Tag to be added to the security group (repeat option to set multiple tags) *Network version 2 only* .. option:: --no-tag No tags associated with the security group *Network version 2 only* .. describe:: New security group name security group delete --------------------- Delete security group(s) .. program:: security group delete .. code:: bash openstack security group delete [ ...] .. describe:: Security group(s) to delete (name or ID) security group list ------------------- List security groups .. program:: security group list .. code:: bash openstack security group list [--all-projects] [--project [--project-domain ]] [--tags [,,...]] [--any-tags [,,...]] [--not-tags [,,...]] [--not-any-tags [,,...]] .. option:: --all-projects Display information from all projects (admin only) *Network version 2 ignores this option and will always display information* *for all projects (admin only).* .. option:: --project List security groups according to the project (name or ID) *Network version 2 only* .. option:: --project-domain Domain the project belongs to (name or ID). This can be used in case collisions between project names exist. *Network version 2 only* .. option:: --tags [,,...] List security groups which have all given tag(s) *Network version 2 only* .. option:: --any-tags [,,...] List security groups which have any given tag(s) *Network version 2 only* .. option:: --not-tags [,,...] Exclude security groups which have all given tag(s) *Network version 2 only* .. option:: --not-any-tags [,,...] Exclude security groups which have any given tag(s) *Network version 2 only* security group set ------------------ Set security group properties .. program:: security group set .. code:: bash openstack security group set [--name ] [--description ] [--tag ] [--no-tag] .. option:: --name New security group name .. option:: --description New security group description .. option:: --tag Tag to be added to the security group (repeat option to set multiple tags) .. option:: --no-tag Clear tags associated with the security group. Specify both --tag and --no-tag to overwrite current tags .. describe:: Security group to modify (name or ID) security group show ------------------- Display security group details .. program:: security group show .. code:: bash openstack security group show .. describe:: Security group to display (name or ID) security group unset -------------------- Unset security group properties .. program:: security group unset .. code:: bash openstack security group unset [--tag | --all-tag] .. option:: --tag Tag to be removed from the security group (repeat option to remove multiple tags) .. option:: --all-tag Clear all tags associated with the security group .. describe:: Security group to modify (name or ID)