New volume-type show cinder cli

Registered by Sheel Rana

As per command line reference and cinder help, there is no way to see details of volume-type.

Available cinder cli options related to volume-type are

    type-create Creates a volume type.
    type-default List the default volume type.
    type-delete Deletes a volume type.
    type-key Sets or unsets extra_spec for a volume type.
    type-list Lists available 'volume types'. (Admin only will see private types)
    type-update Updates volume type name and/or description.

But cinder API reference states that volume-type show is also supported.
Refer below extract for same:

GET /v2/​{tenant_id}​/types/​{volume_type_id}​Show volume type details
Shows details for a volume type.

But this is not exposed in cinder client.

*Note* : This support is present in openStack client.

(openstack) volume type show sheel
+---------------------------------+--------------------------------------+
| Field | Value |
+---------------------------------+--------------------------------------+
| description | None |
| id | 2216863c-465c-4791-8daf-b8566f259f95 |
| is_public | True |
| name | sheel |
| os-volume-type-access:is_public | True |
| properties | |
+---------------------------------+--------------------------------------+

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Sheel Rana
Direction:
Needs approval
Assignee:
Sheel Rana
Definition:
Obsolete
Series goal:
None
Implementation:
Not started
Milestone target:
None
Completed by
Sheel Rana

Related branches

Sprints

Whiteboard

This support in present in latest libery.
 cinder type-show sheel
+---------------------------------+--------------------------------------+
| Property | Value |
+---------------------------------+--------------------------------------+
| description | None |
| extra_specs | {} |
| id | 5d04a0a9-27d0-481c-88de-4bcf939bb93d |
| is_public | True |
| name | sheel |
| os-volume-type-access:is_public | True |
| qos_specs_id | None |
+---------------------------------+--------------------------------------+

 So, closing this BP.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.