2020-11-12 09:28:02 +00:00
|
|
|
ifparse(8)
|
|
|
|
|
|
|
|
# NAME
|
|
|
|
|
|
|
|
ifparse - redisplay interface configuration in different formats
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
|
|
|
*ifparse* [<_options_>...] <_interfaces_...>
|
|
|
|
|
|
|
|
*ifparse* -A|--all
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
*ifparse* is used to extract information from the interface configuration
|
|
|
|
file. It is intended to be used to translate the interface configuration
|
|
|
|
stanzas between different formats.
|
|
|
|
|
|
|
|
# OPTIONS
|
|
|
|
|
|
|
|
*-a, --auto*
|
|
|
|
Only match interfaces that are marked as _auto_.
|
|
|
|
|
|
|
|
*-h, --help*
|
|
|
|
Display supported options to ifquery.
|
|
|
|
|
|
|
|
*-i, --interfaces* _FILE_
|
|
|
|
Use _FILE_ as the config database.
|
|
|
|
|
2020-11-14 04:53:41 +00:00
|
|
|
*-F, --format* _FORMAT_
|
|
|
|
Use _FORMAT_ to determine what format to use. *ifupdown* and
|
|
|
|
*yaml-raw* formats are available.
|
|
|
|
|
2020-11-12 09:28:02 +00:00
|
|
|
*-I, --include* _PATTERN_
|
|
|
|
Include _PATTERN_ when matching against the config or state
|
|
|
|
database.
|
|
|
|
|
|
|
|
*-U, --allow-undefined*
|
|
|
|
Create virtual interfaces for any interfaces not explicitly
|
|
|
|
defined in the configuration file. This is primarily useful
|
|
|
|
for property queries.
|
|
|
|
|
|
|
|
*-S, --state-file* _FILE_
|
|
|
|
Use _FILE_ as the state database.
|
|
|
|
|
2021-09-19 11:03:34 +00:00
|
|
|
*-T, --timeout* _TIMEOUT_
|
|
|
|
Wait up to _TIMEOUT_ seconds for executors to complete before
|
|
|
|
raising an error.
|
|
|
|
|
2020-11-12 09:28:02 +00:00
|
|
|
*-V, --version*
|
|
|
|
Print the ifupdown-ng version and exit.
|
|
|
|
|
|
|
|
*-X, --exclude* _PATTERN_
|
|
|
|
Exclude _PATTERN_ when matching against the config or state
|
|
|
|
database.
|
|
|
|
|
|
|
|
# SEE ALSO
|
|
|
|
|
|
|
|
*ifup*(8)++
|
|
|
|
*ifdown*(8)++
|
|
|
|
*ifquery*(8)++
|
|
|
|
*interfaces*(5)
|
|
|
|
|
|
|
|
# AUTHORS
|
|
|
|
|
|
|
|
Ariadne Conill <ariadne@dereferenced.org>
|