dhcpkit.ipv6.extensions.ntp_suboption_registry module

The NTP suboption registry

class dhcpkit.ipv6.extensions.ntp_suboption_registry.NTPSuboptionRegistry[source]

Bases: dhcpkit.registry.Registry

Registry for NTP Suboptions

entry_point = 'dhcpkit.ipv6.options.ntp.suboptions'
get_name(item: object) → str[source]

Get the name for the by_name mapping.

Parameters:item – The item to determine the name of
Returns:The name to use as key in the mapping