GET /system/servers/{server_id}/network_interfaces/bonded

Retrieves a list of the bonded network interfaces based on the supplied server ID.

Table 1. GET /system/servers/{server_id}/network_interfaces/bonded resource details
MIME Type

application/json

Table 2. GET /system/servers/{server_id}/network_interfaces/bonded request parameter details
Parameter Type Optionality Data Type MIME Type Description

server_id

path

Required

Number (Integer)

text/plain

Required - The id of the server.

filter

query

Optional

String

text/plain

Optional - This parameter is used to restrict the elements in a list base on the contents of various fields.

Range

header

Optional

String

text/plain

Optional - Use this parameter to restrict the number of elements that are returned in the list to a specified range. The list is indexed starting at zero.

fields

query

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

Table 3. GET /system/servers/{server_id}/network_interfaces/bonded response codes
HTTP Response Code Unique Code Description

200

A list of the bonded network interfaces were retrieved.

404

1002

The requested server with the given server ID cannot be found.

422

1005

One or more parameters are invalid in request.

500

1020

An error occurred while trying to retrieve the bonded interfaces on the server with the given ID.

500

1022

Timeout while performing the task.

Response Description

A list of the bonded network interfaces. Each record contains the following fields:
  • device_name - String - The name of the network interface.
  • desc - String - The description of the network interface.
  • role - String - The role of the network interface. One of: regular, management, hacrossover, hacrossover_disabled, monitor, disabled.
  • ipversion - String - The verson of the IP address configured on the network interface. One of: ipv4, ipv6.
  • ip - String - The IP address that is configured on the network interface.
  • mask - String - The netmask that is configured on the network interface.
  • is_auto_ip - Boolean - Is the IP address auto-configured?
  • is_cable_linked - String - Is the network interface cable linked? One of: YES, NO, UNKNOWN
  • is_moving_config_with_active_ha - Boolean - Will apply the same settings to a new active HA server during failover.
  • hacrossover_params - String - A map of key-value pairs of HA crossover parameters if the network interface is used for HA crossover.
  • bonding_opts - String - The bonding options that are configured on the bonded network interface.
  • slaves - List - The slaves of the bonded network interface. Each slave record contains the follow fields:
    • device_name - String - The name of the slave interface.
    • desc - String - The description of the slave interface.
    • role - String - The role of the slave interface. One of: slave, slave_disabled
    • is_cable_linked - String - Is the slave interface cable linked. One of: true, false, unknown

Response Sample


[
    {
        "bonding_opts": "String",
        "desc": "String",
        "device_name": "String",
        "hacrossover_params": {
            "String": "String"
        },
        "ip": "String",
        "ipversion": "String <one of: ipv4, ipv6>",
        "is_auto_ip": true,
        "is_cable_linked": "String <one of: true, false, unknown>",
        "is_moving_config_with_active_ha": true,
        "mask": "String",
        "role": "String <one of: regular, management, hacrossover, hacrossover_disabled, monitor, disabled, slave, slave_disabled>",
        "slaves": [
            {
                "desc": "String",
                "device_name": "String",
                "is_cable_linked": "String <one of: true, false, unknown>",
                "role": "String <one of: regular, management, hacrossover, hacrossover_disabled, monitor, disabled, slave, slave_disabled>"
            }
        ]
    }
]