Get Subnet Creation Options
GET/backend/api/openstack/subnets/create_options
Host: https://core.ocplanet.cloud
Retrieve options for creating a new subnet in user's account. Through a GET request with create_options, data about the service options is obtained before ordering it. You can see what the characteristics may be. These options must be specified when using POST/PUT requests.
Request
Query Parameters
network_id string
Responses
- 200
 
- application/json
 
- Schema
 - Example (from schema)
 - Example
 
Schema
- Array [
 - ]
 
ipv6_modes string[]required
pools object[]required
default_prefixlen integerrequired
id stringrequired
ip_version integerrequired
is_default booleanrequired
max_prefixlen integerrequired
min_prefixlen integerrequired
name stringrequired
prefixes string[]required
{
  "ipv6_modes": [
    "string"
  ],
  "pools": [
    {
      "default_prefixlen": 0,
      "id": "string",
      "ip_version": 0,
      "is_default": true,
      "max_prefixlen": 0,
      "min_prefixlen": 0,
      "name": "string",
      "prefixes": [
        "string"
      ]
    }
  ]
}
{
  "pools": [
    {
      "id": "3ebc6aa8-96dc-4837-b39a-04c363a9ce8d",
      "name": "Auto Cretate Subnet",
      "prefixes": [
        "192.168.1.0/24"
      ],
      "default_prefixlen": 24,
      "min_prefixlen": 24,
      "max_prefixlen": 24,
      "ip_version": 4,
      "is_default": true
    }
  ],
  "ipv6_modes": [
    "slaac",
    "dhcpv6-stateful",
    "dhcpv6-stateless"
  ]
}
Loading...