summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorRick Harris <rconradharris@gmail.com>2013-01-29 04:18:24 +0000
committerRick Harris <rconradharris@gmail.com>2013-01-30 18:10:11 +0000
commit045e1190f23616e266e5b054b7b192e61e37d659 (patch)
treeb9c9f73d27e2c6bd50c733e2f97b118c3759fddf /nova/exception.py
parent398b05a6c1c497c833c85077736500311082b5ef (diff)
downloadnova-045e1190f23616e266e5b054b7b192e61e37d659.tar.gz
nova-045e1190f23616e266e5b054b7b192e61e37d659.tar.xz
nova-045e1190f23616e266e5b054b7b192e61e37d659.zip
DRYing up volume_in_mapping code.
Libvirt, VMWare, and Xen drivers all reimplement this method. This refactors the code into the `block_device` module so all drivers can share it. Future Work: Refactor xen so that strip_prefix doesn't need to be passed to `volume_in_mapping`. Change-Id: I026b655f2eb7ea9cebe84058749c05ce93bcb7d4
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions