blob: 2d2e8ea0c2dfedea9e3baa9e3e797f60842bf982 [file] [log] [blame]
Brian O'Connor58a73e32015-05-28 11:51:27 -07001#version 4
2
3struct of_calient_port_stats_request : of_calient_stats_request {
4 uint8_t version;
5 uint8_t type == 18;
6 uint16_t length;
7 uint32_t xid;
8 uint16_t stats_type == 0xffff;
9 enum ofp_stats_request_flags flags;
10 pad(4);
11 uint32_t experimenter == 0x0080F958;
12 uint32_t subtype == 3;
13 of_port_no_t port_no;
14 pad(4);
15};
16
17
18struct of_calient_port_stats_entry {
19 uint16_t length;
20 pad(2);
21 of_port_no_t port_no;
22 enum ofp_calient_optical_port_admin_state in_admin_status; /* Input port admin status */
23 enum ofp_calient_optical_port_oper_state in_oper_status; /* Input port operational status */
24 enum ofp_calient_optical_port_oper_capability in_oper_capability; /* Input port operational capability */
25 enum ofp_calient_ocs_alarm in_alarm;/* Alarm on Input port */
26 of_str6_t inport_power; /* Input port power */
27 pad(2);
28 of_str6_t outport_power; /* Output port power */
29 pad(2);
30 enum ofp_calient_optical_port_admin_state out_admin_status; /* Output port Admin status */
31 enum ofp_calient_optical_port_oper_state out_oper_status; /* Output port operational status */
32 enum ofp_calient_optical_port_oper_capability out_oper_capability;/* Output port operational capability */
33 enum ofp_calient_ocs_alarm out_alarm;/* Alarm on Output port */
34 pad(4);
35 of_str32_t in_circuit_id; /* Circuit id associated with the input port */
36 of_str32_t out_circuit_id; /* Circuit id associated with the output port */
37};
38
39struct of_calient_port_stats_reply : of_calient_stats_reply {
40 uint8_t version;
41 uint8_t type == 19;
42 uint16_t length;
43 uint32_t xid;
44 uint16_t stats_type == 0xffff;
45 enum ofp_stats_reply_flags flags;
46 pad(4);
47 uint32_t experimenter == 0x0080F958;
48 uint32_t subtype == 3;
49 uint16_t data_length;
50 pad(6);
51 list(of_calient_port_stats_entry_t) entries;
52};
53
54