Merge pull request #352 from mkwardakov/nic

Describe requirement for nic module
This commit is contained in:
tobi-wan-kenobi 2019-01-18 16:02:15 +01:00 committed by GitHub
commit 40b7330bc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)