7 #ifndef ISC_TRANSLATOR_POOL_H 
    8 #define ISC_TRANSLATOR_POOL_H 1 
  131 #ifndef HAVE_PRE_0_7_6_SYSREPO 
  132     TranslatorPool(sysrepo::S_Session session, 
const std::string& model);
 
  160                              std::string& start_address,
 
  161                              std::string& end_address);
 
  205 #ifndef HAVE_PRE_0_7_6_SYSREPO 
  256 #endif // ISC_TRANSLATOR_POOL_H 
isc::data::ElementPtr getPool(const std::string &xpath)
Get and translate a pool from YANG to JSON. 
isc::data::ElementPtr getPoolIetf6(const std::string &xpath)
getPool for ietf-dhcpv6-server. 
virtual ~TranslatorPools()
Destructor. 
isc::data::ElementPtr getPoolsKea(const std::string &xpath)
getPools for kea-dhcp[46]-server. 
isc::data::ElementPtr getPoolsIetf(const std::string &xpath)
getPools for ietf-dhcpv6-server. 
boost::shared_ptr< Element > ElementPtr
void setPool(const std::string &xpath, isc::data::ConstElementPtr elem)
Translate and set (address) pool from JSON to YANG. 
static void getAddresses(const std::string &prefix, std::string &start_address, std::string &end_address)
Get start and end addresses from prefix. 
void setPools(const std::string &xpath, isc::data::ConstElementPtr elem)
Translate and set (address) pools from JSON to YANG. 
TranslatorPool(sysrepo::S_Session session, const std::string &model)
Constructor. 
void setPoolsById(const std::string &xpath, isc::data::ConstElementPtr elem)
setPools using pool-id. 
TranslatorPools(sysrepo::S_Session session, const std::string &model)
Constructor. 
void setPoolKea(const std::string &xpath, isc::data::ConstElementPtr elem)
setPool for kea-dhcp[46]-server. 
A translator class for converting an option data list between YANG and JSON. 
boost::shared_ptr< const Element > ConstElementPtr
Defines the logger used by the top-level component of kea-dhcp-ddns. 
A translator class for converting a pool between YANG and JSON. 
void setPoolIetf6(const std::string &xpath, isc::data::ConstElementPtr elem)
setPool for ietf-dhcpv6-server. 
A translator class for converting pools between YANG and JSON. 
isc::data::ElementPtr getPools(const std::string &xpath)
Get and translate pools from YANG to JSON. 
void setPoolsByAddresses(const std::string &xpath, isc::data::ConstElementPtr elem)
setPools using address pair. 
virtual ~TranslatorPool()
Destructor. 
isc::data::ElementPtr getPoolKea(const std::string &xpath)
getPool for kea-dhcp[46]-server.