diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2015-12-22 11:49:14 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-12-22 13:50:27 +0900 |
commit | d0c9ddd659a38c7c1ce52af6ce67951b18e36ecf (patch) | |
tree | 0a138349113e708265f44dfdadfb8409df6d6a53 | |
parent | 6e4b2b67a3c4f7fc466a1aa156bd8f8b06936750 (diff) |
packet_data_generator: Add ofp_group_stats messages for OF1.2
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/tests/packet_data_generator/src/x3.erl | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/ryu/tests/packet_data_generator/src/x3.erl b/ryu/tests/packet_data_generator/src/x3.erl index a7829829..7098fd8d 100644 --- a/ryu/tests/packet_data_generator/src/x3.erl +++ b/ryu/tests/packet_data_generator/src/x3.erl @@ -8734,6 +8734,16 @@ x() -> hard_timeout = 0,priority = 123,buffer_id = 65535, out_port = any,out_group = any,flags = [], match = #ofp_match{fields = AllFields}, - instructions = []} + instructions = []}, + #ofp_group_stats_request{flags = [],group_id = all}, + #ofp_group_stats_reply{ + flags = [], + stats = + [#ofp_group_stats{ + group_id = 1,ref_count = 2,packet_count = 123, + byte_count = 12345, + bucket_stats = + [#ofp_bucket_counter{ + packet_count = 234,byte_count = 2345}]}]} ], lists:foldl(fun x:do/2, {3, 0}, List). |