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>&
179 virtual bool isSupportedIdentifier(
const std::string& id_name)
const = 0;
203 virtual bool isSupportedIdentifier(
const std::string& id_name)
const;
224 virtual bool isSupportedIdentifier(
const std::string& id_name)
const;
231 #endif // HOST_RESERVATION_PARSER_H 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.
Parser for a list of host identifiers for DHCPv6.
virtual HostPtr parse(const SubnetID &subnet_id, isc::data::ConstElementPtr reservation_data) final
Parses a single entry for host reservation.
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 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-lfc.
virtual ~HostReservationParser()
Destructor.
CfgHostOperationsPtr staging_cfg_
Pointer to the object holding configuration.
Parser for a single host reservation entry.
boost::shared_ptr< CfgHostOperations > CfgHostOperationsPtr
Pointer to the Non-const object.
uint32_t SubnetID
Defines unique IPv4 or IPv6 subnet identifier.
virtual bool isSupportedParameter(const std::string ¶m_name) const
Checks if the specified parameter is supported by the parser.