Skip to content

"spacing" definition in design_bands in ROADM #555

@tttlz

Description

@tttlz

In multiband_example_network.json topology example, spacing is used in design_bands for ROADM.

Could you please explain how this spacing is defined?
My understanding is, flexible grid ROADM should support flex spacing. The slot width value is defined in spectrum.json file (when using spectrum.json to replace SI in eqpt_config.json). Why do we need to include "spacing" in ROADM?

Spacing is defined as optional in YANG model, However, when spacing is not defined in topology json input file, Throw an error like this:

  File "xxx\gnpy\core\network.py", line 1363, in set_per_degree_design_band
    common_range = find_common_range(amp_bands, None, None, equipment['SI']['default'].spacing, node.design_bands)
  File "xxx\gnpy\core\utils.py", line 744, in find_common_range
    spacing = calculate_spacing(first, second, default_spacing, default_design_bands, f_min, f_max)
  File "xxx\gnpy\core\utils.py", line 684, in calculate_spacing
    temp = get_spacing_from_band(default_design_bands, f_min, f_max)
  File "xxx\gnpy\core\utils.py", line 812, in get_spacing_from_band
    return band['spacing']
KeyError: 'spacing'

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions