Skip to content

Fix: Add node-level router_id#3224

Merged
ipspace merged 2 commits intodevfrom
fix-router-id
Mar 22, 2026
Merged

Fix: Add node-level router_id#3224
ipspace merged 2 commits intodevfrom
fix-router-id

Conversation

@ipspace
Copy link
Owner

@ipspace ipspace commented Mar 21, 2026

The attribute was in the documentation 'forever' but I obviously forgot it when implementing stricter attribute checks.

Fixes #3211

The attribute was in the documentation 'forever' but I obviously
forgot it when implementing stricter attribute checks.

Fixes #3211
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes strict attribute validation to allow configuring a router ID at the node level (node.router_id), aligning the implementation with long-standing documentation (Fixes #3211).

Changes:

  • Adds router_id to the global node attribute schema as an IPv4/id-based value.
  • Updates the rid-pool-overflow error fixture to reflect the new validation behavior (invalid value instead of invalid attribute).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
netsim/defaults/attributes.yml Adds node.router_id to the validated node attributes list (type: ipv4, use: id).
tests/errors/rid-pool-overflow.log Updates expected error output now that router_id is a valid node attribute and fails type validation instead of attribute validation.

@ipspace ipspace merged commit c1d3880 into dev Mar 22, 2026
11 checks passed
@ipspace ipspace deleted the fix-router-id branch March 22, 2026 08:14
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.

[BUG] Missing node.router_id attribute

2 participants