blob: c000bb09a53a7f579d320a5896923ba840505a5a [file] [log] [blame]
Rich Laneb1f347d2013-05-16 16:39:12 -07001-- binary
201 11 # version / type
304 2c # length
400 00 00 03 # xid
500 00 # stats_type
600 01 # flags
754 68 65 20 49 6e 64 69 # mfr_desc
867 6f 2d 32 20 43 6f 6d # ...
96d 75 6e 69 74 79 00 00 # ...
1000 00 00 00 00 00 00 00 # ...
1100 00 00 00 00 00 00 00 # ...
1200 00 00 00 00 00 00 00 # ...
1300 00 00 00 00 00 00 00 # ...
1400 00 00 00 00 00 00 00 # ...
1500 00 00 00 00 00 00 00 # ...
1600 00 00 00 00 00 00 00 # ...
1700 00 00 00 00 00 00 00 # ...
1800 00 00 00 00 00 00 00 # ...
1900 00 00 00 00 00 00 00 # ...
2000 00 00 00 00 00 00 00 # ...
2100 00 00 00 00 00 00 00 # ...
2200 00 00 00 00 00 00 00 # ...
2300 00 00 00 00 00 00 00 # ...
2400 00 00 00 00 00 00 00 # ...
2500 00 00 00 00 00 00 00 # ...
2600 00 00 00 00 00 00 00 # ...
2700 00 00 00 00 00 00 00 # ...
2800 00 00 00 00 00 00 00 # ...
2900 00 00 00 00 00 00 00 # ...
3000 00 00 00 00 00 00 00 # ...
3100 00 00 00 00 00 00 00 # ...
3200 00 00 00 00 00 00 00 # ...
3300 00 00 00 00 00 00 00 # ...
3400 00 00 00 00 00 00 00 # ...
3500 00 00 00 00 00 00 00 # ...
3600 00 00 00 00 00 00 00 # ...
3700 00 00 00 00 00 00 00 # ...
3800 00 00 00 00 00 00 00 # ...
3955 6e 6b 6e 6f 77 6e 20 # hw_desc
4073 65 72 76 65 72 00 00 # ...
4100 00 00 00 00 00 00 00 # ...
4200 00 00 00 00 00 00 00 # ...
4300 00 00 00 00 00 00 00 # ...
4400 00 00 00 00 00 00 00 # ...
4500 00 00 00 00 00 00 00 # ...
4600 00 00 00 00 00 00 00 # ...
4700 00 00 00 00 00 00 00 # ...
4800 00 00 00 00 00 00 00 # ...
4900 00 00 00 00 00 00 00 # ...
5000 00 00 00 00 00 00 00 # ...
5100 00 00 00 00 00 00 00 # ...
5200 00 00 00 00 00 00 00 # ...
5300 00 00 00 00 00 00 00 # ...
5400 00 00 00 00 00 00 00 # ...
5500 00 00 00 00 00 00 00 # ...
5600 00 00 00 00 00 00 00 # ...
5700 00 00 00 00 00 00 00 # ...
5800 00 00 00 00 00 00 00 # ...
5900 00 00 00 00 00 00 00 # ...
6000 00 00 00 00 00 00 00 # ...
6100 00 00 00 00 00 00 00 # ...
6200 00 00 00 00 00 00 00 # ...
6300 00 00 00 00 00 00 00 # ...
6400 00 00 00 00 00 00 00 # ...
6500 00 00 00 00 00 00 00 # ...
6600 00 00 00 00 00 00 00 # ...
6700 00 00 00 00 00 00 00 # ...
6800 00 00 00 00 00 00 00 # ...
6900 00 00 00 00 00 00 00 # ...
7000 00 00 00 00 00 00 00 # ...
7149 6e 64 69 67 6f 2d 32 # sw_desc
7220 4c 52 49 20 70 72 65 # ...
732d 72 65 6c 65 61 73 65 # ...
7400 00 00 00 00 00 00 00 # ...
7500 00 00 00 00 00 00 00 # ...
7600 00 00 00 00 00 00 00 # ...
7700 00 00 00 00 00 00 00 # ...
7800 00 00 00 00 00 00 00 # ...
7900 00 00 00 00 00 00 00 # ...
8000 00 00 00 00 00 00 00 # ...
8100 00 00 00 00 00 00 00 # ...
8200 00 00 00 00 00 00 00 # ...
8300 00 00 00 00 00 00 00 # ...
8400 00 00 00 00 00 00 00 # ...
8500 00 00 00 00 00 00 00 # ...
8600 00 00 00 00 00 00 00 # ...
8700 00 00 00 00 00 00 00 # ...
8800 00 00 00 00 00 00 00 # ...
8900 00 00 00 00 00 00 00 # ...
9000 00 00 00 00 00 00 00 # ...
9100 00 00 00 00 00 00 00 # ...
9200 00 00 00 00 00 00 00 # ...
9300 00 00 00 00 00 00 00 # ...
9400 00 00 00 00 00 00 00 # ...
9500 00 00 00 00 00 00 00 # ...
9600 00 00 00 00 00 00 00 # ...
9700 00 00 00 00 00 00 00 # ...
9800 00 00 00 00 00 00 00 # ...
9900 00 00 00 00 00 00 00 # ...
10000 00 00 00 00 00 00 00 # ...
10100 00 00 00 00 00 00 00 # ...
10200 00 00 00 00 00 00 00 # ...
10331 31 32 33 35 38 31 33 # serial_num
10432 31 33 34 35 35 00 00 # ...
10500 00 00 00 00 00 00 00 # ...
10600 00 00 00 00 00 00 00 # ...
10749 6e 64 69 67 6f 2d 32 # dp_desc
10820 4c 52 49 20 66 6f 72 # ...
10977 61 72 64 69 6e 67 20 # ...
1106d 6f 64 75 6c 65 00 00 # ...
11100 00 00 00 00 00 00 00 # ...
11200 00 00 00 00 00 00 00 # ...
11300 00 00 00 00 00 00 00 # ...
11400 00 00 00 00 00 00 00 # ...
11500 00 00 00 00 00 00 00 # ...
11600 00 00 00 00 00 00 00 # ...
11700 00 00 00 00 00 00 00 # ...
11800 00 00 00 00 00 00 00 # ...
11900 00 00 00 00 00 00 00 # ...
12000 00 00 00 00 00 00 00 # ...
12100 00 00 00 00 00 00 00 # ...
12200 00 00 00 00 00 00 00 # ...
12300 00 00 00 00 00 00 00 # ...
12400 00 00 00 00 00 00 00 # ...
12500 00 00 00 00 00 00 00 # ...
12600 00 00 00 00 00 00 00 # ...
12700 00 00 00 00 00 00 00 # ...
12800 00 00 00 00 00 00 00 # ...
12900 00 00 00 00 00 00 00 # ...
13000 00 00 00 00 00 00 00 # ...
13100 00 00 00 00 00 00 00 # ...
13200 00 00 00 00 00 00 00 # ...
13300 00 00 00 00 00 00 00 # ...
13400 00 00 00 00 00 00 00 # ...
13500 00 00 00 00 00 00 00 # ...
13600 00 00 00 00 00 00 00 # ...
13700 00 00 00 00 00 00 00 # ...
13800 00 00 00 00 00 00 00 # ...
139-- python
140ofp.message.desc_stats_reply(
141 xid=3,
142 flags=ofp.OFPSF_REPLY_MORE,
143 mfr_desc="The Indigo-2 Community",
144 hw_desc="Unknown server",
145 sw_desc="Indigo-2 LRI pre-release",
146 serial_num="11235813213455",
147 dp_desc="Indigo-2 LRI forwarding module")
Rich Laneccae0312013-07-21 23:34:13 -0700148-- c
149obj = of_desc_stats_reply_new(OF_VERSION_1_0);
150of_desc_stats_reply_xid_set(obj, 3);
151of_desc_stats_reply_flags_set(obj, OF_STATS_REPLY_FLAG_REPLY_MORE);
152{
153 of_desc_str_t mfr_desc = "The Indigo-2 Community";
154 of_desc_stats_reply_mfr_desc_set(obj, mfr_desc);
155}
156{
157 of_desc_str_t hw_desc = "Unknown server";
158 of_desc_stats_reply_hw_desc_set(obj, hw_desc);
159}
160{
161 of_desc_str_t sw_desc = "Indigo-2 LRI pre-release";
162 of_desc_stats_reply_sw_desc_set(obj, sw_desc);
163}
164{
165 of_desc_str_t dp_desc = "Indigo-2 LRI forwarding module";
166 of_desc_stats_reply_dp_desc_set(obj, dp_desc);
167}
168{
169 of_serial_num_t serial_num = "11235813213455";
170 of_desc_stats_reply_serial_num_set(obj, serial_num);
171}