Mike Hansen a37f8ccfa0 Fix ethernet interfaces going Admin Down during config load
When VyOS applies configuration via /config-file load operation, empty
  ethernet interface blocks cause the interfaces to go Admin Down, breaking
  bridge connectivity and all networking.

  This fix adds a description field to ethernet interface configuration,
  providing minimal but valid configuration that keeps interfaces operational
  during config load operations.

  Tested on MS-01 with multi-VLAN configuration - all interfaces and bridges
  remain up (u/u) after configuration application.

Signed-off-by: Mike Hansen <mike.hansen@netexperience.com>
2026-03-18 11:49:29 -04:00
2025-10-30 11:22:49 -04: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
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-03-20T04:38:55.104Z
Readme BSD-3-Clause 1 MiB