-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[6/n] [reconfigurator-cli] allow loading up an example system #6788
Merged
sunshowers
merged 8 commits into
main
from
sunshowers/spr/6n-reconfigurator-cli-allow-loading-up-an-example-system
Oct 11, 2024
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
91703c7
[spr] changes to main this commit is based on
sunshowers 0767caf
[spr] initial version
sunshowers e461637
[spr] changes introduced through rebase
sunshowers 008c9cf
rebase
sunshowers 7bd647e
rebase, address comments
sunshowers 886a209
fix tests
sunshowers 3555e6b
slog debug
sunshowers a2065fc
use wipe
sunshowers File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
load-example --seed test-basic | ||
load-example --seed test-basic | ||
|
||
show | ||
|
||
sled-list | ||
inventory-list | ||
blueprint-list | ||
|
||
sled-show 2eb69596-f081-4e2d-9425-9994926e0832 | ||
blueprint-show ade5749d-bdf3-4fab-a8ae-00bea01b3a5a | ||
|
||
blueprint-diff-inventory 9e187896-7809-46d0-9210-d75be1b3c4d4 ade5749d-bdf3-4fab-a8ae-00bea01b3a5a | ||
|
||
inventory-generate | ||
blueprint-diff-inventory b32394d8-7d79-486f-8657-fd5219508181 ade5749d-bdf3-4fab-a8ae-00bea01b3a5a | ||
|
||
wipe | ||
load-example --seed test-basic --nsleds 1 --ndisks-per-sled 4 --no-zones | ||
|
||
sled-list | ||
inventory-list | ||
blueprint-list | ||
|
||
sled-show 89d02b1b-478c-401a-8e28-7a26f74fa41b | ||
blueprint-show ade5749d-bdf3-4fab-a8ae-00bea01b3a5a |
Empty file.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense but I wonder if we can give more explicit instruction to somebody that's adding a new field? How do they know which category it's in?
All of this has me wondering if we want to separate out these pieces into a separate object that we replace wholesale when needed...but I don't have a concrete suggestion at this point. We can go with this and see how it goes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah thinking about this, maybe we can introduce notions of a "system reset" (only system, not policy), a "policy reset", and a "full reset" (system and policy). Then to load an example, you'd need to do a system reset but not a policy reset.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I started pulling this thread and it got out of hand a bit:
I'm going to tackle this in a separate followup PR.