diff options
author | Ben Nemec <bnemec@us.ibm.com> | 2013-05-13 23:06:11 +0000 |
---|---|---|
committer | Ben Nemec <bnemec@us.ibm.com> | 2013-05-16 15:03:40 +0000 |
commit | 2807ea5464e610b4ac77d95f9216b86b5f36bde0 (patch) | |
tree | c1e2bd51a48e761f8459f1ef50bc45fc0361d720 /nova/utils.py | |
parent | bbf2f7e697f785fa5d95ddc80020026cf2d9890f (diff) | |
download | nova-2807ea5464e610b4ac77d95f9216b86b5f36bde0.tar.gz nova-2807ea5464e610b4ac77d95f9216b86b5f36bde0.tar.xz nova-2807ea5464e610b4ac77d95f9216b86b5f36bde0.zip |
Don't inject settings for dynamic network
When using Quantum for networking and setting flat_injected to
inject network settings into the guest VM, Nova injects a static
network configuration for networks using DHCP. This change
checks for the existence of a dhcp server and, if found, does not
inject static settings for that network.
Due to limitations of the legacy network info, the fix only
applies when new-style network info is passed to the injection
template function. The only code still passing in legacy
network info is in libvirt, and there is work ongoing to
remove that dependency.
Fixes bug 1163985
Fixes bug 1112659
Change-Id: I8d3f16bde22e1c6dc0d2432aa263e2b15ae5c93a
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions