From 5b2ad6fc2bcb56c2e83f78e2012ba4c8899ea2c8 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Fri, 5 Apr 2019 12:46:16 +0400 Subject: [odl] Disable timeout for learnt flows of snat Set timeout value for snat punts to zero to turn off the rate limiting and installation of learnt flows. Change-Id: I79dad8fd0f925bfc11d7dc1678c3a414dc35fa56 Signed-off-by: Michael Polenchuk (cherry picked from commit 2d78f9be1148d1e00ba5a85addc4601d68bc5393) --- mcp/reclass/classes/cluster/mcp-odl-ha/opendaylight/control.yml.j2 | 4 +++- mcp/reclass/classes/cluster/mcp-odl-noha/opendaylight/control.yml.j2 | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'mcp/reclass/classes/cluster') diff --git a/mcp/reclass/classes/cluster/mcp-odl-ha/opendaylight/control.yml.j2 b/mcp/reclass/classes/cluster/mcp-odl-ha/opendaylight/control.yml.j2 index 3c8a35e06..51f86b252 100644 --- a/mcp/reclass/classes/cluster/mcp-odl-ha/opendaylight/control.yml.j2 +++ b/mcp/reclass/classes/cluster/mcp-odl-ha/opendaylight/control.yml.j2 @@ -22,7 +22,9 @@ parameters: java_min_mem: 6g java_max_mem: 6g router_enabled: true - netvirt_nat_mode: conntrack + netvirt_natservice: + nat_mode: conntrack + snat_punt_timeout: 0 karaf_features: odl_default: - odl-restconf-all diff --git a/mcp/reclass/classes/cluster/mcp-odl-noha/opendaylight/control.yml.j2 b/mcp/reclass/classes/cluster/mcp-odl-noha/opendaylight/control.yml.j2 index 7b8cf2017..0c504a264 100644 --- a/mcp/reclass/classes/cluster/mcp-odl-noha/opendaylight/control.yml.j2 +++ b/mcp/reclass/classes/cluster/mcp-odl-noha/opendaylight/control.yml.j2 @@ -22,7 +22,9 @@ parameters: java_min_mem: 4g java_max_mem: 4g router_enabled: true - netvirt_nat_mode: conntrack + netvirt_natservice: + nat_mode: conntrack + snat_punt_timeout: 0 karaf_features: odl_default: - odl-restconf-all -- cgit 1.2.3-korg