mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-08 22:06:10 +02:00
packet_data_generator: add of1.3 group_stats_request/reply
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
8b67f6f066
commit
1f31a9141d
@ -2314,7 +2314,17 @@ x() ->
|
||||
arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
|
||||
icmpv6_type,icmpv6_code,ipv6_nd_target,
|
||||
ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
|
||||
mpls_bos,pbb_isid]}]}]}
|
||||
|
||||
mpls_bos,pbb_isid]}]}]},
|
||||
#ofp_group_stats_request{flags = [],group_id = all},
|
||||
#ofp_group_stats_reply{
|
||||
flags = [],
|
||||
body =
|
||||
[#ofp_group_stats{
|
||||
group_id = 1,ref_count = 2,packet_count = 123,
|
||||
byte_count = 12345,duration_sec = 9,
|
||||
duration_nsec = 609036000,
|
||||
bucket_stats =
|
||||
[#ofp_bucket_counter{
|
||||
packet_count = 234,byte_count = 2345}]}]}
|
||||
],
|
||||
lists:foldl(fun x:do/2, {4, 0}, List).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user