Commit Graph

945 Commits

Author SHA1 Message Date
John Crispin
ad4ecf7fa6 ucentral-schema: make the code gen work for non bridge-vlan devices
Signed-off-by: John Crispin <john@phrozen.org>
2021-02-16 12:53:25 +01:00
John Crispin
f84347a0aa ucentral-schema: improve htmode verification
Signed-off-by: John Crispin <john@phrozen.org>
2021-02-15 15:13:24 +01:00
John Crispin
1743ce2c99 ucentral-schema: verify channel against physically available channels
Signed-off-by: John Crispin <john@phrozen.org>
2021-02-15 13:53:34 +01:00
John Crispin
bbf02a1756 ucentral-schema: add mqtt support
Signed-off-by: John Crispin <john@phrozen.org>
2021-02-05 11:16:48 +01:00
John Crispin
bdb4bce2f8 ucentral-schema: keep latest cfg across sysupgrade/factory reset
Signed-off-by: John Crispin <john@phrozen.org>
2021-02-04 11:05:57 +01:00
John Crispin
dfd37904f9 ucentral-schema: add syslog cmd handler
Signed-off-by: John Crispin <john@phrozen.org>
2021-02-04 11:05:57 +01:00
John Crispin
8d1bb4fffa ucentral-schema: add gre support
Signed-off-by: John Crispin <john@phrozen.org>
2021-02-04 11:05:57 +01:00
John Crispin
f52d304566 ucentral-schema: add logging helper function
Signed-off-by: John Crispin <john@phrozen.org>
2021-02-03 10:46:58 +01:00
John Crispin
a4521a76f6 ucentral-schema: add tcpdump support
Signed-off-by: John Crispin <john@phrozen.org>
2021-02-03 10:46:47 +01:00
John Crispin
65adf7df01 ucentral-schema: update script to new logging api
Signed-off-by: John Crispin <john@phrozen.org>
2021-02-02 15:44:51 +01:00
John Crispin
85a82d64b0 ucentral-schema: add statistic/metric reporting classes to the data model
Signed-off-by: John Crispin <john@phrozen.org>
2021-02-02 11:55:06 +01:00
John Crispin
e271cdb6f6 ucentral-schema: fix HE capabilities check for latest ucentral-wifi
Signed-off-by: John Crispin <john@phrozen.org>
2020-12-09 15:33:35 +01:00
John Crispin
30d5d0aa87 ucentral-schema: add missing AX options
Signed-off-by: John Crispin <john@phrozen.org>
2020-12-08 14:44:46 +01:00
John Crispin
e4bb02189c ucentral-schema: invert path detection logic
Signed-off-by: John Crispin <john@phrozen.org>
2020-12-07 15:21:39 +01:00
John Crispin
18c6d0abe6 ucentral-schema: add rtty support
Signed-off-by: John Crispin <john@phrozen.org>
2020-12-04 14:36:55 +01:00
John Crispin
14fd32fc55 ucentral-schema: add lldp support
Signed-off-by: John Crispin <john@phrozen.org>
2020-12-04 11:03:20 +01:00
John Crispin
42662a247f ucentral-schema: add poe to the data model
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-28 15:08:33 +01:00
John Crispin
86f19c550f ucentral-schema: fix stats
Do not send empty stats.

Signed-off-by: John Crispin <john@phrozen.org>
2020-11-28 13:01:15 +01:00
John Crispin
1b3ebba676 ucentral-schema: fix capabilities
Do not send empty capabilities.

Signed-off-by: John Crispin <john@phrozen.org>
2020-11-28 12:02:30 +01:00
John Crispin
9592cb31d7 usync-schema: add board id to capabilities
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-27 17:44:47 +01:00
John Crispin
8da24ac34b ucentral-schema: missing utpl->ucode change
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-27 17:44:47 +01:00
John Crispin
594b52c743 ucentral-schema: extend factory reset
We want to be able to do a factory reset while only keeping certs and
redirector settings.

Signed-off-by: John Crispin <john@phrozen.org>
2020-11-27 17:44:47 +01:00
John Crispin
d80030fa6c ucentral-schema: extend sysupgrade
We want to be able to do a sysupgrade while only keeping certs and
redirector settings.

Signed-off-by: John Crispin <john@phrozen.org>
2020-11-27 17:44:47 +01:00
John Crispin
39ab3ba011 ucentral-schema: fix guest network block rules
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-27 16:51:54 +01:00
John Crispin
bf05706374 ustream-schema: extend usteer handler to add a fw sections
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-27 16:02:03 +01:00
John Crispin
f27fab63f1 ucentral-schema: dont try loading templates that do not exist
This caused an exception which led to ucode termination. The execption should
only happen if the file is non-parseable.

Signed-off-by: John Crispin <john@phrozen.org>
2020-11-27 15:04:44 +01:00
John Crispin
637235455c ucentral-schema: shut down network prior to starting sysupgrde
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-27 14:46:01 +01:00
John Crispin
bbae94c564 ucentral: rebrand
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-27 08:43:02 +01:00
John Crispin
89e079afeb usync-schema: add sterring and a few bug fixes
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-19 10:53:30 +01:00
John Crispin
06e73443ea wifi-schema: add mesh support
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-18 11:46:47 +01:00
John Crispin
eb105f038d usync-schema: move files around
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-18 09:35:09 +01:00
John Crispin
cf25613c01 usync-schema: add serveral new schemas and templates
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-17 15:52:51 +01:00
John Crispin
bae2180e56 usync-schema: add network schema
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-12 11:31:16 +01:00
John Crispin
beb90b1ce8 usync-schema: fix whitespaces
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-12 10:33:47 +01:00
John Crispin
8f2e6e1ab8 usync-schema: start using yml as schema format
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-11 17:37:53 +01:00
John Crispin
c8e8513bfe usync-schema: add unix epoch time as uuid to state
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-11 17:32:55 +01:00
John Crispin
8670a3cab1 usync-json-schema: add cfg uuid to state file
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-11 17:32:54 +01:00
John Crispin
b5d38ad98f usync-schema: fix wifi bringup
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-11 17:32:53 +01:00
John Crispin
f9de451d7c usync-schema: add wifi stations to state
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-11 17:32:50 +01:00
John Crispin
39dac7a466 usync-schema: rework wifi template
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-11 17:32:47 +01:00
John Crispin
cafbf44ba9 usync-schema: add capabilities and state teamplates
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-11 17:32:45 +01:00
John Crispin
64eaddc6e8 usync-schema: uuid should be an integer
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-11 17:32:43 +01:00
John Crispin
5f7dec5f74 usync-schema: add uuid to the schema
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-11 17:32:40 +01:00
John Crispin
273cdf2525 usync-schema: add merge tools
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-11 17:32:38 +01:00
John Crispin
a524dc885c usync-schema: initial import
Add the initial version of the wifi related schemas, sample config files
and utpl code to render out the uci batch sequences.

Signed-off-by: John Crispin <john@phrozen.org>
2020-11-11 17:32:17 +01:00