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

route_check - get ROUTE_TABLE content fail - patch #3044

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

Conversation

inspurSDN
Copy link

Root Cause:
    1. Not all /128 routes can be removed and should be treated as special

Solution:
    1. only remove /128 when tbl.get(k)[0] == False

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)

    Root Cause:
        1. Not all /128 routes can be removed and should be treated as special

    Solution:
        1. only remove /128 when tbl.get(k)[0] == False
@@ -356,6 +356,12 @@ def filter_out_local_interfaces(keys):
tbl = swsscommon.Table(db, 'ROUTE_TABLE')

for k in keys:
if tbl.get(k)[0] == False:
# ISU2023101259067, if kernel route prefix is xxxx::yy/128, fpmsyncd will write ROUTE_TABLE:xxxx::yy without /128 to apll db
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the ISUXXX, please remove it from comment. Also, can you add a unit-test?

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