NMDeviceTeam: libnm Reference Manual

## NMDeviceTeam NMDeviceTeam |

## Functions

const char * | nm_device_team_get_hw_address ()
gboolean | nm_device_team_get_carrier ()
const GPtrArray * | nm_device_team_get_slaves ()
const char * | nm_device_team_get_config ()

## Properties

gboolean | carrier | Read
char * | config | Read
GPtrArray * | slaves | Read

## Types and Values

#define | NM_DEVICE_TEAM_HW_ADDRESS
#define | NM_DEVICE_TEAM_CARRIER
#define | NM_DEVICE_TEAM_SLAVES
#define | NM_DEVICE_TEAM_CONFIG
| NMDeviceTeam

## Object Hierarchy

        GObject
        ╰── NMObject
            ╰── NMDevice
                ╰── NMDeviceTeam

## Description

## Functions

### nm_device_team_get_hw_address ()

    const char *
    nm_device_team_get_hw_address (NMDeviceTeam *device);

`nm_device_team_get_hw_address` is deprecated and should not be used in newly-written code.

### nm_device_team_get_carrier ()

    gboolean
    nm_device_team_get_carrier (NMDeviceTeam *device);

### nm_device_team_get_slaves ()

    const GPtrArray *
    nm_device_team_get_slaves (NMDeviceTeam *device);

### nm_device_team_get_config ()

    const char *
    nm_device_team_get_config (NMDeviceTeam *device);

## Types and Values

### NM_DEVICE_TEAM_HW_ADDRESS

    #define NM_DEVICE_TEAM_HW_ADDRESS "hw-address"

### NM_DEVICE_TEAM_CARRIER

    #define NM_DEVICE_TEAM_CARRIER    "carrier"

### NM_DEVICE_TEAM_SLAVES

    #define NM_DEVICE_TEAM_SLAVES     "slaves"

### NM_DEVICE_TEAM_CONFIG

    #define NM_DEVICE_TEAM_CONFIG     "config"

### NMDeviceTeam

    typedef struct _NMDeviceTeam NMDeviceTeam;

## Property Details

### The `“carrier”` property

      “carrier”                  gboolean

Owner: NMDeviceTeam

Flags: Read

Default value: FALSE

### The `“config”` property

      “config”                   char *

Owner: NMDeviceTeam

Flags: Read

Default value: NULL

### The `“slaves”` property

      “slaves”                   GPtrArray *

Owner: NMDeviceTeam

Flags: Read