67408c85aa
The orchagent and syncd need to have the same default synchronous mode configuration. This PR adds a template file to translate the default value in CONFIG_DB (empty field) to an explicit mode so that the orchagent and syncd could have the same default mode.
7 lines
274 B
Django/Jinja
7 lines
274 B
Django/Jinja
{
|
|
"asic_type": "{{ asic_type }}",
|
|
"asic_id": "{{ DEVICE_METADATA.localhost.asic_id }}",
|
|
"mac": "{{ DEVICE_METADATA.localhost.mac }}",
|
|
"synchronous_mode": {% if DEVICE_METADATA.localhost.synchronous_mode == "enable" %}"enable"{% else %}"disable"{% endif %}
|
|
}
|