Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
.../of13/4-57-ofp_group_stats_request.packet.json | 7 +++++++
.../json/of13/4-58-ofp_group_stats_reply.packet.json | 19 +++++++++++++++++++
2 files changed, 26 insertions(+)
create mode 100644
ryu/tests/unit/ofproto/json/of13/4-57-ofp_group_stats_request.packet.json
create mode 100644
ryu/tests/unit/ofproto/json/of13/4-58-ofp_group_stats_reply.packet.json
diff --git
a/ryu/tests/unit/ofproto/json/of13/4-57-ofp_group_stats_request.packet.json
b/ryu/tests/unit/ofproto/json/of13/4-57-ofp_group_stats_request.packet.json
new file mode 100644
index 0000000..b200a81
--- /dev/null
+++ b/ryu/tests/unit/ofproto/json/of13/4-57-ofp_group_stats_request.packet.json
@@ -0,0 +1,7 @@
+{
+ "OFPGroupStatsRequest": {
+ "flags": 0,
+ "group_id": 4294967292,
+ "type": 6
+ }
+}
diff --git
a/ryu/tests/unit/ofproto/json/of13/4-58-ofp_group_stats_reply.packet.json
b/ryu/tests/unit/ofproto/json/of13/4-58-ofp_group_stats_reply.packet.json
new file mode 100644
index 0000000..012f174
--- /dev/null
+++ b/ryu/tests/unit/ofproto/json/of13/4-58-ofp_group_stats_reply.packet.json
@@ -0,0 +1,19 @@
+{
+ "OFPGroupStatsReply": {
+ "body": [
+ {
+ "OFPGroupStats": {
+ "byte_count": 12345,
+ "duration_nsec": 609036000,
+ "duration_sec": 9,
+ "group_id": 1,
+ "length": 56,
+ "packet_count": 123,
+ "ref_count": 2
+ }
+ }
+ ],
+ "flags": 0,
+ "type": 6
+ }
+}
--
1.8.3.1
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel