Skip to content

Description and some features are missing in slcli block snapshot-set-notification, slcli block subnets-assign, slcli block subnets-list, slcli block subnets-remove #2014

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 12, 2023 · 1 comment · Fixed by #2047
Assignees
Labels

Comments

@ramkishor-ch
Copy link
Contributor

ramkishor-ch commented Jul 12, 2023

  1. ./slcli block snapshot-set-notification

Should update option --disable
Should update option --enable

Expected:

./slcli block snapshot-set-notification --help
Usage: slcli block snapshot-set-notification [OPTIONS] VOLUME_ID

        Enables/Disables snapshot space usage threshold warning for a given volume.

┌────┬───────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│    │ volume_id │                                                                                                                            │
│    │ --enable/--disable │ Enable/Disable snapshot notification. Use `slcli block snapshot-set-notification volumeId --enable` to enable.  [required] │
│ -h │ --help    │ Show this message and exit.                                                                                                │
└────┴───────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  1. ./slcli block subnets-assign

Example should be added.

EXAMPLE:
slcli block subnets-assign 111111 --subnet-id 222222
slcli block subnets-assign 111111 --subnet-id 222222 --subnet-id 333333
ACCESS_ID is the host_id obtained by: softlayer slcli block access-list <volume_id>

Expected:

 ./slcli block subnets-assign --help           
Usage: slcli block subnets-assign [OPTIONS] ACCESS_ID

EXAMPLE:
   slcli block subnets-assign 111111 --subnet-id 222222
   slcli block subnets-assign 111111 --subnet-id 222222 --subnet-id 333333
   ACCESS_ID is the host_id obtained by: softlayer slcli block access-list <volume_id>

        Assign block storage subnets to the given host id.

access_id is the host_id obtained by: slcli block access-list <volume_id>

SoftLayer_Account::iscsiisolationdisabled must be False to use this command

┌────┬─────────────┬─────────────────────────────────────────────────────┐
│    │ access_id   │                                                     │
│    │ --subnet-id │ ID of the subnets to assign; e.g.: --subnet-id 1234 │
│ -h │ --help      │ Show this message and exit.                         │
└────┴─────────────┴─────────────────────────────────────────────────────┘
  1. ./slcli block subnets-list --help

Example should be added.

EXAMPLE:
slcli block subnets-list 12345678
ACCESS_ID is the host_id obtained by: softlayer slcli block access-list <volume_id>

Expected:

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

        List block storage assigned subnets for the given host id.

access_id is the host_id obtained by: slcli block access-list <volume_id>

EXAMPLE:
   slcli block subnets-list 12345678 
   ACCESS_ID is the host_id obtained by: softlayer slcli block access-list <volume_id>

┌────┬───────────┬─────────────────────────────┐
│    │ access_id │                             │
│ -h │ --help    │ Show this message and exit. │
└────┴───────────┴─────────────────────────────┘
  1. ./slcli block subnets-remove --help
    Should add Example.
    EXAMPLE:
    slcli block subnets-remove 111111 --subnet-id 222222
    slcli block subnets-remove 111111 --subnet-id 222222 --subnet-id 333333
    ACCESS_ID is the host_id obtained by: slcli block access-list <volume_id>

Expected:

./slcli block subnets-remove --help
Usage: slcli block subnets-remove [OPTIONS] ACCESS_ID

EXAMPLE:
   slcli block subnets-remove 111111 --subnet-id 222222
   slcli block subnets-remove 111111 --subnet-id 222222 --subnet-id 333333
   ACCESS_ID is the host_id obtained by: slcli block access-list <volume_id>

        Remove block storage subnets for the given host id.

access_id is the host_id obtained by: slcli block access-list <volume_id>

SoftLayer_Account::iscsiisolationdisabled must be False to use this command

┌────┬─────────────┬─────────────────────────────────────────────────────┐
│    │ access_id   │                                                     │
│    │ --subnet-id │ ID of the subnets to remove; e.g.: --subnet-id 1234 │
│ -h │ --help      │ Show this message and exit.                         │
└────┴─────────────┴─────────────────────────────────────────────────────┘
@ramkishor-ch
Copy link
Contributor Author

Hi,

The problem: ./slcli block snapshot-set-notification will be fixed in this issue: #2046.

Expected:

./slcli block snapshot-set-notification --help
Usage: slcli block snapshot-set-notification [OPTIONS] VOLUME_ID

        Enables/Disables snapshot space usage threshold warning for a given volume.

┌────┬───────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│    │ volume_id │                                                                                                                            │
│    │ --enable/--disable │ Enable/Disable snapshot notification. Use `slcli block snapshot-set-notification volumeId --enable` to enable.  [required] │
│ -h │ --help    │ Show this message and exit.                                                                                                │
└────┴───────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

Thanks,
Ramkishor Chaladi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment