Skip to main content
openstack security group create

Create a new security group

Options​

OptionDescription
<name>New security group name
--extra-property type=<property_type>,name=<property_name>,value=<property_value>Additional parameters can be passed using this property. Default type of the extra property is string ('str'), but other types can be used as well. Available types are: 'dict', 'list', 'str', 'bool', 'int'. In case of 'list' type, 'value' can be semicolon-separated list of values. For 'dict' value is semicolon-separated list of the key:value pairs.
--description <description>Security group description
--project <project>Owner's project (name or ID)
--statefulSecurity group is stateful (default)
--statelessSecurity group is stateless
--project-domain <project-domain>Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
--tag <tag>Tag to be added to the security group (repeat option to set multiple tags)
--no-tagNo tags associated with the security group