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

Example was missing in slcli file snapshot-list, slcli file snapshot-order, slcli file snapshot-restore #2028

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

Comments

@ramkishor-ch
Copy link
Contributor

  1. slcli file snapshot-list
    Example was missing, please add it.

EXAMPLE:
slcli file snapshot-list 12345678 --sortby id
This command lists all snapshots of volume with ID 12345678 and sorts them by ID.

Expected:

./slcli file snapshot-list --help                   
Usage: slcli file snapshot-list [OPTIONS] VOLUME_ID

EXAMPLE:
       slcli file snapshot-list 12345678 --sortby id 
       This command lists all snapshots of volume with ID 12345678 and sorts them by ID.

        List file storage snapshots.

┌────┬───────────┬────────────────────────────────────────────────────────────┐
│    │ volume_id │                                                            │
│    │ --sortby  │ Column to sort by                                          │
│    │ --columns │ Columns to display. Options: id, name, created, size_bytes │
│ -h │ --help    │ Show this message and exit.                                │
└────┴───────────┴────────────────────────────────────────────────────────────┘
  1. slcli file snapshot-order
    a. Example was missing, please add it.
    Example:
    slcli file snapshot-order 12345678 -s 1000 -t 4
    This command orders snapshot space for volume with ID 12345678, the size is 1000GB, the tier level is 4 IOPS per GB.

b. Options: --force, --iops were missing, please add it.
Options:
-f, --force Force operation without confirmation
-i, --iops Performance Storage IOPs, between 100 and 6000 in multiples of 100

Expected:

./slcli file snapshot-order --help
Usage: slcli file snapshot-order [OPTIONS] VOLUME_ID

Example:
      slcli file snapshot-order 12345678 -s 1000 -t 4 
      This command orders snapshot space for volume with ID 12345678, the size is 1000GB, the tier level is 4 IOPS per GB.

        Order snapshot space for a file storage volume.

┌────┬────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│    │ volume_id  │                                                                                                                                            │
│    │ --capacity │ Size of snapshot space to create in GB  [required]                                                                                         │
│    │ --tier     │ Endurance Storage Tier (IOPS per GB) of the file volume for which space is ordered [optional, and only valid for endurance storage         │
│    │            │ volumes] Choices: 0.25, 2, 4, 10                                                                                                           │
│    │ --upgrade  │ Flag to indicate that the order is an upgrade                                                                                              │
│ -h │ --help     │ Show this message and exit.                                                                                                                │
│ -f │ --force     │ Force operation without confirmation                                                                                                                │
│ -i │ --iops     │ Performance Storage IOPs, between 100 and 6000 in multiples of 100                                                                                                                │
└────┴────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  1. slcli file snapshot-restore
    Example was missing, please add it.

EXAMPLE:
slcli file snapshot-restore 12345678 87654321
This command restores volume with ID 12345678 from snapshot with ID 87654321.

Expected:

./slcli file snapshot-restore --help
Usage: slcli file snapshot-restore [OPTIONS] VOLUME_ID

EXAMPLE:
   slcli file snapshot-restore 12345678 87654321
   This command restores volume with ID 12345678 from snapshot with ID 87654321.

        Restore file volume using a given snapshot

┌────┬───────────────┬───────────────────────────────────────────────────────────────────────┐
│    │ volume_id     │                                                                       │
│ -s │ --snapshot-id │ The id of the snapshot which will be used to restore the block volume │
│ -h │ --help        │ Show this message and exit.                                           │
└────┴───────────────┴───────────────────────────────────────────────────────────────────────┘
JayasilanJibm added a commit that referenced this issue Aug 20, 2023
slcli file snapshot-list, snapshot-order, snapshot-restore command example addition
@JayasilanJibm JayasilanJibm self-assigned this Aug 20, 2023
allmightyspiff added a commit that referenced this issue Aug 21, 2023
slcli file snapshot-list, snapshot-order, snapshot-restore command example addition #2028
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