Skip to main content

Get network interface details

GET 

/api/node/:hostname/network/interface/:name

Get detailed configuration for a specific network interface on the target node.

Request

Path Parameters

    hostname stringrequired

    Possible values: non-empty

    Target agent hostname, reserved routing value (_any, _all), or label selector (key:value).

    name stringrequired

    Possible values: non-empty

    Network interface name (e.g., eth0, ens33).

Responses

Interface detail.

Schema

    job_id uuid

    The job ID used to process this request.

    results

    object[]

    required

  • Array [

  • hostname stringrequired

    Hostname of the agent that reported this entry.

    status stringrequired

    Possible values: [ok, failed, skipped]

    The status of the operation for this host.

    interface

    object

    Information about a network interface.

    name string

    Interface name.

    ipv4 string

    Primary IPv4 address.

    ipv6 string

    Primary IPv6 address.

    mac string

    Hardware MAC address.

    family string

    Address family (inet, inet6, dual).

    addresses string[]

    IP addresses assigned to the interface (CIDR).

    mac_address string

    Configured MAC address override.

    mtu integer

    Maximum transmission unit.

    state string

    Operational state of the interface.

    dhcp4 boolean

    Whether DHCPv4 is enabled.

    dhcp6 boolean

    Whether DHCPv6 is enabled.

    gateway4 string

    IPv4 gateway address.

    gateway6 string

    IPv6 gateway address.

    wakeonlan boolean

    Whether Wake-on-LAN is enabled.

    primary boolean

    Whether this is the primary (default route) interface.

    error string

    Error message if the agent failed.

  • ]

Loading...