dhcpkit.ipv6.server.extensions.sol_max_rt.config module

Configuration elements for the SOL_MAX_RT option handlers

class dhcpkit.ipv6.server.extensions.sol_max_rt.config.InfMaxRTOptionHandlerFactory(section: ZConfig.matcher.SectionValue)[source]

Bases: dhcpkit.ipv6.server.handlers.HandlerFactory

Create the handler for the InfMaxRTOption.

create() → dhcpkit.ipv6.server.extensions.sol_max_rt.InfMaxRTOptionHandler[source]

Create a handler of this class based on the configuration in the config section.

Returns:A handler object
class dhcpkit.ipv6.server.extensions.sol_max_rt.config.SolMaxRTOptionHandlerFactory(section: ZConfig.matcher.SectionValue)[source]

Bases: dhcpkit.ipv6.server.handlers.HandlerFactory

Create the handler for the SolMaxRTOption.

create() → dhcpkit.ipv6.server.extensions.sol_max_rt.SolMaxRTOptionHandler[source]

Create a handler of this class based on the configuration in the config section.

Returns:A handler object
dhcpkit.ipv6.server.extensions.sol_max_rt.config.max_rt(value: str) → int[source]

Convert the name of the section to the number of seconds, and validate the range

Parameters:value – Config section name
Returns:Number of seconds