angelos.document.domain

Module docstring.

class angelos.document.domain.Domain(nd: dict = {}, strict: bool = True)

Bases: angelos.document.document.Document, angelos.document.document.UpdatedMixin

Short summary.

type

Description of attribute type.

Type

TypeField

apply_rules() → bool

Short summary.

Returns

Description of returned object.

Return type

type

class angelos.document.domain.Host(nd: dict = {}, strict: bool = True)

Bases: angelos.document.model.BaseDocument

Short summary.

node

Description of attribute node.

Type

UuidField

ip

Description of attribute ip.

Type

IPField

hostname

Description of attribute hostname.

Type

StringField

class angelos.document.domain.Location(nd: dict = {}, strict: bool = True)

Bases: angelos.document.model.BaseDocument

Short summary.

ip

Description of attribute ip.

Type

IpField

hostname

Description of attribute hostname.

Type

StringField

class angelos.document.domain.Network(nd: dict = {}, strict: bool = True)

Bases: angelos.document.document.Document, angelos.document.document.ChangeableMixin

Short summary.

type

Description of attribute type.

Type

TypeField

domain

Description of attribute domain.

Type

UuidField

hosts

Description of attribute hosts.

Type

DocumentField

apply_rules() → bool

Short summary.

Returns

Description of returned object.

Return type

type

changeables() → tuple

Fields that are changeable when updating.

iploc() → Union[ipaddress.IPv4Address, ipaddress.IPv6Address]

IP address for a location from document.

class angelos.document.domain.Node(nd: dict = {}, strict: bool = True)

Bases: angelos.document.document.Document, angelos.document.document.UpdatedMixin

Short summary.

type

Description of attribute type.

Type

TypeField

domain

Description of attribute domain.

Type

UuidField

role

Description of attribute role.

Type

ChoiceField

device

Description of attribute device.

Type

StringField

serial

Description of attribute serial.

Type

StringField

location

Description of attribute location.

Type

DocumentField

apply_rules() → bool

Short summary.

Returns

Description of returned object.

Return type

type

iploc() → Union[ipaddress.IPv4Address, ipaddress.IPv6Address]

IP address for a location.