dhcpkit.common.server.config_datatypes module

Extra datatypes for the IPv6 DHCP server

dhcpkit.common.server.config_datatypes.domain_name(value: str) → str[source]

Validate and clean a domain name.

Parameters:value – Domain name
Returns:Validated and cleaned domain name
dhcpkit.common.server.config_datatypes.user_name(value: str) → pwd.struct_passwd[source]

Validate the given user name

Parameters:value – User name
Returns:Resolved user
dhcpkit.common.server.config_datatypes.group_name(value: str) → grp.struct_group[source]

Validate the given group name

Parameters:value – Group name
Returns:Resolved group