mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
cluster: Deprecate the Cluster::Node$interface field
This field isn't required by a worker and it's certainly not used by a worker to listen on that specific interface. It also isn't required to be set consistently and its use in-tree limited to the old load-balancing script. There's a bif called packet_source() which on a worker will provide information about the actually used packet source. Relates to zeek/zeek#2877.
This commit is contained in:
parent
46b7e9d7be
commit
d88b147ac9
31 changed files with 53 additions and 52 deletions
|
@ -181,7 +181,7 @@ export {
|
|||
## A value of ``0/unknown`` means the node is not pre-configured to listen.
|
||||
p: port &default=0/unknown;
|
||||
## Identifier for the interface a worker is sniffing.
|
||||
interface: string &optional;
|
||||
interface: string &optional &deprecated="Remove in v7.1: interface is not required and not set consistently on workers. Replace usages with packet_source() or keep a separate worker-to-interface mapping in a global table.";
|
||||
## Name of the manager node this node uses. For workers and proxies.
|
||||
manager: string &optional;
|
||||
## Name of a time machine node with which this node connects.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue