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

Extend eoiu support to speed up route reconciliation of EVPN/fdbsyncd #1700

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

Conversation

nkelapur
Copy link
Contributor

@nkelapur nkelapur commented Apr 7, 2021

What I did

Extend bgp eoiu support to speed up route reconciliation of EVPN/fdbsyncd

Why I did it

To make use of eoiu feature to speed up reconciliation of EVPN/fdbsyncd

How I verified it

Tested with warm-reboot with EVPN, IPV6 and IPv4 AF BGP peers setup

Details if related

more details in issue #1657

@nkelapur nkelapur marked this pull request as ready for review April 8, 2021 14:22
@anshuv-mfst
Copy link

@prsunny - can you please review, thanks.

Copy link
Collaborator

@prsunny prsunny left a comment

Choose a reason for hiding this comment

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

lgtm, @zhenggen-xu , could you please provide feedback?

const uint32_t DEFAULT_EOIU_HOLD_INTERVAL = 3;

// Check if eoiu state reached by ipv4 ipv6 and evpn
static bool eoiuFlagsSet(Table &bgpStateTable)
Copy link
Collaborator

Choose a reason for hiding this comment

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

It conveys as Flag set. Can you rename to isEoiuFlagsSet instead?

EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
Signed-off-by: Yong Zhao yozhao@microsoft.com

What I did
This PR aims to update the config command of Kdump (Linux kernel dump) mechanism.

How I did it
Before updating the value of a field in the table of KDUMP, we need decide whether the KDUMP table and corresponding field does exist in the table.

How to verify it
I verifies this on device str-msn2700-03 and unit test passed.

    tests/kdump_test.py::TestKdump::test_config_kdump_disable PASSED                                                                                                 
    tests/kdump_test.py::TestKdump::test_config_kdump_enable PASSED                                                                                                  
    tests/kdump_test.py::TestKdump::test_config_kdump_memory PASSED                                                                                                  
    tests/kdump_test.py::TestKdump::test_config_kdump_num_dumps PASSED
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.

3 participants