Queen's University at Kingston
Design and Implementation of Tooling Support for Onboarding Custom Network Functions
Abstract
dc:description.abstractYANG is a data modeling language defined by the IETF in RFC 7950 for describing net work device configuration. As telecom networks grow in scale, operators need tools to develop and maintain YANG models that follow both IETF standards and company-internal rules. Ex isting tools such as pyang and yanglint only check basic YANG syntax and do not support custom enterprise rules, backward-compatibility checking, or AI-based change analysis. This thesis presents YANG Lint, a Visual Studio Code extension built in collaboration with TELUS to provide integrated tooling for YANG model development. Note that YANG Lint is not related to yanglint, which is a separate command-line tool from the libyang library [24]. The work makes five contributions. First, a rule engine where rules are defined in YAML and evaluated using the Jexl expression language, with three categories (baseline, create, up date) and over 40 built-in helper functions. Users can add custom rules and helpers without modifying the source code. Second, an automated backward-compatibility checking system that captures a baseline snapshot and detects incompatible changes in real time, including tightened value ranges, broken prefix references, and unguarded mandatory nodes. Third, an AI-powered change analysis feature that connects to a large language model API to summarize risks from diffs and compatibility reports. Fourth, a VS Code integration layer for a container ized OpenAPI Specification generator built by a doctoral researcher, providing container man agement, file watching, and live preview. Fifth, a VS Code integration layer for a pyang-based YANG diff tool, also built by the same researcher, adding guided file selection and AI-based report summaries. The extension also includes a YANG model import feature supporting local directories and the online YANG Catalog. The extension uses TypeScript for the VS Code client and LSP server, Python for the OAS and diff pipelines, and Docker for containerized OAS generation. Evaluation with TELUS developers confirms that the tool significantly reduces manual review work
Degree
thesis:*- Department dc:contributor.department
- Computing
- Grantor
- Queen's University at Kingston
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Li, Haiyu
- Advisor dc:contributor.supervisor
-
- Dingel, Juergen
Subjects
dc:subject × 3Rights
- Language dc:language.iso
- eng
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/1974/36448