Skip to content

Commit f6ef54b

Browse files
committed
change trx to transceiver (sys integration fix)
1 parent 5a4e850 commit f6ef54b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gnpy/topology/request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def path_metric(pth, req):
216216
"""
217217
freq_slot = [None, None] if req.N is None or req.M is None else m_to_freq(req.N, req.M)
218218
return {
219-
'trx': {'type': 'Transceiver', 'variety': req.tsp, 'mode': req.tsp_mode},
219+
'transceiver': {'type': 'Transceiver', 'variety': req.tsp, 'mode': req.tsp_mode},
220220
'spectrum': { 'type': 'Frequency Spectrum', 'start': freq_slot[0], 'end': freq_slot[1], 'units': 'Hz'},
221221
'metrics': [
222222
{

0 commit comments

Comments
 (0)