osc network subnetpool create

Creates a subnet pool.

Normal response codes: 201

Error response codes: 400, 401, 403, 404

Usage: osc network subnetpool create [OPTIONS]

Options:

  • --address-scope-id <ADDRESS_SCOPE_ID> — An address scope to assign to the subnet pool

  • --default-prefixlen <DEFAULT_PREFIXLEN> — The size of the prefix to allocate when the cidr or prefixlen attributes are omitted when you create the subnet. Default is min_prefixlen

  • --default-quota <DEFAULT_QUOTA> — A per-project quota on the prefix space that can be allocated from the subnet pool for project subnets. Default is no quota is enforced on allocations from the subnet pool. For IPv4 subnet pools, default_quota is measured in units of /32. For IPv6 subnet pools, default_quota is measured units of /64. All projects that use the subnet pool have the same prefix quota applied

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

  • --is-default <IS_DEFAULT> — The subnetpool is default pool or not

    Possible values: true, false

  • --max-prefixlen <MAX_PREFIXLEN> — The maximum prefix size that can be allocated from the subnet pool. For IPv4 subnet pools, default is 32. For IPv6 subnet pools, default is 128

  • --min-prefixlen <MIN_PREFIXLEN> — The smallest prefix that can be allocated from a subnet pool. For IPv4 subnet pools, default is 8. For IPv6 subnet pools, default is 64

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

  • --prefixes <PREFIXES> — A list of subnet prefixes to assign to the subnet pool. The API merges adjacent prefixes and treats them as a single prefix. Each subnet prefix must be unique among all subnet prefixes in all subnet pools that are associated with the address scope

  • --shared <SHARED> — Indicates whether this resource is shared across all projects. By default, only administrative users can change this value

    Possible values: true, false

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