mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-09 06:16:10 +02:00
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>
This commit is contained in:
parent
6e4b2b67a3
commit
d0c9ddd659
@ -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).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user