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 access-authorize, slcli file access-list, slcli file access-revoke #2024

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

Comments

@ramkishor-ch
Copy link
Contributor

  1. slcli file access-authorize
    Example was missing, please add it.

EXAMPLE:
slcli file access-authorize 12345678 --virtual-id 87654321
This command authorizes virtual server with ID 87654321 to access volume with ID 12345678.

Expected:

./slcli file access-authorize  --help
Usage: slcli file access-authorize [OPTIONS] VOLUME_ID

EXAMPLE:
       slcli file access-authorize 12345678 --virtual-id 87654321
       This command authorizes virtual server with ID 87654321 to access volume with ID 12345678.

        Authorizes hosts to access a given volume

┌────┬─────────────────┬──────────────────────────────────────────────────────────────────────────────────┐
│    │ volume_id       │                                                                                  │
│ -h │ --hardware-id   │ The id of one SoftLayer_Hardware to authorize (Multiple allowed)                 │
│ -v │ --virtual-id    │ The id of one SoftLayer_Virtual_Guest to authorize (Multiple allowed)            │
│ -i │ --ip-address-id │ The id of one SoftLayer_Network_Subnet_IpAddress to authorize (Multiple allowed) │
│    │ --ip-address    │ An IP address to authorize (Multiple allowed)                                    │
│ -s │ --subnet-id     │ The id of one SoftLayer_Network_Subnet to authorize (Multiple allowed)           │
│    │ --help          │ Show this message and exit.                                                      │
└────┴─────────────────┴──────────────────────────────────────────────────────────────────────────────────┘
  1. slcli file access-list
    Example was missing, please add it.

EXAMPLE:
slcli file access-list 12345678 --sortby id
This command lists all hosts that are authorized to access volume with ID 12345678 and sorts them by ID.

Expected:

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

EXAMPLE:
       slcli file access-list 12345678 --sortby id 
       This command lists all hosts that are authorized to access volume with ID 12345678 and sorts them by ID.

        List ACLs.

┌────┬───────────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│    │ volume_id │                                                                                                                               │
│    │ --sortby  │ Column to sort by                                                                                                             │
│    │ --columns │ Columns to display. Options: id, name, type, private_ip_address, source_subnet, host_iqn, username, password, allowed_host_id │
│ -h │ --help    │ Show this message and exit.                                                                                                   │
└────┴───────────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  1. slcli file access-revoke
    Example was missing, please add it.

EXAMPLE:
slcli file access-revoke 12345678 --virtual-id 87654321
This command revokes access of virtual server with ID 87654321 to volume with ID 12345678.

Expected:

./slcli file access-revoke  --help
Usage: slcli file access-revoke [OPTIONS] VOLUME_ID

EXAMPLE:
      slcli file access-revoke 12345678 --virtual-id 87654321
      This command revokes access of virtual server with ID 87654321 to volume with ID 12345678.

        Revokes authorization for hosts accessing a given volume

┌────┬─────────────────┬──────────────────────────────────────────────────────────────────────────┐
│    │ volume_id       │                                                                          │
│ -h │ --hardware-id   │ The id of one SoftLayer_Hardware to revoke authorization                 │
│ -v │ --virtual-id    │ The id of one SoftLayer_Virtual_Guest to revoke authorization            │
│ -i │ --ip-address-id │ The id of one SoftLayer_Network_Subnet_IpAddress to revoke authorization │
│    │ --ip-address    │ An IP address to revoke authorization                                    │
│ -s │ --subnet-id     │ The id of one SoftLayer_Network_Subnet to revoke authorization           │
│    │ --help          │ Show this message and exit.                                              │
└────┴─────────────────┴──────────────────────────────────────────────────────────────────────────┘
@JayasilanJibm JayasilanJibm self-assigned this Aug 6, 2023
JayasilanJibm added a commit that referenced this issue Aug 6, 2023
Example for slcli file access-authorize, slcli file access-list, slcli file access-revoke command
allmightyspiff added a commit that referenced this issue Aug 8, 2023
Example for slcli file access-authorize, slcli file access-list, slcli file access-revoke command #2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants