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.
19 lines
583 B
Django/Jinja
19 lines
583 B
Django/Jinja
#
|
|
{% block banner %}
|
|
# =========== Managed by config engine DO NOT EDIT! ========================
|
|
# generated by templates/interfaces.j2 using sonic-cfggen
|
|
# file: vlan_interfaces
|
|
{% endblock %}
|
|
#
|
|
{% block vlan_interface %}
|
|
# The switch VLAN interfaces
|
|
{% for interface in minigraph_vlan_interfaces %}
|
|
auto {{ interface['name'] }}
|
|
iface {{ interface['name'] }} {{ 'inet' if interface['addr'] | ipv4 else 'inet6' }} static
|
|
bridge_ports {{ interface['members'] }}
|
|
address {{ interface['addr'] }}
|
|
netmask {{ interface['mask'] }}
|
|
{% endfor %}
|
|
{% endblock vlan_interface %}
|
|
#
|