Merge pull request #352 from mkwardakov/nic
Describe requirement for nic module
This commit is contained in:
commit
40b7330bc0
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
"""Displays the name, IP address(es) and status of each available network interface.
|
"""Displays the name, IP address(es) and status of each available network interface.
|
||||||
|
|
||||||
|
Requires the following python module:
|
||||||
|
* netifaces
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
* nic.exclude: Comma-separated list of interface prefixes to exclude (defaults to "lo,virbr,docker,vboxnet,veth")
|
* nic.exclude: Comma-separated list of interface prefixes to exclude (defaults to "lo,virbr,docker,vboxnet,veth")
|
||||||
* nic.states: Comma-separated list of states to show (prefix with "^" to invert - i.e. ^down -> show all devices that are not in state down)
|
* nic.states: Comma-separated list of states to show (prefix with "^" to invert - i.e. ^down -> show all devices that are not in state down)
|
||||||
|
|
Loading…
Reference in a new issue