EstherLerouzic 1a795639c7 feat: Add conversion utilities for YANG and legacy formats in GNPy
This commit introduces new functions for converting between YANG formatted files and
legacy formats. The conversion processes adhere to RFC7951 for encoding YANG data.

Key changes include:
- Conversion of float and empty type representations.
- Transformation of Span and SI lists xx_power_range into dictionaries.
- Addition of necessary namespaces.
- use of oopt-gnpy-libyang to enforce compliancy to yang models

These utilities enable full compatibility with GNPy.

Co-authored-by: Renato Ambrosone <renato.ambrosone@polito.it>

Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com>
Change-Id: Ia004113bca2b0631d1648564e5ccb60504fe80f8
2025-09-03 10:34:14 +02:00
2025-03-21 10:00:25 +01:00
2018-06-22 18:55:26 -04:00
2020-04-23 18:38:36 +02:00
2019-12-17 11:13:00 +01:00
2020-06-18 20:30:34 +02:00
2021-12-07 16:47:30 +01:00
2024-03-29 19:23:08 +01:00
2023-01-18 21:35:08 +01:00
2021-06-02 23:22:32 +02:00
2018-03-12 14:43:58 -04:00
2019-05-24 01:38:12 +02:00
2024-04-12 08:41:27 +02:00
2020-03-25 19:34:42 +01:00

GNPy: Optical Route Planning and DWDM Network Optimization

Install via pip Python versions Documentation status GitHub Workflow Status Gerrit Contributors Code Coverage via codecov DOI Matrix chat

GNPy is an open-source, community-developed library for building route planning and optimization tools in real-world mesh optical networks. We are a consortium of operators, vendors, and academic researchers sponsored via the Telecom Infra Project's OOPT/PSE working group. Together, we are building this tool for rapid development of production-grade route planning tools which is easily extensible to include custom network elements and performant to the scale of real-world mesh optical networks.

GNPy with an OLS system

Quick Start

Install either via Docker, or as a Python package. Read our documentation, learn from the demos, and get in touch with us.

This example demonstrates how GNPy can be used to check the expected SNR at the end of the line by varying the channel input power:

Running a simple simulation example

GNPy can do much more, including acting as a Path Computation Engine, tracking bandwidth requests, or advising the SDN controller about a best possible path through a large DWDM network. Learn more about this in the documentation, or give it a try online at gnpy.app:

Path propagation at gnpy.app

Description
No description provided
Readme BSD-3-Clause 19 MiB
Latest
2025-09-26 10:01:21 +00:00
Languages
Python 100%