7 #ifndef HOST_RESERVATION_PARSER_H
8 #define HOST_RESERVATION_PARSER_H
76 virtual const std::set<std::string>&
103 virtual const std::set<std::string>&
130 virtual const std::set<std::string>&
231 #endif // HOST_RESERVATION_PARSER_H
virtual const std::set< std::string > & getSupportedParameters(const bool identifiers_only) const
Returns set of the supported parameters for DHCPv6.
Parser for a single host reservation for DHCPv4.
virtual ~HostReservationIdsParser()
Destructor.
boost::shared_ptr< Host > HostPtr
Pointer to the Host object.
virtual const std::set< std::string > & getSupportedParameters(const bool identifiers_only) const =0
Returns set of the supported parameters.
virtual const std::set< std::string > & getSupportedParameters(const bool identifiers_only) const
Returns set of the supported parameters for DHCPv4.
Parser for a list of host identifiers for DHCPv6.
HostReservationIdsParser()
Constructor.
virtual HostPtr parse(const SubnetID &subnet_id, isc::data::ConstElementPtr reservation_data) final
Parses a single entry for host reservation.
virtual bool isSupportedParameter(const std::string ¶m_name) const
Checks if the specified parameter is supported by the parser.
virtual HostPtr parseInternal(const SubnetID &subnet_id, isc::data::ConstElementPtr reservation_data)
Parses a single host reservation for DHCPv6.
void parse(isc::data::ConstElementPtr ids_list)
Parses a list of host identifiers.
HostReservationIdsParser6()
Constructor.
virtual HostPtr parseInternal(const SubnetID &subnet_id, isc::data::ConstElementPtr reservation_data)
Parses a single entry for host reservation.
boost::shared_ptr< const Element > ConstElementPtr
Parser for a single host reservation for DHCPv6.
Parser for a list of host identifiers.
Parser for a list of host identifiers for DHCPv4.
Defines the logger used by the top-level component of kea-dhcp-ddns.
virtual ~HostReservationParser()
Destructor.
virtual bool isSupportedIdentifier(const std::string &id_name) const =0
Checks if specified identifier name is supported in the context of the parser.
virtual bool isIdentifierParameter(const std::string ¶m_name) const
Checks if the specified parameter is a host identifier.
virtual HostPtr parseInternal(const SubnetID &subnet_id, isc::data::ConstElementPtr reservation_data)
Parses a single host reservation for DHCPv4.
HostReservationIdsParser4()
Constructor.
CfgHostOperationsPtr staging_cfg_
Pointer to the object holding configuration.
Parser for a single host reservation entry.
virtual void parseInternal(isc::data::ConstElementPtr ids_list)
Parses a list of host identifiers.
virtual bool isSupportedIdentifier(const std::string &id_name) const
Checks if specified identifier name is supported for DHCPv6.
boost::shared_ptr< CfgHostOperations > CfgHostOperationsPtr
Pointer to the Non-const object.
virtual bool isSupportedIdentifier(const std::string &id_name) const
Checks if specified identifier name is supported for DHCPv4.
uint32_t SubnetID
Unique identifier for a subnet (both v4 and v6)