Shad Ansari | 1924958 | 2018-04-30 04:31:00 +0000 | [diff] [blame] | 1 | // Copyright (c) 2018 Open Networking Foundation |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at: |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | syntax = "proto3"; |
| 16 | package openolt; |
| 17 | import "google/api/annotations.proto"; |
Girish Gowdru | c8ed2ef | 2019-02-13 08:18:44 -0800 | [diff] [blame] | 18 | import "tech_profile.proto"; |
Shad Ansari | 1924958 | 2018-04-30 04:31:00 +0000 | [diff] [blame] | 19 | |
| 20 | service Openolt { |
| 21 | |
Nicolas Palpacuer | e3fc0d2 | 2018-08-02 16:51:05 -0400 | [diff] [blame] | 22 | rpc DisableOlt(Empty) returns (Empty) { |
| 23 | option (google.api.http) = { |
| 24 | post: "/v1/Disable" |
| 25 | body: "*" |
| 26 | }; |
| 27 | } |
| 28 | |
| 29 | rpc ReenableOlt(Empty) returns (Empty) { |
| 30 | option (google.api.http) = { |
| 31 | post: "/v1/Reenable" |
| 32 | body: "*" |
| 33 | }; |
| 34 | } |
| 35 | |
Shad Ansari | 1924958 | 2018-04-30 04:31:00 +0000 | [diff] [blame] | 36 | rpc ActivateOnu(Onu) returns (Empty) { |
| 37 | option (google.api.http) = { |
| 38 | post: "/v1/EnableOnu" |
| 39 | body: "*" |
| 40 | }; |
| 41 | } |
| 42 | |
Jonathan Davis | 70c2181 | 2018-07-19 15:32:10 -0400 | [diff] [blame] | 43 | rpc DeactivateOnu(Onu) returns (Empty) { |
| 44 | option (google.api.http) = { |
| 45 | post: "/v1/DisableOnu" |
| 46 | body: "*" |
| 47 | }; |
| 48 | } |
| 49 | |
| 50 | rpc DeleteOnu(Onu) returns (Empty) { |
| 51 | option (google.api.http) = { |
| 52 | post: "/v1/DeleteOnu" |
| 53 | body: "*" |
| 54 | }; |
| 55 | } |
| 56 | |
Shad Ansari | 1924958 | 2018-04-30 04:31:00 +0000 | [diff] [blame] | 57 | rpc OmciMsgOut(OmciMsg) returns (Empty) { |
| 58 | option (google.api.http) = { |
| 59 | post: "/v1/OmciMsgOut" |
| 60 | body: "*" |
| 61 | }; |
| 62 | } |
| 63 | |
| 64 | rpc OnuPacketOut(OnuPacket) returns (Empty) { |
| 65 | option (google.api.http) = { |
| 66 | post: "/v1/OnuPacketOut" |
| 67 | body: "*" |
| 68 | }; |
| 69 | } |
| 70 | |
Nicolas Palpacuer | b78def4 | 2018-06-07 12:55:26 -0400 | [diff] [blame] | 71 | rpc UplinkPacketOut(UplinkPacket) returns (Empty) { |
| 72 | option (google.api.http) = { |
| 73 | post: "/v1/UplinkPacketOut" |
| 74 | body: "*" |
| 75 | }; |
| 76 | } |
| 77 | |
Shad Ansari | 1924958 | 2018-04-30 04:31:00 +0000 | [diff] [blame] | 78 | rpc FlowAdd(Flow) returns (Empty) { |
| 79 | option (google.api.http) = { |
| 80 | post: "/v1/FlowAdd" |
| 81 | body: "*" |
| 82 | }; |
| 83 | } |
| 84 | |
Nicolas Palpacuer | edfaa0c | 2018-07-05 15:05:27 -0400 | [diff] [blame] | 85 | rpc FlowRemove(Flow) returns (Empty) { |
| 86 | option (google.api.http) = { |
| 87 | post: "/v1/FlowRemove" |
| 88 | body: "*" |
| 89 | }; |
| 90 | } |
| 91 | |
nick | 7be062f | 2018-05-25 17:52:56 -0400 | [diff] [blame] | 92 | rpc HeartbeatCheck(Empty) returns (Heartbeat) { |
| 93 | option (google.api.http) = { |
| 94 | post: "/v1/HeartbeatCheck" |
| 95 | body: "*" |
| 96 | }; |
| 97 | } |
| 98 | |
Nicolas Palpacuer | 05ea0ea | 2018-07-06 11:47:21 -0400 | [diff] [blame] | 99 | rpc EnablePonIf(Interface) returns (Empty) { |
| 100 | option (google.api.http) = { |
| 101 | post: "/v1/EnablePonIf" |
| 102 | body: "*" |
| 103 | }; |
| 104 | } |
| 105 | |
Shad Ansari | cb20878 | 2019-07-02 20:53:40 +0000 | [diff] [blame] | 106 | rpc GetPonIf(Interface) returns (IntfIndication) { |
| 107 | option (google.api.http) = { |
| 108 | post: "/v1/GetPonIf" |
| 109 | body: "*" |
| 110 | }; |
| 111 | } |
| 112 | |
Nicolas Palpacuer | 05ea0ea | 2018-07-06 11:47:21 -0400 | [diff] [blame] | 113 | rpc DisablePonIf(Interface) returns (Empty) { |
| 114 | option (google.api.http) = { |
| 115 | post: "/v1/DisablePonIf" |
| 116 | body: "*" |
| 117 | }; |
| 118 | } |
Nicolas Palpacuer | 0f19b1a | 2018-06-07 17:29:31 -0400 | [diff] [blame] | 119 | |
Nicolas Palpacuer | dff9679 | 2018-09-06 14:59:32 -0400 | [diff] [blame] | 120 | rpc GetDeviceInfo(Empty) returns (DeviceInfo) { |
| 121 | option (google.api.http) = { |
| 122 | post: "/v1/GetDeviceInfo" |
| 123 | body: "*" |
| 124 | }; |
| 125 | } |
| 126 | |
Nicolas Palpacuer | 4518066 | 2018-08-02 14:01:51 -0400 | [diff] [blame] | 127 | rpc Reboot(Empty) returns (Empty) { |
| 128 | option (google.api.http) = { |
| 129 | post: "/v1/Reboot" |
| 130 | body: "*" |
| 131 | }; |
| 132 | } |
| 133 | |
Shad Ansari | 39739bc | 2018-09-13 21:38:37 +0000 | [diff] [blame] | 134 | rpc CollectStatistics(Empty) returns (Empty) { |
| 135 | option (google.api.http) = { |
| 136 | post: "/v1/CollectStatistics" |
| 137 | body: "*" |
| 138 | }; |
| 139 | } |
| 140 | |
Girish Gowdru | c8ed2ef | 2019-02-13 08:18:44 -0800 | [diff] [blame] | 141 | rpc CreateTrafficSchedulers(tech_profile.TrafficSchedulers) returns (Empty) { |
Girish Gowdru | 7c4ec2d | 2018-10-25 00:29:54 -0700 | [diff] [blame] | 142 | option (google.api.http) = { |
Girish Gowdru | c8ed2ef | 2019-02-13 08:18:44 -0800 | [diff] [blame] | 143 | post: "/v1/CreateTrafficSchedulers" |
Girish Gowdru | 7c4ec2d | 2018-10-25 00:29:54 -0700 | [diff] [blame] | 144 | body: "*" |
| 145 | }; |
| 146 | } |
| 147 | |
Girish Gowdru | c8ed2ef | 2019-02-13 08:18:44 -0800 | [diff] [blame] | 148 | rpc RemoveTrafficSchedulers(tech_profile.TrafficSchedulers) returns (Empty) { |
Girish Gowdru | 7c4ec2d | 2018-10-25 00:29:54 -0700 | [diff] [blame] | 149 | option (google.api.http) = { |
Girish Gowdru | c8ed2ef | 2019-02-13 08:18:44 -0800 | [diff] [blame] | 150 | post: "/v1/RemoveTrafficSchedulers" |
| 151 | body: "*" |
| 152 | }; |
| 153 | } |
| 154 | |
| 155 | rpc CreateTrafficQueues(tech_profile.TrafficQueues) returns (Empty) { |
| 156 | option (google.api.http) = { |
| 157 | post: "/v1/CreateTrafficQueues" |
| 158 | body: "*" |
| 159 | }; |
| 160 | } |
| 161 | |
| 162 | rpc RemoveTrafficQueues(tech_profile.TrafficQueues) returns (Empty) { |
| 163 | option (google.api.http) = { |
| 164 | post: "/v1/RemoveTrafficQueues" |
Girish Gowdru | 7c4ec2d | 2018-10-25 00:29:54 -0700 | [diff] [blame] | 165 | body: "*" |
| 166 | }; |
| 167 | } |
| 168 | |
Shad Ansari | 1924958 | 2018-04-30 04:31:00 +0000 | [diff] [blame] | 169 | rpc EnableIndication(Empty) returns (stream Indication) {} |
| 170 | } |
| 171 | |
| 172 | message Indication { |
| 173 | oneof data { |
| 174 | OltIndication olt_ind = 1; |
| 175 | IntfIndication intf_ind = 2; |
| 176 | IntfOperIndication intf_oper_ind = 3; |
| 177 | OnuDiscIndication onu_disc_ind = 4; |
| 178 | OnuIndication onu_ind = 5; |
| 179 | OmciIndication omci_ind = 6; |
| 180 | PacketIndication pkt_ind = 7; |
Nicolas Palpacuer | 0f19b1a | 2018-06-07 17:29:31 -0400 | [diff] [blame] | 181 | PortStatistics port_stats = 8; |
| 182 | FlowStatistics flow_stats = 9; |
Nicolas Palpacuer | a32f4c3 | 2018-06-28 12:55:10 -0400 | [diff] [blame] | 183 | AlarmIndication alarm_ind= 10; |
| 184 | } |
| 185 | } |
| 186 | |
| 187 | message AlarmIndication { |
| 188 | oneof data { |
| 189 | LosIndication los_ind = 1; |
| 190 | DyingGaspIndication dying_gasp_ind = 2; |
Nicolas Palpacuer | de4325b | 2018-07-03 11:18:42 -0400 | [diff] [blame] | 191 | OnuAlarmIndication onu_alarm_ind = 3; |
| 192 | OnuStartupFailureIndication onu_startup_fail_ind = 4; |
| 193 | OnuSignalDegradeIndication onu_signal_degrade_ind = 5; |
| 194 | OnuDriftOfWindowIndication onu_drift_of_window_ind = 6; |
| 195 | OnuLossOfOmciChannelIndication onu_loss_omci_ind = 7; |
| 196 | OnuSignalsFailureIndication onu_signals_fail_ind = 8; |
| 197 | OnuTransmissionInterferenceWarning onu_tiwi_ind = 9; |
| 198 | OnuActivationFailureIndication onu_activation_fail_ind = 10; |
| 199 | OnuProcessingErrorIndication onu_processing_error_ind = 11; |
Shad Ansari | 1924958 | 2018-04-30 04:31:00 +0000 | [diff] [blame] | 200 | } |
| 201 | } |
| 202 | |
| 203 | message OltIndication { |
| 204 | string oper_state = 1; // up, down |
Shad Ansari | 1924958 | 2018-04-30 04:31:00 +0000 | [diff] [blame] | 205 | } |
| 206 | |
| 207 | message IntfIndication { |
| 208 | fixed32 intf_id = 1; |
| 209 | string oper_state = 2; // up, down |
| 210 | } |
| 211 | |
| 212 | message OnuDiscIndication { |
| 213 | fixed32 intf_id = 1; |
| 214 | SerialNumber serial_number = 2; |
| 215 | } |
| 216 | |
| 217 | message OnuIndication { |
| 218 | fixed32 intf_id = 1; |
| 219 | fixed32 onu_id = 2; |
| 220 | string oper_state = 3; // up, down |
Shad Ansari | fe9d942 | 2018-05-22 23:25:02 +0000 | [diff] [blame] | 221 | string admin_state = 5; // up, down |
| 222 | SerialNumber serial_number = 4; |
Girish Gowdru | 376b33c | 2019-05-06 21:46:31 -0700 | [diff] [blame^] | 223 | bytes registration_id = 6; // reg_id of onu |
Shad Ansari | 1924958 | 2018-04-30 04:31:00 +0000 | [diff] [blame] | 224 | } |
| 225 | |
| 226 | message IntfOperIndication { |
| 227 | string type = 1; // nni, pon |
| 228 | fixed32 intf_id = 2; |
| 229 | string oper_state = 3; // up, down |
| 230 | } |
| 231 | |
| 232 | message OmciIndication { |
| 233 | fixed32 intf_id = 1; |
| 234 | fixed32 onu_id = 2; |
| 235 | bytes pkt = 3; |
| 236 | } |
| 237 | |
| 238 | message PacketIndication { |
Shad Ansari | ebc8036 | 2018-09-30 09:33:35 +0000 | [diff] [blame] | 239 | string intf_type = 5; // nni, pon, unknown |
Shad Ansari | 1924958 | 2018-04-30 04:31:00 +0000 | [diff] [blame] | 240 | fixed32 intf_id = 1; |
| 241 | fixed32 gemport_id = 2; |
| 242 | fixed32 flow_id = 3; |
Craig Lutgen | 967a1d0 | 2018-11-27 10:41:51 -0600 | [diff] [blame] | 243 | fixed32 port_no = 6; |
| 244 | fixed64 cookie = 7; |
Shad Ansari | 1924958 | 2018-04-30 04:31:00 +0000 | [diff] [blame] | 245 | bytes pkt = 4; |
| 246 | } |
| 247 | |
Nicolas Palpacuer | 05ea0ea | 2018-07-06 11:47:21 -0400 | [diff] [blame] | 248 | message Interface { |
| 249 | fixed32 intf_id = 1; |
| 250 | } |
| 251 | |
nick | 7be062f | 2018-05-25 17:52:56 -0400 | [diff] [blame] | 252 | message Heartbeat { |
| 253 | fixed32 heartbeat_signature = 1; |
| 254 | } |
| 255 | |
Shad Ansari | 1924958 | 2018-04-30 04:31:00 +0000 | [diff] [blame] | 256 | message Onu { |
| 257 | fixed32 intf_id = 1; |
| 258 | fixed32 onu_id = 2; |
| 259 | SerialNumber serial_number = 3; |
Shad Ansari | 0610195 | 2018-07-25 00:22:09 +0000 | [diff] [blame] | 260 | fixed32 pir = 4; // peak information rate assigned to onu |
Shad Ansari | 1924958 | 2018-04-30 04:31:00 +0000 | [diff] [blame] | 261 | } |
| 262 | |
| 263 | message OmciMsg { |
| 264 | fixed32 intf_id = 1; |
| 265 | fixed32 onu_id = 2; |
| 266 | bytes pkt = 3; |
| 267 | } |
| 268 | |
| 269 | message OnuPacket { |
| 270 | fixed32 intf_id = 1; |
| 271 | fixed32 onu_id = 2; |
Craig Lutgen | ecd353a | 2018-12-12 22:33:17 -0600 | [diff] [blame] | 272 | fixed32 port_no = 4; |
Girish Gowdru | c8ed2ef | 2019-02-13 08:18:44 -0800 | [diff] [blame] | 273 | fixed32 gemport_id = 5; |
Shad Ansari | 1924958 | 2018-04-30 04:31:00 +0000 | [diff] [blame] | 274 | bytes pkt = 3; |
| 275 | } |
| 276 | |
Nicolas Palpacuer | b78def4 | 2018-06-07 12:55:26 -0400 | [diff] [blame] | 277 | message UplinkPacket { |
| 278 | fixed32 intf_id = 1; |
| 279 | bytes pkt = 2; |
| 280 | } |
| 281 | |
Nicolas Palpacuer | dff9679 | 2018-09-06 14:59:32 -0400 | [diff] [blame] | 282 | message DeviceInfo { |
| 283 | string vendor = 1; |
| 284 | string model = 2; |
| 285 | string hardware_version = 3; |
| 286 | string firmware_version = 4; |
Craig Lutgen | 967a1d0 | 2018-11-27 10:41:51 -0600 | [diff] [blame] | 287 | string device_id = 16; |
| 288 | string device_serial_number = 17; |
Craig Lutgen | e4a202f | 2018-10-16 17:19:30 -0500 | [diff] [blame] | 289 | |
| 290 | // Total number of pon intf ports on the device |
| 291 | fixed32 pon_ports = 12; |
| 292 | |
| 293 | // If using global per-device technology profile. To be deprecated |
Nicolas Palpacuer | dff9679 | 2018-09-06 14:59:32 -0400 | [diff] [blame] | 294 | string technology = 5; |
| 295 | fixed32 onu_id_start = 6; |
| 296 | fixed32 onu_id_end = 7; |
| 297 | fixed32 alloc_id_start = 8; |
| 298 | fixed32 alloc_id_end = 9; |
| 299 | fixed32 gemport_id_start = 10; |
| 300 | fixed32 gemport_id_end = 11; |
Craig Lutgen | e4a202f | 2018-10-16 17:19:30 -0500 | [diff] [blame] | 301 | fixed32 flow_id_start = 13; |
| 302 | fixed32 flow_id_end = 14; |
| 303 | |
| 304 | message DeviceResourceRanges { |
| 305 | |
| 306 | // List of 0 or more intf_ids that use the same technology and pools. |
| 307 | // If 0 intf_ids supplied, it implies ALL interfaces |
| 308 | repeated fixed32 intf_ids = 1; |
| 309 | |
| 310 | // Technology profile for this pool |
| 311 | string technology = 2; |
| 312 | |
| 313 | message Pool { |
| 314 | enum PoolType { |
| 315 | ONU_ID = 0; |
| 316 | ALLOC_ID = 1; |
| 317 | GEMPORT_ID = 2; |
| 318 | FLOW_ID = 3; |
| 319 | } |
| 320 | |
| 321 | enum SharingType { |
| 322 | DEDICATED_PER_INTF = 0; |
Girish Gowdru | 7c4ec2d | 2018-10-25 00:29:54 -0700 | [diff] [blame] | 323 | SHARED_BY_ALL_INTF_ALL_TECH = 1; // Shared across all interfaces in all technologies in all ranges |
Craig Lutgen | b2601f0 | 2018-10-23 13:04:31 -0500 | [diff] [blame] | 324 | SHARED_BY_ALL_INTF_SAME_TECH = 2; // Shared across all interfaces of the same technology used in this range |
Craig Lutgen | e4a202f | 2018-10-16 17:19:30 -0500 | [diff] [blame] | 325 | } |
| 326 | |
| 327 | PoolType type = 1; |
| 328 | SharingType sharing = 2; |
| 329 | fixed32 start = 3; // lower bound on IDs allocated from this pool |
| 330 | fixed32 end = 4; // upper bound on IDs allocated from this pool |
| 331 | } |
Craig Lutgen | b2601f0 | 2018-10-23 13:04:31 -0500 | [diff] [blame] | 332 | repeated Pool pools = 3; |
Craig Lutgen | e4a202f | 2018-10-16 17:19:30 -0500 | [diff] [blame] | 333 | } |
| 334 | repeated DeviceResourceRanges ranges = 15; |
Nicolas Palpacuer | dff9679 | 2018-09-06 14:59:32 -0400 | [diff] [blame] | 335 | } |
| 336 | |
Shad Ansari | 1924958 | 2018-04-30 04:31:00 +0000 | [diff] [blame] | 337 | message Classifier { |
| 338 | fixed32 o_tpid = 1; |
| 339 | fixed32 o_vid = 2; |
| 340 | fixed32 i_tpid = 3; |
| 341 | fixed32 i_vid = 4; |
| 342 | fixed32 o_pbits = 5; |
| 343 | fixed32 i_pbits = 6; |
| 344 | fixed32 eth_type = 7; |
| 345 | bytes dst_mac = 8; |
| 346 | bytes src_mac = 9; |
| 347 | fixed32 ip_proto = 10; |
| 348 | fixed32 dst_ip = 11; |
| 349 | fixed32 src_ip = 12; |
| 350 | fixed32 src_port = 13; |
| 351 | fixed32 dst_port = 14; |
| 352 | string pkt_tag_type = 15; // untagged, single_tag, double_tag |
| 353 | } |
| 354 | |
| 355 | message ActionCmd { |
| 356 | bool add_outer_tag = 1; |
| 357 | bool remove_outer_tag = 2; |
| 358 | bool trap_to_host = 3; |
| 359 | } |
| 360 | |
| 361 | message Action { |
| 362 | ActionCmd cmd = 1; |
| 363 | fixed32 o_vid = 2; |
| 364 | fixed32 o_pbits = 3; |
| 365 | fixed32 o_tpid = 4; |
| 366 | fixed32 i_vid = 5; |
| 367 | fixed32 i_pbits = 6; |
| 368 | fixed32 i_tpid = 7; |
| 369 | } |
| 370 | |
| 371 | message Flow { |
Shad Ansari | 39739bc | 2018-09-13 21:38:37 +0000 | [diff] [blame] | 372 | sfixed32 access_intf_id = 1; |
| 373 | sfixed32 onu_id = 2; |
Craig Lutgen | 967a1d0 | 2018-11-27 10:41:51 -0600 | [diff] [blame] | 374 | sfixed32 uni_id = 11; |
Shad Ansari | 1924958 | 2018-04-30 04:31:00 +0000 | [diff] [blame] | 375 | fixed32 flow_id = 3; |
| 376 | string flow_type = 4; // upstream, downstream, broadcast, multicast |
Shad Ansari | 39739bc | 2018-09-13 21:38:37 +0000 | [diff] [blame] | 377 | sfixed32 alloc_id = 10; |
| 378 | sfixed32 network_intf_id = 5; |
| 379 | sfixed32 gemport_id = 6; |
Shad Ansari | 1924958 | 2018-04-30 04:31:00 +0000 | [diff] [blame] | 380 | Classifier classifier = 7; |
| 381 | Action action = 8; |
Shad Ansari | 39739bc | 2018-09-13 21:38:37 +0000 | [diff] [blame] | 382 | sfixed32 priority = 9; |
Craig Lutgen | 967a1d0 | 2018-11-27 10:41:51 -0600 | [diff] [blame] | 383 | fixed64 cookie = 12; // must be provided for any flow with trap_to_host action. Returned in PacketIndication |
| 384 | fixed32 port_no = 13; // must be provided for any flow with trap_to_host action. Returned in PacketIndication |
Shad Ansari | 1924958 | 2018-04-30 04:31:00 +0000 | [diff] [blame] | 385 | } |
| 386 | |
| 387 | message SerialNumber { |
| 388 | bytes vendor_id = 1; |
| 389 | bytes vendor_specific = 2; |
| 390 | } |
| 391 | |
Nicolas Palpacuer | 0f19b1a | 2018-06-07 17:29:31 -0400 | [diff] [blame] | 392 | message PortStatistics { |
| 393 | fixed32 intf_id = 1; |
| 394 | fixed64 rx_bytes = 2; |
| 395 | fixed64 rx_packets = 3; |
| 396 | fixed64 rx_ucast_packets = 4; |
| 397 | fixed64 rx_mcast_packets = 5; |
| 398 | fixed64 rx_bcast_packets = 6; |
| 399 | fixed64 rx_error_packets = 7; |
| 400 | fixed64 tx_bytes = 8; |
| 401 | fixed64 tx_packets = 9; |
| 402 | fixed64 tx_ucast_packets = 10; |
| 403 | fixed64 tx_mcast_packets = 11; |
| 404 | fixed64 tx_bcast_packets = 12; |
| 405 | fixed64 tx_error_packets = 13; |
| 406 | fixed64 rx_crc_errors = 14; |
| 407 | fixed64 bip_errors = 15; |
| 408 | fixed32 timestamp = 16; |
| 409 | } |
| 410 | |
| 411 | message FlowStatistics { |
| 412 | fixed32 flow_id = 1; |
| 413 | fixed64 rx_bytes = 2; |
| 414 | fixed64 rx_packets = 3; |
| 415 | fixed64 tx_bytes = 8; |
| 416 | fixed64 tx_packets = 9; |
| 417 | fixed32 timestamp = 16; |
| 418 | } |
| 419 | |
Nicolas Palpacuer | a32f4c3 | 2018-06-28 12:55:10 -0400 | [diff] [blame] | 420 | message LosIndication { |
| 421 | fixed32 intf_id = 1; |
| 422 | string status = 2; |
| 423 | } |
| 424 | |
| 425 | message DyingGaspIndication { |
| 426 | fixed32 intf_id = 1; |
| 427 | fixed32 onu_id = 2; |
| 428 | string status = 3; |
| 429 | } |
| 430 | |
Nicolas Palpacuer | de4325b | 2018-07-03 11:18:42 -0400 | [diff] [blame] | 431 | message OnuAlarmIndication { |
| 432 | fixed32 intf_id = 1; |
| 433 | fixed32 onu_id = 2; |
| 434 | string los_status = 3; |
| 435 | string lob_status = 4; |
| 436 | string lopc_miss_status = 5; |
| 437 | string lopc_mic_error_status = 6; |
| 438 | } |
| 439 | |
| 440 | message OnuStartupFailureIndication { |
| 441 | fixed32 intf_id = 1; |
| 442 | fixed32 onu_id = 2; |
| 443 | string status = 3; |
| 444 | } |
| 445 | |
| 446 | message OnuSignalDegradeIndication { |
| 447 | fixed32 intf_id = 1; |
| 448 | fixed32 onu_id = 2; |
| 449 | string status = 3; |
| 450 | fixed32 inverse_bit_error_rate = 4; |
| 451 | } |
| 452 | |
| 453 | message OnuDriftOfWindowIndication { |
| 454 | fixed32 intf_id = 1; |
| 455 | fixed32 onu_id = 2; |
| 456 | string status = 3; |
| 457 | fixed32 drift = 4; |
| 458 | fixed32 new_eqd = 5; |
| 459 | } |
| 460 | |
| 461 | message OnuLossOfOmciChannelIndication { |
| 462 | fixed32 intf_id = 1; |
| 463 | fixed32 onu_id = 2; |
| 464 | string status = 3; |
| 465 | } |
| 466 | |
| 467 | message OnuSignalsFailureIndication { |
| 468 | fixed32 intf_id = 1; |
| 469 | fixed32 onu_id = 2; |
| 470 | string status = 3; |
| 471 | fixed32 inverse_bit_error_rate = 4; |
| 472 | } |
| 473 | |
| 474 | message OnuTransmissionInterferenceWarning { |
| 475 | fixed32 intf_id = 1; |
| 476 | fixed32 onu_id = 2; |
| 477 | string status = 3; |
| 478 | fixed32 drift = 4; |
| 479 | } |
| 480 | |
| 481 | message OnuActivationFailureIndication { |
| 482 | fixed32 intf_id = 1; |
| 483 | fixed32 onu_id = 2; |
| 484 | } |
| 485 | |
| 486 | message OnuProcessingErrorIndication { |
| 487 | fixed32 intf_id = 1; |
| 488 | fixed32 onu_id = 2; |
| 489 | } |
| 490 | |
Shad Ansari | 1924958 | 2018-04-30 04:31:00 +0000 | [diff] [blame] | 491 | message Empty {} |
Girish Gowdru | c8ed2ef | 2019-02-13 08:18:44 -0800 | [diff] [blame] | 492 | |