Cinder API to list volumes/luns [closed]
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 ?