From 2006b8218d66a0a88f3cd970b9ebf40e3e7a793e Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Wed, 10 Oct 2018 10:49:42 -0400 Subject: [PATCH] Sets ODL OVSDB inactivity probe timer Defaults the ODL OVSDB inactivity probe timer to 180s. This value is more suitable for large number of compute nodes as the default ODL value of 5s causes too much stress on the controller in large scale environments. Closes-Bug: 1797128 Change-Id: I74a8c40b609adec97a27602700bbfa7203ad031f Signed-off-by: Tim Rozet --- puppet/services/opendaylight-api.yaml | 6 ++++++ ...endaylight-inactivity-probe-config-a89f6dcd204192a8.yaml | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 puppet/services/releasenotes/notes/add-opendaylight-inactivity-probe-config-a89f6dcd204192a8.yaml diff --git a/puppet/services/opendaylight-api.yaml b/puppet/services/opendaylight-api.yaml index 1b81d2ada7..2b01e2c0fe 100644 --- a/puppet/services/opendaylight-api.yaml +++ b/puppet/services/opendaylight-api.yaml @@ -90,6 +90,11 @@ parameters: Note, these options are in addition to the default Java options set by the karaf/ODL boot scripts and IP version based flag set by 'opendaylight' class. + OpenDaylightInactivityProbe: + description: Time in millseconds before an inactivity probe is sent via + OVSDB to OVS + type: number + default: 180000 conditions: @@ -126,6 +131,7 @@ outputs: opendaylight::log_mechanism: {get_param: OpenDaylightLogMechanism} opendaylight::inherit_dscp_marking: {get_param: OpenDaylightInheritDSCPMarking} opendaylight::java_opts: {get_param: OpenDaylightJavaOpts} + opendaylight::inactivity_probe: {get_param: OpenDaylightInactivityProbe} - if: - internal_tls_enabled diff --git a/puppet/services/releasenotes/notes/add-opendaylight-inactivity-probe-config-a89f6dcd204192a8.yaml b/puppet/services/releasenotes/notes/add-opendaylight-inactivity-probe-config-a89f6dcd204192a8.yaml new file mode 100644 index 0000000000..bc3b702fc1 --- /dev/null +++ b/puppet/services/releasenotes/notes/add-opendaylight-inactivity-probe-config-a89f6dcd204192a8.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + OpenDaylight inactivity probe for setting the OVSDB timeout now defaults + to 180s. This helps fix scale issues for large number of computes nodes + in OpenDaylight deployments.