Skip to content

Conversation

@liambrady
Copy link
Contributor

Connections were previously keyed based off of to (i.e. the remote node/network name), which is not unique in the case of parallel p2p links (managed via remote-name) or dummy interfaces.

The key is shifted to name, which is guarenteed to be unique, even when implicitely set by munet.

Connections were previously keyed based off of `to` (i.e. the remote
node/network name), which is not unique in the case of parallel p2p
links (managed via `remote-name`) or dummy interfaces.

The key is shifted to `name`, which is guarenteed to be unique, even
when implicitely set by munet.

Signed-off-by: Liam Brady <lbrady@labn.net>
@liambrady liambrady requested a review from choppsv1 January 13, 2026 14:43
@codecov
Copy link

codecov bot commented Jan 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.62%. Comparing base (58e72ab) to head (fa8bd60).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #94   +/-   ##
=======================================
  Coverage   60.62%   60.62%           
=======================================
  Files          19       19           
  Lines        5973     5973           
=======================================
  Hits         3621     3621           
  Misses       2352     2352           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@choppsv1 choppsv1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't actually run the config through a YANG parser right now, if we did you'd see this broke almost every config in existence :)

Keys are mandatory. And every connection has a to, this change would require every connection also have a name now.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants