Skip to content

Example and some features was missing in slcli block volume-limits, slcli block volume-list #2016

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

Closed
ramkishor-ch opened this issue Jul 13, 2023 · 0 comments · Fixed by #2062
Assignees
Labels

Comments

@ramkishor-ch
Copy link
Contributor

  1. ./slcli block volume-limits --help
    Example was missing, please add it.
    EXAMPLE:
    slcli block volume-limits
    This command lists the storage limits per datacenter for this account.

Expected:

./slcli block volume-limits --help
Usage: slcli block volume-limits [OPTIONS]

EXAMPLE:
        slcli block volume-limits
        This command lists the storage limits per datacenter for this account.

        List number of block storage volumes limit per datacenter.

┌────┬──────────────┬─────────────────────────────┐
│    │ --sortby     │ Column to sort by           │
│ -d │ --datacenter │ Filter by datacenter        │
│ -h │ --help       │ Show this message and exit. │
└────┴──────────────┴─────────────────────────────┘
  1. ./slcli block volume-list
    a. Example was missing, please add it.
    EXAMPLE:
    slcli block volume-list -d dal09 -t endurance --sortby capacity_gb
    This command lists all endurance volumes on current account that are located at dal09, and sorts them by capacity.
    b. Option: --notes was missing, please add it.
    -n --notes string Filter by notes
    c. Option: --sortby additional text was missing, please add it.
    --sortby Column to sort by, default:id, options are: id,username,datacenter,storage_type,capacity_gb,bytes_used,ip_addr,lunId,active_transactions,created_by (default "id")

Expected:

./slcli block volume-list --help  
Usage: slcli block volume-list [OPTIONS]

EXAMPLE:
       slcli block volume-list -d dal09 -t endurance --sortby capacity_gb
       This command lists all endurance volumes on current account that are located at dal09, and sorts them by capacity.

        List block storage.

┌────┬────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ -u │ --username     │ Volume username                                                                                                                                                    │
│ -d │ --datacenter   │ Datacenter shortname                                                                                                                                               │
│ -n │ --notes string │ Filter by notes                                                                                                                                                    │
│ -o │ --order        │ Filter by ID of the order that purchased the block storage                                                                                                         │
│    │ --storage-type │ Type of storage volume Choices: performance, endurance                                                                                                             │
│    │ --sortby       │ Column to sort by, default:id, options are: id,username,datacenter,storage_type,capacity_gb,bytes_used,ip_addr,lunId,active_transactions,created_by (default "id") │
│    │ --columns      │ Columns to display. Options: id, username, datacenter, storage_type, capacity_gb, IOPs, ip_addr, lunId, active_transactions, rep_partner_count,                    │
│    │                │ created_by, notes                                                                                                                                                  │
│ -h │ --help         │ Show this message and exit.                                                                                                                                        │
└────┴────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
@ramkishor-ch ramkishor-ch added CLI and removed Bug labels Jul 18, 2023
JayasilanJibm pushed a commit that referenced this issue Aug 4, 2023
Example text for slcli block volume-list, slcli block volume-limit command
@JayasilanJibm JayasilanJibm self-assigned this Aug 4, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in Q3 2023 Aug 4, 2023
allmightyspiff added a commit that referenced this issue Aug 8, 2023
Example text for slcli block volume-list, slcli block volume-limit command #2016
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Q3 2023 Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
2 participants