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

confd: Enable config for lldp tx interval #882

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

axkar
Copy link
Collaborator

@axkar axkar commented Jan 9, 2025

This change introduces the configuration of the tx-interval parameter for the LLDP service, allowing control over the frequency of LLDP hello messages. By reducing the tx-interval, the waiting time for LLDP packets during tests is significantly shortened. This improvement eliminates the need to toggle the interface down and up to force the emission of LLDP packets.

Checklist

Tick relevant boxes, this PR is-a or has-a:

  • Bugfix
    • Regression tests
    • ChangeLog updates (for next release)
  • Feature
    • YANG model change => revision updated?
    • Regression tests added?
    • ChangeLog updates (for next release)
    • Documentation added?
  • Test changes
    • Checked in changed Readme.adoc (make test-spec)
    • Added new test to group Readme.adoc and yaml file
  • Code style update (formatting, renaming)
  • Refactoring (please detail in commit messages)
  • Build related changes
  • Documentation content changes
    • ChangeLog updated (for major changes)
  • Other (please describe):

@axkar axkar requested a review from troglobit January 9, 2025 10:13
@axkar axkar force-pushed the lldp-tx-interval branch from 5996edf to 16c70ba Compare January 9, 2025 10:15
@axkar axkar requested a review from mattiaswal January 9, 2025 10:33
@axkar axkar self-assigned this Jan 9, 2025
src/confd/yang/infix-lldp.yang Outdated Show resolved Hide resolved
src/confd/yang/infix-lldp.yang Outdated Show resolved Hide resolved
This change introduces the configuration of the tx-interval parameter
for the LLDP service, allowing control over the frequency of LLDP hello
messages. By reducing the tx-interval, the waiting time for LLDP
packets during tests is significantly shortened. This improvement
eliminates the need to toggle the interface down and up to force the
emission of LLDP packets.
@axkar axkar requested a review from troglobit January 10, 2025 13:02
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