 |
Kea
1.5.0
|
Go to the documentation of this file.
57 return (forward_mgr_);
63 forward_mgr_ = forward_mgr;
70 return (reverse_mgr_);
76 reverse_mgr_ = reverse_mgr;
150 return (boost::dynamic_pointer_cast<D2CfgContext>(
getContext()));
303 #endif // D2_CFG_MGR_H
Base class for all configurations.
D2ParamsPtr & getD2Params()
Fetches a reference to the D2Params.
boost::shared_ptr< DdnsDomainListMgr > DdnsDomainListMgrPtr
Defines a pointer for DdnsDomain instances.
void setForwardMgr(DdnsDomainListMgrPtr forward_mgr)
Sets the forward domain list manager.
boost::shared_ptr< D2CfgMgr > D2CfgMgrPtr
Defines a shared pointer to D2CfgMgr.
The IOAddress class represents an IP addresses (version agnostic)
void setReverseMgr(DdnsDomainListMgrPtr reverse_mgr)
Sets the reverse domain list manager.
virtual isc::data::ConstElementPtr parse(isc::data::ConstElementPtr config, bool check_only)
Parses configuration of the D2.
static std::string reverseV6Address(const isc::asiolink::IOAddress &ioaddr)
Generate a reverse order string for the given IP address.
const D2ParamsPtr & getD2Params()
Convenience method fetches the D2Params from context.
boost::shared_ptr< ConfigBase > ConfigPtr
Non-const pointer to the SrvConfig.
Defines the logger used by the top-level component of kea-dhcp-ddns.
bool matchReverse(const std::string &ip_address, DdnsDomainPtr &domain)
Matches a given IP address to a reverse domain.
static std::string reverseV4Address(const isc::asiolink::IOAddress &ioaddr)
Generate a reverse order string for the given IP address.
D2CfgContextPtr getD2CfgContext()
Convenience method that returns the D2 configuration context.
virtual process::ConfigPtr createNewContext()
Creates an new, blank D2CfgContext context.
DdnsDomainListMgrPtr getReverseMgr()
Fetches the reverse DNS domain list manager.
virtual void setCfgDefaults(isc::data::ElementPtr mutable_config)
Adds default values to the given config.
boost::shared_ptr< D2Params > D2ParamsPtr
Defines a pointer for D2Params instances.
DdnsDomainListMgrPtr getForwardMgr()
Fetches the forward DNS domain list manager.
A collection of classes for housing and parsing the application configuration necessary for the DHCP-...
virtual ~D2CfgMgr()
Destructor.
virtual ~D2CfgContext()
Destructor.
bool matchForward(const std::string &fqdn, DdnsDomainPtr &domain)
Matches a given FQDN to a forward domain.
virtual isc::data::ElementPtr toElement() const
Unparse a configuration object.
D2CfgContext()
Constructor.
static const char * IPV4_REV_ZONE_SUFFIX
Reverse zone suffix added to IPv4 addresses for reverse lookups.
bool forwardUpdatesEnabled()
Returns whether or not forward updates are enabled.
DHCP-DDNS Configuration Context.
ConfigPtr & getContext()
Fetches the configuration context.
virtual process::ConfigPtr clone()
Creates a clone of this context object.
static std::string reverseIpAddress(const std::string &address)
Generate a reverse order string for the given IP address.
DHCP-DDNS Configuration Manager.
boost::shared_ptr< TSIGKeyInfoMap > TSIGKeyInfoMapPtr
Defines a pointer to map of TSIGkeyInfos.
boost::shared_ptr< Element > ElementPtr
void setKeys(const TSIGKeyInfoMapPtr &keys)
Sets the map of TSIG keys.
boost::shared_ptr< const Element > ConstElementPtr
virtual std::string getConfigSummary(const uint32_t selection)
Returns configuration summary in the textual format.
boost::shared_ptr< D2CfgContext > D2CfgContextPtr
Pointer to a configuration context.
bool reverseUpdatesEnabled()
Returns whether or not reverse updates are enabled.
boost::shared_ptr< DdnsDomain > DdnsDomainPtr
Defines a pointer for DdnsDomain instances.
static const char * IPV6_REV_ZONE_SUFFIX
Reverse zone suffix added to IPv6 addresses for reverse lookups.
TSIGKeyInfoMapPtr getKeys()
Fetches the map of TSIG keys.