Family team
netlink 规范¶
摘要¶
网络 team 设备驱动程序。
操作¶
noop¶
无操作
- value:
0
- attribute-set:
- dont-validate:
[‘strict’]
- do:
- reply
- attributes:
[
team-ifindex
]
options-set¶
设置 team 选项
- attribute-set:
- dont-validate:
[‘strict’]
- flags:
[
admin-perm
]- do:
- request
- attributes:
[
team-ifindex
,list-option
]
- reply
- attributes:
[
team-ifindex
,list-option
]
options-get¶
获取 team 选项信息
- attribute-set:
- dont-validate:
[‘strict’]
- flags:
[
admin-perm
]- do:
- request
- attributes:
[
team-ifindex
]
- reply
- attributes:
[
team-ifindex
,list-option
]
port-list-get¶
获取 team 端口信息
- attribute-set:
- dont-validate:
[‘strict’]
- flags:
[
admin-perm
]- do:
- request
- attributes:
[
team-ifindex
]
- reply
- attributes:
[
team-ifindex
,list-port
]
定义¶
string-max-len¶
- type:
const
- value:
32
genl-change-event-mc-grp-name¶
- type:
const
- value:
change_event
属性集¶
team¶
unspec (unused
)¶
- value:
0
team-ifindex (u32
)¶
list-option (nest
)¶
- nested-attributes:
list-port (nest
)¶
- nested-attributes:
item-option¶
option-unspec (unused
)¶
- value:
0
option (nest
)¶
- nested-attributes:
attr-option¶
unspec (unused
)¶
- value:
0
name (string
)¶
changed (flag
)¶
type (u8
)¶
data (binary
)¶
removed (flag
)¶
port-ifindex (u32
)¶
- doc:
对于每个端口的选项
array-index (u32
)¶
- doc:
对于数组选项
item-port¶
port-unspec (unused
)¶
- value:
0
port (nest
)¶
- nested-attributes:
attr-port¶
unspec (unused
)¶
- value:
0