Supervisor Namespace

Namespace: Supervisor.

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

Bases: IntFlag

Enum: Supervisor::ClusterRole.

The role a supervised-node will play in Zeek’s Cluster Framework.

NONE = 1
LOGGER = 2
MANAGER = 4
PROXY = 8
WORKER = 16
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