blob: 15e98b4961bbce963fce42f38b3045d87c77205e [file] [log] [blame]
xinwu7e2f3822013-12-05 18:48:22 -08001-- binary
204 13 # version, type
300 50 # length
412 34 56 78 # xid
5ff ff # stats_type
600 00 # flags
700 00 00 00 # pad
800 5c 16 c7 # experimenter
900 00 00 8 # subtype
10# entries[0]
1100 18 # length
1200 00 # pad
1300 00 00 03 # port
1412 34 56 78 9a bc de f0 # values[0]
1511 22 33 44 55 66 77 88 # values[1]
16# entries[0]
1700 20 # length
1800 00 # pad
1900 00 00 04 # port
2012 34 56 78 9a bc de f0 # values[0]
2111 22 33 44 55 66 77 88 # values[1]
22ff ff ff ff ff ff ff ff # values[2]
23-- python
24ofp.message.bsn_port_counter_stats_reply(
25 xid=0x12345678,
26 flags=0,
27 entries=[
28 ofp.bsn_port_counter_stats_entry(
29 port_no=3,
30 values=[
xinwu9b8989c2013-12-06 16:01:32 -080031 ofp.uint64(0x123456789abcdef0),
32 ofp.uint64(0x1122334455667788),
xinwu7e2f3822013-12-05 18:48:22 -080033 ]),
34 ofp.bsn_port_counter_stats_entry(
35 port_no=4,
36 values=[
xinwu9b8989c2013-12-06 16:01:32 -080037 ofp.uint64(0x123456789abcdef0),
38 ofp.uint64(0x1122334455667788),
39 ofp.uint64(0xffffffffffffffff),
xinwu7e2f3822013-12-05 18:48:22 -080040 ])
41 ]
42)