dhcpkit.ipv6.server.listeners.unicast.config module

Factory for the implementation of a listener on a unicast address of a local network interface

class dhcpkit.ipv6.server.listeners.unicast.config.UnicastUDPListenerFactory(section: ZConfig.matcher.SectionValue)[source]

Bases: dhcpkit.ipv6.server.listeners.factories.UDPListenerFactory

Factory for the implementation of a listener on a unicast address of a local network interface

create(old_listeners: Iterable = None) → dhcpkit.ipv6.server.listeners.udp.UDPListener[source]

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

Parameters:old_listeners – A list of existing listeners in case we can recycle them
Returns:A listener object
name_datatype

alias of ipaddress.IPv6Address

validate_config_section()[source]

Validate the interface information