mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-11-01 10:38:10 +00:00
source/destination nodes suggestion
fix bug in Fused span: adding ingress and egress directions => do not share the same NE between 2 directions Signed-off-by: Jean-Luc Auge <jeanluc.auge@orange.com>
This commit is contained in:
@@ -79,6 +79,7 @@ class Transceiver(Node):
|
||||
class Roadm(Node):
|
||||
def __init__(self, config):
|
||||
super().__init__(config)
|
||||
#TODO read loss from json
|
||||
self.loss = 20 #dB
|
||||
self.passive = True
|
||||
|
||||
@@ -106,7 +107,8 @@ class Roadm(Node):
|
||||
class Fused(Node):
|
||||
def __init__(self, config):
|
||||
super().__init__(config)
|
||||
self.loss = 1 #dB
|
||||
#TODO read loss from json
|
||||
self.loss = 1 #dB
|
||||
self.passive = True
|
||||
|
||||
def __repr__(self):
|
||||
|
||||
Reference in New Issue
Block a user