mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2026-01-27 10:21:48 +00:00
Make sure that a library which includes metada (library-information) is correctly loaded, and these metada ignored. Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com> Change-Id: I9c3dc46d502f061b2b31aa430865aa265f1631ad
54 lines
1.1 KiB
JSON
54 lines
1.1 KiB
JSON
{
|
|
"library-information": {
|
|
"name": "extra_eqpt_config.json",
|
|
"content-schema": {
|
|
"module": ["gnpy-eqpt-config@2025-05-26"]
|
|
},
|
|
"description": [
|
|
"Pluggables library example"
|
|
],
|
|
"contact": [
|
|
"foo@bar.com"
|
|
],
|
|
"organization": "FOO",
|
|
"revision": [{
|
|
"date": "2025-05-26",
|
|
"description": "example"
|
|
}
|
|
]
|
|
},
|
|
"Transceiver": [
|
|
{
|
|
"type_variety": "ZR400G",
|
|
"frequency": {
|
|
"min": 191.35e12,
|
|
"max": 196.1e12
|
|
},
|
|
"mode": [
|
|
{
|
|
"format": "400G",
|
|
"baud_rate": 60e9,
|
|
"OSNR": 24,
|
|
"bit_rate": 400e9,
|
|
"roll_off": 0.2,
|
|
"tx_osnr": 38,
|
|
"min_spacing": 75e9,
|
|
"cost": 1
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Edfa": [
|
|
{
|
|
"type_variety": "user_defined_default_amplifier",
|
|
"type_def": "advanced_model",
|
|
"gain_flatmax": 25,
|
|
"gain_min": 15,
|
|
"p_max": 21,
|
|
"advanced_config_from_json": "default_edfa_config.json",
|
|
"out_voa_auto": false,
|
|
"allowed_for_design": false
|
|
}
|
|
]
|
|
}
|