Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add disk number to slcli vs detail #1318

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
allmightyspiff opened this issue Aug 10, 2020 · 0 comments · Fixed by #1321
Closed

Add disk number to slcli vs detail #1318

allmightyspiff opened this issue Aug 10, 2020 · 0 comments · Fixed by #1321
Assignees

Comments

@allmightyspiff
Copy link
Member

Change Name here to Disk and display the number contained in Virtual_guest->blockDevice->device

That way users can easily upgrade the drive using the device number.

$ ./slcli --format=table vs detail 105826834
:....................:...........................................:
:               name : value                                     :
:....................:...........................................:
:                 id : 105826834                                 :
:               guid : 4584afc2-acb5-4865-b15c-78d86c83c348      :
:           hostname : cgallo-testvsi                            :
:             drives : :........:......:..........:              :
:                    : :  Type  : Name : Capacity :              :
:                    : :........:......:..........:              :
:                    : : System : Disk :  100 GB  :              :
:                    : :  Swap  : Disk :   2 GB   :              :
:                    : : System : Disk :  100 GB  :              :
:                    : : System : Disk :  64 MB   :              :
:                    : :........:......:..........:              :

:....................:...........................................:
@ATGE ATGE self-assigned this Aug 10, 2020
ATGE added a commit to ATGE/softlayer-python that referenced this issue Aug 13, 2020
@allmightyspiff allmightyspiff linked a pull request Aug 13, 2020 that will close this issue
allmightyspiff added a commit that referenced this issue Aug 13, 2020
#1318 Add disk number to `slcli vs detail`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants