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

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

Open
ramkishor-ch opened this issue Jul 17, 2023 · 0 comments
Assignees
Labels

Comments

@ramkishor-ch
Copy link
Contributor

  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                          │ 
└────┴────────────┴─────────────────────────────┘
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants