Skip to content

Prevent interface-name collisions after label shortening #31

Description

@sylvesterkaczmarek

Distinct contact labels can collapse to the same generated interface/network name after shorten_label(). For example, labels high and hi both become hi; for a multi-link pair this produces the same edge key and csv_to_compose.py silently drops the second edge.

The generator should keep the current shortened names when unique, but disambiguate collisions so distinct links remain distinct.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions