linux-next/Documentation/netlink/specs
Ido Schimmel d26b8267d9 netlink: specs: Add route flow label attribute
Add the new flow label attribute to the spec. Example:

 # ip link add name dummy1 up type dummy
 # ip -6 route add default table 254 dev dummy1
 # ip -6 route add default table 10 dev dummy1
 # ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/rt_rule.yaml \
	--do newrule \
	--json '{"family": 10, "priority": 1, "flowlabel": 10, "flowlabel-mask": 255, "action": 1, "table": 10}'
 None
 $ ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/rt_route.yaml \
	--do getroute \
	--json '{"rtm-family": 10, "rta-flowlabel": 1}' --output-json \
	| jq '.["rta-table"]'
 254
 $ ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/rt_route.yaml \
	--do getroute \
	--json '{"rtm-family": 10, "rta-flowlabel": 10}' --output-json \
	| jq '.["rta-table"]'
 10

Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-12-19 16:02:22 +01:00
..
devlink.yaml devlink: Fix length of eswitch inline-mode 2024-03-11 13:13:53 -07:00
dpll.yaml dpll: add clock quality level attribute and op 2024-11-03 08:39:07 -08:00
ethtool.yaml net: ethtool: Add support for tsconfig command to get/set hwtstamp config 2024-12-16 12:51:41 +00:00
fou.yaml netlink: specs: fix indent in fou 2023-08-24 19:04:20 -07:00
handshake.yaml handshake: Fix sign of key_serial_t fields 2023-10-02 12:34:21 -07:00
mptcp_pm.yaml mptcp: no admin perm to list endpoints 2024-11-05 17:51:08 -08:00
net_shaper.yaml netlink: spec: add shaper introspection support 2024-10-10 08:30:22 -07:00
netdev.yaml net: Add napi_struct parameter irq_suspend_timeout 2024-11-11 18:45:05 -08:00
nfsd.yaml nfsd: new netlink ops to get/set server pool_mode 2024-07-08 14:10:05 -04:00
nftables.yaml netlink: specs: nftables: allow decode of tailscale ruleset 2024-09-05 18:43:56 -07:00
nlctrl.yaml ynl: rename array-nest to indexed-array 2024-04-05 22:32:49 -07:00
ovs_datapath.yaml netlink: specs: ovs: correct enum names in specs 2023-12-15 12:17:16 +00:00
ovs_flow.yaml net: openvswitch: add psample action 2024-07-05 17:45:47 -07:00
ovs_vport.yaml netlink: specs: ovs: remove fixed header fields from attrs 2023-12-15 12:17:16 +00:00
rt_addr.yaml doc/netlink: Add spec for rt addr messages 2023-08-27 17:17:10 -07:00
rt_link.yaml netlink: specs: add phys-binding attr to rt_link spec 2024-12-16 18:09:17 -08:00
rt_neigh.yaml netlink: specs: Add a spec for neighbor tables in rtnetlink 2024-11-07 20:34:51 -08:00
rt_route.yaml netlink: specs: Add route flow label attribute 2024-12-19 16:02:22 +01:00
rt_rule.yaml netlink: specs: Add FIB rule flow label attributes 2024-12-19 16:02:22 +01:00
tc.yaml tc: fix typo probabilty in tc.yaml doc 2024-11-09 09:43:13 -08:00
tcp_metrics.yaml tcp_metrics: add netlink protocol spec in YAML 2024-07-01 09:44:27 +01:00
team.yaml Documentation: netlink: add a YAML spec for team 2024-04-02 18:24:32 -07:00