vinfra node iface list
List node network interfaces:
usage: vinfra node iface list [--long] [-a | --node <node>]
--long
- Enable access and listing of all fields of objects.
-a, --all
- List all network interfaces on all nodes
--node <node>
- Node ID or hostname to list network interfaces on (default:
node001.vstoragedomain
)
Example:
This command shows network interfaces of the node with the ID 4f96acf5-3bc8-4094-bcb6-4d1953be7b55
.
# vinfra node iface list --node 4f96acf5-3bc8-4094-bcb6-4d1953be7b55 +------+----------------+--------------------+-------+---------+ | name | node_id | ipv4 | state | network | +------+----------------+--------------------+-------+---------+ | eth0 | 4f96acf5-<...> | - 10.94.29.218/16 | up | Public | | eth1 | 4f96acf5-<...> | - 10.37.130.101/24 | up | Private | +------+----------------+--------------------+-------+---------+