mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Add optional bare-mode boolean flag to Supervisor's node configuration
When omitted, the node inherits the Supervisor's bare-mode status. When true/false, the new Zeek node will enable/disable bare mode, respectively. It continues to load any scripts passed at the command line and in the additional scripts list already provided in the node configuration. Includes testcase.
This commit is contained in:
parent
efaa9ec3be
commit
7bee79b400
7 changed files with 108 additions and 0 deletions
|
@ -186,6 +186,11 @@ public:
|
|||
* A cpu/core number to which the node will try to pin itself.
|
||||
*/
|
||||
std::optional<int> cpu_affinity;
|
||||
/**
|
||||
* Whether to start the node in bare mode. When not present, the
|
||||
* node inherits the bare-mode status of the supervisor.
|
||||
*/
|
||||
std::optional<bool> bare_mode;
|
||||
/**
|
||||
* Additional script filename/paths that the node should load.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue