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

Sub features were missing in slcli hardware list, slcli hardware power-cycle #2037

Closed
ramkishor-ch opened this issue Jul 17, 2023 · 0 comments · Fixed by #2189
Closed

Sub features were missing in slcli hardware list, slcli hardware power-cycle #2037

ramkishor-ch opened this issue Jul 17, 2023 · 0 comments · Fixed by #2189
Assignees
Labels

Comments

@ramkishor-ch
Copy link
Contributor

  1. slcli hardware list
    Options: --order, --owner, --private-ip, --public-ip were missing, please add it.
    Options:
    -o, --order Filter by ID of the order which purchased hardware server
    --owner Filter by ID of the owner
    -v, --private-ip Filter by private IP address
    -p, --public-ip Filter by public IP address
    Expected:
./slcli hardware list --help
Usage: slcli hardware list [OPTIONS]

        List hardware servers.

┌────┬──────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ -c │ --cpu        │ Filter by number of CPU cores                                                                                                            │
│ -D │ --domain     │ Filter by domain                                                                                                                         │
│ -d │ --datacenter │ Filter by datacenter                                                                                                                     │
│ -H │ --hostname   │ Filter by hostname                                                                                                                       │
│ -m │ --memory     │ Filter by memory in gigabytes                                                                                                            │
│ -n │ --network    │ Filter by network port speed in Mbps                                                                                                     │
│    │ --search     │ Use the more flexible Search API to list instances. See `slcli search --types` for list of searchable fields.                            │
│    │ --tag        │ Filter by tags (multiple occurrence permitted)                                                                                           │
│    │ --sortby     │ Column to sort by  [default: hostname]                                                                                                   │
│    │ --columns    │ Columns to display. [options: guid, primary_ip, backend_ip, datacenter, action, created_by, tags]  [default:                             │
│    │              │ id,hostname,primary_ip,backend_ip,datacenter,action]                                                                                     │
│ -l │ --limit      │ How many results to get in one api call, default is 100  [default: 100]                                                                  │
│ -h │ --help       │ Show this message and exit.                                                                                                              │
│ -o │ --order       │ Filter by ID of the order which purchased hardware server                                                                                         │
│    │ --owner       │ Filter by ID of the owner                                                                                                              │
│ -v │ --private-ip       │ Filter by private IP address                                                                                                              │
│ -p │ --public-ip       │ Filter by public IP address                                                                                                              │
└────┴──────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  1. slcli hardware power-cycle
    Options: --force was missing, please add it.
    Options:
    -f, --force Force operation without confirmation
    Expected:
 ./slcli hardware power-cycle --help  
Usage: slcli hardware power-cycle [OPTIONS] IDENTIFIER

        Power cycle a server.

┌────┬────────────┬─────────────────────────────┐
│    │ 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
Status: Done
3 participants