All of lore.kernel.org
 help / color / mirror / Atom feed
* [nft PATCH v3 0/2] JSON schema for nftables.py
@ 2019-05-22 16:14 Phil Sutter
  2019-05-22 16:14 ` [nft PATCH v3 1/2] py: Implement JSON validation in nftables module Phil Sutter
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Phil Sutter @ 2019-05-22 16:14 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: netfilter-devel, Eric Garver, Jones Desougi

Round three of JSON validation enhancement.

Changes since v2:
- Make enhancement to nftables module Python3 compliant.
- Complain in nft-test.py if --schema was given without --json.

Changes since v1:
- Fix patch 2 commit message, thanks to Jones Desougi who reported the
  inconsistency.

Changes since RFC:
- Import builtin traceback module unconditionally.

Phil Sutter (2):
  py: Implement JSON validation in nftables module
  tests/py: Support JSON validation

 py/Makefile.am       |  2 +-
 py/nftables.py       | 29 +++++++++++++++++++++++++++++
 py/schema.json       | 17 +++++++++++++++++
 py/setup.py          |  1 +
 tests/py/nft-test.py | 25 ++++++++++++++++++++++++-
 5 files changed, 72 insertions(+), 2 deletions(-)
 create mode 100644 py/schema.json

-- 
2.21.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-05-27 10:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-22 16:14 [nft PATCH v3 0/2] JSON schema for nftables.py Phil Sutter
2019-05-22 16:14 ` [nft PATCH v3 1/2] py: Implement JSON validation in nftables module Phil Sutter
2019-05-22 17:38   ` Eric Garver
2019-05-22 16:14 ` [nft PATCH v3 2/2] tests/py: Support JSON validation Phil Sutter
2019-05-22 17:39   ` Eric Garver
2019-05-24 20:45 ` [nft PATCH v3 0/2] JSON schema for nftables.py Pablo Neira Ayuso
2019-05-27  9:57   ` Phil Sutter
2019-05-27 10:02     ` Pablo Neira Ayuso
2019-05-27 10:51       ` Phil Sutter

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.