added settings to disable all broadcasting from openui
Generate and publish developer Wiki / validate-wiki (push) Canceled after 0s
Generate and publish developer Wiki / publish-wiki (push) Canceled after 0s
Build and publish release / metadata (push) Canceled after 0s
Build and publish release / create-release (push) Canceled after 0s
Build and publish release / build (push) Canceled after 0s
Build and publish release / publish-release (push) Canceled after 0s
Generate and publish developer Wiki / validate-wiki (push) Canceled after 0s
Generate and publish developer Wiki / publish-wiki (push) Canceled after 0s
Build and publish release / metadata (push) Canceled after 0s
Build and publish release / create-release (push) Canceled after 0s
Build and publish release / build (push) Canceled after 0s
Build and publish release / publish-release (push) Canceled after 0s
This commit is contained in:
1 parent
c7687fd35d
commit
c08668058e
7 files changed
+138
-39
No files matched your search
@@ -154,7 +154,10 @@ controller_ip = # Empty: use IPv4 default gateway
|
||||
lan_if = br-lan # Default Lan interface Name
|
||||
ufmodel = u6-inwall # emulated model
|
||||
inform_interval = 10 # inform interval
|
||||
enable_announce = 1
|
||||
enable_announce = 1 # Master switch for UDP discovery
|
||||
enable_announce_broadcast = 1 # Broadcast discovery on lan_if
|
||||
enable_announce_multicast = 1 # Multicast discovery on lan_if
|
||||
enable_lldp_tx = 1 # LLDP transmission on model Ethernet ports
|
||||
enable_inform = 1 # Enable adoption and telemetry requests
|
||||
enable_logging = 1 # Write diagnostics to /var/log/openuf.log
|
||||
protocol_debug_level = 0 # 0=off, 1=safe response details,
|
||||
@@ -166,6 +169,24 @@ Set `controller_ip` to a controller IPv4 address or hostname to override
|
||||
autodetection. The automatic mode uses the IPv4 default-route gateway for
|
||||
initial adoption; after adoption, the controller-provided inform URL is kept.
|
||||
|
||||
To isolate discovery traffic when troubleshooting switch outages, set
|
||||
`enable_announce_broadcast`, `enable_announce_multicast`, or `enable_lldp_tx`
|
||||
to `0` independently and run `/etc/init.d/openuf restart`. All three default to `1`
|
||||
when omitted from older configurations. `enable_announce=0` disables both UDP
|
||||
channels; it does not disable LLDP or inform. Setting both UDP channel controls
|
||||
to `0` also disables UDP discovery.
|
||||
|
||||
Both UDP discovery sockets are bound to `lan_if`, including explicit multicast
|
||||
interface selection. If a requested socket cannot be configured on that
|
||||
interface, UDP discovery is disabled and an error is reported; it does not fall
|
||||
back to a different interface. LLDP continues to use the emulated model's
|
||||
Ethernet port list through interface-specific raw sockets.
|
||||
|
||||
`enable_lldp_tx=0` stops only openUF's LLDP transmission. LLDP neighbor telemetry
|
||||
and transmissions from a separately running `lldpd` remain independent. These
|
||||
controls support diagnosis; they do not establish or fix the cause of switch
|
||||
outages.
|
||||
|
||||
Daemon settings live in `/etc/openuf/openuf.conf`. Adoption and controller state
|
||||
are persisted separately in `/etc/openuf/state.json`; do not copy that file
|
||||
between devices because it contains the device authentication key.
|
||||
|
||||
Reference in new issue
Block a user