Skip to content

[BUG] graph.rank and graph.linkorder should not be copied from links to interfaces #3199

@ipspace

Description

@ipspace

We want to have hosts attached to a network placed below the subnet box. The only solution that works today is:

links:
- r1:
  r2:
  h1:
    graph.linkorder: 200
  h2:
    graph.linkorder: 200

It would be nicer if we could change the link graph.linkorder and graph.rank:

links:
- interfaces: [ r1, r2, h1, h2 ]
  graph.linkorder: 50
  graph.rank: 2

Unfortunately, that doesn't work because graph.rank and graph.linkorder are propagated to all interfaces (so they don't influence the sorting process)

Based on #3197 reported by @a-v-popov

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions