Skip to content

Some sub features were missing in slcli hardware reboot, slcli hardware reflash-firmware, slcli hardware reload, slcli hardware rescue #2039

Open
@ramkishor-ch

Description

@ramkishor-ch
  1. slcli hardware reboot
    Options: --soft, --force are missing, please add it.
    Options:
    -f, --force Force operation without confirmation
    --soft Perform a soft reboot

Expected:

./slcli hardware reboot --help
Usage: slcli hardware reboot [OPTIONS] IDENTIFIER

        Reboot an active server.

┌────┬────────────┬───────────────────────────────┐
│    │ identifier │                               │
│    │ --hard     │ Perform a hard or soft reboot │
│ -f │ --force  │ Force operation without confirmation. │
│     │ --soft   │ Perform a soft reboot │
│ -h │ --help     │ Show this message and exit.   │
└────┴────────────┴───────────────────────────────┘
  1. slcli hardware reflash-firmware
    Options: --force was missing, please add it.
    Options:
    -f, --force Force operation without confirmation

Expected:

./slcli hardware reflash-firmware --help
Usage: slcli hardware reflash-firmware [OPTIONS] IDENTIFIER

        Reflash server firmware.

┌────┬────────────┬─────────────────────────────┐
│    │ identifier │                             │
│ -f │ --force  │ Force operation without confirmation. │
│ -h │ --help     │ Show this message and exit. │
└────┴────────────┴─────────────────────────────┘
  1. slcli hardware reload
    Options --force, --upgrade-bios, --upgrade-firmware were missing, please add it.
    Options:
    -f --force Force operation without confirmation
    -b --upgrade-bios Upgrade BIOS
    -w --upgrade-firmware Upgrade all hard drives' firmware

Expected:

./slcli hardware reload --help          
Usage: slcli hardware reload [OPTIONS] IDENTIFIER

        Reload operating system on a server.

┌────┬───────────────┬─────────────────────────────────────────────────────────────────────────────────┐
│    │ identifier    │                                                                                 │
│ -i │ --postinstall │ Post-install script to download (Only HTTPS executes, HTTP leaves file in /root │
│ -k │ --key         │ SSH keys to add to the root user (multiple occurrence permitted)                │
│ -l │ --lvm         │ A flag indicating that the provision should use LVM for all logical drives.     │
│ -h │ --help        │ Show this message and exit.                                                     │
│ -f │ --force      │           Force operation without confirmation                          │ 
│ -b │  --upgrade-bios   │       Upgrade BIOS                                          │ 
│ -w │  --upgrade-firmware │     Upgrade all hard drives' firmware       │ 
└────┴───────────────┴─────────────────────────────────────────────────────────────────────────────────┘
  1. slcli hardware rescue
    Options: --force was missing, please add it.
    Options:
    -f, --force Force operation without confirmation

Expected:

./slcli hardware rescue --help
Usage: slcli hardware rescue [OPTIONS] IDENTIFIER

        Reboot server into a rescue image.

┌────┬────────────┬─────────────────────────────┐
│    │ identifier │                             │
│ -h │ --help     │ Show this message and exit. │
│ -f │ --force      │           Force operation without confirmation                          │ 
└────┴────────────┴─────────────────────────────┘

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions