270 Commits

Author SHA1 Message Date
Stijn Tintel
5e42737ad4 generate-reader.uc: rename ip to uc-ip
The JSON schema only defines ipv4 and ipv6 types, not ip. Prefix
non-standard type with uc-.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-11-02 17:38:16 +01:00
John Crispin
1bdc8de73f update the qos scheme/renderer
Signed-off-by: John Crispin <john@phrozen.org>
2021-10-27 18:11:31 +02:00
John Crispin
ac24d7f0ff drop vlan-id from the gre tunnel definition
tunnels should use interface.vlan.id

Signed-off-by: John Crispin <john@phrozen.org>
2021-10-13 17:35:33 +02:00
Stijn Tintel
e440ced24d open-flow: fix controller property type
The uc-cidr format expects a requires a prefix part, which will not work
when passed to Open vSwitch. Change the type to the newly introduced ip.
This solves the following confusing error with a valid IP:

[E] (In /services/open-flow/controller) Value must be a valid IPv4 or IPv6 CIDR

Fixes: 727159535e ("schema: extend QoS schema")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-10-13 16:26:52 +02:00
Stijn Tintel
60549a8249 open-flow: use mode ssl by default
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-10-12 11:04:06 +02:00
Stijn Tintel
2718e30abd schema: add property to set OpenFlow datapath description
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-10-12 11:04:06 +02:00
John Crispin
8eb586bce2 11u domain operatore name was a singleton but should be an array
Signed-off-by: John Crispin <john@phrozen.org>
2021-10-11 11:43:35 +02:00
John Crispin
a35a0ea17a add support for hs20_wan_metrics
Signed-off-by: John Crispin <john@phrozen.org>
2021-10-11 11:43:35 +02:00
John Crispin
8f0922b418 schema: add support for eap-192 mode
Signed-off-by: John Crispin <john@phrozen.org>
2021-10-07 12:51:09 +02:00
John Crispin
727159535e schema: extend QoS schema
Signed-off-by: John Crispin <john@phrozen.org>
2021-10-04 12:08:19 +02:00
John Crispin
ea8f8293fb qos: update schema and renderer
Signed-off-by: John Crispin <john@phrozen.org>
2021-09-21 15:37:07 +02:00
John Crispin
c068e3d05d radsec: add support for multiple realms and naptr lookup
Signed-off-by: John Crispin <john@phrozen.org>
2021-09-20 10:37:27 +02:00
John Crispin
222afd7d26 schema: implement missing pass-point functionality
Signed-off-by: John Crispin <john@phrozen.org>
2021-09-19 16:19:12 +02:00
Stephane Bourque
8f921397c5 fix Wrong reference
The reference should have been: "#/$defs/interface.ssid.encryption".  You can validate the schema @ https://www.jsonschemavalidator.net/
This solves the problem.

Signed-off-by: Stephane Bourque <stephane.bourque@gmail.com>
2021-09-15 07:27:57 +02:00
John Crispin
3b26aa10ff schema: add loop-detection support
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-27 15:26:58 +02:00
Stijn Tintel
82800adfd9 schema: add property to set OpenFlow target mode
Add a property to set the OpenFlow target mode. When an SSL-based mode
is used, validate if the required SSL files are configured, and throw a
warning if they aren't.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-08-25 14:20:26 +02:00
Stijn Tintel
8c3b156ed0 schema: rename open-flow server-certificate property
When connecting to a controller, the certificate is actually used for
client authentication, so the server-certificate name is inaccurate.
Rename the property to ssl-certificate instead.

While at it, also improve the descriptions of the ca-certificate and
private-key properties.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-08-25 14:20:16 +02:00
Stijn Tintel
8c8551fbcc schema: fix typo in open-flow description
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-08-25 14:20:05 +02:00
John Crispin
e0c42658d7 renderer: add facebook-wifi support
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-24 16:59:48 +02:00
John Crispin
f245be6677 renderer: add basic QoS support
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-23 11:56:28 +02:00
John Crispin
497b16a4f5 renderer: add support for explicitly setting port tagging behaviour
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-20 16:42:28 +02:00
John Crispin
e15304b445 schema: add third-party support
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-19 12:26:45 +02:00
John Crispin
530cc5a0cb schema: add airtime-policies support
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-10 09:47:18 +02:00
John Crispin
17afd65b81 schema: add top-level switch node
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-09 14:53:38 +02:00
John Crispin
50ab44b0f5 schema: add toplevel ethernet node
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-03 12:37:50 +02:00
John Crispin
efee6698cf schema: improve OpenFlow support
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-03 12:37:50 +02:00
John Crispin
520bd6a237 schema: set proxy_arp to true by default
Signed-off-by: John Crispin <john@phrozen.org>
2021-07-28 15:11:26 +02:00
John Crispin
8ed8d64ec3 schema: add support for disassoc-low-ack
Signed-off-by: John Crispin <john@phrozen.org>
2021-07-27 10:31:19 +02:00
John Crispin
514dd95e7a schema: add missing schema/service.data-plane.yml
Signed-off-by: John Crispin <john@phrozen.org>
2021-07-26 08:00:06 +02:00
John Crispin
15ffad8706 renderer: add virtual data-plane support
Signed-off-by: John Crispin <john@phrozen.org>
2021-07-25 08:26:21 +02:00
John Crispin
35111bb23d schema: add OpenFlow support
Signed-off-by: John Crispin <john@phrozen.org>
2021-07-20 11:48:07 +02:00
John Crispin
04511dbe50 schema: add l2tp support
Signed-off-by: John Crispin <john@phrozen.org>
2021-07-19 09:32:22 +02:00
John Crispin
f9eae1b43f renderer: allow setting a random password
Signed-off-by: John Crispin <john@phrozen.org>
2021-07-08 10:35:09 +02:00
John Crispin
40d2509481 schema: add support for autonomous channel select
Signed-off-by: John Crispin <john@phrozen.org>
2021-07-08 08:39:28 +02:00
John Crispin
46457ef665 renderer: add online-check support
Signed-off-by: John Crispin <john@phrozen.org>
2021-07-05 14:12:04 +02:00
John Crispin
1c6efe8d91 renderer: add mbim support
Signed-off-by: John Crispin <john@phrozen.org>
2021-07-02 12:17:30 +02:00
John Crispin
de4e2a6352 renderer: fix passpoint support
Signed-off-by: John Crispin <john@phrozen.org>
2021-07-02 10:00:33 +02:00
John Crispin
54c2bba5fc renderer: add broad-band support
Signed-off-by: John Crispin <john@phrozen.org>
2021-07-01 12:12:09 +02:00
John Crispin
bfd1783609 schema: add broad-band support
Signed-off-by: John Crispin <john@phrozen.org>
2021-07-01 11:44:27 +02:00
John Crispin
978604e472 renderer: leds-active is plural
Signed-off-by: John Crispin <john@phrozen.org>
2021-06-29 18:59:28 +02:00
John Crispin
7304e7b979 renderer: cleanup basic/beacon rate handling
Signed-off-by: John Crispin <john@phrozen.org>
2021-06-29 17:47:30 +02:00
John Crispin
93c7deac82 renderer: roaming key should not be generated by default
Signed-off-by: John Crispin <john@phrozen.org>
2021-06-29 16:49:10 +02:00
John Crispin
a831c7b27b renderer: fix typo in quality-threshold
Signed-off-by: John Crispin <john@phrozen.org>
2021-06-29 16:42:22 +02:00
John Crispin
f348023cca renderer: add anqp-3gpp-cell-net support
Signed-off-by: John Crispin <john@phrozen.org>
2021-06-28 14:12:09 +02:00
John Crispin
40ea864119 renderer: allow setting custom vendor IEs inside the beacon
Signed-off-by: John Crispin <john@phrozen.org>
2021-06-25 10:23:33 +02:00
John Crispin
1364520714 renderer: fix system settings and add led-active to datamodel
Signed-off-by: John Crispin <john@phrozen.org>
2021-06-24 10:36:32 +02:00
John Crispin
a0fa46cbea schema: do not include : in description
Signed-off-by: John Crispin <john@phrozen.org>
2021-06-21 13:48:40 +02:00
John Crispin
0cd335a51b renderer: add ssid purpose support
This allow us to use pre-defined BSS settings

Signed-off-by: John Crispin <john@phrozen.org>
2021-06-16 09:54:04 +02:00
John Crispin
5d598b31a8 renderer: cleanup ssid template
Signed-off-by: John Crispin <john@phrozen.org>
2021-06-10 11:28:43 +02:00
John Crispin
9d14209e19 renderer: update the vlan-id constraints
Signed-off-by: John Crispin <john@phrozen.org>
2021-06-10 11:02:12 +02:00