post-check: failover check warns only on link without NM connection; retry, stub-nmcli tests
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KqhjP7nud5gdBg25zCiRk9
This commit is contained in:
@@ -22,7 +22,7 @@ shows, read-only, what the provisioning would do. `--post-check` reports the las
|
||||
|
||||
Live WAN state: `cat /run/van-failover/state.json` lists each WAN with `device`, `connection`,
|
||||
`present` (device and connection both resolved), `up`, `healthy`, `active` (holds the best default
|
||||
route) and `route_metric`. `present: false` for an existing device is a problem; `--post-check` warns.
|
||||
route) and `route_metric`. An unplugged or out-of-range uplink (`present: false`, no carrier) is expected in a van; `present: false` on a device that has link is the actionable case (not handed to NM yet, or its profile is missing), and `--post-check` warns about exactly that.
|
||||
|
||||
Known limitation: there is no boot-time recovery yet. If power is lost during an apply, the new
|
||||
config boots ungated and the status file still says `running`; `--apply-network` then refuses to run
|
||||
|
||||
Reference in New Issue
Block a user