~tr3buchet/nova/xs_multi_nic

« back to all changes in this revision

Viewing changes to bin/nova-dhcpbridge

  • Committer: Tarmac
  • Author(s): Soren Hansen
  • Date: 2011-03-14 15:45:15 UTC
  • mfrom: (761.2.3 dnsmasq-leasefile-init)
  • Revision ID: tarmac-20110314154515-da0vdko8ktuyhss2
Make nova-dhcpbridge output lease information in dnsmasq's leasesfile format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
    """Get the list of hosts for an interface."""
95
95
    ctxt = context.get_admin_context()
96
96
    network_ref = db.network_get_by_bridge(ctxt, interface)
97
 
    return linux_net.get_dhcp_hosts(ctxt, network_ref['id'])
 
97
    return linux_net.get_dhcp_leases(ctxt, network_ref['id'])
98
98
 
99
99
 
100
100
def main():