Typically OpenStack has separate endpoints for versions 1, 2, and 3 of Cinder API. This changes the volume code to try the endpoint returned by the volumev2 endpoint, if it exists.
Coverage increased (+4.01%) to 91.586% when pulling 7c5089998c41ec24562b77b7053d3976b056ccf4 on danielparks:cinderv2-default into 0e60bd3235e077df3aca180523f6fd5a37a04152 on ggiamarchi:master.
Typically OpenStack has separate endpoints for versions 1, 2, and 3 of Cinder API. This changes the volume code to try the endpoint returned by the volumev2 endpoint, if it exists.