Cluster NamespaceΒΆ

Namespace: Cluster.

class zlogging.enum.cluster.NodeType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntFlag

Enum: Cluster::NodeType.

Types of nodes that are allowed to participate in the cluster configuration.

NONE = 1

A dummy node type indicating the local node is not operating within a cluster.

CONTROL = 2

A node type which is allowed to view/manipulate the configuration of other nodes in the cluster.

LOGGER = 4

A node type responsible for log management.

MANAGER = 8

A node type responsible for policy management.

PROXY = 16

A node type for relaying worker node communication and synchronizing worker node state.

WORKER = 32

The node type doing all the actual traffic analysis.

TIME_MACHINE = 64

A node acting as a traffic recorder using the Time Machine software.

static _generate_next_value_(name, start, count, last_values)

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_values: the last value assigned or None