Repository navigation
Closed
Description
Noticed this small oversight while talking through the floating IPs UI. There is no update endpoint.
omicron/nexus/tests/output/nexus_tags.txt
Lines 13 to 20 in f2f2bfa
| API operations found with tag "floating-ips" | |
| OPERATION ID METHOD URL PATH | |
| floating_ip_attach POST /v1/floating-ips/{floating_ip}/attach | |
| floating_ip_create POST /v1/floating-ips | |
| floating_ip_delete DELETE /v1/floating-ips/{floating_ip} | |
| floating_ip_detach POST /v1/floating-ips/{floating_ip}/detach | |
| floating_ip_list GET /v1/floating-ips | |
| floating_ip_view GET /v1/floating-ips/{floating_ip} |
I don't think you can change the pool or IP address (just make a new one) but you should be able to update the name and description.
omicron/nexus/types/src/external_api/params.rs
Lines 877 to 891 in f2f2bfa
| /// Parameters for creating a new floating IP address for instances. | |
| #[derive(Clone, Debug, Deserialize, Serialize, JsonSchema)] | |
| pub struct FloatingIpCreate { | |
| #[serde(flatten)] | |
| pub identity: IdentityMetadataCreateParams, | |
| /// An IP address to reserve for use as a floating IP. This field is | |
| /// optional: when not set, an address will be automatically chosen from | |
| /// `pool`. If set, then the IP must be available in the resolved `pool`. | |
| pub address: Option<IpAddr>, | |
| /// The parent IP pool that a floating IP is pulled from. If unset, the | |
| /// default pool is selected. | |
| pub pool: Option<NameOrId>, | |
| } |
Metadata
Metadata
Assignees
Labels
apiRelated to the API.
Activity
Enable Updates for Floating IPs (#5176)