Skip to content
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

Bump dependencies, progenitor to 8d1b8f0f, oxide.json to omicron:5c90213e #441

Merged
merged 11 commits into from
Dec 6, 2023
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 50 additions & 0 deletions cli/docs/cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -2135,6 +2135,26 @@
{
"name": "sled",
"subcommands": [
{
"name": "add",
"about": "Add a sled to an initialized rack",
"args": [
{
"long": "cubby"
},
{
"long": "json-body",
"help": "Path to a file that contains the full json body."
},
{
"long": "json-body-template",
"help": "XXX"
},
{
"long": "rack-id"
}
]
},
{
"name": "disk-led",
"about": "List physical disks attached to sleds",
Expand Down Expand Up @@ -2191,6 +2211,36 @@
}
]
},
{
"name": "list-uninitialized",
"about": "List uninitialized sleds in a given rack"
},
{
"name": "set-provision-state",
"about": "Set the sled's provision state.",
"args": [
{
"long": "json-body",
"help": "Path to a file that contains the full json body."
},
{
"long": "json-body-template",
"help": "XXX"
},
{
"long": "sled-id",
"help": "ID of the sled"
},
{
"long": "state",
"values": [
"provisionable",
"non_provisionable"
],
"help": "The provision state."
}
]
},
{
"name": "view",
"about": "Fetch a sled",
Expand Down
5 changes: 5 additions & 0 deletions cli/src/cli_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,12 @@ fn xxx<'a>(command: CliCommand) -> Option<&'a str> {
CliCommand::RackList => Some("system hardware rack list"),
CliCommand::RackView => Some("system hardware rack view"),
CliCommand::SledList => Some("system hardware sled list"),
// TODO not sure we want to treat uninitialized sleds quite so differently
CliCommand::UninitializedSledList => Some("system hardware sled list-uninitialized"),
CliCommand::SledView => Some("system hardware sled view"),
// TODO this operation name needs to change
CliCommand::AddSledToInitializedRack => Some("system hardware sled add"),
CliCommand::SledSetProvisionState => Some("system hardware sled set-provision-state"),
CliCommand::SledInstanceList => Some("system hardware sled instance-list"),
CliCommand::PhysicalDiskList => Some("system hardware disk list"),
CliCommand::SledPhysicalDiskList => Some("system hardware sled disk-led"),
Expand Down
Loading
Loading