zeek/scripts/base/frameworks/cluster
Christian Kreibich a98ec6b08b Provide a script-layer equivalent to Supervisor::__init_cluster().
If the script layer is able to access the current node's config via
Supervisor::node(), it can handle populating Cluster::nodes. That code
is much more straightforward than an equivalent in-core implementation
(especially with the upcoming change to the cluster table's implementation).
This introduces base/frameworks/cluster/supervisor.zeek and
Cluster::Supervisor::__init_cluster_nodes() for that purpose.

The @load of the Supervisor API in cluster/main.zeek isn't technically
necessary since we already load it explicitly even in init-bare.zeek,
but being explicit seems better.
2024-07-02 14:52:13 -07:00
..
nodes all: Fix typos identified by typos pre-commit hook 2023-06-13 17:57:32 +02:00
__load__.zeek BrokerStore<->Zeek tables: &backend works for in-memory stores. 2020-07-01 16:38:10 -07:00
broker-stores.zeek Revert "Merge remote-tracking branch 'origin/topic/vern/at-if-analyze'" 2023-05-31 09:20:33 +02:00
main.zeek Add a services.json endpoint for Prometheus service discovery 2024-05-31 13:30:31 -07:00
pools.zeek Do not default PoolSpec topics to the empty string. 2024-02-05 18:03:08 -08:00
README More bro-to-zeek renaming in scripts and other files 2019-05-16 02:36:41 -05:00
setup-connections.zeek time machine: Mark leftovers for removal in v7.1 2023-11-07 16:06:16 +01:00
supervisor.zeek Provide a script-layer equivalent to Supervisor::__init_cluster(). 2024-07-02 14:52:13 -07:00

The cluster framework provides for establishing and controlling a cluster
of Zeek instances.