summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-06-01 17:32:12 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-06-03 11:47:22 +0200
commitefc8a83e943d54e0ca88548a0eaff056ad2a650d (patch)
tree5c92e960fada36a46d9dabba78288f3382ee87e2 /tests
parent6aead97061f0681ebf37369fe7d2c8bbe09f914c (diff)
tests/py: ip6/flowtable.t: Add missing JSON expected output
The output differs from input in added size property. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/py/ip6/flowtable.t.json.output62
1 files changed, 62 insertions, 0 deletions
diff --git a/tests/py/ip6/flowtable.t.json.output b/tests/py/ip6/flowtable.t.json.output
new file mode 100644
index 00000000..f63a2637
--- /dev/null
+++ b/tests/py/ip6/flowtable.t.json.output
@@ -0,0 +1,62 @@
+# meter acct_out { meta iif . ip6 saddr timeout 600s counter }
+[
+ {
+ "meter": {
+ "key": {
+ "elem": {
+ "timeout": 600,
+ "val": {
+ "concat": [
+ {
+ "meta": "iif"
+ },
+ {
+ "payload": {
+ "field": "saddr",
+ "name": "ip6"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "name": "acct_out",
+ "size": 65535,
+ "stmt": {
+ "counter": null
+ }
+ }
+ }
+]
+
+# meter acct_out { ip6 saddr . meta iif timeout 600s counter }
+[
+ {
+ "meter": {
+ "key": {
+ "elem": {
+ "timeout": 600,
+ "val": {
+ "concat": [
+ {
+ "payload": {
+ "field": "saddr",
+ "name": "ip6"
+ }
+ },
+ {
+ "meta": "iif"
+ }
+ ]
+ }
+ }
+ },
+ "name": "acct_out",
+ "size": 65535,
+ "stmt": {
+ "counter": null
+ }
+ }
+ }
+]
+