Add missing APIs for looking up volumes by path/key
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 14 Sep 2009 11:12:47 +0000 (12:12 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 14 Sep 2009 11:12:47 +0000 (12:12 +0100)
commitc79d567cc3a2e0e09358001c539fa7b6ee96837e
tree2babbf9a11c80b20c4c39868f3b7c09936b49b4f
parente45ac6dd18584613a81a8e36aef591259f70d2f1
Add missing APIs for looking up volumes by path/key

Fixes Fedora bug 519648

* lib/Sys/Virt.pm: Add get_storage_volume_by_path, by_key APIs
* t/500-storage-vols.t: Some basic tests for storage volume lookup
lib/Sys/Virt.pm
t/500-storage-vols.t [new file with mode: 0644]