[ip-in-ip]: Fix config template to apply correct platform depended values (#1619)

Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
This commit is contained in:
Volodymyr Samotiy 2018-04-18 19:37:27 +03:00 committed by lguohan
parent f0690b246b
commit 61793dd05a

View File

@ -11,7 +11,7 @@
"tunnel_type":"IPINIP", "tunnel_type":"IPINIP",
"src_ip":"{{ ipv4_loopback_addresses | first | ip }}", "src_ip":"{{ ipv4_loopback_addresses | first | ip }}",
"dst_ip":"{% for prefix in ipv4_loopback_addresses %}{{ prefix | ip }}{% if not loop.last %},{% endif %}{% endfor %}", "dst_ip":"{% for prefix in ipv4_loopback_addresses %}{{ prefix | ip }}{% if not loop.last %},{% endif %}{% endfor %}",
{% if onie_switch_asic == "mlnx" %} {% if "mlnx" in DEVICE_METADATA.localhost.platform %}
"dscp_mode":"uniform", "dscp_mode":"uniform",
"ecn_mode":"standard", "ecn_mode":"standard",
{% else %} {% else %}