-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[bgpcfgd]: Split one bgp mega-template to chunks. #4143
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
Conversation
retest vsimage please |
4 similar comments
retest vsimage please |
retest vsimage please |
retest vsimage please |
retest vsimage please |
can you look at the test failure? I think there is a real issue here. |
@lguohan Yes. I'm currently working on it. |
can you update the config db entry that this pr support? |
I'm still working on the changes. |
40521cf
to
cd06c31
Compare
This pull request introduces 2 alerts and fixes 3 when merging cd06c31 into e04eb80 - view on LGTM.com new alerts:
fixed alerts:
|
This pull request fixes 7 alerts when merging e9dbfa3 into a02255e - view on LGTM.com fixed alerts:
|
This pull request fixes 7 alerts when merging fc51718 into 89fb105 - view on LGTM.com fixed alerts:
|
This pull request introduces 2 alerts and fixes 7 when merging ea88cfd into bddd0d1 - view on LGTM.com new alerts:
fixed alerts:
|
This pull request introduces 2 alerts and fixes 7 when merging d44926e into 3a82ade - view on LGTM.com new alerts:
fixed alerts:
|
please merge with proper commit messages. |
dockers/docker-fpm-frr/frr/bgpd/templates/general/instance.conf.j2
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as comments
dockers/docker-fpm-frr/frr/bgpd/templates/general/policies.conf.j2
Outdated
Show resolved
Hide resolved
This pull request introduces 2 alerts and fixes 7 when merging 1b9def0 into 3a82ade - view on LGTM.com new alerts:
fixed alerts:
|
This pull request introduces 2 alerts and fixes 7 when merging 1272cd4 into c5e9844 - view on LGTM.com new alerts:
fixed alerts:
|
retest vsimage please |
dockers/docker-fpm-frr/frr/bgpd/templates/general/peer-group.conf.j2
Outdated
Show resolved
Hide resolved
you have a typo. that is why the test fails. |
Signed-off-by: Guohan Lu <[email protected]>
Thanks |
The one big bgp configuration template was splitted into chunks. Currently we have three types of bgp neighbor peers: general bgp peers. They are represented by CONFIG_DB::BGP_NEIGHBOR table entries dynamic bgp peers. They are represented by CONFIG_DB::BGP_PEER_RANGE table entries monitors bgp peers. They are represented by CONFIG_DB::BGP_MONITORS table entries This PR introduces three templates for each peer type: bgp policies: represent policieas that will be applied to the bgp peer-group (ip prefix-lists, route-maps, etc) bgp peer-group: represent bgp peer group which has common configuration for the bgp peer type and uses bgp routing policy from the previous item bgp peer-group instance: represent bgp configuration, which will be used to instatiate a bgp peer-group for the bgp peer-type. Usually this one is simple, consist of the referral to the bgp peer-group, bgp peer description and bgp peer ip address. This PR redefined constant.yml file. Now this file has a setting for to use or don't use bgp_neighbor metadata. This file has more parameters for now, which are not used. They will be used in the next iteration of bgpcfgd. Currently all tests have been disabled. I'm going to create next PR with the tests right after this PR is merged. I'm going to introduce better bgpcfgd in a short time. It will include support of dynamic changes for the templates. FIX:: #4231
The one big bgp configuration template was splitted into chunks.
Currently we have three types of bgp neighbor peers:
This PR introduces three templates for each peer type:
This PR redefined constant.yml file. Now this file has a setting for to use or don't use bgp_neighbor metadata. This file has more parameters for now, which are not used. They will be used in the next iteration of bgpcfgd.
Currently all tests have been disabled. I'm going to create next PR with the tests right after this PR is merged.
I'm going to introduce better bgpcfgd in a short time. It will include support of dynamic changes for the templates.
FIX:: #4231