Endpoint

/v2/network/interfaces/

GET

Get configurations of all interfaces for the whole cluster.

Parameters

This resource has no parameters.

Response

Codes

Code Description
200 Return value on success

Schema

{
  "type": "array",
  "items": {
    "description": "api_interface_config",
    "type": "object",
    "properties": {
      "id": {
        "description": "Unique identifier for this interface configuration",
        "type": "number"
      },
      "name": {
        "description": "Name of the configured interface i.e. bond0",
        "type": "string"
      },
      "default_gateway": {
        "description": "Default IPv4 gateway on which all traffic generated from nodes is sent out on this interface",
        "type": "string"
      },
      "default_gateway_ipv6": {
        "description": "Default IPv6 gateway on which all traffic generated from nodes is sent out on this interface",
        "type": "string"
      },
      "bonding_mode": {
        "type": "string",
        "enum": [
          "ACTIVE_BACKUP",
          "IEEE_8023AD"
        ],
        "description": "Linux bonding mode on this interface, if it is bonded.:\n * `ACTIVE_BACKUP` - BONDING_MODE_ACTIVE_BACKUP,\n * `IEEE_8023AD` - BONDING_MODE_IEEE_8023AD"
      },
      "mtu": {
        "description": "Maximum transmission unit configuration value",
        "type": "number"
      }
    }
  }
}