Skip to content

Need endpoint to update a floating IP #5016

Closed

Description

@david-crespo

Noticed this small oversight while talking through the floating IPs UI. There is no update endpoint.

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.

/// 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>,
}

Activity

  1. added
    api
    on Feb 7, 2024
  2. added this to the 7 milestone on Feb 13, 2024
  3. added a commit that references this issue on Mar 1, 2024
    4ab41a0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions