All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Donald Hunter <donald.hunter@gmail.com>
Cc: netdev@vger.kernel.org, Jakub Kicinski <kuba@kernel.org>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Paolo Abeni <pabeni@redhat.com>, Jiri Pirko <jiri@resnulli.us>,
	Jacob Keller <jacob.e.keller@intel.com>,
	Stanislav Fomichev <sdf@google.com>,
	donald.hunter@redhat.com
Subject: Re: [PATCH net-next v1 0/2] netlink: Add nftables spec w/ multi messages
Date: Wed, 27 Mar 2024 23:45:57 +0100	[thread overview]
Message-ID: <ZgShpYf158Yc7ivH@calendula> (raw)
In-Reply-To: <20240327181700.77940-1-donald.hunter@gmail.com>

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
> 
> 

  parent reply	other threads:[~2024-03-27 22:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-27 18:16 [PATCH net-next v1 0/2] netlink: Add nftables spec w/ multi messages Donald Hunter
2024-03-27 18:16 ` [PATCH net-next v1 1/2] doc/netlink/specs: Add draft nftables spec Donald Hunter
2024-03-27 18:17 ` [PATCH net-next v1 2/2] tools/net/ynl: Add multi message support to ynl Donald Hunter
2024-03-29  0:57   ` Jakub Kicinski
2024-03-29 13:37     ` Donald Hunter
2024-03-29 15:43       ` Jakub Kicinski
2024-03-29 18:57         ` Donald Hunter
2024-03-29 21:01           ` Donald Hunter
2024-03-29 21:01             ` Donald Hunter
2024-03-29 21:46             ` Jakub Kicinski
2024-03-29 21:46               ` Jakub Kicinski
2024-03-29 22:12               ` Pablo Neira Ayuso
2024-03-27 22:45 ` Pablo Neira Ayuso [this message]
2024-03-28 15:33   ` [PATCH net-next v1 0/2] netlink: Add nftables spec w/ multi messages Donald Hunter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZgShpYf158Yc7ivH@calendula \
    --to=pablo@netfilter.org \
    --cc=davem@davemloft.net \
    --cc=donald.hunter@gmail.com \
    --cc=donald.hunter@redhat.com \
    --cc=edumazet@google.com \
    --cc=jacob.e.keller@intel.com \
    --cc=jiri@resnulli.us \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sdf@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.