Oleksandr Mazur 4e9d466c81 Extend schema to add dynamic authorization (CoA) support
- Extend schema/switch.yml to support configuring
  DAC list (origin of CoA and DM messages), as well as
  configiguring DAS (port on which receive CoA + DM) etc.
- Extend state/unit.yml to report back to the cloud
  current DAS configuration and DAC config.

Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
2024-02-05 14:46:18 +02:00
2023-10-05 12:15:46 +02:00
2023-09-22 18:24:37 +02:00
2022-10-26 17:30:16 +02:00
2023-10-05 12:15:46 +02:00

uCentral Schema

Collection of JSON schemas and ucode template (utpl) files used by uCentral for validating the data model and rendering incoming configuration JSON into UCI batch sequences.

This software is a part of the OpenWiFi AP NOS.

Building

Dependencies

In order to run the test cases you will need the following tools:

  • ucode
  • ucentral-jsonschema
  • jsonlint-php
  • pip3 install jsonschema2md
  • pip3 install json-schema-for-humans
  • pip3 install python-json2yaml

Unit testing

./run_tests.sh

Documentation

JSDoc is used to generate API documentation with a ucode transpiler (ucode-transpiler.js), configured by jsdoc.conf.json.

Additional JSON schema docs are generated using json-schema-for-humans via the script generate.sh.

Developer Notes

Generated documentation

Installed files

The following ucode scripts are installed to the AP:

  • schemareader.uc - autogenerated schema reader
  • renderer/* - renderer sources and templates
  • command/* - predefined command implementations, e.g. invoked by ucentral-client
  • system/* - scripts to generate system information (e.g. state, telemetry, health, capabilities)
Description
No description provided
Readme BSD-3-Clause 2.2 MiB
Languages
UnrealScript 98.9%
Python 0.8%
Shell 0.3%