summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorChet Burgess <cfb@metacloud.com>2013-01-24 03:18:40 +0000
committerChet Burgess <cfb@metacloud.com>2013-01-25 02:04:19 +0000
commite12339def3d9182f5ab23869e6bdc946e8e42825 (patch)
tree0e7a63d1d9149c0a1d752792db37aeb91e455c8e /nova/utils.py
parentf24cfa8093913466658a3ce2d9dc907c0c813239 (diff)
downloadnova-e12339def3d9182f5ab23869e6bdc946e8e42825.tar.gz
nova-e12339def3d9182f5ab23869e6bdc946e8e42825.tar.xz
nova-e12339def3d9182f5ab23869e6bdc946e8e42825.zip
populate dnsmasq lease db with valid leases
At start dnsmasq retrieves its lease db by calling the nova-dhcpbridge script with the init action. Previously we were returning all allocated IPs in the network and calculating the lease exirpation time based upon instances.updated_at or instances.created_at. Now we are only returning entries for IPs that are allocated and leased. Additionally we set the lease expiration time to be i now + CONF.dhcp_lease_time Change-Id: Ie3b4fafd38094dc01ceea592ab5229e581193512 Fixes: bug #1103260
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions