dhcpkit.ipv6.server.extensions.sntp package

Handlers for the options defined in dhcpkit.ipv6.extensions.sntp

class dhcpkit.ipv6.server.extensions.sntp.SNTPServersOptionHandler(sntp_servers: Iterable, always_send: bool = False)[source]

Bases: dhcpkit.ipv6.server.handlers.basic.SimpleOptionHandler

Handler for putting SNTPServersOptions in responses

combine(existing_options: Iterable) → dhcpkit.ipv6.extensions.sntp.SNTPServersOption[source]

Combine multiple options into one.

Parameters:existing_options – The existing options to include NTP servers from
Returns:The combined option