Fixed incorrect dhcp_server value during nova-network creation
When parameter dhcp_server is None, we must use network gateway
for each network. But because of incorrect usage of variable
dhcp_server, we use gateway of the FIRST network for each network.
Co-Authored-By: Roman Podoliaka <email address hidden>
Co-Authored-By: Pavel Kholkin <email address hidden>
Closes-Bug: #1443970
Change-Id: I9d22a2ac94e8675a231436ce8ba77260c4b8b98a
(cherry picked from commit f697befdd3a0f9b81ff9a74f55e4460cd3783692)
Reviewed: https:/ /review. openstack. org/198385 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=4908d46d864 30db462f5292971 975dc22bbe2171
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 4908d46d86430db 462f5292971975d c22bbe2171
Author: Sergey Nikitin <email address hidden>
Date: Wed Apr 15 10:27:10 2015 +0300
Fixed incorrect dhcp_server value during nova-network creation
When parameter dhcp_server is None, we must use network gateway
for each network. But because of incorrect usage of variable
dhcp_server, we use gateway of the FIRST network for each network.
Co-Authored-By: Roman Podoliaka <email address hidden>
Co-Authored-By: Pavel Kholkin <email address hidden>
Closes-Bug: #1443970
Change-Id: I9d22a2ac94e867 5a231436ce8ba77 260c4b8b98a 81ff9a74f55e446 0cd3783692)
(cherry picked from commit f697befdd3a0f9b