[FRR] set the enable as default value for zebra_nexthop#25117
Conversation
Signed-off-by: Liping Xu <[email protected]>
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Liping Xu <[email protected]>
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Pull request overview
This PR changes the default value of the zebra_nexthop configuration from disabled to enabled in the YANG model and updates the virtual switch FRR zebra configuration accordingly.
Changes:
- Changed the default value for
zebra_nexthopfromdisabledtoenabledin the YANG model - Updated the VS platform zebra.conf to enable zebra nexthop kernel by default
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/sonic-yang-models/yang-models/sonic-device_metadata.yang | Changed default value for zebra_nexthop leaf from "disabled" to "enabled" |
| platform/vs/docker-sonic-vs/frr/zebra.conf | Changed zebra nexthop kernel configuration from disabled to enabled |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@lipxu , We probably need to modify the logic here too.. |
Signed-off-by: Liping Xu <[email protected]>
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines failed to run 1 pipeline(s). |
|
/azpw run Azure.sonic-buildimage |
|
/AzurePipelines run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Can you explain the motivation why you change the default behavior? |
@eddieruan-alibaba, This is to ensure by default we keep nexthop group support enabled in kernel. Disabling this by default has side effects(like memory explosion etc).. |
Signed-off-by: Liping Xu <[email protected]>
) What is the motivation for this PR? The PR sonic-net/sonic-buildimage#25117 would update the default value of zebra_nexthop in FRR from disable to enable. Enable is the default configuration in FRR, it would not show in ouput of "show running" in FRR, so it would cause the test case test_frr_config_check failed once the previous PR merged. How did you do it? Skip the FRR hidden config check in test_frr_config_check. How did you verify/test it? Run the case in elastic with fix https://elastictest.org/scheduler/testplan/6978a655c5f3d9049fbb9138 without fix https://elastictest.org/scheduler/testplan/6978a6671910fa9097bc5e58 Signed-off-by: Raghavendran Ramanathan <[email protected]>
) What is the motivation for this PR? The PR sonic-net/sonic-buildimage#25117 would update the default value of zebra_nexthop in FRR from disable to enable. Enable is the default configuration in FRR, it would not show in ouput of "show running" in FRR, so it would cause the test case test_frr_config_check failed once the previous PR merged. How did you do it? Skip the FRR hidden config check in test_frr_config_check. How did you verify/test it? Run the case in elastic with fix https://elastictest.org/scheduler/testplan/6978a655c5f3d9049fbb9138 without fix https://elastictest.org/scheduler/testplan/6978a6671910fa9097bc5e58 Signed-off-by: Zhuohui Tan <[email protected]>
looks like having this enabled by default works better for the community as well. we will take care internally for the devices where we dont need this setting, by explictly setting device_metadata flag. |
|
Cherry-pick PR to 202511: #25604 |
1 similar comment
) What is the motivation for this PR? The PR sonic-net/sonic-buildimage#25117 would update the default value of zebra_nexthop in FRR from disable to enable. Enable is the default configuration in FRR, it would not show in ouput of "show running" in FRR, so it would cause the test case test_frr_config_check failed once the previous PR merged. How did you do it? Skip the FRR hidden config check in test_frr_config_check. How did you verify/test it? Run the case in elastic with fix https://elastictest.org/scheduler/testplan/6978a655c5f3d9049fbb9138 without fix https://elastictest.org/scheduler/testplan/6978a6671910fa9097bc5e58 Signed-off-by: mssonicbld <[email protected]>
) What is the motivation for this PR? The PR sonic-net/sonic-buildimage#25117 would update the default value of zebra_nexthop in FRR from disable to enable. Enable is the default configuration in FRR, it would not show in ouput of "show running" in FRR, so it would cause the test case test_frr_config_check failed once the previous PR merged. How did you do it? Skip the FRR hidden config check in test_frr_config_check. How did you verify/test it? Run the case in elastic with fix https://elastictest.org/scheduler/testplan/6978a655c5f3d9049fbb9138 without fix https://elastictest.org/scheduler/testplan/6978a6671910fa9097bc5e58 Signed-off-by: mssonicbld <[email protected]> Co-authored-by: Liping Xu <[email protected]>
) Why I did it Set the default value to enabled Work item tracking Microsoft ADO (number only): 36367940 How I did it Set the default value to enabled How to verify it Local Signed-off-by: Feng Pan <[email protected]>
) What is the motivation for this PR? The PR sonic-net/sonic-buildimage#25117 would update the default value of zebra_nexthop in FRR from disable to enable. Enable is the default configuration in FRR, it would not show in ouput of "show running" in FRR, so it would cause the test case test_frr_config_check failed once the previous PR merged. How did you do it? Skip the FRR hidden config check in test_frr_config_check. How did you verify/test it? Run the case in elastic with fix https://elastictest.org/scheduler/testplan/6978a655c5f3d9049fbb9138 without fix https://elastictest.org/scheduler/testplan/6978a6671910fa9097bc5e58 Signed-off-by: Ravali Yeluri (WIPRO LIMITED) <[email protected]>
) What is the motivation for this PR? The PR sonic-net/sonic-buildimage#25117 would update the default value of zebra_nexthop in FRR from disable to enable. Enable is the default configuration in FRR, it would not show in ouput of "show running" in FRR, so it would cause the test case test_frr_config_check failed once the previous PR merged. How did you do it? Skip the FRR hidden config check in test_frr_config_check. How did you verify/test it? Run the case in elastic with fix https://elastictest.org/scheduler/testplan/6978a655c5f3d9049fbb9138 without fix https://elastictest.org/scheduler/testplan/6978a6671910fa9097bc5e58 Signed-off-by: Abhishek <[email protected]>
Why I did it Set the default value to enabled Work item tracking Microsoft ADO (number only): 36367940 How I did it Set the default value to enabled How to verify it Local Signed-off-by: dprital <[email protected]>
) What is the motivation for this PR? The PR sonic-net/sonic-buildimage#25117 would update the default value of zebra_nexthop in FRR from disable to enable. Enable is the default configuration in FRR, it would not show in ouput of "show running" in FRR, so it would cause the test case test_frr_config_check failed once the previous PR merged. How did you do it? Skip the FRR hidden config check in test_frr_config_check. How did you verify/test it? Run the case in elastic with fix https://elastictest.org/scheduler/testplan/6978a655c5f3d9049fbb9138 without fix https://elastictest.org/scheduler/testplan/6978a6671910fa9097bc5e58
) What is the motivation for this PR? The PR sonic-net/sonic-buildimage#25117 would update the default value of zebra_nexthop in FRR from disable to enable. Enable is the default configuration in FRR, it would not show in ouput of "show running" in FRR, so it would cause the test case test_frr_config_check failed once the previous PR merged. How did you do it? Skip the FRR hidden config check in test_frr_config_check. How did you verify/test it? Run the case in elastic with fix https://elastictest.org/scheduler/testplan/6978a655c5f3d9049fbb9138 without fix https://elastictest.org/scheduler/testplan/6978a6671910fa9097bc5e58
) What is the motivation for this PR? The PR sonic-net/sonic-buildimage#25117 would update the default value of zebra_nexthop in FRR from disable to enable. Enable is the default configuration in FRR, it would not show in ouput of "show running" in FRR, so it would cause the test case test_frr_config_check failed once the previous PR merged. How did you do it? Skip the FRR hidden config check in test_frr_config_check. How did you verify/test it? Run the case in elastic with fix https://elastictest.org/scheduler/testplan/6978a655c5f3d9049fbb9138 without fix https://elastictest.org/scheduler/testplan/6978a6671910fa9097bc5e58 Signed-off-by: selldinesh <[email protected]>
) What is the motivation for this PR? The PR sonic-net/sonic-buildimage#25117 would update the default value of zebra_nexthop in FRR from disable to enable. Enable is the default configuration in FRR, it would not show in ouput of "show running" in FRR, so it would cause the test case test_frr_config_check failed once the previous PR merged. How did you do it? Skip the FRR hidden config check in test_frr_config_check. How did you verify/test it? Run the case in elastic with fix https://elastictest.org/scheduler/testplan/6978a655c5f3d9049fbb9138 without fix https://elastictest.org/scheduler/testplan/6978a6671910fa9097bc5e58
) What is the motivation for this PR? The PR sonic-net/sonic-buildimage#25117 would update the default value of zebra_nexthop in FRR from disable to enable. Enable is the default configuration in FRR, it would not show in ouput of "show running" in FRR, so it would cause the test case test_frr_config_check failed once the previous PR merged. How did you do it? Skip the FRR hidden config check in test_frr_config_check. How did you verify/test it? Run the case in elastic with fix https://elastictest.org/scheduler/testplan/6978a655c5f3d9049fbb9138 without fix https://elastictest.org/scheduler/testplan/6978a6671910fa9097bc5e58 Signed-off-by: opcoder0 <[email protected]>
Why I did it
Set the default value to enabled
Work item tracking
36367940
How I did it
Set the default value to enabled
How to verify it
Local
Which release branch to backport (provide reason below if selected)
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)