summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/py/ip/flowtable.t.json1
-rw-r--r--tests/py/ip/flowtable.t.json.output24
-rw-r--r--tests/py/ip6/flowtable.t.json2
-rw-r--r--tests/py/ip6/flowtable.t.json.output8
4 files changed, 7 insertions, 28 deletions
diff --git a/tests/py/ip/flowtable.t.json b/tests/py/ip/flowtable.t.json
index 5e11172e..1d2b0b7a 100644
--- a/tests/py/ip/flowtable.t.json
+++ b/tests/py/ip/flowtable.t.json
@@ -14,6 +14,7 @@
}
},
"name": "xyz",
+ "size": 8192,
"stmt": {
"counter": null
}
diff --git a/tests/py/ip/flowtable.t.json.output b/tests/py/ip/flowtable.t.json.output
deleted file mode 100644
index 004349a8..00000000
--- a/tests/py/ip/flowtable.t.json.output
+++ /dev/null
@@ -1,24 +0,0 @@
-# meter xyz { ip saddr timeout 30s counter}
-[
- {
- "meter": {
- "key": {
- "elem": {
- "timeout": 30,
- "val": {
- "payload": {
- "field": "saddr",
- "name": "ip"
- }
- }
- }
- },
- "name": "xyz",
- "size": 65535,
- "stmt": {
- "counter": null
- }
- }
- }
-]
-
diff --git a/tests/py/ip6/flowtable.t.json b/tests/py/ip6/flowtable.t.json
index 863669eb..ef33f74d 100644
--- a/tests/py/ip6/flowtable.t.json
+++ b/tests/py/ip6/flowtable.t.json
@@ -21,6 +21,7 @@
}
},
"name": "acct_out",
+ "size": 4096,
"stmt": {
"counter": null
}
@@ -51,6 +52,7 @@
}
},
"name": "acct_out",
+ "size": 12345,
"stmt": {
"counter": null
}
diff --git a/tests/py/ip6/flowtable.t.json.output b/tests/py/ip6/flowtable.t.json.output
index f63a2637..ef33f74d 100644
--- a/tests/py/ip6/flowtable.t.json.output
+++ b/tests/py/ip6/flowtable.t.json.output
@@ -1,4 +1,4 @@
-# meter acct_out { meta iif . ip6 saddr timeout 600s counter }
+# meter acct_out size 4096 { meta iif . ip6 saddr timeout 600s counter }
[
{
"meter": {
@@ -21,7 +21,7 @@
}
},
"name": "acct_out",
- "size": 65535,
+ "size": 4096,
"stmt": {
"counter": null
}
@@ -29,7 +29,7 @@
}
]
-# meter acct_out { ip6 saddr . meta iif timeout 600s counter }
+# meter acct_out size 12345 { ip6 saddr . meta iif timeout 600s counter }
[
{
"meter": {
@@ -52,7 +52,7 @@
}
},
"name": "acct_out",
- "size": 65535,
+ "size": 12345,
"stmt": {
"counter": null
}