c9cc7aea41
Modify minigraph parser output format so it fit DB schema Modify configuration templates to fit new schema Systemd services dependencies are modified so database starts before any configuration consumer
20 lines
498 B
Django/Jinja
20 lines
498 B
Django/Jinja
[
|
|
{
|
|
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
|
|
"tunnel_type":"IPINIP",
|
|
"src_ip":"{{ LOOPBACK_INTERFACE.keys()[0][1] | ip }}",
|
|
"dst_ip":"{{ LOOPBACK_INTERFACE.keys()[0][1] | ip }}",
|
|
{% if onie_switch_asic == "mlnx" %}
|
|
"dscp_mode":"uniform",
|
|
"ecn_mode":"standard",
|
|
{% else %}
|
|
"dscp_mode":"pipe",
|
|
"ecn_mode":"copy_from_outer",
|
|
{% endif %}
|
|
"ttl_mode":"pipe"
|
|
},
|
|
"OP": "SET"
|
|
}
|
|
]
|
|
|