policy/frameworks/cluster/controller/types.zeek¶
-
ClusterController::Types
¶
- Namespace
ClusterController::Types
Summary¶
Types¶
Configuration describing a Zeek instance running a Cluster Agent. |
|
Configuration describing a Cluster Node process. |
|
A Zeek-side option with value. |
|
Management infrastructure node type. |
|
State that a Cluster Node can be in. |
Detailed Interface¶
Types¶
- ClusterController::Types::Configuration¶
- Type
-
id:
string
&default
=Chd8EgFWk2j
&optional
- instances:
set
[ClusterController::Types::Instance
] The instances in the cluster. XXX we may be able to make this optional
- nodes:
set
[ClusterController::Types::Node
] The set of nodes in the cluster, as distributed over the instances.
- instances:
- ClusterController::Types::Instance¶
-
Configuration describing a Zeek instance running a Cluster Agent. Normally, there’ll be one instance per cluster system: a single physical system.
- ClusterController::Types::Node¶
- Type
-
name:
string
instance:
string
p:
port
role:
Supervisor::ClusterRole
state:
ClusterController::Types::State
scripts:
vector
ofstring
&optional
options:
set
[ClusterController::Types::Option
]&optional
Configuration describing a Cluster Node process.
- ClusterController::Types::Option¶
-
A Zeek-side option with value.
- ClusterController::Types::Role¶
- Type
-
-
ClusterController::Types::NONE
¶
-
ClusterController::Types::AGENT
¶
-
ClusterController::Types::CONTROLLER
¶
-
Management infrastructure node type. This intentionally does not include the data cluster node types (worker, logger, etc) – those continue to be managed by the cluster framework.
- ClusterController::Types::State¶
- Type
-
-
ClusterController::Types::Running
¶
-
ClusterController::Types::Stopped
¶
-
ClusterController::Types::Failed
¶
-
ClusterController::Types::Crashed
¶
-
ClusterController::Types::Unknown
¶
-
State that a Cluster Node can be in. State changes trigger an API notification (see notify_change()).