-
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.
[nexus] List all uninitialized sleds (#4504)
As part of adding a sled to an already initialized rack, we need a way for operators to be able to list sleds that are not part of a rack. This PR adds an external nexus endpoint for doing just that. Like the `sleds` endpoint, this endpoint is not tied to a rack. The way this works is by looking at the SPs in the latest inventory collection and finding all the Baseboards that are not in the `sled` table in CRDB. A follow up commit will allow an operator to add uninitialized sleds to a rack with a new external nexus endpoint.
- Loading branch information
1 parent
b337854
commit 8238581
Showing
9 changed files
with
530 additions
and
320 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
Oops, something went wrong.