maasserver.enum

Enumerations meaningful to the maasserver application.

class maasserver.enum.COMPONENT[source]

Bases: object

Major moving parts of the application that may have failure states.

class maasserver.enum.NODE_STATUS[source]

Bases: object

The vocabulary of a Node‘s possible statuses.

DECLARED = 0

The node has been created and has a system ID assigned to it.

COMMISSIONING = 1

Testing and other commissioning steps are taking place.

FAILED_TESTS = 2

Smoke or burn-in testing has a found a problem.

MISSING = 3

The node can’t be contacted.

READY = 4

The node is in the general pool ready to be deployed.

RESERVED = 5

The node is ready for named deployment.

ALLOCATED = 6

The node is powering a service from a charm or is ready for use with a fresh Ubuntu install.

RETIRED = 7

The node has been removed from service manually until an admin overrides the retirement.

class maasserver.enum.DISTRO_SERIES[source]

Bases: object

List of supported ubuntu releases.

default = u''
precise = u'precise'
quantal = u'quantal'
raring = u'raring'
saucy = u'saucy'
trusty = u'trusty'
class maasserver.enum.NODE_PERMISSION[source]

Bases: object

Permissions relating to nodes.

class maasserver.enum.PRESEED_TYPE[source]

Bases: object

Types of preseed documents that can be generated.

class maasserver.enum.USERDATA_TYPE[source]

Bases: object

Types of user-data documents that can be generated.

class maasserver.enum.NODEGROUP_STATUS[source]

Bases: object

The vocabulary of a NodeGroup‘s possible statuses.

DEFAULT = 0

A nodegroup starts out as PENDING.

PENDING = 0

The nodegroup has been created and awaits approval.

ACCEPTED = 1
REJECTED = 2
class maasserver.enum.NODEGROUPINTERFACE_MANAGEMENT[source]

Bases: object

The vocabulary of a NodeGroupInterface‘s possible statuses.

UNMANAGED = 0

Do not manage DHCP or DNS for this interface.

DHCP = 1

Manage DHCP for this interface.

DHCP_AND_DNS = 2

Manage DHCP and DNS for this interface.

MAAS logo

MAAS

Metal As A Service.



Related Topics

This Page