8e642848c2
* Introduce the asic_subtype field for adding the sub platform variants. It uses the value of TARGET_MACHINE variable in slave.mk.
11 lines
465 B
Django/Jinja
11 lines
465 B
Django/Jinja
{
|
|
"asic_type": "{{ asic_type }}",
|
|
{% if asic_subtype is defined and asic_subtype != '' -%}
|
|
"asic_subtype": "{{ asic_subtype }}",
|
|
{% endif -%}
|
|
"asic_id": "{{ DEVICE_METADATA.localhost.asic_id }}",
|
|
"mac": "{{ DEVICE_METADATA.localhost.mac }}",
|
|
"resource_type": "{{ DEVICE_METADATA.localhost.resource_type }}",
|
|
"synchronous_mode": {% if DEVICE_METADATA.localhost.synchronous_mode == "disable" %}"disable"{% else %}"enable"{% endif %}
|
|
}
|