diff options
author | Phil Sutter <phil@nwl.cc> | 2019-05-27 13:36:42 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-05-31 18:17:36 +0200 |
commit | 5db92ace9263ea1daa1d10c6f3a04ecc97317258 (patch) | |
tree | eb4310771872784c27bf81ab675c361c4c3d23be /include/iface.h | |
parent | ef2ff133007855707f978f75ac638af3d5c06fbe (diff) |
tests/py: Support JSON validation
Introduce a new flag -s/--schema to nft-test.py which enables validation
of any JSON input and output against our schema.
Make use of traceback module to get more details if validation fails.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/iface.h')
0 files changed, 0 insertions, 0 deletions