mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Document --exclude option a little better for ifupdown2
Ticket: CM-6587 Reviewed By: roopa Testing Done: checked man paged If we do an ifdown on all ports and try to exclude a bond or bridge port. But we also have an iface defined for swp1 or swp4 (even if these are empty). The lower interfaces will not be excluded. So if we do an "ifdown -a -X bridge", swp ports in the bridge or bond will go down effectively bringing a bond or bridge down. This patch simply adds some documentation to the man pages. ifupdown2 never follows dependents if the user has given an interface list (unless explicitly requested with --with-depends option which is available with some options).
This commit is contained in:
@ -60,6 +60,10 @@ OPTIONS
|
||||
-X EXCLUDEPATS, --exclude EXCLUDEPATS
|
||||
Exclude interfaces from the list of interfaces to
|
||||
operate on. Can be specified multiple times
|
||||
If the excluded interface has dependent interfaces,
|
||||
(e.g. a bridge or a bond with multiple enslaved interfaces)
|
||||
then each dependent interface must be specified in order
|
||||
to be excluded.
|
||||
|
||||
-i INTERFACESFILE, --interfaces INTERFACESFILE
|
||||
Use interfaces file instead of default
|
||||
|
@ -55,6 +55,10 @@ OPTIONS
|
||||
-X EXCLUDEPATS, --exclude EXCLUDEPATS
|
||||
Exclude interfaces from the list of interfaces to
|
||||
operate on. Can be specified multiple times
|
||||
If the excluded interface has dependent interfaces,
|
||||
(e.g. a bridge or a bond with multiple enslaved interfaces)
|
||||
then each dependent interface must be specified in order
|
||||
to be excluded.
|
||||
|
||||
|
||||
EXAMPLES
|
||||
|
@ -82,6 +82,10 @@ OPTIONS
|
||||
-X EXCLUDEPATS, --exclude EXCLUDEPATS
|
||||
Exclude interfaces from the list of interfaces to
|
||||
operate on. Can be specified multiple times
|
||||
If the excluded interface has dependent interfaces,
|
||||
(e.g. a bridge or a bond with multiple enslaved interfaces)
|
||||
then each dependent interface must be specified in order
|
||||
to be excluded.
|
||||
|
||||
-i INTERFACESFILE, --interfaces INTERFACESFILE
|
||||
Use interfaces file instead of default
|
||||
|
Reference in New Issue
Block a user