Skip to content

Add filters to IP pool list endpoint (#9147)#10278

Open
ijsnow wants to merge 1 commit into
oxidecomputer:mainfrom
ijsnow:api-ip-pool-list-filters
Open

Add filters to IP pool list endpoint (#9147)#10278
ijsnow wants to merge 1 commit into
oxidecomputer:mainfrom
ijsnow:api-ip-pool-list-filters

Conversation

@ijsnow
Copy link
Copy Markdown

@ijsnow ijsnow commented Apr 16, 2026

Introduces a new API version (2026-04-15) adding optional ip_version and delegated_for_internal_use query parameters to the /v1/system/ip-pools endpoint, allowing server-side filtering of pools by IP version and whether they are delegated for internal Oxide use.

The changes and tests were based off a previous PR that was closed by the author. Issues with serde(flatten) made it so the scanner pattern wasn't possible with Option<bool>, so separate params were added. This meant I needed to modify the http_testing utility to pass parameters that don't end up encoded with the pagination parameters into the next page. All other tests still pass with this change.

I used the /add-api-version skill since this would modify blessed openapi spec versions even though this is a strictly additive PR with defaults that would result in the same exact functionality.

… endpoint (oxidecomputer#9147)

Introduces a new API version (2026-04-15) adding optional `ip_version` and `delegated_for_internal_use` query parameters to the `/v1/system/ip-pools` endpoint, allowing server-side filtering of pools by IP version and whether they are delegated for internal Oxide use.
@ijsnow ijsnow force-pushed the api-ip-pool-list-filters branch from 5346725 to 8c3f7ad Compare April 16, 2026 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant