Enable synchronous mode by default and add in minigraph parser (#5735)
This commit is contained in:
parent
42d2bf1a53
commit
5ee5c13f32
@ -2,5 +2,5 @@
|
||||
"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 %}
|
||||
"synchronous_mode": {% if DEVICE_METADATA.localhost.synchronous_mode == "disable" %}"disable"{% else %}"enable"{% endif %}
|
||||
}
|
||||
|
@ -967,7 +967,8 @@ def parse_xml(filename, platform=None, port_config_file=None, asic_name=None, hw
|
||||
'docker_routing_config_mode': docker_routing_config_mode,
|
||||
'hostname': hostname,
|
||||
'hwsku': hwsku,
|
||||
'type': device_type
|
||||
'type': device_type,
|
||||
'synchronous_mode': 'enable'
|
||||
}
|
||||
}
|
||||
# for this hostname, if sub_role is defined, add sub_role in
|
||||
|
Loading…
Reference in New Issue
Block a user