Skip to content

Commit

Permalink
Provide default for sonic portchannels. (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 authored Jun 6, 2024
1 parent 94a4261 commit baeb80b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion partition/roles/sonic/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ sonic_ports: []
sonic_ports_dict: {}
sonic_ports_default_fec: none

## Layer 2
sonic_portchannels: []

## BGP related settings
sonic_loopback_address:
sonic_asn:
sonic_asn:
sonic_bgp_ports: []
sonic_frr_render: true
sonic_frr_debug_options: []
Expand Down
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 @@ -117,7 +117,7 @@ PORT:
speed: "{{ running_cfg.speed }}"
{% endif %}
{% endfor %}
{% if sonic_portchannels is defined and sonic_portchannels|length > 0 %}
{% if sonic_portchannels %}

PORTCHANNEL:
{% for po in sonic_portchannels %}
Expand Down

0 comments on commit baeb80b

Please sign in to comment.