[bgpcfgd] Add bgpcfgd support to advertise routes#9197
[bgpcfgd] Add bgpcfgd support to advertise routes#9197shi-su merged 4 commits intosonic-net:masterfrom
Conversation
src/sonic-bgpcfgd/bgpcfgd/main.py
Outdated
There was a problem hiding this comment.
Is this defined in the schema? if not, could you please raise a PR?
There was a problem hiding this comment.
Defined the table in the schema. Pending on swss-common submodule upgrade #9275. PR test would fail before that one merges.
There was a problem hiding this comment.
does the set handler invoked when bgp is restarted? please confirm
There was a problem hiding this comment.
I checked the configuration after bgp restart and it would be invoked after bgp restart.
There was a problem hiding this comment.
We may also want to add the new table to cleanup script to avoid stale entries in swss restarts
There was a problem hiding this comment.
Added the table in the script you suggested to clean up in swss restart.
|
/azp run |
|
You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list. |
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list. |
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Why I did it Add bgpcfgd support to advertise routes. How I did it Make bgpcfgd subscribe to the ADVERTISE_NETWORK table in STATE_DB and configure route advertisement accordingly. How to verify it Added unit tests in bgpcfgd and verify on KVM about route advertisement.
Why I did it Add bgpcfgd support to advertise routes. How I did it Make bgpcfgd subscribe to the ADVERTISE_NETWORK table in STATE_DB and configure route advertisement accordingly. How to verify it Added unit tests in bgpcfgd and verify on KVM about route advertisement.
Why I did it Cherry pick changes in #9197 to 202012 branch Add bgpcfgd support to advertise routes. How I did it Make bgpcfgd subscribe to the ADVERTISE_NETWORK table in STATE_DB and configure route advertisement accordingly. How to verify it Added unit tests in bgpcfgd and verify on KVM about route advertisement.
Why I did it
Add bgpcfgd support to advertise routes.
How I did it
Make bgpcfgd subscribe to the ADVERTISE_NETWORK table in STATE_DB and configure route advertisement accordingly.
How to verify it
Added unit tests in bgpcfgd and verify on KVM about route advertisement.
Which release branch to backport (provide reason below if selected)
Description for the changelog
A picture of a cute animal (not mandatory but encouraged)