osc network security-group create

Creates an OpenStack Networking security group.

This operation creates a security group with default security group rules for the IPv4 and IPv6 ether types.

Normal response codes: 201

Error response codes: 400, 401, 409

Usage: osc network security-group create [OPTIONS]

Options:

  • --description <DESCRIPTION> — A human-readable description for the resource. Default is an empty string

  • --name <NAME> — Human-readable name of the resource

  • --stateful <STATEFUL> — Indicates if the security group is stateful or stateless

    Possible values: true, false

  • --tenant-id <TENANT_ID> — The ID of the project