1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00
CumulusNetworks-ifupdown2/docs/examples/interfaces_with_template
Roopa Prabhu f102ef630d Fix splits everywhere to include space and tabs. Use regex split
Ticket: CM-3121
Reviewed By:
Testing Done: Ran precommit

Conflicts:
	packages/ifupdown2-addons/pkg/modulebase.py
2014-07-16 13:51:00 -07:00

25 lines
479 B
Plaintext

#
# Example interfaces file using mako templates
#
# The below section can be copied into
# /etc/network/interfaces file
# or
# to a file under /etc/network/interfaces.d/
# and include in the interfaces file using the
# 'source' command.
#
# see manpage interfaces(5) for details
#
#
%for v in range(1000,1100):
auto vlan-${v}
iface vlan-${v} inet static
bridge-ports glob swp1-6.${v}
bridge-stp on
bridge-ageing 200
bridge-maxage 10
bridge-fd 10
%endfor