Skip to content

Example was missing in slcli block volume-modify, slcli block volume-options #2017

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 #2063
Closed

Example was missing in slcli block volume-modify, slcli block volume-options #2017

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

Comments

@ramkishor-ch
Copy link
Contributor

  1. ./slcli block volume-modify --help
    Example was missing, please add it.
    EXAMPLE:
    slcli block volume-modify 12345678 --new-size 1000 --new-iops 4000
    This command modify a volume 12345678 with size is 1000GB, IOPS is 4000.
    slcli block volume-modify 12345678 --new-size 500 --new-tier 4
    This command modify a volume 12345678 with size is 500GB, tier level is 4 IOPS per GB.

Expected:

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

EXAMPLE:
          slcli block volume-modify 12345678 --new-size 1000 --new-iops 4000 
          This command modify a volume 12345678 with size is 1000GB, IOPS is 4000.
          slcli block volume-modify 12345678 --new-size 500 --new-tier 4
          This command modify a volume 12345678 with size is 500GB, tier level is 4 IOPS per GB.

        Modify an existing block storage volume.

┌────┬────────────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│    │ volume-id  │                                                                                                                                                             │
│ -c │ --new-size │ New Size of block volume in GB. ***If no size is given, the original size of volume is used.***                                                             │
│    │            │ Potential Sizes: [20, 40, 80, 100, 250, 500, 1000, 2000, 4000, 8000, 12000]                                                                                 │
│    │            │ Minimum: [the original size of the volume]                                                                                                                  │
│ -i │ --new-iops │ Performance Storage IOPS, between 100 and 6000 in multiples of 100 [only for performance volumes] ***If no IOPS value is specified, the original IOPS value │
│    │            │ of the volume will be used.***                                                                                                                              │
│    │            │ Requirements: [If original IOPS/GB for the volume is less than 0.3, new IOPS/GB must also be less than 0.3. If original IOPS/GB for the volume is greater   │
│    │            │ than or equal to 0.3, new IOPS/GB for the volume must also be greater than or equal to 0.3.]                                                                │
│ -t │ --new-tier │ Endurance Storage Tier (IOPS per GB) [only for endurance volumes] ***If no tier is specified, the original tier of the volume will be used.***              │
│    │            │ Requirements: [If original IOPS/GB for the volume is 0.25, new IOPS/GB for the volume must also be 0.25. If original IOPS/GB for the volume is greater than │
│    │            │ 0.25, new IOPS/GB for the volume must also be greater than 0.25.] Choices: 0.25, 2, 4, 10                                                                   │
│ -h │ --help     │ Show this message and exit.                                                                                                                                 │
└────┴────────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  1. ./slcli block volume-options --help
    Example was missing, please add it.
    EXAMPLE:
    slcli block volume-options
    This command lists all options for creating a block storage volume, including storage type, volume size, OS type, IOPS, tier level, datacenter, and snapshot size.

Expected:

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

EXAMPLE:
   slcli block volume-options
   This command lists all options for creating a block storage volume, including storage type, volume size, OS type, IOPS, tier level, datacenter, and snapshot size.

        List all options for ordering a block storage

┌────┬──────────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│    │ location │                                                                                                                                                               │
│ -p │ --prices │ Use --prices to list the server item prices, and to list the Item Prices by location,add it to the --prices option using location short name, e.g. --prices   │
│    │          │ dal13                                                                                                                                                         │
│ -h │ --help   │ Show this message and exit.                                                                                                                                   │
└────┴──────────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
JayasilanJibm pushed a commit that referenced this issue Aug 4, 2023
Example for slcli block volume-modify, slcli block volume-options
@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
JayasilanJibm pushed a commit that referenced this issue Aug 4, 2023
Tox analysis for Example for slcli block volume-modify, slcli block volume-options
@ramkishor-ch ramkishor-ch added CLI and removed Bug labels Aug 7, 2023
allmightyspiff added a commit that referenced this issue Aug 8, 2023
Example for slcli block volume-modify, slcli block volume-options #2017
@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
Development

Successfully merging a pull request may close this issue.

2 participants