Skip to content

Example and some features was missing in slcli file replica-order, slcli file replica-partners, slcli file snapshot-cancel #2026

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 14, 2023 · 0 comments · Fixed by #2083
Assignees
Labels

Comments

@ramkishor-ch
Copy link
Contributor

  1. slcli file replica-order
    a. Example was missing, please add it.
    EXAMPLE:
    slcli file replica-order 12345678 -s DAILY -d dal09 --tier 4 --os-type LINUX
    This command orders a replica for volume with ID 12345678, which performs DAILY replication, is located at dal09, tier level is 4, OS type is Linux.
    b. Options: --force, --iops are missing, please add it.
    Options:
    -f, --force Force operation without confirmation
    -i, --iops Performance Storage IOPs, between 100 and 6000 in multiples of 100,if no IOPS value is specified, the IOPS value of the original volume will be used

Expected:

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

EXAMPLE:
   slcli file replica-order 12345678 -s DAILY -d dal09 --tier 4 --os-type LINUX
   This command orders a replica for volume with ID 12345678, which performs DAILY replication, is located at dal09, tier level is 4, OS type is Linux.

        Order a file storage replica volume.

┌────┬─────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│    │ volume_id           │                                                                                                                                │
│ -s │ --snapshot-schedule │ Snapshot schedule to use for replication, (HOURLY | DAILY | WEEKLY)  [required] Choices: HOURLY, DAILY, WEEKLY                 │
│ -l │ --location          │ Short name of the data center for the replicant (e.g.: dal09)  [required]                                                      │
│    │ --tier              │ Endurance Storage Tier (IOPS per GB) of the primary volume for which a replicant is ordered [optional] Choices: 0.25, 2, 4, 10 │
│ -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,if no IOPS value is specified, the IOPS value of the original volume will be used                                                                                                    │            
└────┴─────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  1. slcli file replica-partners
    Example was missing, please add it.

EXAMPLE:
slcli file replica-partners 12345678
This command lists existing replicant volumes for block volume with ID 12345678.

Expected:

./slcli file replica-partners --help
Usage: slcli file replica-partners [OPTIONS] VOLUME_ID

EXAMPLE:
   slcli file replica-partners 12345678
   This command lists existing replicant volumes for block volume with ID 12345678.

        List existing replicant volumes for a file volume.

┌────┬───────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────┐
│    │ volume-id │                                                                                                      │
│    │ --sortby  │ Column to sort by                                                                                    │
│    │ --columns │ Columns to display. Options: ID, Username, Account ID, Capacity (GB), Hardware ID, Guest ID, Host ID │
│ -h │ --help    │ Show this message and exit.                                                                          │
└────┴───────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────┘
  1. slcli file snapshot-cancel
    a. Example was missing, please add it.
    EXAMPLE:
    slcli file snapshot-cancel 12345678 --immediate -f
    This command cancels snapshot with ID 12345678 immediately without asking for confirmation.
    b. Options: --force was missing, please add it.
    Options:
    -f, --force Force operation without confirmation

Expected:

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

EXAMPLE:
       slcli file snapshot-cancel 12345678 --immediate -f 
       This command cancels snapshot with ID 12345678 immediately without asking for confirmation.

        Cancel existing snapshot space for a given volume.

┌────┬─────────────┬──────────────────────────────────────────────────────────────────────────────┐
│    │ volume-id   │                                                                              │
│    │ --reason    │ An optional reason for cancellation                                          │
│    │ --immediate │ Cancels the snapshot space immediately instead of on the billing anniversary │
│    │ --force │ Force operation without confirmation │
│ -h │ --help      │ Show this message and exit.                                                  │
└────┴─────────────┴──────────────────────────────────────────────────────────────────────────────┘
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
1 participant