Merge "Set DB max_overflow to match thread pool size"
diff --git a/neutron/gateway.sls b/neutron/gateway.sls
index b1b61f7..e51990a 100644
--- a/neutron/gateway.sls
+++ b/neutron/gateway.sls
@@ -80,6 +80,15 @@
- require:
- pkg: neutron_gateway_packages
+{%- if gateway.inactivity_probe is defined %}
+{%- set probe_ms = gateway.inactivity_probe * 1000 %}
+ovs_manager_inactivity_probe:
+ cmd.run:
+ - name: "ovs-vsctl set manager ptcp:6640:127.0.0.1 inactivity_probe={{ probe_ms }}"
+ - unless:
+ - ovs-vsctl get manager ptcp:6640:127.0.0.1 inactivity_probe | grep -qFx {{ probe_ms }}
+{%- endif %}
+
{%- endif %}
{%- endif %}