-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds basic per-sled sequential IP address allocation (#891)
* Adds basic per-sled sequential IP address allocation - Adds the `last_used_address` column to the `omicron.sled` table, which tracks the last IP address within the sled's prefix allocated to a service running on the sled - Adds method for selecting the next IP address from the `sled` table, with a few basic tests for it - Uses a static address when launching guest instances, providing it to the propolis server managing them. * Review feedback - Adds some comments and issue links - Make allocation of IP addresses a separate saga action, to ensure idempotency. Also adds a generic helper, since this will likely be a common saga node.
- Loading branch information
Showing
8 changed files
with
260 additions
and
22 deletions.
There are no files selected for viewing
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.