Skip to main content
Version: v4.22

nics

Shows a snapshot of available network interfaces.

nics

Description

The nics operator shows a snapshot of all available network interfaces.

Schemas

Tenzir emits network interface card information with the following schema.

tenzir.nic

Contains detailed information about the network interface.

FieldTypeDescription
namestringThe name of the network interface.
descriptionstringA brief note or explanation about the network interface.
addresseslistA list of IP addresses assigned to the network interface.
loopbackboolIndicates if the network interface is a loopback interface.
upboolIndicates if the network interface is up and can transmit data.
runningboolIndicates if the network interface is running and operational.
wirelessboolIndicates if the network interface is a wireless interface.
statusrecordA record containing detailed status information about the network interface.

The record status has the following schema:

FieldTypeDescription
unknownboolIndicates if the network interface status is unknown.
connectedboolIndicates if the network interface is connected.
disconnectedboolIndicates if the network interface is disconnected.
not_applicableboolIndicates if the network interface is not applicable.

Examples

List all connected network interfaces.

nics
where status.connected