osc network subnetpool set
Updates a subnet pool.
Normal response codes: 200
Error response codes: 400, 401, 403, 404, 412
Usage: osc network subnetpool set [OPTIONS] <ID>
Arguments:
<ID>
— id parameter for /v2.0/subnetpools/{id}/remove_prefixes API
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 thecidr
orprefixlen
attributes are omitted when you create the subnet. Default ismin_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 notPossible values:
true
,false
-
--max-prefixlen <MAX_PREFIXLEN>
— The maximum prefix size that can be allocated from the subnet pool. For IPv4 subnet pools, default is32
. For IPv6 subnet pools, default is128
-
--min-prefixlen <MIN_PREFIXLEN>
— The smallest prefix that can be allocated from a subnet pool. For IPv4 subnet pools, default is8
. For IPv6 subnet pools, default is64
-
--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