dhcpkit.ipv6.server.extensions.static_assignments.config module

Configuration elements for the static assignment handlers

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

Bases: dhcpkit.ipv6.server.handlers.HandlerFactory

Factory for a handler that reads assignments from a CSV file

create() → dhcpkit.ipv6.server.extensions.static_assignments.csv.CSVStaticAssignmentHandler[source]

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

Returns:A handler object
static name_datatype(v)
class dhcpkit.ipv6.server.extensions.static_assignments.config.SqliteStaticAssignmentHandlerFactory(section: ZConfig.matcher.SectionValue)[source]

Bases: dhcpkit.ipv6.server.handlers.HandlerFactory

Factory for a handler that reads assignments from a SQLite database

create() → dhcpkit.ipv6.server.extensions.static_assignments.sqlite.SqliteStaticAssignmentHandler[source]

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

Returns:A handler object
static name_datatype(v)