Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Chet Burgess
committed
Jan 25, 2013
1 parent
f24cfa8
commit e12339d
Showing
3 changed files
with
60 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters