7#ifndef HOST_RESERVATION_PARSER_H
8#define HOST_RESERVATION_PARSER_H
38 bool encapsulate_options =
true) final;
58 bool encapsulate_options);
82 virtual const std::set<std::
string>&
103 bool encapsulate_options);
112 virtual const std::set<std::string>&
133 bool encapsulate_options);
142 virtual const std::set<std::string>&
143 getSupportedParameters(
const bool identifiers_only)
const;
215 virtual bool isSupportedIdentifier(
const std::string& id_name)
const;
236 virtual bool isSupportedIdentifier(
const std::string& id_name)
const;
Parser for a list of host identifiers for DHCPv4.
Parser for a list of host identifiers for DHCPv6.
Parser for a list of host identifiers.
CfgHostOperationsPtr staging_cfg_
Pointer to the object holding configuration.
virtual ~HostReservationIdsParser()
Destructor.
virtual bool isSupportedIdentifier(const std::string &id_name) const =0
Checks if specified identifier name is supported in the context of the parser.
Parser for a single host reservation for DHCPv4.
Parser for a single host reservation for DHCPv6.
Parser for a single host reservation entry.
virtual HostPtr parse(const SubnetID &subnet_id, isc::data::ConstElementPtr reservation_data, bool encapsulate_options=true) 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 ~HostReservationParser()
Destructor.
virtual const std::set< std::string > & getSupportedParameters(const bool identifiers_only) const =0
Returns set of the supported parameters.
virtual HostPtr parseInternal(const SubnetID &subnet_id, isc::data::ConstElementPtr reservation_data, bool encapsulate_options)
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.
boost::shared_ptr< const Element > ConstElementPtr
boost::shared_ptr< CfgHostOperations > CfgHostOperationsPtr
Pointer to the Non-const object.
boost::shared_ptr< Host > HostPtr
Pointer to the Host object.
uint32_t SubnetID
Defines unique IPv4 or IPv6 subnet identifier.
Defines the logger used by the top-level component of kea-lfc.