[fpmsyncd] Fpmsyncd Next Hop Table Enhancement#16762
[fpmsyncd] Fpmsyncd Next Hop Table Enhancement#16762kperumalbfn merged 7 commits intosonic-net:masterfrom
Conversation
There was a problem hiding this comment.
There was a problem hiding this comment.
@lguohan Moved under device metadata following the example.
|
/AzurePipelines run |
|
Commenter does not have sufficient privileges for PR 16762 in repo sonic-net/sonic-buildimage |
|
/AzurePipelines run Azure.sonic-buildimage |
|
Commenter does not have sufficient privileges for PR 16762 in repo sonic-net/sonic-buildimage |
|
@lguohan |
|
/AzurePipelines run Azure.sonic-buildimage |
|
Commenter does not have sufficient privileges for PR 16762 in repo sonic-net/sonic-buildimage |
|
/azpw run Azure.sonic-buildimage |
|
@nakano-omw you need to repush your code. |
|
@ridahanif96 Thanks for the comment. Fix conflicts and repush. |
|
/azpw run Azure.sonic-buildimage |
|
@ridahanif96 @zhangyanzhao It has been reviewed in Routing WG. Could we approve and merge the PR ? |
|
@lguohan can you please merge this PR if you have no more comments? Thanks. |
|
@lguohan can you please merge this PR. Thanks. |
f1ed3fc to
07cd4ff
Compare
cd0a5de to
035a3c6
Compare
Signed-off-by: nakano.kanji <[email protected]>
7aaece3 to
cef3946
Compare
Signed-off-by: nakano.kanji <[email protected]>
| description "BGP Router identifier"; | ||
| } | ||
|
|
||
| leaf nexthop_group { |
There was a problem hiding this comment.
For yang, you need to add unit tests as well update sample_config_db, add update configuration schema. Please refer to this for example #14045
There was a problem hiding this comment.
I added the sample_config_db. Thanks.
Signed-off-by: Kanji Nakano <[email protected]>
Signed-off-by: Kanji Nakano <[email protected]>
Signed-off-by: nakano.kanji <[email protected]>
|
Cherry picked into phoenixwing folk.http://phoenixwing.com.cn/codes |
|
@ntt-omw please update the branch and resolve the conflicts. |
|
@kperumalbfn @eddieruan-alibaba @qiluo-msft Branch updated and conflicts resolved. Please approve and merge. |
|
Thanks @nakano-omw I have reviewed it again. My approval is still there. |
|
@qiluo-msft It is marked as needing review by qiluo-msft. This PR has been reviewed by the Routing WG. Please approve. |
| (DEVICE_METADATA['localhost']['nexthop_group'] == 'enabled') ) %} | ||
| ! enable next hop group support | ||
| fpm use-next-hop-groups | ||
| {% else %} |
There was a problem hiding this comment.
@ebiken Do we have sonic-mgmt tests for FPM nexthop_group? If not, could you please add it.
There was a problem hiding this comment.
Thanks for the review. But I'm away from this project now. Hi @nakano-omw , could you please follow up with @kperumalbfn ? Thanks.
There was a problem hiding this comment.
@kperumalbfn Thanks for the review. The sonic-mgmt tests are being created in the Phoenixwing .
sonic-net/sonic-mgmt#13785
There was a problem hiding this comment.
Thanks @nakano-omw Will review sonic-mgmt tests as well.
Why I did it
Implementing code changes for sonic-net/SONiC#1425
How I did it
Added RTA_NH_ID attribute patch to libnl3 to add nexthop group feature to fpmsyncd.
How to verify it
enable/disable nexthop group feature
feature next-hop-group enable.FEATURE|nexthop_groupwill be created inCONFIG_DBzebra.conf.j2will generatezebra.confwithfpm use-next-hop-groupsifFEATURE|nexthop_groupexists inCONFIG_DB. Else, it will generatezebra.confwithno fpm use-next-hop-groups(default behavior)config savecomman and write to/etc/sonic/config_db.jsonvirsh reboot sonic-nhg/etc/frr/zebra.confhasfpm use-next-hop-groupsinstead ofno fpm use-next-hop-groupsKlish CLI for feature nexthop_group
sonic(config)# feature next-hop-group enablesonic(config)# no feature next-hop-groupEnable
Disable
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)