Skip to content

Commit 61793dd

Browse files
Volodymyr Samotiylguohan
Volodymyr Samotiy
authored andcommitted
[ip-in-ip]: Fix config template to apply correct platform depended values (#1619)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
1 parent f0690b2 commit 61793dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dockers/docker-orchagent/ipinip.json.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"tunnel_type":"IPINIP",
1212
"src_ip":"{{ ipv4_loopback_addresses | first | ip }}",
1313
"dst_ip":"{% for prefix in ipv4_loopback_addresses %}{{ prefix | ip }}{% if not loop.last %},{% endif %}{% endfor %}",
14-
{% if onie_switch_asic == "mlnx" %}
14+
{% if "mlnx" in DEVICE_METADATA.localhost.platform %}
1515
"dscp_mode":"uniform",
1616
"ecn_mode":"standard",
1717
{% else %}

0 commit comments

Comments
 (0)