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 <mpolenchuk@mirantis.com>
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
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
ovsdb.of.version: 1.3
{%- endif %}
-{%- if server.netvirt_nat_mode is defined %}
+{%- if server.netvirt_natservice is defined %}
/opt/opendaylight/etc/opendaylight/datastore/initial/config/netvirt-natservice-config.xml:
file.managed:
- source: salt://opendaylight/files/netvirt-natservice-config.xml
under the License.
-->
<natservice-config xmlns="urn:opendaylight:netvirt:natservice:config">
- <nat-mode>{{ server.netvirt_nat_mode }}</nat-mode>
- <snat-punt-timeout>5</snat-punt-timeout>
+ <nat-mode>{{ server.netvirt_natservice.nat_mode|d('controller') }}</nat-mode>
+ <snat-punt-timeout>{{ server.netvirt_natservice.snat_punt_timeout|d('5') }}</snat-punt-timeout>
</natservice-config>