fix(access-point): a change the AP refuses in apply_ap_config is raised, and nothing applied (#54)
driver / standard (pull_request) Successful in 16s
driver / lint (pull_request) Successful in 11s
driver / lowest (pull_request) Successful in 28s
driver / types (pull_request) Successful in 1m4s
driver / test (3.13) (pull_request) Successful in 54s
driver / test (3.12) (pull_request) Successful in 1m8s
driver / build (pull_request) Successful in 28s
driver / security (pull_request) Successful in 59s
CI / driver (pull_request) Successful in 2m8s
driver / publish (pull_request) Skipped
driver / standard (pull_request) Successful in 16s
driver / lint (pull_request) Successful in 11s
driver / lowest (pull_request) Successful in 28s
driver / types (pull_request) Successful in 1m4s
driver / test (3.13) (pull_request) Successful in 54s
driver / test (3.12) (pull_request) Successful in 1m8s
driver / build (pull_request) Successful in 28s
driver / security (pull_request) Successful in 59s
CI / driver (pull_request) Successful in 2m8s
driver / publish (pull_request) Skipped
The configuration ran as one detached script, so a refused uci step only reached its log while the call reported the part as applied. The changes are now staged by a script the call waits for: a uci wrapper records each refused set, add, add_list or delete with its part, and at the end every config is reverted and the script exits 3, which raises CommandErrorException naming each part, passphrases masked. Quiet -q calls stay tests. The commits, LuCI's service, the reloads and the restart run detached afterwards, as before. Closes #54
This commit is contained in:
1 parent
f71c12dfb6
commit
9bac9bd1af
6 files changed
+350
-98
No files matched your search
+5
-2
@@ -25,8 +25,11 @@ recorded here; their history is the git log.
|
||||
SSID's VLAN, bands, presence, encryption, key, flags, limits, MAC filter and 802.11r.
|
||||
It answers which parts it wrote, which it could not (`skipped`: unknown, or a keyed
|
||||
mode without its key), whether the AP restarts (a new bridge), and the script with
|
||||
every passphrase masked. `wireless/<ssid>/passphrase` now writes the key, where
|
||||
netOrk's own builder wrote nothing for it.
|
||||
every passphrase masked. The changes are staged by a script the call waits for: a
|
||||
change the AP refuses raises `CommandErrorException` naming its part, and nothing of
|
||||
the configuration is applied (#54); the commits, reloads and the restart run detached
|
||||
afterwards. `wireless/<ssid>/passphrase` now writes the key, where netOrk's own
|
||||
builder wrote nothing for it.
|
||||
- `get_dhcp_leases()` (`DhcpLeasesMixin`): dnsmasq's DHCPv4 leases from its lease file;
|
||||
`[]` where dnsmasq never ran, a raise where the file cannot be read.
|
||||
|
||||
|
||||
Reference in new issue
Block a user