Skip to content

Enable Updates for Floating IPs#5176

Merged
david-crespo merged 12 commits into
mainfrom
floating_ip_updates
Mar 1, 2024
Merged

Enable Updates for Floating IPs#5176
david-crespo merged 12 commits into
mainfrom
floating_ip_updates

Conversation

@charliepark

@charliepark charliepark commented Mar 1, 2024

Copy link
Copy Markdown
Contributor

Fixes #5016

This PR adds the ability to update names and descriptions for floating IPs.

Comment thread nexus/tests/integration_tests/external_ips.rs Outdated
Comment thread nexus/tests/integration_tests/external_ips.rs
Comment thread nexus/src/external_api/http_entrypoints.rs Outdated
Co-authored-by: David Crespo <david-crespo@users.noreply.github.com>
@charliepark charliepark marked this pull request as ready for review March 1, 2024 19:46

fn assert_floating_ips_eq(first: &FloatingIp, second: &FloatingIp) {
assert_eq!(first.identity, second.identity);
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick, but I think this could be inlined. It's not doing enough — I expected it to compare all fields or something.

@david-crespo david-crespo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

woohoo!

@FelixMcFelix FelixMcFelix left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for adding this in! 😄

@david-crespo david-crespo enabled auto-merge (squash) March 1, 2024 21:24
@david-crespo david-crespo merged commit 4ab41a0 into main Mar 1, 2024
@david-crespo david-crespo deleted the floating_ip_updates branch March 1, 2024 21:55
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.

Need endpoint to update a floating IP

3 participants