Closed ansaba closed 9 years ago
@danielerez can you review this?
Am I missing anything to add for review ?
Thanks, Saba
I have seen the changes in your repo. Looks fine, please can you create a pull request?
Hello Daniel,
I have updated the branch with review comments. Please let me know for any additional changes. Thanks for your time.
Thanks, Saba
Added just a couple of minor comments. Either than that, it looks good to me and should be ready to merge.
Have removed the author name. Let me know for any more changes. Thanks for your time.
Saba
Looks good to me. Should be ready to merge. Thanks!
This extension provides two level of pool information: names only or detailed information:
Pool name only: GET http://CINDER_API_ENDPOINT/v2/TENANT_ID/scheduler-stats/get_pools
Detailed Pool info: GET http://CINDER_API_ENDPOINT/v2/TENANT_ID/scheduler-stats/get_pools \?detail\=True
JSON Response { "pools": [ { "name": "ubuntu@lvm#backend_name", "capabilities": { "QoS_support": false, "allocated_capacity_gb": 0, "driver_version": "2.0.0", "free_capacity_gb": 7.01, "location_info": "LVMVolumeDriver:ubuntu:stack-volumes:default:0", "pool_name": "backend_name", "reserved_percentage": 0, "storage_protocol": "iSCSI", "timestamp": "2014-11-21T18:15:28.141161", "total_capacity_gb": 10.01, "vendor_name": "Open Source", "volume_backend_name": "backend_name", "extra_specs": [ { "description": "HP 3PAR Fibre Channel driver", "display_name": "HP3PARFCDriver", "namespace": "OS::Cinder::HP3PARFCDriver", "properties": { "hp3par:persona": { "default": "2", "description": "HP 3PAR Persona", "enum": { "1": "Generic", "10": "ONTAP-legacy", "11": "VMware", "12": "OpenVMS", "13": "HPUX", "15": "WindowsServer", "2": "Generic-ALUA", "6": "Generic-legacy", "7": "HPUX-legacy", "8": "AIX-legacy", "9": "EGENERA" }, "title": "persona", "type": "string" }, "hp3par:snap_cpg": { "description": "Overrides the 'hp3par_snap' setting", "title": "snap_cpg", "type": "string" } } }, { "description": "HP LeftHand iSCSI driver", "display_name": "HPLeftHandISCSIDriver", "namespace": "OS::Cinder::HPLeftHandISCSIDriver", "properties": { "hplh:provisioning": { "default": "thin", "description": "Provisioning", "enum": [ "full", "thin" ], "title": "provisioning", "type": "string" }, "hplh:vvs": { "default": "1", "description": "VVS", "title": "vvs", "type": "integer" } } } ] } } ] }