[nft PATCH 7/7] tests/py: ip6/flowtable.t: Add missing JSON expected output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The output differs from input in added size property.

Signed-off-by: Phil Sutter <phil@xxxxxx>
---
 tests/py/ip6/flowtable.t.json.output | 62 ++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)
 create mode 100644 tests/py/ip6/flowtable.t.json.output

diff --git a/tests/py/ip6/flowtable.t.json.output b/tests/py/ip6/flowtable.t.json.output
new file mode 100644
index 0000000000000..f63a2637ebd00
--- /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
+            }
+        }
+    }
+]
+
-- 
2.17.0

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux