]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: py: allow to specify sets with a timeout
authorFlorian Westphal <fw@strlen.de>
Wed, 9 May 2018 10:18:20 +0000 (12:18 +0200)
committerFlorian Westphal <fw@strlen.de>
Wed, 9 May 2018 10:18:20 +0000 (12:18 +0200)
commit2efbdf7b8fcf79f3fa8a6471d2eca00df0c91108
treea7020e985b188bd249202594a0ed8cf94f1d829c
parent71624f25f22b1d750bb532ced75e080b4123fb56
tests: py: allow to specify sets with a timeout

Not usable yet, as the set timeout netlink output isn't captured so far,
but it adds groundwork to add this as a follow-up.

Set definition syntax changes a little, if you want to
add multiple elements they now have to be separated by "," just
like in nftables.

Signed-off-by: Florian Westphal <fw@strlen.de>
tests/py/inet/sets.t [new file with mode: 0644]
tests/py/inet/sets.t.payload.bridge [new file with mode: 0644]
tests/py/inet/sets.t.payload.inet [new file with mode: 0644]
tests/py/inet/sets.t.payload.netdev [new file with mode: 0644]
tests/py/ip/sets.t
tests/py/ip6/sets.t
tests/py/nft-test.py