dhcpkit.ipv6.server.extensions.ntp.config module

Configuration elements for the NTP option handlers

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

Bases: dhcpkit.ipv6.server.handlers.HandlerFactory

Create the handler for NTP servers.

clean_config_section()[source]

Convert the data to the right types

create() → dhcpkit.ipv6.server.extensions.ntp.NTPServersOptionHandler[source]

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

Returns:A handler object
validate_config_section()[source]

Make sure the keys refer to actual NTP sub-options