diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2019-04-12 14:32:36 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2019-04-12 14:32:36 +0000 |
commit | 5fdc0c1db38310e5fde7833393cfefb9d3e96fb6 (patch) | |
tree | 72c8f93370f31ee89fd0c0faeaddaacd24897da1 /mcp/salt-formulas/salt-formula-opendaylight/opendaylight | |
parent | f2e8f88cced6b61adbd8d22763253fdd9f8ec0e6 (diff) | |
parent | 2d78f9be1148d1e00ba5a85addc4601d68bc5393 (diff) |
Merge "[odl] Disable timeout for learnt flows of snat"
Diffstat (limited to 'mcp/salt-formulas/salt-formula-opendaylight/opendaylight')
-rw-r--r-- | mcp/salt-formulas/salt-formula-opendaylight/opendaylight/config.sls | 2 | ||||
-rw-r--r-- | mcp/salt-formulas/salt-formula-opendaylight/opendaylight/files/netvirt-natservice-config.xml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mcp/salt-formulas/salt-formula-opendaylight/opendaylight/config.sls b/mcp/salt-formulas/salt-formula-opendaylight/opendaylight/config.sls index 2d23c7563..3f1f81348 100644 --- a/mcp/salt-formulas/salt-formula-opendaylight/opendaylight/config.sls +++ b/mcp/salt-formulas/salt-formula-opendaylight/opendaylight/config.sls @@ -73,7 +73,7 @@ pax.logging.cfg.{{ opt }}: 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 diff --git a/mcp/salt-formulas/salt-formula-opendaylight/opendaylight/files/netvirt-natservice-config.xml b/mcp/salt-formulas/salt-formula-opendaylight/opendaylight/files/netvirt-natservice-config.xml index 266689e5c..35994e51d 100644 --- a/mcp/salt-formulas/salt-formula-opendaylight/opendaylight/files/netvirt-natservice-config.xml +++ b/mcp/salt-formulas/salt-formula-opendaylight/opendaylight/files/netvirt-natservice-config.xml @@ -18,6 +18,6 @@ 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> |