Closed
Description
The IP range add/remove endpoints allow pairs of v4 or v6 addresses, and have done so since they were added in #1253 (June 2022).
Lines 351 to 361 in 235420e
I only just found out that while the API lets you add and remove them, IPv6 address ranges will not actually work from a networking POV — it's possible we can allocate an IPv6 address to an instance, but the instance will not be reachable through it.
The simplest thing would be to change the endpoint to take an Ipv4Range
instead of an IpRange
. That is probably not as a simple as it sounds — there will be a lot of fiddly changes to the tests.
omicron/nexus/src/external_api/http_entrypoints.rs
Lines 1731 to 1741 in 235420e
Metadata
Metadata
Assignees
Labels
No labels