otupy.types.data.idn_hostname.IDNHostname

class IDNHostname(hostname)

Bases: object

A hostname that can be used to connect to this device over a network

WARNING: This class has never been tested.

Methods

get

Returns the hostname as string

set

Check hostname fullfils RFC 1123 requirements

__init__(hostname)
get()

Returns the hostname as string

set(hostname)

Check hostname fullfils RFC 1123 requirements