Skip to content

Add 'detailed' version of the get scheduler_stat.get_pools #1549

@dmbuil

Description

@dmbuil

The openstack_sdk::api::block_storage::v3::scheduler_stat::get_pool::get::Request(), has no way to set the parameter "detail=True", as explained here

This way, instead of just:

{"pools":[{"name":"cinder-2e81b-volume-netapp-fc-alh1-1-0@netapp-fc-alh1-1#volONTAP"}]}"

We'd be getting:

{"pools": [
{"name": "cinder-2e81b-volume-netapp-fc-alh1-1-0@netapp-fc-alh1-1#volONTAP", 
"capabilities": {
   "pool_name": "volONTAP", "netapp_thin_provisioned": "true", 
   "thick_provisioning_support": false, 
   "thin_provisioning_support": true, 
   "netapp_aggregate": "aggr1_SAN", 
   "netapp_is_flexgroup": "false", 
   "netapp_dedup": "false", 
   "netapp_compression": "false", 
    ...
   "allocated_capacity_gb": 499, 
   "cacheable": true, 
   "volume_backend_name": "backend-1", 
   "storage_protocol": "FC", 
   "vendor_name": "NetApp"
}}]}

Maybe a get_detailed could do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions