Message ID | 20240327181700.77940-1-donald.hunter@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | netlink: Add nftables spec w/ multi messages | expand |
Please, Cc netfilter-devel@vger.kernel.org for netfilter related stuff. On Wed, Mar 27, 2024 at 06:16:58PM +0000, Donald Hunter wrote: > This series adds a ynl spec for nftables and extends ynl with a --multi > command line option that makes it possible to send transactional batches > for nftables. > > An example of usage is: > > ./tools/net/ynl/cli.py \ > --spec Documentation/netlink/specs/nftables.yaml \ > --multi batch-begin '{"res-id": 10}' \ > --multi newtable '{"name": "test", "nfgen-family": 1}' \ > --multi newchain '{"name": "chain", "table": "test", "nfgen-family": 1}' \ > --multi batch-end '{"res-id": 10}' > > Donald Hunter (2): > doc/netlink/specs: Add draft nftables spec > tools/net/ynl: Add multi message support to ynl > > Documentation/netlink/specs/nftables.yaml | 1264 +++++++++++++++++++++ > tools/net/ynl/cli.py | 22 +- > tools/net/ynl/lib/ynl.py | 47 +- > 3 files changed, 1315 insertions(+), 18 deletions(-) > create mode 100644 Documentation/netlink/specs/nftables.yaml > > -- > 2.44.0 > >
Pablo Neira Ayuso <pablo@netfilter.org> writes:
> Please, Cc netfilter-devel@vger.kernel.org for netfilter related stuff.
Okay, should I resend then?