Skip to content

Enhance ARP_UPDATE to make it more informative #23298

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

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

BYGX-wcr
Copy link
Contributor

Why I did it

Previously we found that ARP_UPDATE had two issues:

  1. When the sonic-cfggen fails to get ARP_UPDATE_VARS, the ARP_UPDATE script keeps running without logging the error. We now add a check for this issue and corresponding logging.
  2. When the script sees a static route that does not have egress ifname specified (which is allowed), it logs an ERROR entry which is an overkill. We now downgrade it to warning level.
Work item tracking
  • Microsoft ADO (number only):

How I did it

Change the code.

How to verify it

Which release branch to backport (provide reason below if selected)

  • 202205
  • 202211
  • 202305
  • 202311
  • 202405
  • 202412
  • 202505

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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