Skip to content

Return ip version and pool type in silo/project scoped IP pool list #9584

@askfongjojo

Description

@askfongjojo

Just noticed that we added the new IP pool attributes to the system-scoped IP pool query response but the same change hasn't been applied to the silo/project-scoped one yet.

$ oxide --profile oxide-rack2 --insecure api /v1/ip-pools
{
  "items": [
    {
      "description": "default IP pool",
      "id": "cadb8535-e32f-4be2-9259-e45dec9fa3c7",
      "is_default": true,
      "name": "default",
      "time_created": "2023-08-30T18:57:14.079765Z",
      "time_modified": "2023-08-30T18:57:14.079765Z"
    },
    {
      "description": "oxide silo-only pool",
      "id": "8b924114-a9f4-4634-b6a4-956ff640807a",
      "is_default": false,
      "name": "oxide-alt-pool",
      "time_created": "2023-08-31T05:15:27.630750Z",
      "time_modified": "2025-06-28T04:31:07.877315Z"
    }
  ],
  "next_page": "eyJ2IjoidjEiLCJwYWdlX3N0YXJ0Ijp7InNvcnRfYnkiOiJuYW1lX2FzY2VuZGluZyIsImxhc3Rfc2VlbiI6Im94aWRlLWFsdC1wb29sIn19"
}

versus

$ oxide --profile oxide-rack2 --insecure api /v1/system/ip-pools
{
  "items": [
    {
      "description": "another pool with fake external addresses",
      "id": "7ecfb0d8-71b0-4fbb-b0bc-bc80d07f514c",
      "ip_version": "v4",
      "name": "a-pool-that-goes-nowhere",
      "pool_type": "unicast",
      "time_created": "2024-02-03T15:41:01.604549Z",
      "time_modified": "2024-02-03T15:41:01.604549Z"
    },
    {
      "description": "",
      "id": "7dd2e383-63ac-4eb7-89f7-4137b2f09bd7",
      "ip_version": "v4",
      "name": "alternate-pool",
      "pool_type": "unicast",
      "time_created": "2025-06-28T04:47:38.892777Z",
      "time_modified": "2025-06-28T04:47:38.892777Z"
    },
...

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions