ipv6: ioam: IOAM Generic Netlink API
authorJustin Iurman <justin.iurman@uliege.be>
Tue, 20 Jul 2021 19:42:58 +0000 (21:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Jul 2021 15:14:33 +0000 (08:14 -0700)
commit8c6f6fa6772696be0c047a711858084b38763728
tree2cf7acb6bbc4ed3e0cd5c923aafc93877c942d21
parent9ee11f0fff205b4b3df9750bff5e94f97c71b6a0
ipv6: ioam: IOAM Generic Netlink API

Add Generic Netlink commands to allow userspace to configure IOAM
namespaces and schemas. The target is iproute2 and the patch is ready.
It will be posted as soon as this patchset is merged. Here is an overview:

$ ip ioam
Usage: ip ioam { COMMAND | help }
ip ioam namespace show
ip ioam namespace add ID [ data DATA32 ] [ wide DATA64 ]
ip ioam namespace del ID
ip ioam schema show
ip ioam schema add ID DATA
ip ioam schema del ID
ip ioam namespace set ID schema { ID | none }

Signed-off-by: Justin Iurman <justin.iurman@uliege.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ioam6_genl.h [new file with mode: 0644]
include/uapi/linux/ioam6_genl.h [new file with mode: 0644]
net/ipv6/ioam6.c