mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2026-01-27 10:21:48 +00:00
For this commit only the first element from the {N, M} list is read
and assigned.
This is better than not reading this value at all.
the commit also updates test_files and test data files with correct
values for the effective_freq_slot attribute
Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com>
Change-Id: I1e60fe833ca1092b40de27c8cbfb13083810414e
79 lines
2.0 KiB
JSON
79 lines
2.0 KiB
JSON
{
|
|
"path-request": [
|
|
{
|
|
"request-id": "0",
|
|
"source": "trx Lorient_KMA",
|
|
"destination": "trx Vannes_KBE",
|
|
"src-tp-id": "trx Lorient_KMA",
|
|
"dst-tp-id": "trx Vannes_KBE",
|
|
"bidirectional": false,
|
|
"path-constraints": {
|
|
"te-bandwidth": {
|
|
"technology": "flexi-grid",
|
|
"trx_type": "Voyager",
|
|
"trx_mode": "mode 1",
|
|
"effective-freq-slot": [
|
|
{
|
|
"N": null,
|
|
"M": null
|
|
}
|
|
],
|
|
"spacing": 50000000000.0,
|
|
"max-nb-of-channel": 80,
|
|
"output-power": null,
|
|
"path_bandwidth": 100000000000.0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"request-id": "1",
|
|
"source": "trx Brest_KLA",
|
|
"destination": "trx Vannes_KBE",
|
|
"src-tp-id": "trx Brest_KLA",
|
|
"dst-tp-id": "trx Vannes_KBE",
|
|
"bidirectional": false,
|
|
"path-constraints": {
|
|
"te-bandwidth": {
|
|
"technology": "flexi-grid",
|
|
"trx_type": "Voyager",
|
|
"trx_mode": "mode 1",
|
|
"effective-freq-slot": [
|
|
{
|
|
"N": null,
|
|
"M": null
|
|
}
|
|
],
|
|
"spacing": 50000000000.0,
|
|
"max-nb-of-channel": null,
|
|
"output-power": 0.0012589254117941673,
|
|
"path_bandwidth": 10000000000.0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"request-id": "3",
|
|
"source": "trx Lannion_CAS",
|
|
"destination": "trx Rennes_STA",
|
|
"src-tp-id": "trx Lannion_CAS",
|
|
"dst-tp-id": "trx Rennes_STA",
|
|
"bidirectional": false,
|
|
"path-constraints": {
|
|
"te-bandwidth": {
|
|
"technology": "flexi-grid",
|
|
"trx_type": "vendorA_trx-type1",
|
|
"trx_mode": "mode 1",
|
|
"effective-freq-slot": [
|
|
{
|
|
"N": null,
|
|
"M": null
|
|
}
|
|
],
|
|
"spacing": 50000000000.0,
|
|
"max-nb-of-channel": 80,
|
|
"output-power": 0.0012589254117941673,
|
|
"path_bandwidth": 60000000000.0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |