68 const util::Optional<double>& ddns_ttl_percent
69 = util::Optional<double>(),
70 const util::Optional<uint32_t>& ddns_ttl
71 = util::Optional<uint32_t>(),
72 const util::Optional<uint32_t>& ddns_ttl_min
73 = util::Optional<uint32_t>(),
74 const util::Optional<uint32_t>& ddns_ttl_max
75 = util::Optional<uint32_t>());
NameChangeType
Defines the types of DNS updates that can be requested.
uint32_t calculateDdnsTtl(uint32_t lease_lft, const util::Optional< double > &ddns_ttl_percent, const util::Optional< uint32_t > &ddns_ttl, const util::Optional< uint32_t > &ddns_ttl_min, const util::Optional< uint32_t > &ddns_ttl_max)
Calculates TTL for a DNS resource record based on lease life time.
void queueNCR(const NameChangeType &chg_type, const Lease4Ptr &lease)
Creates name change request from the DHCPv4 lease.
boost::shared_ptr< Lease6 > Lease6Ptr
Pointer to a Lease6 structure.
boost::shared_ptr< Lease4 > Lease4Ptr
Pointer to a Lease4 structure.
Defines the logger used by the top-level component of kea-lfc.
This file provides the classes needed to embody, compose, and decompose DNS update requests that are ...