otupy.types.data.hostname.Hostname

class Hostname(hostname)

Bases: object

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

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