1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

Enhance globbing in ifupdown2 to support breakout cables

Ticket: CM-5365
Reviewed By: roopa,dwalton
Testing Done: Ran regression suite and hand tested.

This patch extends the globbing support in ifupdown2
to handle two levels of square brackets so that breakout
cables can be handled (e.g. swp[2-7]s[0-3]).  Also modified
the user's guide and the man pages.
This commit is contained in:
Sam Tannous
2015-06-16 20:58:15 -04:00
parent 76cb1a631e
commit 139662ee08
3 changed files with 55 additions and 24 deletions

View File

@@ -317,6 +317,10 @@ bridge ports and bond slaves::
iface br1
bridge-ports glob swp7-9.100 swp11.100 glob swp15-18.100
auto br2
iface br2
bridge-ports glob swp[1-6]s[0-3].100
Using Templates
===============