diff options
Diffstat (limited to 'tests/py/ip6')
-rw-r--r-- | tests/py/ip6/flowtable.t | 4 | ||||
-rw-r--r-- | tests/py/ip6/flowtable.t.json | 4 | ||||
-rw-r--r-- | tests/py/ip6/flowtable.t.payload | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/py/ip6/flowtable.t b/tests/py/ip6/flowtable.t index d89e90c3..e58d51bb 100644 --- a/tests/py/ip6/flowtable.t +++ b/tests/py/ip6/flowtable.t @@ -2,5 +2,5 @@ *ip6;test-ip6;input -meter acct_out { meta iif . ip6 saddr timeout 600s counter };ok;meter acct_out size 65535 { iif . ip6 saddr timeout 10m counter} -meter acct_out { ip6 saddr . meta iif timeout 600s counter };ok;meter acct_out size 65535 { ip6 saddr . iif timeout 10m counter} +meter acct_out size 4096 { meta iif . ip6 saddr timeout 600s counter };ok;meter acct_out size 4096 { iif . ip6 saddr timeout 10m counter } +meter acct_out size 12345 { ip6 saddr . meta iif timeout 600s counter };ok;meter acct_out size 12345 { ip6 saddr . iif timeout 10m counter } diff --git a/tests/py/ip6/flowtable.t.json b/tests/py/ip6/flowtable.t.json index f707ae9a..e3d05339 100644 --- a/tests/py/ip6/flowtable.t.json +++ b/tests/py/ip6/flowtable.t.json @@ -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": { @@ -28,7 +28,7 @@ } ] -# meter acct_out { ip6 saddr . meta iif timeout 600s counter } +# meter acct_out size 12345 { ip6 saddr . meta iif timeout 600s counter } [ { "meter": { diff --git a/tests/py/ip6/flowtable.t.payload b/tests/py/ip6/flowtable.t.payload index a3f71b13..559475f6 100644 --- a/tests/py/ip6/flowtable.t.payload +++ b/tests/py/ip6/flowtable.t.payload @@ -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 } acct_out test-ip6 31 acct_out test-ip6 0 ip6 test-ip6 input @@ -6,7 +6,7 @@ ip6 test-ip6 input [ payload load 16b @ network header + 8 => reg 9 ] [ dynset update reg_key 1 set acct_out timeout 600000ms expr [ counter pkts 0 bytes 0 ] ] -# meter acct_out { ip6 saddr . meta iif timeout 600s counter } +# meter acct_out size 12345 { ip6 saddr . meta iif timeout 600s counter } acct_out test-ip6 31 acct_out test-ip6 0 ip6 test-ip6 input |