summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorJosh Durgin <josh.durgin@inktank.com>2013-05-24 17:31:17 -0700
committerJosh Durgin <josh.durgin@inktank.com>2013-05-28 13:35:02 -0700
commit4d99a3486911badc39be4e089bd4106c03a8a671 (patch)
treef0edbc240907b6989a260665d5fa0a180b8fb40f /nova/utils.py
parent09526751a85535b3c4ebf7e062b0da10d1d1a99f (diff)
downloadnova-4d99a3486911badc39be4e089bd4106c03a8a671.tar.gz
nova-4d99a3486911badc39be4e089bd4106c03a8a671.tar.xz
nova-4d99a3486911badc39be4e089bd4106c03a8a671.zip
libvirt: improve the specification of network disks
Allow zero or more hosts, and make the name optional, since only a host is needed to use nbd. This allows cinder to fully specify the location of a sheepdog or rbd volume without depending on extra configuration files, and lays the groundwork for supporting nbd. Rename the internal attribute source_host to source_name to reflect its usage in the libvirt xml, and add source_hosts and source_ports attributes to store the new information. Fixes: bug 1077817 blueprint better-libvirt-network-volume-support Signed-off-by: Josh Durgin <josh.durgin@inktank.com> Change-Id: I8ac431751692e52ba0786768cea996388962922d
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions