34ea91349c
* Single image * Fix review comments * Update syncd service. Add HW mgmt to Mellanox single image. * Add single image template for Broadcom platform. SKU should be provided during configure: make configure PLATFORM=broadcom SKU=Force10-S6000 * Add single image template for Cavium platform. SKU should be provided during configure: make configure PLATFORM=cavium SKU=AS7512 * Add description to sonic_debian_extension.j2 file.
21 lines
592 B
Django/Jinja
21 lines
592 B
Django/Jinja
#
|
|
{% block banner %}
|
|
# =========== Managed by config engine DO NOT EDIT! ========================
|
|
# generated by templates/lag_interfaces.j2 using sonic-cfggen
|
|
# file: lag_interfaces
|
|
{% endblock %}
|
|
#
|
|
{% block lag_interface %}
|
|
# The switch LAG interfaces
|
|
{% for interface in minigraph_interfaces %}
|
|
{% if 'PortChannel' in interface['alias'] %}
|
|
auto {{ interface['name'] }}
|
|
iface {{ interface['name'] }} {{ 'inet' if interface['addr'] | ipv4 else 'inet6' }} static
|
|
address {{ interface['addr'] }}
|
|
netmask {{ interface['mask'] }}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endblock lag_interface %}
|
|
#
|
|
|