forked from Telecominfraproject/oopt-gnpy
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Read a list of optional extra equipement files
Signed-off-by: EstherLerouzic <[email protected]> Change-Id: Ic521bbacd38b3bb60da3a364a069abfd1895d337
- Loading branch information
1 parent
40e43f9
commit 2413c19
Showing
8 changed files
with
225 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"Transceiver": [ | ||
{ | ||
"type_variety": "ZR400G", | ||
"frequency": { | ||
"min": 191.3e12, | ||
"max": 196.1e12 | ||
}, | ||
"mode": [ | ||
{ | ||
"format": "SFF-ID:70", | ||
"baud_rate": 60138546798, | ||
"OSNR": 24, | ||
"bit_rate": 400e9, | ||
"roll_off": 0.2, | ||
"tx_osnr": 34, | ||
"min_spacing": 75e9, | ||
"penalties": [ | ||
{ | ||
"chromatic_dispersion": 20e3, | ||
"penalty_value": 0.5 | ||
}, | ||
{ | ||
"chromatic_dispersion": 0, | ||
"penalty_value": 0 | ||
}, | ||
{ | ||
"pmd": 20, | ||
"penalty_value": 0.5 | ||
}, | ||
{ | ||
"pdl": 1.5, | ||
"penalty_value": 0 | ||
}, | ||
{ | ||
"pdl": 3.5, | ||
"penalty_value": 1.8 | ||
}, | ||
{ | ||
"pdl": 3, | ||
"penalty_value": 1.3 | ||
} | ||
], | ||
"cost": 1 | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"path-request": [ | ||
{ | ||
"request-id": "0", | ||
"source": "trx Brest_KLA", | ||
"destination": "trx Lannion_CAS", | ||
"src-tp-id": "trx Brest_KLA", | ||
"dst-tp-id": "trx Lannion_CAS", | ||
"bidirectional": false, | ||
"path-constraints": { | ||
"te-bandwidth": { | ||
"technology": "flexi-grid", | ||
"trx_type": "ZR400G", | ||
"trx_mode": "SFF-ID:70", | ||
"spacing": 100000000000.0, | ||
"tx_power": 0.0015, | ||
"path_bandwidth": 400000000000.0 | ||
} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"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": "variable_gain", | ||
"gain_flatmax": 25, | ||
"gain_min": 15, | ||
"p_max": 21, | ||
"nf_min": 6, | ||
"nf_max": 10, | ||
"advanced_config_from_json": "default_edfa_config.json", | ||
"out_voa_auto": false, | ||
"allowed_for_design": false | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
INFO gnpy.tools.cli_examples:cli_examples.py Computing path requests service_pluggable.json into JSON format | ||
WARNING gnpy.tools.json_io:json_io.py | ||
WARNING missing type_variety attribute in eqpt_config.json[Roadm] | ||
default value is type_variety = default | ||
|
||
WARNING gnpy.tools.json_io:json_io.py | ||
Equipment file extra_eqpt_config.json: duplicate equipment entry found: Transceiver-ZR400G | ||
|
||
INFO gnpy.tools.worker_utils:worker_utils.py List of disjunctions: | ||
[] | ||
INFO gnpy.tools.worker_utils:worker_utils.py Aggregating similar requests | ||
INFO gnpy.tools.worker_utils:worker_utils.py The following services have been requested: | ||
[PathRequest 0 | ||
source: trx Brest_KLA | ||
destination: trx Lannion_CAS | ||
trx type: ZR400G | ||
trx mode: SFF-ID:70 | ||
baud_rate: 60.13854679800001 Gbaud | ||
bit_rate: 400.0 Gb/s | ||
spacing: 100.0 GHz | ||
power: 0.0 dBm | ||
tx_power_dbm: 1.76 dBm | ||
nb channels: 48 | ||
path_bandwidth: 400.0 Gbit/s | ||
nodes-list: [] | ||
loose-list: [] | ||
] | ||
INFO gnpy.tools.worker_utils:worker_utils.py Propagating on selected path | ||
INFO gnpy.topology.request:request.py | ||
request 0 | ||
Computing path from trx Brest_KLA to trx Lannion_CAS | ||
with path constraint: ['trx Brest_KLA', 'trx Lannion_CAS'] | ||
Computed path (roadms):['roadm Brest_KLA', 'roadm Lannion_CAS'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[1;34;40mList of disjunctions[0m | ||
[] | ||
[1;34;40mThe following services have been requested:[0m | ||
[PathRequest 0 | ||
source: trx Brest_KLA | ||
destination: trx Lannion_CAS | ||
trx type: ZR400G | ||
trx mode: SFF-ID:70 | ||
baud_rate: 60.13854679800001 Gbaud | ||
bit_rate: 400.0 Gb/s | ||
spacing: 100.0 GHz | ||
power: 0.0 dBm | ||
tx_power_dbm: 1.76 dBm | ||
nb channels: 48 | ||
path_bandwidth: 400.0 Gbit/s | ||
nodes-list: [] | ||
loose-list: [] | ||
] | ||
[1;34;40mResult summary[0m | ||
req id demand GSNR@bandwidth A-Z (Z-A) [email protected] A-Z (Z-A) Receiver minOSNR mode Gbit/s nb of tsp pairs N,M or blocking reason | ||
0 trx Brest_KLA to trx Lannion_CAS : 21.3 28.12 26 SFF-ID:70 400.0 1 ([-280],[8]) | ||
[1;33;40mResult summary shows mean GSNR and OSNR (average over all channels)[0m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters