Skip to main content

List the network interfaces of the host

GET 

/api/node/:hostname/interface

Reads each interface but the loopback, in the order of its index: /sys/class/net and ip on Linux, ifconfig and netstat on macOS. dhcp4 is true when a route of the interface has proto dhcp, and primary when it has the default route.

Request​

Responses​

Each target host's result.