summaryrefslogtreecommitdiffstats
path: root/nova/crypto.py
diff options
context:
space:
mode:
authorJian Wen <jian.wen@canonical.com>2012-12-12 22:14:18 +0800
committerJian Wen <jian.wen@canonical.com>2012-12-19 10:56:47 +0800
commit51546e79f366d14f25bb5a933a3ab0ad033e7a3d (patch)
tree47c6ff99660837a6c7b1664de572d1a66cce68d0 /nova/crypto.py
parent1d864329c6c5320bde0cd30e3b39f2f93bbe9196 (diff)
downloadnova-51546e79f366d14f25bb5a933a3ab0ad033e7a3d.tar.gz
nova-51546e79f366d14f25bb5a933a3ab0ad033e7a3d.tar.xz
nova-51546e79f366d14f25bb5a933a3ab0ad033e7a3d.zip
libvirt: Make vif_driver.plug() returns None
The return value of vif_driver.plug() was used only when nova wrote the libvirt.xml file on initial boot of the instance. Make it returns None, and add get_config() to get the configurations if needed. If LibvirtBridgeDriver is used when the nova-comptue inits, we call vif_driver.plug() without get the VIF configurations. By doing this plug doesn't raise if the instance has not yet got a fixed-ip. Fixes bug 1076309. Change-Id: I0fafb3d98e3139bce0ef2cee04cab428a0621696
Diffstat (limited to 'nova/crypto.py')
0 files changed, 0 insertions, 0 deletions