Skip to content

Commit

Permalink
Merge pull request #61 from mssonicbld/cherry/202405/57
Browse files Browse the repository at this point in the history
[action] [PR:57] Add role field to the ztp PORT config (#57)
  • Loading branch information
bingwang-ms authored Nov 1, 2024
2 parents 56cebae + 208d93d commit 2ec9859
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/usr/lib/ztp/templates/ztp-config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
{% if PORT[port].fec is defined and PORT[port].fec != "" %}
"fec": "{{ PORT[port].fec }}",
{% endif %}
{% if PORT[port].role is defined and PORT[port].role != "" %}
"role": "{{ PORT[port].role }}",
{% endif %}
{% if ZTP_INBAND == "true" %}
"admin_status": "up"
{% else %}
Expand Down

0 comments on commit 2ec9859

Please sign in to comment.