-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[blueprints] Add external IP IDs to
BlueprintZoneType
(#5608)
This converts the `BlueprintZoneType`s for Nexus, External DNS, and Boundary NTP to hold `OmicronZoneExternalIp`s of various flavors, which contain the database ID for this IP in addition to the other information they already held (IP address, SNAT config, etc., as applicable). The motivating case here is to _delete_ external IPs (by ID) for expunged zones, which will come in a subsequent PR. There is some other immediate payoff here. For example, `reconfigurator-cli` can now drop its goofy `external_ip` ID map; previously, it had to conjure up IDs for external IPs at various points, but now it can read them directly from the blueprint. We also get to remove a couple `TODO-cleanup`s where we were assuming a particular kind of IP (floating vs snat), where now we know exactly what the kind is.
- Loading branch information
1 parent
9226742
commit 3169ee3
Showing
29 changed files
with
880 additions
and
470 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.