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

Validate interface name length in CLI #26

Closed
wants to merge 1 commit into from

Conversation

arfeigin
Copy link
Owner

What I did

Validate interface name length does not exceed the limitation of IFNAMSIZ to align to kernel restrictions.

How I did it

Add validation checks in the relevant config functions for the following interface types:

  • vxlan
  • vlan
  • vrf
  • loopback
  • subinterface
  • portchannel

How to verify it

UT tests added

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

@arfeigin arfeigin force-pushed the master_validate_interface_name_length-new branch from fd71cc5 to 14983c6 Compare June 27, 2024 14:36
@arfeigin arfeigin force-pushed the master_validate_interface_name_length-new branch from a7dbf86 to a19e82d Compare July 3, 2024 12:06
@arfeigin arfeigin closed this Jul 3, 2024
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