mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2026-01-27 10:21:48 +00:00
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
21 lines
411 B
JSON
21 lines
411 B
JSON
{
|
|
"gnpy-sim-params:sim-params": {
|
|
"raman_params": {
|
|
"flag": true,
|
|
"result_spatial_resolution": "10000.0",
|
|
"solver_spatial_resolution": "10000.0"
|
|
},
|
|
"nli_params": {
|
|
"method": "ggn_spectrally_separated",
|
|
"dispersion_tolerance": "1.0",
|
|
"phase_shift_tolerance": "0.1",
|
|
"computed_channels": [
|
|
1,
|
|
18,
|
|
37,
|
|
56,
|
|
75
|
|
]
|
|
}
|
|
}
|
|
} |