mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-10-29 17:22:42 +00:00
adding a roadm sheet to handle per degree info in roadms
This part only targets conversion from an xls input topology file. In order to define per degree power, the convert function needs to know the booster final name. However before this change, the booster name may not be known if there is no defined amplifier in eqpt sheet at this stage. In order to solve this ambiguity, the final name are defined in the convert function provided that the direction is defined in eqpt sheet and even if the amp type is not defined. Then the per degrre target power is defined in a new roadm sheet using the same direction naming as for Eqpt sheet. Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com> Change-Id: I8f279aa880aa0a8ceb60e48e43bddb0f6ff06147
This commit is contained in:
committed by
Jan Kundrát
parent
c56ea898a6
commit
093085fba8
@@ -361,9 +361,9 @@ def test_json_response_generation(xls_input, expected_response_file):
|
||||
('trx Lannion_CAS', 'trx Lorient_KMA', 'Ploermel | Vannes_KBE', 'LOOSE',
|
||||
['east edfa in Ploermel to Vannes_KBE', 'roadm Vannes_KBE']),
|
||||
('trx Rennes_STA', 'trx Brest_KLA', 'Vannes_KBE | Quimper | Brest_KLA', 'LOOSE',
|
||||
['roadm Vannes_KBE', 'Edfa0_fiber (Lorient_KMA → Quimper)-', 'roadm Brest_KLA']),
|
||||
['roadm Vannes_KBE', 'west edfa in Quimper to Lorient_KMA', 'roadm Brest_KLA']),
|
||||
('trx Brest_KLA', 'trx Rennes_STA', 'Brest_KLA | Quimper | Lorient_KMA', 'LOOSE',
|
||||
['roadm Brest_KLA', 'Edfa0_fiber (Brest_KLA → Quimper)-', 'roadm Lorient_KMA']),
|
||||
['roadm Brest_KLA', 'east edfa in Quimper to Lorient_KMA', 'roadm Lorient_KMA']),
|
||||
('Brest_KLA', 'trx Rennes_STA', '', 'LOOSE', 'Fail'),
|
||||
('trx Brest_KLA', 'Rennes_STA', '', 'LOOSE', 'Fail'),
|
||||
('Brest_KLA', 'Rennes_STA', '', 'LOOSE', 'Fail'),
|
||||
|
||||
Reference in New Issue
Block a user