dhcpkit.ipv6.server.extensions.bulk_leasequery module¶
Server extension to handle bulk leasequery properly
-
class
dhcpkit.ipv6.server.extensions.bulk_leasequery.
RefuseBulkLeasequeryOverUDPHandler
[source]¶ Bases:
dhcpkit.ipv6.server.handlers.Handler
A handler that refuses bulk leasequery over UDP.
The new queries introduced in this specification cannot be used with the UDP Leasequery protocol. Servers that implement this specification and also permit UDP queries MUST NOT accept Bulk Leasequery query-types in UDP Leasequery messages. Such servers MUST respond with an error status code of
STATUS_NOT_ALLOWED
.
-
class
dhcpkit.ipv6.server.extensions.bulk_leasequery.
RequireBulkLeasequeryOverTCPHandler
[source]¶ Bases:
dhcpkit.ipv6.server.handlers.Handler
A handler that makes sure only bulk leasequery is accepted over TCP.
Only LEASEQUERY, LEASEQUERY-REPLY, LEASEQUERY-DATA, and LEASEQUERY-DONE messages are allowed over the Bulk Leasequery connection. No other DHCPv6 messages are supported. The Bulk Leasequery connection is not an alternative DHCPv6 communication option for clients seeking DHCPv6 service.