Comment 13 for bug 1499187

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/14622
Committed: http://github.org/Juniper/contrail-controller/commit/b68d61caf88b68c5646836e8a00027fb1b4f5253
Submitter: Zuul
Branch: master

commit b68d61caf88b68c5646836e8a00027fb1b4f5253
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: I708648e02e6dfd8bbdcef0bdb708882245e64c7e