Skip to content

Commit

Permalink
Fetch autoneg from running configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
robertvolkmann committed Sep 22, 2023
1 parent 3b45e6b commit 479d675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion partition/roles/sonic/templates/metal.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ PORT:
{% for name, running_cfg in sonic_running_cfg_ports.items() %}
{{ name }}:
alias: {{ running_cfg.alias }}
autoneg: "off"
autoneg: "{{ running_cfg.autoneg|default("off")|string|lower }}"
index: "{{ running_cfg.index }}"
lanes: "{{ running_cfg.lanes }}"
parent_port: {{ running_cfg.parent_port }}
Expand Down

0 comments on commit 479d675

Please sign in to comment.