Skip to content

Fix route_check.py to ignore local p2p IP prefixes #3882

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 1 commit into
base: master
Choose a base branch
from

Conversation

prabhataravind
Copy link

  • In some cases where there are repeated link flaps, route_check.py flags local p2p IP prefixes as missing in APPL_DB. These /31 IPv4 or /126 IPv6 IPs are not expected to be present in APPL_DB after a link goes down. This change tries to filter out such entries.

    Failure results: {{
    "missed_ROUTE_TABLE_routes": [
    "10.10.196.16/31",
    "2603:10b0:31f:753::24/126"
    ]
    }}
    Failed. Look at reported mismatches above
    add: []
    del: [
    "10.10.196.16/31",
    "2603:10b0:31f:753::24/126"
    ]

What I did

How I did it

How to verify it

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)

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@prabhataravind prabhataravind force-pushed the paravind/route_check branch from 227374e to da49c12 Compare May 15, 2025 18:48
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@prabhataravind prabhataravind force-pushed the paravind/route_check branch from da49c12 to 44dcf95 Compare May 15, 2025 18:50
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

 * In some cases where there are repeated link flaps, route_check.py flags local
   p2p IP prefixes as missing in APPL_DB. These /31 IPv4 or /126 IPv6 IPs are
   not expected to be present in APPL_DB after a link goes down. This change
   tries to filter out such entries.

    Failure results: {{
        "missed_ROUTE_TABLE_routes": [
            "10.10.196.16/31",
            "2603:10b0:31f:753::24/126"
        ]
    }}
    Failed. Look at reported mismatches above
    add: []
    del: [
        "10.10.196.16/31",
        "2603:10b0:31f:753::24/126"
    ]

Signed-off-by: Prabhat Aravind <[email protected]>
@prabhataravind prabhataravind force-pushed the paravind/route_check branch from 44dcf95 to c03c087 Compare May 15, 2025 23:33
@mssonicbld
Copy link
Collaborator

/azp run

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