Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: restrict interface description length #1712

Merged
merged 1 commit into from
Jan 1, 2025
Merged

Fix: restrict interface description length #1712

merged 1 commit into from
Jan 1, 2025

Conversation

ipspace
Copy link
Owner

@ipspace ipspace commented Dec 31, 2024

The interface description is limited to 255 characters due to SNMP MIB-2 limitations. This fix introduces two system const parameters (maxlength and max neighbors) that limit the length of the interface description.

Fixes #1709

@ipspace ipspace requested a review from jbemmel December 31, 2024 08:33
The interface description is limited to 255 characters due to
SNMP MIB-2 limitations. This fix introduces two system const
parameters (maxlength and max neighbors) that limit the length
of the interface description.

Fixes #1709
@@ -4,3 +4,6 @@
routing_protocols: [ bgp, connected, eigrp, isis, ospf, ripv2 ]
vrf_igp_protocols: [ connected, ospf, isis, ripv2 ]
multi_provider: [ libvirt, clab ]
ifname:
neighbors: 5
Copy link
Collaborator

Choose a reason for hiding this comment

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

maxneighbors would be slightly clearer

@ipspace ipspace merged commit 40de65d into dev Jan 1, 2025
12 checks passed
@ipspace ipspace deleted the ifname-len branch January 1, 2025 16:48
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] Long interface descriptions cause provisioning errors
2 participants