DM: Periodic push of config and control the push interval
- on commit failure, re push the config in incremental intervals
start with 15 seconds delay and double it until it reaches max config
value which is 600seconds, and then continue to re push
on succesful commit, reset this value to 15 seconds
default start time and max interval is daemon config parameters
- on succesful commit, wait for some time before pushing the next commit
this is mainly for not sending too many commits in short intervals.
delay is computed based on the previous commit size.
default value: 1 second delay per every 100kb
There is a daemon knob to disable this feature.
- Cleaned up some code
- Sometimes, it is noticed that Bgp Session paramter has config
something like with all empty values:
Reviewed: https:/ /review. opencontrail. org/14622 github. org/Juniper/ contrail- controller/ commit/ b68d61caf88b68c 5646836e8a00027 fb1b4f5253
Committed: http://
Submitter: Zuul
Branch: master
commit b68d61caf88b68c 5646836e8a00027 fb1b4f5253
Author: sbalineni <email address hidden>
Date: Fri Oct 23 10:42:04 2015 -0700
DM: Periodic push of config and control the push interval
- on commit failure, re push the config in incremental intervals
start with 15 seconds delay and double it until it reaches max config
value which is 600seconds, and then continue to re push
on succesful commit, reset this value to 15 seconds
default start time and max interval is daemon config parameters
- on succesful commit, wait for some time before pushing the next commit
this is mainly for not sending too many commits in short intervals.
delay is computed based on the previous commit size.
default value: 1 second delay per every 100kb
There is a daemon knob to disable this feature.
- Cleaned up some code
- Sometimes, it is noticed that Bgp Session paramter has config
something like with all empty values:
"session": [
{
"attributes": [
{
"address_families": {
"family": []
},
"auth_data": null,
"bgp_router": null
}
],
"uuid": null
}
DM should check for real presense of family value.
Closes-Bug: #1469986
Closes-Bug: #1499187
Change-Id: I708648e02e6dfd 8bbdcef0bdb7088 82245e64c7e