|  | Kea 3.1.0
    | 
the configuration manager for prefix limiting More...
#include <configuration.h>
| Public Member Functions | |
| const std::string & | key () const override | 
| Returns the key required to configure the limit in the user context. | |
| virtual void | logClientClassLimit (isc::dhcp::ClientClass const &client_class, isc::data::ConstElementPtr const &user_context) override | 
| Method that checks and logs limit which is to be applied to a client class. | |
| virtual void | logSubnetLimit (isc::dhcp::SubnetID const subnet_id, isc::data::ConstElementPtr const &user_context) override | 
| Method that checks and logs limit which is to be applied to a client class. | |
| Public Member Functions inherited from isc::limits::Configuration< LeaseLimit > | |
| virtual | ~Configuration ()=default | 
| Destructor. Declared only to be marked as virtual. | |
| void | parse (isc::dhcp::SrvConfigPtr const &config) | 
| Handles all the parsing of the Kea configuration required for limiting functionality. | |
| isc::data::ConstElementPtr const | parseUserContext (isc::data::ConstElementPtr const &user_context) const | 
| Abstract method that takes a user context from any configuration element and returns the value of the element of interest inside it - most often a limit. | |
the configuration manager for prefix limiting
Definition at line 158 of file configuration.h.
| 
 | overridevirtual | 
Returns the key required to configure the limit in the user context.
Implements isc::limits::Configuration< LeaseLimit >.
Definition at line 110 of file configuration.cc.
| 
 | overridevirtual | 
Method that checks and logs limit which is to be applied to a client class.
| client_class | |
| user_context | 
Implements isc::limits::Configuration< LeaseLimit >.
Definition at line 116 of file configuration.cc.
References isc::limits::DBGLVL_TRACE_BASIC, isc::limits::LIMITS_CONFIGURED_PREFIX_LIMIT_BY_CLIENT_CLASS, isc::limits::limits_logger, and LOG_DEBUG.
| 
 | overridevirtual | 
Method that checks and logs limit which is to be applied to a client class.
| subnet_id | |
| user_context | 
Implements isc::limits::Configuration< LeaseLimit >.
Definition at line 131 of file configuration.cc.
References isc::limits::DBGLVL_TRACE_BASIC, isc::limits::LIMITS_CONFIGURED_PREFIX_LIMIT_BY_SUBNET, isc::limits::limits_logger, and LOG_DEBUG.