diff options
| author | Donald Hunter <[email protected]> | 2024-11-06 09:07:18 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-11-07 20:34:55 -0800 |
| commit | a852e3c356415f61d9329cb3a1a4c90c74570522 (patch) | |
| tree | cd517ffaf4d66cd34a589b87ee38c29ef4b8a9df /tools/perf/scripts/python | |
| parent | bc515ed06652b506794f323b9e53d89c01de7e4a (diff) | |
netlink: specs: Add a spec for FIB rule management
Add a YNL spec for FIB rules:
./tools/net/ynl/cli.py \
--spec Documentation/netlink/specs/rt_rule.yaml \
--dump getrule --json '{"family": 2}'
[{'action': 'to-tbl',
'dst-len': 0,
'family': 2,
'flags': 0,
'protocol': 2,
'src-len': 0,
'suppress-prefixlen': '0xffffffff',
'table': 255,
'tos': 0},
... ]
Acked-by: Stanislav Fomichev <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: Donald Hunter <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions