Matteo Scandolo | 84f7d48 | 2019-08-08 19:00:47 -0700 | [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"; |
amit.ghosh | ee17c00 | 2021-06-10 12:14:38 +0200 | [diff] [blame] | 16 | |
| 17 | option go_package = "github.com/opencord/bbsim/api/bbsim"; |
| 18 | |
Matteo Scandolo | 84f7d48 | 2019-08-08 19:00:47 -0700 | [diff] [blame] | 19 | package bbsim; |
| 20 | |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame] | 21 | import "voltha_protos/openolt.proto"; |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 22 | import "voltha_protos/tech_profile.proto"; |
Matteo Scandolo | 10f965c | 2019-09-24 10:40:46 -0700 | [diff] [blame] | 23 | // Models |
| 24 | |
Matteo Scandolo | 84f7d48 | 2019-08-08 19:00:47 -0700 | [diff] [blame] | 25 | message PONPort { |
| 26 | int32 ID = 1; |
| 27 | string OperState = 2; |
Matteo Scandolo | 4b077aa | 2021-02-16 17:33:37 -0800 | [diff] [blame] | 28 | string InternalState = 3; |
| 29 | uint64 PacketCount = 4; |
| 30 | // ONU ID are reported by VOLTHA in the ActivateOnu call |
| 31 | repeated PonAllocatedResources AllocatedOnuIds = 5; |
| 32 | // these are the stored resource IDs as reported via OMCI |
| 33 | repeated PonAllocatedResources AllocatedGemPorts = 6; |
| 34 | repeated PonAllocatedResources AllocatedAllocIds = 7; |
Elia Battiston | b7bea22 | 2022-02-18 16:25:00 +0100 | [diff] [blame^] | 35 | string Technology = 8; |
Matteo Scandolo | 4b077aa | 2021-02-16 17:33:37 -0800 | [diff] [blame] | 36 | } |
| 37 | |
| 38 | message PonAllocatedResources { |
| 39 | string SerialNumber = 1; |
| 40 | int32 Id = 2; |
Matteo Scandolo | 84f7d48 | 2019-08-08 19:00:47 -0700 | [diff] [blame] | 41 | } |
| 42 | |
| 43 | message NNIPort { |
| 44 | int32 ID = 1; |
| 45 | string OperState = 2; |
| 46 | } |
| 47 | |
| 48 | message Olt { |
| 49 | int32 ID = 1; |
Matteo Scandolo | 8df63df | 2019-09-12 10:34:32 -0700 | [diff] [blame] | 50 | string SerialNumber = 2; |
| 51 | string OperState = 3; |
| 52 | string InternalState = 4; |
rajesh | f921f88 | 2020-03-06 18:24:28 +0530 | [diff] [blame] | 53 | string IP = 7; |
Matteo Scandolo | 8df63df | 2019-09-12 10:34:32 -0700 | [diff] [blame] | 54 | repeated NNIPort NNIPorts = 5; |
| 55 | repeated PONPort PONPorts = 6; |
Matteo Scandolo | 9a3518c | 2019-08-13 14:36:01 -0700 | [diff] [blame] | 56 | } |
| 57 | |
Matteo Scandolo | 4b077aa | 2021-02-16 17:33:37 -0800 | [diff] [blame] | 58 | message OltAllocatedResourceType { |
| 59 | enum Type { |
| 60 | UNKNOWN = 0; |
| 61 | ALLOC_ID = 1; |
| 62 | GEM_PORT = 2; |
| 63 | } |
| 64 | Type type = 1; |
| 65 | } |
| 66 | |
| 67 | message OltAllocatedResource { |
| 68 | string Type = 1; |
| 69 | uint32 PonPortId = 2; |
| 70 | uint32 OnuId = 3; |
| 71 | uint32 PortNo = 4; |
| 72 | int32 ResourceId = 5; |
| 73 | uint64 FlowId = 6; |
| 74 | } |
| 75 | |
| 76 | message OltAllocatedResources { |
| 77 | repeated OltAllocatedResource resources = 1; |
| 78 | } |
| 79 | |
Matteo Scandolo | 9a3518c | 2019-08-13 14:36:01 -0700 | [diff] [blame] | 80 | message ONU { |
| 81 | int32 ID = 1; |
| 82 | string SerialNumber = 2; |
| 83 | string OperState = 3; |
| 84 | string InternalState = 4; |
| 85 | int32 PonPortID = 5; |
Matteo Scandolo | 8a57481 | 2021-05-20 15:18:53 -0700 | [diff] [blame] | 86 | string HwAddress = 8 [deprecated = true]; |
| 87 | int32 PortNo = 9 [deprecated = true]; |
| 88 | repeated Service services = 10 [deprecated = true]; |
Matteo Scandolo | cedde46 | 2021-03-09 17:37:16 -0800 | [diff] [blame] | 89 | int32 ImageSoftwareExpectedSections = 11; |
| 90 | int32 ImageSoftwareReceivedSections = 12; |
| 91 | int32 ActiveImageEntityId = 13; |
| 92 | int32 CommittedImageEntityId = 14; |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 93 | repeated UNI unis = 15; |
| 94 | } |
| 95 | |
Elia Battiston | ac63b11 | 2022-01-12 18:40:49 +0100 | [diff] [blame] | 96 | enum UniType{ |
| 97 | ETH = 0; |
| 98 | POTS = 1; |
| 99 | } |
| 100 | |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 101 | message UNI { |
| 102 | int32 ID = 1; |
| 103 | int32 OnuID = 2; |
| 104 | string OnuSn = 3; |
| 105 | uint32 MeID = 4; |
| 106 | string OperState = 5; |
Matteo Scandolo | 8a57481 | 2021-05-20 15:18:53 -0700 | [diff] [blame] | 107 | int32 PortNo = 6; |
| 108 | repeated Service services = 7; |
Elia Battiston | ac63b11 | 2022-01-12 18:40:49 +0100 | [diff] [blame] | 109 | UniType Type = 8; |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 110 | } |
| 111 | |
| 112 | message Service { |
| 113 | string Name = 1; |
| 114 | string HwAddress = 2; |
| 115 | string OnuSn = 3; |
| 116 | int32 STag = 4; |
| 117 | int32 CTag = 5; |
| 118 | bool NeedsEapol = 6; |
| 119 | bool NeedsDhcp = 7; |
| 120 | bool NeedsIgmp = 8; |
| 121 | int32 GemPort = 9; |
| 122 | string EapolState = 10; |
| 123 | string DhcpState = 11; |
Matteo Scandolo | 75ed5b9 | 2020-09-03 09:03:16 -0700 | [diff] [blame] | 124 | string InternalState = 12; |
Matteo Scandolo | 618a658 | 2020-09-09 12:21:29 -0700 | [diff] [blame] | 125 | string IGMPState = 13; |
Matteo Scandolo | 8a57481 | 2021-05-20 15:18:53 -0700 | [diff] [blame] | 126 | uint32 UniId = 14; |
Elia Battiston | 9a1da62 | 2022-02-09 14:43:52 +0100 | [diff] [blame] | 127 | int32 UniTagMatch = 15; |
| 128 | uint32 UsCTagPriority = 16; //Upstream |
| 129 | uint32 UsSTagPriority = 17; //Upstream |
| 130 | uint32 DsCTagPriority = 18; //Downstream |
| 131 | uint32 DsSTagPriority = 19; //Downstream |
| 132 | bool NeedsPPPoE = 20; |
| 133 | bool ConfigureMacAddress = 21; |
| 134 | bool EnableMacLearning = 22; |
Matteo Scandolo | 9a3518c | 2019-08-13 14:36:01 -0700 | [diff] [blame] | 135 | } |
| 136 | |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 137 | message ONUTrafficSchedulers { |
| 138 | tech_profile.TrafficSchedulers traffSchedulers = 1; |
| 139 | } |
| 140 | |
Matteo Scandolo | 9a3518c | 2019-08-13 14:36:01 -0700 | [diff] [blame] | 141 | message ONUs { |
| 142 | repeated ONU items = 1; |
Matteo Scandolo | 84f7d48 | 2019-08-08 19:00:47 -0700 | [diff] [blame] | 143 | } |
| 144 | |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 145 | message Services { |
| 146 | repeated Service items = 1; |
| 147 | } |
| 148 | |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 149 | message UNIs { |
| 150 | repeated UNI items = 1; |
| 151 | } |
| 152 | |
Matteo Scandolo | 10f965c | 2019-09-24 10:40:46 -0700 | [diff] [blame] | 153 | // Inputs |
| 154 | |
| 155 | message ONURequest { |
| 156 | string SerialNumber = 1; |
| 157 | } |
| 158 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 159 | message PONRequest { |
| 160 | uint32 PonPortId = 1; |
| 161 | } |
| 162 | |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 163 | message UNIRequest { |
| 164 | string OnuSerialNumber = 1; |
| 165 | string UniID = 2; |
| 166 | } |
| 167 | |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 168 | // Alarms |
| 169 | |
| 170 | message AlarmType { |
| 171 | // These types correspond to the messages permitted in the oneof |
| 172 | // in AlarmIndication in the openolt protos |
| 173 | enum Types { |
| 174 | LOS = 0; // LOS is an OLT alarm for an entire PON |
| 175 | DYING_GASP = 1; |
| 176 | ONU_ALARM = 2; |
| 177 | ONU_STARTUP_FAILURE = 3; |
| 178 | ONU_SIGNAL_DEGRADE = 4; |
| 179 | ONU_DRIFT_OF_WINDOW = 5; |
| 180 | ONU_LOSS_OF_OMCI_CHANNEL = 6; |
| 181 | ONU_SIGNALS_FAILURE = 7; |
| 182 | ONU_TRANSMISSION_INTERFERENCE_WARNING = 8; |
| 183 | ONU_ACTIVATION_FAILURE = 9; |
| 184 | ONU_PROCESSING_ERROR = 10; |
| 185 | ONU_LOSS_OF_KEY_SYNC_FAILURE = 11; |
| 186 | ONU_ITU_PON_STATS = 12; |
| 187 | |
| 188 | // These break out ONU_ALARM, which is a single message, but |
| 189 | // includes statuses for these six alarms. |
| 190 | ONU_ALARM_LOS = 13; |
| 191 | ONU_ALARM_LOB = 14; |
| 192 | ONU_ALARM_LOPC_MISS = 15; |
| 193 | ONU_ALARM_LOPC_MIC_ERROR = 16; |
| 194 | ONU_ALARM_LOFI = 17; |
| 195 | ONU_ALARM_LOAMI = 18; |
| 196 | } |
| 197 | } |
| 198 | |
| 199 | message AlarmParameter { |
| 200 | string Key = 1; |
| 201 | string Value = 2; |
| 202 | } |
| 203 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 204 | // ONUAlarmRequest includes fields common to every Onu alarm, |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 205 | // plus an optional list of AlarmParameter list that can be used |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 206 | // to set additional fields in alarms that support them. |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 207 | message ONUAlarmRequest { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 208 | string AlarmType = 1; // name of alarm to raise |
| 209 | string SerialNumber = 2; // serial number of ONU |
| 210 | string Status = 3; // status of Alarm |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 211 | repeated AlarmParameter Parameters = 4; // optional list of additional parameters |
| 212 | } |
| 213 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 214 | // OLT alarm request |
| 215 | message OLTAlarmRequest { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 216 | uint32 InterfaceID = 1; // Switch Interface Id |
| 217 | string InterfaceType = 2; // PON or NNI Type |
| 218 | string Status = 3; // Interface Operstatus |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 219 | } |
| 220 | |
Matteo Scandolo | 10f965c | 2019-09-24 10:40:46 -0700 | [diff] [blame] | 221 | // Utils |
| 222 | |
Matteo Scandolo | 84f7d48 | 2019-08-08 19:00:47 -0700 | [diff] [blame] | 223 | message VersionNumber { |
| 224 | string version = 1; |
| 225 | string buildTime = 2; |
| 226 | string commitHash = 3; |
| 227 | string gitStatus = 4; |
| 228 | } |
| 229 | |
Matteo Scandolo | 2bf742a | 2019-10-01 11:33:34 -0700 | [diff] [blame] | 230 | message LogLevel { |
| 231 | string level = 1; |
| 232 | bool caller = 2; |
| 233 | } |
| 234 | |
Matteo Scandolo | 10f965c | 2019-09-24 10:40:46 -0700 | [diff] [blame] | 235 | message Response { |
| 236 | int32 status_code = 1; |
| 237 | string message = 2; |
| 238 | } |
| 239 | |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 240 | enum SubActionTypes { |
| 241 | JOIN = 0; |
| 242 | LEAVE = 1; |
Arjun E K | dd443f0 | 2020-02-07 15:24:01 +0000 | [diff] [blame] | 243 | JOINV3 = 2; |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 244 | } |
| 245 | |
| 246 | message IgmpRequest { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 247 | ONURequest OnuReq = 1; |
| 248 | SubActionTypes SubActionVal = 2; |
Onur Kalinagac | 9f9faca | 2021-01-21 14:04:34 +0000 | [diff] [blame] | 249 | string GroupAddress = 3; |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 250 | } |
| 251 | |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame] | 252 | message Flows { |
| 253 | uint32 flow_count = 1; |
| 254 | repeated openolt.Flow flows = 2; |
| 255 | } |
| 256 | |
Matteo Scandolo | 88c204a | 2020-11-03 10:34:24 -0800 | [diff] [blame] | 257 | message Timeout { |
| 258 | uint32 delay = 1; |
| 259 | } |
| 260 | |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 261 | message Empty { |
| 262 | } |
Matteo Scandolo | 84f7d48 | 2019-08-08 19:00:47 -0700 | [diff] [blame] | 263 | |
| 264 | service BBSim { |
Pragya Arya | 3f8fdc6 | 2020-03-16 11:12:27 +0530 | [diff] [blame] | 265 | // Get BBSim version |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 266 | rpc Version (Empty) returns (VersionNumber) { |
| 267 | } |
Pragya Arya | 3f8fdc6 | 2020-03-16 11:12:27 +0530 | [diff] [blame] | 268 | // Set BBSim log level |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 269 | rpc SetLogLevel (LogLevel) returns (LogLevel) { |
| 270 | } |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 271 | |
Pragya Arya | 3f8fdc6 | 2020-03-16 11:12:27 +0530 | [diff] [blame] | 272 | // Get current status of OLT |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 273 | rpc GetOlt (Empty) returns (Olt) { |
| 274 | } |
Matteo Scandolo | 4b077aa | 2021-02-16 17:33:37 -0800 | [diff] [blame] | 275 | |
| 276 | rpc GetOltAllocatedResources (OltAllocatedResourceType) returns (OltAllocatedResources) { |
| 277 | } |
| 278 | |
Pragya Arya | 3f8fdc6 | 2020-03-16 11:12:27 +0530 | [diff] [blame] | 279 | // Poweron OLT |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 280 | rpc PoweronOlt (Empty) returns (Response) { |
| 281 | } |
Pragya Arya | 3f8fdc6 | 2020-03-16 11:12:27 +0530 | [diff] [blame] | 282 | // Shutdown OLT |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 283 | rpc ShutdownOlt (Empty) returns (Response) { |
| 284 | } |
Pragya Arya | 3f8fdc6 | 2020-03-16 11:12:27 +0530 | [diff] [blame] | 285 | // Reboot OLT |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 286 | rpc RebootOlt (Empty) returns (Response) { |
| 287 | } |
Matteo Scandolo | 88c204a | 2020-11-03 10:34:24 -0800 | [diff] [blame] | 288 | // Closes the Openolt gRPC server |
| 289 | rpc StopgRPCServer (Empty) returns (Response) { |
| 290 | } |
| 291 | // Start the Openolt gRPC server |
| 292 | rpc StartgRPCServer (Empty) returns (Response) { |
| 293 | } |
| 294 | // Restart the Openolt gRPC server after the given timeout |
| 295 | rpc RestartgRPCServer (Timeout) returns (Response) { |
| 296 | } |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 297 | |
Pragya Arya | 3f8fdc6 | 2020-03-16 11:12:27 +0530 | [diff] [blame] | 298 | // Get status of an ONU by serial number |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 299 | rpc GetONU (ONURequest) returns (ONU) { |
| 300 | } |
Pragya Arya | 3f8fdc6 | 2020-03-16 11:12:27 +0530 | [diff] [blame] | 301 | // Get status of all ONUs |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 302 | rpc GetONUs (Empty) returns (ONUs) { |
| 303 | } |
| 304 | |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 305 | // Get all the Services by Uni ID |
| 306 | rpc GetServices (UNIRequest) returns (Services) { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 307 | } |
| 308 | |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 309 | // Get all the UNIs of an ONU by serial number |
| 310 | rpc GetOnuUnis (ONURequest) returns (UNIs) { |
| 311 | } |
| 312 | |
Pragya Arya | 3f8fdc6 | 2020-03-16 11:12:27 +0530 | [diff] [blame] | 313 | // Shutdown an ONU by serial number |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 314 | rpc ShutdownONU (ONURequest) returns (Response) { |
| 315 | } |
Pragya Arya | 3f8fdc6 | 2020-03-16 11:12:27 +0530 | [diff] [blame] | 316 | // Shutdown all ONUs in OLT |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 317 | rpc ShutdownAllONUs (Empty) returns (Response) { |
| 318 | } |
Pragya Arya | 3f8fdc6 | 2020-03-16 11:12:27 +0530 | [diff] [blame] | 319 | // Shutdown all ONUs under a PON by pon-port-ID |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 320 | rpc ShutdownONUsOnPON (PONRequest) returns (Response) { |
| 321 | } |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 322 | |
Pragya Arya | 3f8fdc6 | 2020-03-16 11:12:27 +0530 | [diff] [blame] | 323 | // Poweron an ONU by serial number |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 324 | rpc PoweronONU (ONURequest) returns (Response) { |
| 325 | } |
Pragya Arya | 3f8fdc6 | 2020-03-16 11:12:27 +0530 | [diff] [blame] | 326 | // Poweron all ONUs in OLT |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 327 | rpc PoweronAllONUs (Empty) returns (Response) { |
| 328 | } |
Pragya Arya | 3f8fdc6 | 2020-03-16 11:12:27 +0530 | [diff] [blame] | 329 | // Poweron all ONUs under a PON by pon-port-ID |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 330 | rpc PoweronONUsOnPON (PONRequest) returns (Response) { |
| 331 | } |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 332 | |
Pragya Arya | 3f8fdc6 | 2020-03-16 11:12:27 +0530 | [diff] [blame] | 333 | // Restart EAPOL for ONU |
Nitin Subramanian | 150f1bb | 2021-08-02 12:04:05 -0700 | [diff] [blame] | 334 | rpc RestartEapol (UNIRequest) returns (Response) { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 335 | } |
Onur Kalinagac | 9f9faca | 2021-01-21 14:04:34 +0000 | [diff] [blame] | 336 | // Restart DHCP for ONU |
Nitin Subramanian | 150f1bb | 2021-08-02 12:04:05 -0700 | [diff] [blame] | 337 | rpc RestartDhcp (UNIRequest) returns (Response) { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 338 | } |
Pragya Arya | 3f8fdc6 | 2020-03-16 11:12:27 +0530 | [diff] [blame] | 339 | // Send ONU alarm indication |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 340 | rpc SetOnuAlarmIndication (ONUAlarmRequest) returns (Response) { |
| 341 | } |
Pragya Arya | 3f8fdc6 | 2020-03-16 11:12:27 +0530 | [diff] [blame] | 342 | // Send OLT alarm indication for Interface type NNI or PON |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 343 | rpc SetOltAlarmIndication (OLTAlarmRequest) returns (Response) { |
| 344 | } |
Pragya Arya | 3f8fdc6 | 2020-03-16 11:12:27 +0530 | [diff] [blame] | 345 | // Get all flows or ONU specific flows |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 346 | rpc GetFlows (ONURequest) returns (Flows) { |
| 347 | } |
Onur Kalinagac | 9f9faca | 2021-01-21 14:04:34 +0000 | [diff] [blame] | 348 | // Change IGMP state |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 349 | rpc ChangeIgmpState (IgmpRequest) returns (Response) { |
| 350 | } |
Pragya Arya | 3f8fdc6 | 2020-03-16 11:12:27 +0530 | [diff] [blame] | 351 | // Get Traffic scheduler information for ONU |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 352 | rpc GetOnuTrafficSchedulers (ONURequest) returns (ONUTrafficSchedulers) { |
| 353 | } |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 354 | //Return all the UNIs for all the ONUs |
| 355 | rpc GetUnis (Empty) returns (UNIs) { |
| 356 | } |
Elia Battiston | fe01766 | 2022-01-05 11:43:16 +0100 | [diff] [blame] | 357 | |
| 358 | //Invalidate the MDS counter for the ONU |
| 359 | rpc InvalidateMds (ONURequest) returns (Response) { |
| 360 | } |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 361 | } |