Cinder API to list volumes/luns [closed]

asked 2014-11-13 17:18:57 -0600

anonymous user


Hi guys, I am very new to cinder and while browsing the code for volume drivers, i could not figure out this. How does one get the list of all volumes on the storage array ? i.e. there does not seem to be a list_volumes() api.

The reason I am asking is because I am directly invoking the cinder volume drivers. I have the volume serial (WWN serial) but I cannot map it to the volume name, and all the cinder volume driver APIs use the volume name to identify the volume for operation.

Any idea how can i solve this problem ?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by larsks
close date 2014-11-13 18:10:30.263011