mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-11-02 02:57:52 +00:00
new test to check all combination of service specifications
add combination of [mode, pow, nb channel] filled or empty leading to feasible path or not, and check the propagate and propagate_and_optimize_mode functions work as expected on a reference toy example Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com>
This commit is contained in:
@@ -410,7 +410,7 @@ def propagate_and_optimize_mode(path, req, equipment, show=False):
|
||||
if m['baud_rate'] == b]
|
||||
modes_to_explore = sorted(modes_to_explore,
|
||||
key = lambda x: x['bit_rate'], reverse=True)
|
||||
print(modes_to_explore)
|
||||
# print(modes_to_explore)
|
||||
# step2 : computes propagation for each baudrate: stop and select the first that passes
|
||||
found_a_feasible_mode = False
|
||||
# TODO : the case of roll of is not included: for now use SI one
|
||||
|
||||
Reference in New Issue
Block a user