|  | Kea 3.0.0
    | 
a datastore used for configuring functionally dedicated parts of the limits library More...
#include <configuration.h>
| Public Member Functions | |
| virtual | ~Configuration ()=default | 
| Destructor. Declared only to be marked as virtual. | |
| virtual const std::string & | key () const =0 | 
| 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)=0 | 
| Abstract 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)=0 | 
| Abstract method that checks and logs limit which is to be applied to a client class. | |
| 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. | |
a datastore used for configuring functionally dedicated parts of the limits library
Definition at line 67 of file configuration.h.
| 
 | virtualdefault | 
Destructor. Declared only to be marked as virtual.
| 
 | pure virtual | 
Returns the key required to configure the limit in the user context.
Implemented in isc::limits::AddressLimitConfiguration, isc::limits::PrefixLimitConfiguration, and isc::limits::RateLimitConfiguration.
Referenced by parseUserContext().
| 
 | pure virtual | 
Abstract method that checks and logs limit which is to be applied to a client class.
| client_class | |
| user_context | 
Implemented in isc::limits::AddressLimitConfiguration, isc::limits::PrefixLimitConfiguration, and isc::limits::RateLimitConfiguration.
Referenced by parse().
| 
 | pure virtual | 
Abstract method that checks and logs limit which is to be applied to a client class.
| subnet_id | |
| user_context | 
Implemented in isc::limits::AddressLimitConfiguration, isc::limits::PrefixLimitConfiguration, and isc::limits::RateLimitConfiguration.
Referenced by parse().
| 
 | inline | 
Handles all the parsing of the Kea configuration required for limiting functionality.
the configuration to be parsed - usually current or staging
Definition at line 74 of file configuration.h.
References logClientClassLimit(), logSubnetLimit(), and parseUserContext().
| 
 | inline | 
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.
| user_context | the element's user context | 
Definition at line 104 of file configuration.h.
References key().
Referenced by parse().