Family team netlink specification

Summary #

Network team device driver.

Operations #

noop #

No operation

  • value:

    0

  • attribute-set:

    team

  • dont-validate:

    ['strict']

  • do:

    reply

    • attributes:

      [team-ifindex]

options-set #

Set team options

  • attribute-set:

    team

  • dont-validate:

    ['strict']

  • flags:

    [admin-perm]

  • do:

    request

    • attributes:

      [team-ifindex, list-option]

    reply

    • attributes:

      [team-ifindex, list-option]

options-get #

Get team options info

  • attribute-set:

    team

  • dont-validate:

    ['strict']

  • flags:

    [admin-perm]

  • do:

    request

    • attributes:

      [team-ifindex]

    reply

    • attributes:

      [team-ifindex, list-option]

port-list-get #

Get team ports info

  • attribute-set:

    team

  • dont-validate:

    ['strict']

  • flags:

    [admin-perm]

  • do:

    request

    • attributes:

      [team-ifindex]

    reply

    • attributes:

      [team-ifindex, list-port]

Definitions #

string-max-len #

  • type:

    const

  • value:

    32

genl-change-event-mc-grp-name #

  • type:

    const

  • value:

    change_event

Attribute sets #

team #

The team nested layout of get/set msg looks like:

[TEAM_ATTR_LIST_OPTION]
    [TEAM_ATTR_ITEM_OPTION]
        [TEAM_ATTR_OPTION_*], ...
    [TEAM_ATTR_ITEM_OPTION]
        [TEAM_ATTR_OPTION_*], ...
    ...
[TEAM_ATTR_LIST_PORT]
    [TEAM_ATTR_ITEM_PORT]
        [TEAM_ATTR_PORT_*], ...
    [TEAM_ATTR_ITEM_PORT]
        [TEAM_ATTR_PORT_*], ...
    ...

unspec (unused) #

  • value:

    0

team-ifindex (u32) #

list-option (nest) #

list-port (nest) #

item-option #

option-unspec (unused) #

  • value:

    0

option (nest) #

attr-option #

unspec (unused) #

  • value:

    0

name (string) #

changed (flag) #

type (u8) #

data (binary) #

removed (flag) #

port-ifindex (u32) #

  • doc:

    for per-port options

array-index (u32) #

  • doc:

    for array options

item-port #

port-unspec (unused) #

  • value:

    0

port (nest) #

attr-port #

unspec (unused) #

  • value:

    0

ifindex (u32) #

changed (flag) #

linkup (flag) #

speed (u32) #

duplex (u8) #

removed (flag) #

Edit this page