Skip to content

Commit

Permalink
Update default GR parameter values to 300s as specified in the schema
Browse files Browse the repository at this point in the history
Change-Id: I449773c2c302f5d839daf9230345095cfa9dbfb3
Closes-Bug: 1741182
  • Loading branch information
ananth-at-camphor-networks committed Jan 4, 2018
1 parent c08ed00 commit 19df0c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Expand Up @@ -16,9 +16,9 @@ define([
},
"graceful_restart_parameters": {
"enable": false,
"restart_time": 60,
"restart_time": 300,
"long_lived_restart_time": 300,
"end_of_rib_timeout": 30,
"end_of_rib_timeout": 300,
"bgp_helper_enable": false,
"xmpp_helper_enable": false
},
Expand Down Expand Up @@ -222,7 +222,7 @@ define([
grTime = getValueByJsonPath(newBGPOptionsConfig,
"graceful_restart_parameters;restart_time", "");
grTime = grTime.toString().trim().length > 0 ?
Number(grTime) : 60;
Number(grTime) : 300;
globalSysConfigData['global-system-config']
["graceful_restart_parameters"]["restart_time"] = grTime;

Expand All @@ -241,7 +241,7 @@ define([
"graceful_restart_parameters;end_of_rib_timeout", "");
endOfRIBRecTime =
endOfRIBRecTime.toString().trim().length > 0 ?
Number(endOfRIBRecTime) : 30;
Number(endOfRIBRecTime) : 300;
globalSysConfigData['global-system-config']
["graceful_restart_parameters"]["end_of_rib_timeout"] =
endOfRIBRecTime;
Expand Down
Expand Up @@ -192,7 +192,7 @@ define([
"graceful_restart_parameters." +
"restart_time",
label : "Restart Time (secs)",
placeholder : "0 - 4095 (60)",
placeholder : "0 - 4095 (300)",
dataBindValue: "graceful_restart_parameters()." +
"restart_time",
class: "col-xs-6"
Expand Down Expand Up @@ -222,7 +222,7 @@ define([
path: "graceful_restart_parameters." +
"end_of_rib_timeout",
label : "End of RIB (secs)",
placeholder : '0 - 4095 (30)',
placeholder : '0 - 4095 (300)',
dataBindValue: "graceful_restart_parameters()." +
"end_of_rib_timeout",
class: "col-xs-6"
Expand Down

0 comments on commit 19df0c6

Please sign in to comment.