Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: api/bbsim/bbsim.proto |
| 3 | |
| 4 | package bbsim |
| 5 | |
| 6 | import ( |
| 7 | context "context" |
| 8 | fmt "fmt" |
| 9 | proto "github.com/golang/protobuf/proto" |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame] | 10 | openolt "github.com/opencord/voltha-protos/v2/go/openolt" |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 11 | tech_profile "github.com/opencord/voltha-protos/v2/go/tech_profile" |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 12 | grpc "google.golang.org/grpc" |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 13 | codes "google.golang.org/grpc/codes" |
| 14 | status "google.golang.org/grpc/status" |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 15 | math "math" |
| 16 | ) |
| 17 | |
| 18 | // Reference imports to suppress errors if they are not otherwise used. |
| 19 | var _ = proto.Marshal |
| 20 | var _ = fmt.Errorf |
| 21 | var _ = math.Inf |
| 22 | |
| 23 | // This is a compile-time assertion to ensure that this generated file |
| 24 | // is compatible with the proto package it is being compiled against. |
| 25 | // A compilation error at this line likely means your copy of the |
| 26 | // proto package needs to be updated. |
| 27 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| 28 | |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 29 | type SubActionTypes int32 |
| 30 | |
| 31 | const ( |
Arjun E K | dd443f0 | 2020-02-07 15:24:01 +0000 | [diff] [blame] | 32 | SubActionTypes_JOIN SubActionTypes = 0 |
| 33 | SubActionTypes_LEAVE SubActionTypes = 1 |
| 34 | SubActionTypes_JOINV3 SubActionTypes = 2 |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 35 | ) |
| 36 | |
| 37 | var SubActionTypes_name = map[int32]string{ |
| 38 | 0: "JOIN", |
| 39 | 1: "LEAVE", |
Arjun E K | dd443f0 | 2020-02-07 15:24:01 +0000 | [diff] [blame] | 40 | 2: "JOINV3", |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 41 | } |
| 42 | |
| 43 | var SubActionTypes_value = map[string]int32{ |
Arjun E K | dd443f0 | 2020-02-07 15:24:01 +0000 | [diff] [blame] | 44 | "JOIN": 0, |
| 45 | "LEAVE": 1, |
| 46 | "JOINV3": 2, |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 47 | } |
| 48 | |
| 49 | func (x SubActionTypes) String() string { |
| 50 | return proto.EnumName(SubActionTypes_name, int32(x)) |
| 51 | } |
| 52 | |
| 53 | func (SubActionTypes) EnumDescriptor() ([]byte, []int) { |
| 54 | return fileDescriptor_ef7750073d18011b, []int{0} |
| 55 | } |
| 56 | |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 57 | // These types correspond to the messages permitted in the oneof |
| 58 | // in AlarmIndication in the openolt protos |
| 59 | type AlarmType_Types int32 |
| 60 | |
| 61 | const ( |
| 62 | AlarmType_LOS AlarmType_Types = 0 |
| 63 | AlarmType_DYING_GASP AlarmType_Types = 1 |
| 64 | AlarmType_ONU_ALARM AlarmType_Types = 2 |
| 65 | AlarmType_ONU_STARTUP_FAILURE AlarmType_Types = 3 |
| 66 | AlarmType_ONU_SIGNAL_DEGRADE AlarmType_Types = 4 |
| 67 | AlarmType_ONU_DRIFT_OF_WINDOW AlarmType_Types = 5 |
| 68 | AlarmType_ONU_LOSS_OF_OMCI_CHANNEL AlarmType_Types = 6 |
| 69 | AlarmType_ONU_SIGNALS_FAILURE AlarmType_Types = 7 |
| 70 | AlarmType_ONU_TRANSMISSION_INTERFERENCE_WARNING AlarmType_Types = 8 |
| 71 | AlarmType_ONU_ACTIVATION_FAILURE AlarmType_Types = 9 |
| 72 | AlarmType_ONU_PROCESSING_ERROR AlarmType_Types = 10 |
| 73 | AlarmType_ONU_LOSS_OF_KEY_SYNC_FAILURE AlarmType_Types = 11 |
| 74 | AlarmType_ONU_ITU_PON_STATS AlarmType_Types = 12 |
| 75 | // These break out ONU_ALARM, which is a single message, but |
| 76 | // includes statuses for these six alarms. |
| 77 | AlarmType_ONU_ALARM_LOS AlarmType_Types = 13 |
| 78 | AlarmType_ONU_ALARM_LOB AlarmType_Types = 14 |
| 79 | AlarmType_ONU_ALARM_LOPC_MISS AlarmType_Types = 15 |
| 80 | AlarmType_ONU_ALARM_LOPC_MIC_ERROR AlarmType_Types = 16 |
| 81 | AlarmType_ONU_ALARM_LOFI AlarmType_Types = 17 |
| 82 | AlarmType_ONU_ALARM_LOAMI AlarmType_Types = 18 |
| 83 | ) |
| 84 | |
| 85 | var AlarmType_Types_name = map[int32]string{ |
| 86 | 0: "LOS", |
| 87 | 1: "DYING_GASP", |
| 88 | 2: "ONU_ALARM", |
| 89 | 3: "ONU_STARTUP_FAILURE", |
| 90 | 4: "ONU_SIGNAL_DEGRADE", |
| 91 | 5: "ONU_DRIFT_OF_WINDOW", |
| 92 | 6: "ONU_LOSS_OF_OMCI_CHANNEL", |
| 93 | 7: "ONU_SIGNALS_FAILURE", |
| 94 | 8: "ONU_TRANSMISSION_INTERFERENCE_WARNING", |
| 95 | 9: "ONU_ACTIVATION_FAILURE", |
| 96 | 10: "ONU_PROCESSING_ERROR", |
| 97 | 11: "ONU_LOSS_OF_KEY_SYNC_FAILURE", |
| 98 | 12: "ONU_ITU_PON_STATS", |
| 99 | 13: "ONU_ALARM_LOS", |
| 100 | 14: "ONU_ALARM_LOB", |
| 101 | 15: "ONU_ALARM_LOPC_MISS", |
| 102 | 16: "ONU_ALARM_LOPC_MIC_ERROR", |
| 103 | 17: "ONU_ALARM_LOFI", |
| 104 | 18: "ONU_ALARM_LOAMI", |
| 105 | } |
| 106 | |
| 107 | var AlarmType_Types_value = map[string]int32{ |
| 108 | "LOS": 0, |
| 109 | "DYING_GASP": 1, |
| 110 | "ONU_ALARM": 2, |
| 111 | "ONU_STARTUP_FAILURE": 3, |
| 112 | "ONU_SIGNAL_DEGRADE": 4, |
| 113 | "ONU_DRIFT_OF_WINDOW": 5, |
| 114 | "ONU_LOSS_OF_OMCI_CHANNEL": 6, |
| 115 | "ONU_SIGNALS_FAILURE": 7, |
| 116 | "ONU_TRANSMISSION_INTERFERENCE_WARNING": 8, |
| 117 | "ONU_ACTIVATION_FAILURE": 9, |
| 118 | "ONU_PROCESSING_ERROR": 10, |
| 119 | "ONU_LOSS_OF_KEY_SYNC_FAILURE": 11, |
| 120 | "ONU_ITU_PON_STATS": 12, |
| 121 | "ONU_ALARM_LOS": 13, |
| 122 | "ONU_ALARM_LOB": 14, |
| 123 | "ONU_ALARM_LOPC_MISS": 15, |
| 124 | "ONU_ALARM_LOPC_MIC_ERROR": 16, |
| 125 | "ONU_ALARM_LOFI": 17, |
| 126 | "ONU_ALARM_LOAMI": 18, |
| 127 | } |
| 128 | |
| 129 | func (x AlarmType_Types) String() string { |
| 130 | return proto.EnumName(AlarmType_Types_name, int32(x)) |
| 131 | } |
| 132 | |
| 133 | func (AlarmType_Types) EnumDescriptor() ([]byte, []int) { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 134 | return fileDescriptor_ef7750073d18011b, []int{10, 0} |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 135 | } |
| 136 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 137 | type PONPort struct { |
| 138 | ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` |
| 139 | OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"` |
| 140 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 141 | XXX_unrecognized []byte `json:"-"` |
| 142 | XXX_sizecache int32 `json:"-"` |
| 143 | } |
| 144 | |
| 145 | func (m *PONPort) Reset() { *m = PONPort{} } |
| 146 | func (m *PONPort) String() string { return proto.CompactTextString(m) } |
| 147 | func (*PONPort) ProtoMessage() {} |
| 148 | func (*PONPort) Descriptor() ([]byte, []int) { |
| 149 | return fileDescriptor_ef7750073d18011b, []int{0} |
| 150 | } |
| 151 | |
| 152 | func (m *PONPort) XXX_Unmarshal(b []byte) error { |
| 153 | return xxx_messageInfo_PONPort.Unmarshal(m, b) |
| 154 | } |
| 155 | func (m *PONPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 156 | return xxx_messageInfo_PONPort.Marshal(b, m, deterministic) |
| 157 | } |
| 158 | func (m *PONPort) XXX_Merge(src proto.Message) { |
| 159 | xxx_messageInfo_PONPort.Merge(m, src) |
| 160 | } |
| 161 | func (m *PONPort) XXX_Size() int { |
| 162 | return xxx_messageInfo_PONPort.Size(m) |
| 163 | } |
| 164 | func (m *PONPort) XXX_DiscardUnknown() { |
| 165 | xxx_messageInfo_PONPort.DiscardUnknown(m) |
| 166 | } |
| 167 | |
| 168 | var xxx_messageInfo_PONPort proto.InternalMessageInfo |
| 169 | |
| 170 | func (m *PONPort) GetID() int32 { |
| 171 | if m != nil { |
| 172 | return m.ID |
| 173 | } |
| 174 | return 0 |
| 175 | } |
| 176 | |
| 177 | func (m *PONPort) GetOperState() string { |
| 178 | if m != nil { |
| 179 | return m.OperState |
| 180 | } |
| 181 | return "" |
| 182 | } |
| 183 | |
| 184 | type NNIPort struct { |
| 185 | ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` |
| 186 | OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"` |
| 187 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 188 | XXX_unrecognized []byte `json:"-"` |
| 189 | XXX_sizecache int32 `json:"-"` |
| 190 | } |
| 191 | |
| 192 | func (m *NNIPort) Reset() { *m = NNIPort{} } |
| 193 | func (m *NNIPort) String() string { return proto.CompactTextString(m) } |
| 194 | func (*NNIPort) ProtoMessage() {} |
| 195 | func (*NNIPort) Descriptor() ([]byte, []int) { |
| 196 | return fileDescriptor_ef7750073d18011b, []int{1} |
| 197 | } |
| 198 | |
| 199 | func (m *NNIPort) XXX_Unmarshal(b []byte) error { |
| 200 | return xxx_messageInfo_NNIPort.Unmarshal(m, b) |
| 201 | } |
| 202 | func (m *NNIPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 203 | return xxx_messageInfo_NNIPort.Marshal(b, m, deterministic) |
| 204 | } |
| 205 | func (m *NNIPort) XXX_Merge(src proto.Message) { |
| 206 | xxx_messageInfo_NNIPort.Merge(m, src) |
| 207 | } |
| 208 | func (m *NNIPort) XXX_Size() int { |
| 209 | return xxx_messageInfo_NNIPort.Size(m) |
| 210 | } |
| 211 | func (m *NNIPort) XXX_DiscardUnknown() { |
| 212 | xxx_messageInfo_NNIPort.DiscardUnknown(m) |
| 213 | } |
| 214 | |
| 215 | var xxx_messageInfo_NNIPort proto.InternalMessageInfo |
| 216 | |
| 217 | func (m *NNIPort) GetID() int32 { |
| 218 | if m != nil { |
| 219 | return m.ID |
| 220 | } |
| 221 | return 0 |
| 222 | } |
| 223 | |
| 224 | func (m *NNIPort) GetOperState() string { |
| 225 | if m != nil { |
| 226 | return m.OperState |
| 227 | } |
| 228 | return "" |
| 229 | } |
| 230 | |
| 231 | type Olt struct { |
| 232 | ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` |
| 233 | SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` |
| 234 | OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"` |
| 235 | InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"` |
rajesh | f921f88 | 2020-03-06 18:24:28 +0530 | [diff] [blame] | 236 | IP string `protobuf:"bytes,7,opt,name=IP,proto3" json:"IP,omitempty"` |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 237 | NNIPorts []*NNIPort `protobuf:"bytes,5,rep,name=NNIPorts,proto3" json:"NNIPorts,omitempty"` |
| 238 | PONPorts []*PONPort `protobuf:"bytes,6,rep,name=PONPorts,proto3" json:"PONPorts,omitempty"` |
| 239 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 240 | XXX_unrecognized []byte `json:"-"` |
| 241 | XXX_sizecache int32 `json:"-"` |
| 242 | } |
| 243 | |
| 244 | func (m *Olt) Reset() { *m = Olt{} } |
| 245 | func (m *Olt) String() string { return proto.CompactTextString(m) } |
| 246 | func (*Olt) ProtoMessage() {} |
| 247 | func (*Olt) Descriptor() ([]byte, []int) { |
| 248 | return fileDescriptor_ef7750073d18011b, []int{2} |
| 249 | } |
| 250 | |
| 251 | func (m *Olt) XXX_Unmarshal(b []byte) error { |
| 252 | return xxx_messageInfo_Olt.Unmarshal(m, b) |
| 253 | } |
| 254 | func (m *Olt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 255 | return xxx_messageInfo_Olt.Marshal(b, m, deterministic) |
| 256 | } |
| 257 | func (m *Olt) XXX_Merge(src proto.Message) { |
| 258 | xxx_messageInfo_Olt.Merge(m, src) |
| 259 | } |
| 260 | func (m *Olt) XXX_Size() int { |
| 261 | return xxx_messageInfo_Olt.Size(m) |
| 262 | } |
| 263 | func (m *Olt) XXX_DiscardUnknown() { |
| 264 | xxx_messageInfo_Olt.DiscardUnknown(m) |
| 265 | } |
| 266 | |
| 267 | var xxx_messageInfo_Olt proto.InternalMessageInfo |
| 268 | |
| 269 | func (m *Olt) GetID() int32 { |
| 270 | if m != nil { |
| 271 | return m.ID |
| 272 | } |
| 273 | return 0 |
| 274 | } |
| 275 | |
| 276 | func (m *Olt) GetSerialNumber() string { |
| 277 | if m != nil { |
| 278 | return m.SerialNumber |
| 279 | } |
| 280 | return "" |
| 281 | } |
| 282 | |
| 283 | func (m *Olt) GetOperState() string { |
| 284 | if m != nil { |
| 285 | return m.OperState |
| 286 | } |
| 287 | return "" |
| 288 | } |
| 289 | |
| 290 | func (m *Olt) GetInternalState() string { |
| 291 | if m != nil { |
| 292 | return m.InternalState |
| 293 | } |
| 294 | return "" |
| 295 | } |
| 296 | |
rajesh | f921f88 | 2020-03-06 18:24:28 +0530 | [diff] [blame] | 297 | func (m *Olt) GetIP() string { |
| 298 | if m != nil { |
| 299 | return m.IP |
| 300 | } |
| 301 | return "" |
| 302 | } |
| 303 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 304 | func (m *Olt) GetNNIPorts() []*NNIPort { |
| 305 | if m != nil { |
| 306 | return m.NNIPorts |
| 307 | } |
| 308 | return nil |
| 309 | } |
| 310 | |
| 311 | func (m *Olt) GetPONPorts() []*PONPort { |
| 312 | if m != nil { |
| 313 | return m.PONPorts |
| 314 | } |
| 315 | return nil |
| 316 | } |
| 317 | |
| 318 | type ONU struct { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 319 | ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` |
| 320 | SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` |
| 321 | OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"` |
| 322 | InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"` |
| 323 | PonPortID int32 `protobuf:"varint,5,opt,name=PonPortID,proto3" json:"PonPortID,omitempty"` |
| 324 | HwAddress string `protobuf:"bytes,8,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"` |
| 325 | PortNo int32 `protobuf:"varint,9,opt,name=PortNo,proto3" json:"PortNo,omitempty"` |
| 326 | Services []*Service `protobuf:"bytes,10,rep,name=services,proto3" json:"services,omitempty"` |
| 327 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 328 | XXX_unrecognized []byte `json:"-"` |
| 329 | XXX_sizecache int32 `json:"-"` |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 330 | } |
| 331 | |
| 332 | func (m *ONU) Reset() { *m = ONU{} } |
| 333 | func (m *ONU) String() string { return proto.CompactTextString(m) } |
| 334 | func (*ONU) ProtoMessage() {} |
| 335 | func (*ONU) Descriptor() ([]byte, []int) { |
| 336 | return fileDescriptor_ef7750073d18011b, []int{3} |
| 337 | } |
| 338 | |
| 339 | func (m *ONU) XXX_Unmarshal(b []byte) error { |
| 340 | return xxx_messageInfo_ONU.Unmarshal(m, b) |
| 341 | } |
| 342 | func (m *ONU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 343 | return xxx_messageInfo_ONU.Marshal(b, m, deterministic) |
| 344 | } |
| 345 | func (m *ONU) XXX_Merge(src proto.Message) { |
| 346 | xxx_messageInfo_ONU.Merge(m, src) |
| 347 | } |
| 348 | func (m *ONU) XXX_Size() int { |
| 349 | return xxx_messageInfo_ONU.Size(m) |
| 350 | } |
| 351 | func (m *ONU) XXX_DiscardUnknown() { |
| 352 | xxx_messageInfo_ONU.DiscardUnknown(m) |
| 353 | } |
| 354 | |
| 355 | var xxx_messageInfo_ONU proto.InternalMessageInfo |
| 356 | |
| 357 | func (m *ONU) GetID() int32 { |
| 358 | if m != nil { |
| 359 | return m.ID |
| 360 | } |
| 361 | return 0 |
| 362 | } |
| 363 | |
| 364 | func (m *ONU) GetSerialNumber() string { |
| 365 | if m != nil { |
| 366 | return m.SerialNumber |
| 367 | } |
| 368 | return "" |
| 369 | } |
| 370 | |
| 371 | func (m *ONU) GetOperState() string { |
| 372 | if m != nil { |
| 373 | return m.OperState |
| 374 | } |
| 375 | return "" |
| 376 | } |
| 377 | |
| 378 | func (m *ONU) GetInternalState() string { |
| 379 | if m != nil { |
| 380 | return m.InternalState |
| 381 | } |
| 382 | return "" |
| 383 | } |
| 384 | |
| 385 | func (m *ONU) GetPonPortID() int32 { |
| 386 | if m != nil { |
| 387 | return m.PonPortID |
| 388 | } |
| 389 | return 0 |
| 390 | } |
| 391 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 392 | func (m *ONU) GetHwAddress() string { |
| 393 | if m != nil { |
| 394 | return m.HwAddress |
| 395 | } |
| 396 | return "" |
| 397 | } |
| 398 | |
| 399 | func (m *ONU) GetPortNo() int32 { |
| 400 | if m != nil { |
| 401 | return m.PortNo |
| 402 | } |
| 403 | return 0 |
| 404 | } |
| 405 | |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 406 | func (m *ONU) GetServices() []*Service { |
| 407 | if m != nil { |
| 408 | return m.Services |
| 409 | } |
| 410 | return nil |
| 411 | } |
| 412 | |
| 413 | type Service struct { |
| 414 | Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` |
| 415 | HwAddress string `protobuf:"bytes,2,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"` |
| 416 | OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"` |
| 417 | STag int32 `protobuf:"varint,4,opt,name=STag,proto3" json:"STag,omitempty"` |
| 418 | CTag int32 `protobuf:"varint,5,opt,name=CTag,proto3" json:"CTag,omitempty"` |
| 419 | NeedsEapol bool `protobuf:"varint,6,opt,name=NeedsEapol,proto3" json:"NeedsEapol,omitempty"` |
| 420 | NeedsDhcp bool `protobuf:"varint,7,opt,name=NeedsDhcp,proto3" json:"NeedsDhcp,omitempty"` |
| 421 | NeedsIgmp bool `protobuf:"varint,8,opt,name=NeedsIgmp,proto3" json:"NeedsIgmp,omitempty"` |
| 422 | GemPort int32 `protobuf:"varint,9,opt,name=GemPort,proto3" json:"GemPort,omitempty"` |
| 423 | EapolState string `protobuf:"bytes,10,opt,name=EapolState,proto3" json:"EapolState,omitempty"` |
| 424 | DhcpState string `protobuf:"bytes,11,opt,name=DhcpState,proto3" json:"DhcpState,omitempty"` |
Matteo Scandolo | 75ed5b9 | 2020-09-03 09:03:16 -0700 | [diff] [blame^] | 425 | InternalState string `protobuf:"bytes,12,opt,name=InternalState,proto3" json:"InternalState,omitempty"` |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 426 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 427 | XXX_unrecognized []byte `json:"-"` |
| 428 | XXX_sizecache int32 `json:"-"` |
| 429 | } |
| 430 | |
| 431 | func (m *Service) Reset() { *m = Service{} } |
| 432 | func (m *Service) String() string { return proto.CompactTextString(m) } |
| 433 | func (*Service) ProtoMessage() {} |
| 434 | func (*Service) Descriptor() ([]byte, []int) { |
| 435 | return fileDescriptor_ef7750073d18011b, []int{4} |
| 436 | } |
| 437 | |
| 438 | func (m *Service) XXX_Unmarshal(b []byte) error { |
| 439 | return xxx_messageInfo_Service.Unmarshal(m, b) |
| 440 | } |
| 441 | func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 442 | return xxx_messageInfo_Service.Marshal(b, m, deterministic) |
| 443 | } |
| 444 | func (m *Service) XXX_Merge(src proto.Message) { |
| 445 | xxx_messageInfo_Service.Merge(m, src) |
| 446 | } |
| 447 | func (m *Service) XXX_Size() int { |
| 448 | return xxx_messageInfo_Service.Size(m) |
| 449 | } |
| 450 | func (m *Service) XXX_DiscardUnknown() { |
| 451 | xxx_messageInfo_Service.DiscardUnknown(m) |
| 452 | } |
| 453 | |
| 454 | var xxx_messageInfo_Service proto.InternalMessageInfo |
| 455 | |
| 456 | func (m *Service) GetName() string { |
| 457 | if m != nil { |
| 458 | return m.Name |
| 459 | } |
| 460 | return "" |
| 461 | } |
| 462 | |
| 463 | func (m *Service) GetHwAddress() string { |
| 464 | if m != nil { |
| 465 | return m.HwAddress |
| 466 | } |
| 467 | return "" |
| 468 | } |
| 469 | |
| 470 | func (m *Service) GetOnuSn() string { |
| 471 | if m != nil { |
| 472 | return m.OnuSn |
| 473 | } |
| 474 | return "" |
| 475 | } |
| 476 | |
| 477 | func (m *Service) GetSTag() int32 { |
| 478 | if m != nil { |
| 479 | return m.STag |
| 480 | } |
| 481 | return 0 |
| 482 | } |
| 483 | |
| 484 | func (m *Service) GetCTag() int32 { |
| 485 | if m != nil { |
| 486 | return m.CTag |
| 487 | } |
| 488 | return 0 |
| 489 | } |
| 490 | |
| 491 | func (m *Service) GetNeedsEapol() bool { |
| 492 | if m != nil { |
| 493 | return m.NeedsEapol |
| 494 | } |
| 495 | return false |
| 496 | } |
| 497 | |
| 498 | func (m *Service) GetNeedsDhcp() bool { |
| 499 | if m != nil { |
| 500 | return m.NeedsDhcp |
| 501 | } |
| 502 | return false |
| 503 | } |
| 504 | |
| 505 | func (m *Service) GetNeedsIgmp() bool { |
| 506 | if m != nil { |
| 507 | return m.NeedsIgmp |
| 508 | } |
| 509 | return false |
| 510 | } |
| 511 | |
| 512 | func (m *Service) GetGemPort() int32 { |
| 513 | if m != nil { |
| 514 | return m.GemPort |
| 515 | } |
| 516 | return 0 |
| 517 | } |
| 518 | |
| 519 | func (m *Service) GetEapolState() string { |
| 520 | if m != nil { |
| 521 | return m.EapolState |
| 522 | } |
| 523 | return "" |
| 524 | } |
| 525 | |
| 526 | func (m *Service) GetDhcpState() string { |
| 527 | if m != nil { |
| 528 | return m.DhcpState |
| 529 | } |
| 530 | return "" |
| 531 | } |
| 532 | |
Matteo Scandolo | 75ed5b9 | 2020-09-03 09:03:16 -0700 | [diff] [blame^] | 533 | func (m *Service) GetInternalState() string { |
| 534 | if m != nil { |
| 535 | return m.InternalState |
| 536 | } |
| 537 | return "" |
| 538 | } |
| 539 | |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 540 | type ONUTrafficSchedulers struct { |
| 541 | TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"` |
| 542 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 543 | XXX_unrecognized []byte `json:"-"` |
| 544 | XXX_sizecache int32 `json:"-"` |
| 545 | } |
| 546 | |
| 547 | func (m *ONUTrafficSchedulers) Reset() { *m = ONUTrafficSchedulers{} } |
| 548 | func (m *ONUTrafficSchedulers) String() string { return proto.CompactTextString(m) } |
| 549 | func (*ONUTrafficSchedulers) ProtoMessage() {} |
| 550 | func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int) { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 551 | return fileDescriptor_ef7750073d18011b, []int{5} |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 552 | } |
| 553 | |
| 554 | func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error { |
| 555 | return xxx_messageInfo_ONUTrafficSchedulers.Unmarshal(m, b) |
| 556 | } |
| 557 | func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 558 | return xxx_messageInfo_ONUTrafficSchedulers.Marshal(b, m, deterministic) |
| 559 | } |
| 560 | func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message) { |
| 561 | xxx_messageInfo_ONUTrafficSchedulers.Merge(m, src) |
| 562 | } |
| 563 | func (m *ONUTrafficSchedulers) XXX_Size() int { |
| 564 | return xxx_messageInfo_ONUTrafficSchedulers.Size(m) |
| 565 | } |
| 566 | func (m *ONUTrafficSchedulers) XXX_DiscardUnknown() { |
| 567 | xxx_messageInfo_ONUTrafficSchedulers.DiscardUnknown(m) |
| 568 | } |
| 569 | |
| 570 | var xxx_messageInfo_ONUTrafficSchedulers proto.InternalMessageInfo |
| 571 | |
| 572 | func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers { |
| 573 | if m != nil { |
| 574 | return m.TraffSchedulers |
| 575 | } |
| 576 | return nil |
| 577 | } |
| 578 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 579 | type ONUs struct { |
| 580 | Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 581 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 582 | XXX_unrecognized []byte `json:"-"` |
| 583 | XXX_sizecache int32 `json:"-"` |
| 584 | } |
| 585 | |
| 586 | func (m *ONUs) Reset() { *m = ONUs{} } |
| 587 | func (m *ONUs) String() string { return proto.CompactTextString(m) } |
| 588 | func (*ONUs) ProtoMessage() {} |
| 589 | func (*ONUs) Descriptor() ([]byte, []int) { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 590 | return fileDescriptor_ef7750073d18011b, []int{6} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 591 | } |
| 592 | |
| 593 | func (m *ONUs) XXX_Unmarshal(b []byte) error { |
| 594 | return xxx_messageInfo_ONUs.Unmarshal(m, b) |
| 595 | } |
| 596 | func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 597 | return xxx_messageInfo_ONUs.Marshal(b, m, deterministic) |
| 598 | } |
| 599 | func (m *ONUs) XXX_Merge(src proto.Message) { |
| 600 | xxx_messageInfo_ONUs.Merge(m, src) |
| 601 | } |
| 602 | func (m *ONUs) XXX_Size() int { |
| 603 | return xxx_messageInfo_ONUs.Size(m) |
| 604 | } |
| 605 | func (m *ONUs) XXX_DiscardUnknown() { |
| 606 | xxx_messageInfo_ONUs.DiscardUnknown(m) |
| 607 | } |
| 608 | |
| 609 | var xxx_messageInfo_ONUs proto.InternalMessageInfo |
| 610 | |
| 611 | func (m *ONUs) GetItems() []*ONU { |
| 612 | if m != nil { |
| 613 | return m.Items |
| 614 | } |
| 615 | return nil |
| 616 | } |
| 617 | |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 618 | type Services struct { |
| 619 | Items []*Service `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 620 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 621 | XXX_unrecognized []byte `json:"-"` |
| 622 | XXX_sizecache int32 `json:"-"` |
| 623 | } |
| 624 | |
| 625 | func (m *Services) Reset() { *m = Services{} } |
| 626 | func (m *Services) String() string { return proto.CompactTextString(m) } |
| 627 | func (*Services) ProtoMessage() {} |
| 628 | func (*Services) Descriptor() ([]byte, []int) { |
| 629 | return fileDescriptor_ef7750073d18011b, []int{7} |
| 630 | } |
| 631 | |
| 632 | func (m *Services) XXX_Unmarshal(b []byte) error { |
| 633 | return xxx_messageInfo_Services.Unmarshal(m, b) |
| 634 | } |
| 635 | func (m *Services) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 636 | return xxx_messageInfo_Services.Marshal(b, m, deterministic) |
| 637 | } |
| 638 | func (m *Services) XXX_Merge(src proto.Message) { |
| 639 | xxx_messageInfo_Services.Merge(m, src) |
| 640 | } |
| 641 | func (m *Services) XXX_Size() int { |
| 642 | return xxx_messageInfo_Services.Size(m) |
| 643 | } |
| 644 | func (m *Services) XXX_DiscardUnknown() { |
| 645 | xxx_messageInfo_Services.DiscardUnknown(m) |
| 646 | } |
| 647 | |
| 648 | var xxx_messageInfo_Services proto.InternalMessageInfo |
| 649 | |
| 650 | func (m *Services) GetItems() []*Service { |
| 651 | if m != nil { |
| 652 | return m.Items |
| 653 | } |
| 654 | return nil |
| 655 | } |
| 656 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 657 | type ONURequest struct { |
| 658 | SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` |
| 659 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 660 | XXX_unrecognized []byte `json:"-"` |
| 661 | XXX_sizecache int32 `json:"-"` |
| 662 | } |
| 663 | |
| 664 | func (m *ONURequest) Reset() { *m = ONURequest{} } |
| 665 | func (m *ONURequest) String() string { return proto.CompactTextString(m) } |
| 666 | func (*ONURequest) ProtoMessage() {} |
| 667 | func (*ONURequest) Descriptor() ([]byte, []int) { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 668 | return fileDescriptor_ef7750073d18011b, []int{8} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 669 | } |
| 670 | |
| 671 | func (m *ONURequest) XXX_Unmarshal(b []byte) error { |
| 672 | return xxx_messageInfo_ONURequest.Unmarshal(m, b) |
| 673 | } |
| 674 | func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 675 | return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic) |
| 676 | } |
| 677 | func (m *ONURequest) XXX_Merge(src proto.Message) { |
| 678 | xxx_messageInfo_ONURequest.Merge(m, src) |
| 679 | } |
| 680 | func (m *ONURequest) XXX_Size() int { |
| 681 | return xxx_messageInfo_ONURequest.Size(m) |
| 682 | } |
| 683 | func (m *ONURequest) XXX_DiscardUnknown() { |
| 684 | xxx_messageInfo_ONURequest.DiscardUnknown(m) |
| 685 | } |
| 686 | |
| 687 | var xxx_messageInfo_ONURequest proto.InternalMessageInfo |
| 688 | |
| 689 | func (m *ONURequest) GetSerialNumber() string { |
| 690 | if m != nil { |
| 691 | return m.SerialNumber |
| 692 | } |
| 693 | return "" |
| 694 | } |
| 695 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 696 | type PONRequest struct { |
| 697 | PonPortId uint32 `protobuf:"varint,1,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"` |
| 698 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 699 | XXX_unrecognized []byte `json:"-"` |
| 700 | XXX_sizecache int32 `json:"-"` |
| 701 | } |
| 702 | |
| 703 | func (m *PONRequest) Reset() { *m = PONRequest{} } |
| 704 | func (m *PONRequest) String() string { return proto.CompactTextString(m) } |
| 705 | func (*PONRequest) ProtoMessage() {} |
| 706 | func (*PONRequest) Descriptor() ([]byte, []int) { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 707 | return fileDescriptor_ef7750073d18011b, []int{9} |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 708 | } |
| 709 | |
| 710 | func (m *PONRequest) XXX_Unmarshal(b []byte) error { |
| 711 | return xxx_messageInfo_PONRequest.Unmarshal(m, b) |
| 712 | } |
| 713 | func (m *PONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 714 | return xxx_messageInfo_PONRequest.Marshal(b, m, deterministic) |
| 715 | } |
| 716 | func (m *PONRequest) XXX_Merge(src proto.Message) { |
| 717 | xxx_messageInfo_PONRequest.Merge(m, src) |
| 718 | } |
| 719 | func (m *PONRequest) XXX_Size() int { |
| 720 | return xxx_messageInfo_PONRequest.Size(m) |
| 721 | } |
| 722 | func (m *PONRequest) XXX_DiscardUnknown() { |
| 723 | xxx_messageInfo_PONRequest.DiscardUnknown(m) |
| 724 | } |
| 725 | |
| 726 | var xxx_messageInfo_PONRequest proto.InternalMessageInfo |
| 727 | |
| 728 | func (m *PONRequest) GetPonPortId() uint32 { |
| 729 | if m != nil { |
| 730 | return m.PonPortId |
| 731 | } |
| 732 | return 0 |
| 733 | } |
| 734 | |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 735 | type AlarmType struct { |
| 736 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 737 | XXX_unrecognized []byte `json:"-"` |
| 738 | XXX_sizecache int32 `json:"-"` |
| 739 | } |
| 740 | |
| 741 | func (m *AlarmType) Reset() { *m = AlarmType{} } |
| 742 | func (m *AlarmType) String() string { return proto.CompactTextString(m) } |
| 743 | func (*AlarmType) ProtoMessage() {} |
| 744 | func (*AlarmType) Descriptor() ([]byte, []int) { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 745 | return fileDescriptor_ef7750073d18011b, []int{10} |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 746 | } |
| 747 | |
| 748 | func (m *AlarmType) XXX_Unmarshal(b []byte) error { |
| 749 | return xxx_messageInfo_AlarmType.Unmarshal(m, b) |
| 750 | } |
| 751 | func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 752 | return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic) |
| 753 | } |
| 754 | func (m *AlarmType) XXX_Merge(src proto.Message) { |
| 755 | xxx_messageInfo_AlarmType.Merge(m, src) |
| 756 | } |
| 757 | func (m *AlarmType) XXX_Size() int { |
| 758 | return xxx_messageInfo_AlarmType.Size(m) |
| 759 | } |
| 760 | func (m *AlarmType) XXX_DiscardUnknown() { |
| 761 | xxx_messageInfo_AlarmType.DiscardUnknown(m) |
| 762 | } |
| 763 | |
| 764 | var xxx_messageInfo_AlarmType proto.InternalMessageInfo |
| 765 | |
| 766 | type AlarmParameter struct { |
| 767 | Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` |
| 768 | Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` |
| 769 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 770 | XXX_unrecognized []byte `json:"-"` |
| 771 | XXX_sizecache int32 `json:"-"` |
| 772 | } |
| 773 | |
| 774 | func (m *AlarmParameter) Reset() { *m = AlarmParameter{} } |
| 775 | func (m *AlarmParameter) String() string { return proto.CompactTextString(m) } |
| 776 | func (*AlarmParameter) ProtoMessage() {} |
| 777 | func (*AlarmParameter) Descriptor() ([]byte, []int) { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 778 | return fileDescriptor_ef7750073d18011b, []int{11} |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 779 | } |
| 780 | |
| 781 | func (m *AlarmParameter) XXX_Unmarshal(b []byte) error { |
| 782 | return xxx_messageInfo_AlarmParameter.Unmarshal(m, b) |
| 783 | } |
| 784 | func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 785 | return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic) |
| 786 | } |
| 787 | func (m *AlarmParameter) XXX_Merge(src proto.Message) { |
| 788 | xxx_messageInfo_AlarmParameter.Merge(m, src) |
| 789 | } |
| 790 | func (m *AlarmParameter) XXX_Size() int { |
| 791 | return xxx_messageInfo_AlarmParameter.Size(m) |
| 792 | } |
| 793 | func (m *AlarmParameter) XXX_DiscardUnknown() { |
| 794 | xxx_messageInfo_AlarmParameter.DiscardUnknown(m) |
| 795 | } |
| 796 | |
| 797 | var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo |
| 798 | |
| 799 | func (m *AlarmParameter) GetKey() string { |
| 800 | if m != nil { |
| 801 | return m.Key |
| 802 | } |
| 803 | return "" |
| 804 | } |
| 805 | |
| 806 | func (m *AlarmParameter) GetValue() string { |
| 807 | if m != nil { |
| 808 | return m.Value |
| 809 | } |
| 810 | return "" |
| 811 | } |
| 812 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 813 | // ONUAlarmRequest includes fields common to every Onu alarm, |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 814 | // plus an optional list of AlarmParameter list that can be used |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 815 | // to set additional fields in alarms that support them. |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 816 | type ONUAlarmRequest struct { |
Pragya Arya | 694ece0 | 2020-02-07 13:03:47 +0530 | [diff] [blame] | 817 | AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"` |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 818 | SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` |
| 819 | Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"` |
| 820 | Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"` |
| 821 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 822 | XXX_unrecognized []byte `json:"-"` |
| 823 | XXX_sizecache int32 `json:"-"` |
| 824 | } |
| 825 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 826 | func (m *ONUAlarmRequest) Reset() { *m = ONUAlarmRequest{} } |
| 827 | func (m *ONUAlarmRequest) String() string { return proto.CompactTextString(m) } |
| 828 | func (*ONUAlarmRequest) ProtoMessage() {} |
| 829 | func (*ONUAlarmRequest) Descriptor() ([]byte, []int) { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 830 | return fileDescriptor_ef7750073d18011b, []int{12} |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 831 | } |
| 832 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 833 | func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error { |
| 834 | return xxx_messageInfo_ONUAlarmRequest.Unmarshal(m, b) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 835 | } |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 836 | func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 837 | return xxx_messageInfo_ONUAlarmRequest.Marshal(b, m, deterministic) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 838 | } |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 839 | func (m *ONUAlarmRequest) XXX_Merge(src proto.Message) { |
| 840 | xxx_messageInfo_ONUAlarmRequest.Merge(m, src) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 841 | } |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 842 | func (m *ONUAlarmRequest) XXX_Size() int { |
| 843 | return xxx_messageInfo_ONUAlarmRequest.Size(m) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 844 | } |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 845 | func (m *ONUAlarmRequest) XXX_DiscardUnknown() { |
| 846 | xxx_messageInfo_ONUAlarmRequest.DiscardUnknown(m) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 847 | } |
| 848 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 849 | var xxx_messageInfo_ONUAlarmRequest proto.InternalMessageInfo |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 850 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 851 | func (m *ONUAlarmRequest) GetAlarmType() string { |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 852 | if m != nil { |
| 853 | return m.AlarmType |
| 854 | } |
Pragya Arya | 694ece0 | 2020-02-07 13:03:47 +0530 | [diff] [blame] | 855 | return "" |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 856 | } |
| 857 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 858 | func (m *ONUAlarmRequest) GetSerialNumber() string { |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 859 | if m != nil { |
| 860 | return m.SerialNumber |
| 861 | } |
| 862 | return "" |
| 863 | } |
| 864 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 865 | func (m *ONUAlarmRequest) GetStatus() string { |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 866 | if m != nil { |
| 867 | return m.Status |
| 868 | } |
| 869 | return "" |
| 870 | } |
| 871 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 872 | func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter { |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 873 | if m != nil { |
| 874 | return m.Parameters |
| 875 | } |
| 876 | return nil |
| 877 | } |
| 878 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 879 | // OLT alarm request |
| 880 | type OLTAlarmRequest struct { |
| 881 | InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"` |
| 882 | InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,omitempty"` |
| 883 | Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"` |
| 884 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 885 | XXX_unrecognized []byte `json:"-"` |
| 886 | XXX_sizecache int32 `json:"-"` |
| 887 | } |
| 888 | |
| 889 | func (m *OLTAlarmRequest) Reset() { *m = OLTAlarmRequest{} } |
| 890 | func (m *OLTAlarmRequest) String() string { return proto.CompactTextString(m) } |
| 891 | func (*OLTAlarmRequest) ProtoMessage() {} |
| 892 | func (*OLTAlarmRequest) Descriptor() ([]byte, []int) { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 893 | return fileDescriptor_ef7750073d18011b, []int{13} |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 894 | } |
| 895 | |
| 896 | func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error { |
| 897 | return xxx_messageInfo_OLTAlarmRequest.Unmarshal(m, b) |
| 898 | } |
| 899 | func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 900 | return xxx_messageInfo_OLTAlarmRequest.Marshal(b, m, deterministic) |
| 901 | } |
| 902 | func (m *OLTAlarmRequest) XXX_Merge(src proto.Message) { |
| 903 | xxx_messageInfo_OLTAlarmRequest.Merge(m, src) |
| 904 | } |
| 905 | func (m *OLTAlarmRequest) XXX_Size() int { |
| 906 | return xxx_messageInfo_OLTAlarmRequest.Size(m) |
| 907 | } |
| 908 | func (m *OLTAlarmRequest) XXX_DiscardUnknown() { |
| 909 | xxx_messageInfo_OLTAlarmRequest.DiscardUnknown(m) |
| 910 | } |
| 911 | |
| 912 | var xxx_messageInfo_OLTAlarmRequest proto.InternalMessageInfo |
| 913 | |
| 914 | func (m *OLTAlarmRequest) GetInterfaceID() uint32 { |
| 915 | if m != nil { |
| 916 | return m.InterfaceID |
| 917 | } |
| 918 | return 0 |
| 919 | } |
| 920 | |
| 921 | func (m *OLTAlarmRequest) GetInterfaceType() string { |
| 922 | if m != nil { |
| 923 | return m.InterfaceType |
| 924 | } |
| 925 | return "" |
| 926 | } |
| 927 | |
| 928 | func (m *OLTAlarmRequest) GetStatus() string { |
| 929 | if m != nil { |
| 930 | return m.Status |
| 931 | } |
| 932 | return "" |
| 933 | } |
| 934 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 935 | type VersionNumber struct { |
| 936 | Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` |
| 937 | BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"` |
| 938 | CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"` |
| 939 | GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"` |
| 940 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 941 | XXX_unrecognized []byte `json:"-"` |
| 942 | XXX_sizecache int32 `json:"-"` |
| 943 | } |
| 944 | |
| 945 | func (m *VersionNumber) Reset() { *m = VersionNumber{} } |
| 946 | func (m *VersionNumber) String() string { return proto.CompactTextString(m) } |
| 947 | func (*VersionNumber) ProtoMessage() {} |
| 948 | func (*VersionNumber) Descriptor() ([]byte, []int) { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 949 | return fileDescriptor_ef7750073d18011b, []int{14} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 950 | } |
| 951 | |
| 952 | func (m *VersionNumber) XXX_Unmarshal(b []byte) error { |
| 953 | return xxx_messageInfo_VersionNumber.Unmarshal(m, b) |
| 954 | } |
| 955 | func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 956 | return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic) |
| 957 | } |
| 958 | func (m *VersionNumber) XXX_Merge(src proto.Message) { |
| 959 | xxx_messageInfo_VersionNumber.Merge(m, src) |
| 960 | } |
| 961 | func (m *VersionNumber) XXX_Size() int { |
| 962 | return xxx_messageInfo_VersionNumber.Size(m) |
| 963 | } |
| 964 | func (m *VersionNumber) XXX_DiscardUnknown() { |
| 965 | xxx_messageInfo_VersionNumber.DiscardUnknown(m) |
| 966 | } |
| 967 | |
| 968 | var xxx_messageInfo_VersionNumber proto.InternalMessageInfo |
| 969 | |
| 970 | func (m *VersionNumber) GetVersion() string { |
| 971 | if m != nil { |
| 972 | return m.Version |
| 973 | } |
| 974 | return "" |
| 975 | } |
| 976 | |
| 977 | func (m *VersionNumber) GetBuildTime() string { |
| 978 | if m != nil { |
| 979 | return m.BuildTime |
| 980 | } |
| 981 | return "" |
| 982 | } |
| 983 | |
| 984 | func (m *VersionNumber) GetCommitHash() string { |
| 985 | if m != nil { |
| 986 | return m.CommitHash |
| 987 | } |
| 988 | return "" |
| 989 | } |
| 990 | |
| 991 | func (m *VersionNumber) GetGitStatus() string { |
| 992 | if m != nil { |
| 993 | return m.GitStatus |
| 994 | } |
| 995 | return "" |
| 996 | } |
| 997 | |
| 998 | type LogLevel struct { |
| 999 | Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"` |
| 1000 | Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"` |
| 1001 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1002 | XXX_unrecognized []byte `json:"-"` |
| 1003 | XXX_sizecache int32 `json:"-"` |
| 1004 | } |
| 1005 | |
| 1006 | func (m *LogLevel) Reset() { *m = LogLevel{} } |
| 1007 | func (m *LogLevel) String() string { return proto.CompactTextString(m) } |
| 1008 | func (*LogLevel) ProtoMessage() {} |
| 1009 | func (*LogLevel) Descriptor() ([]byte, []int) { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 1010 | return fileDescriptor_ef7750073d18011b, []int{15} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1011 | } |
| 1012 | |
| 1013 | func (m *LogLevel) XXX_Unmarshal(b []byte) error { |
| 1014 | return xxx_messageInfo_LogLevel.Unmarshal(m, b) |
| 1015 | } |
| 1016 | func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1017 | return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic) |
| 1018 | } |
| 1019 | func (m *LogLevel) XXX_Merge(src proto.Message) { |
| 1020 | xxx_messageInfo_LogLevel.Merge(m, src) |
| 1021 | } |
| 1022 | func (m *LogLevel) XXX_Size() int { |
| 1023 | return xxx_messageInfo_LogLevel.Size(m) |
| 1024 | } |
| 1025 | func (m *LogLevel) XXX_DiscardUnknown() { |
| 1026 | xxx_messageInfo_LogLevel.DiscardUnknown(m) |
| 1027 | } |
| 1028 | |
| 1029 | var xxx_messageInfo_LogLevel proto.InternalMessageInfo |
| 1030 | |
| 1031 | func (m *LogLevel) GetLevel() string { |
| 1032 | if m != nil { |
| 1033 | return m.Level |
| 1034 | } |
| 1035 | return "" |
| 1036 | } |
| 1037 | |
| 1038 | func (m *LogLevel) GetCaller() bool { |
| 1039 | if m != nil { |
| 1040 | return m.Caller |
| 1041 | } |
| 1042 | return false |
| 1043 | } |
| 1044 | |
| 1045 | type Response struct { |
| 1046 | StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` |
| 1047 | Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` |
| 1048 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1049 | XXX_unrecognized []byte `json:"-"` |
| 1050 | XXX_sizecache int32 `json:"-"` |
| 1051 | } |
| 1052 | |
| 1053 | func (m *Response) Reset() { *m = Response{} } |
| 1054 | func (m *Response) String() string { return proto.CompactTextString(m) } |
| 1055 | func (*Response) ProtoMessage() {} |
| 1056 | func (*Response) Descriptor() ([]byte, []int) { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 1057 | return fileDescriptor_ef7750073d18011b, []int{16} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1058 | } |
| 1059 | |
| 1060 | func (m *Response) XXX_Unmarshal(b []byte) error { |
| 1061 | return xxx_messageInfo_Response.Unmarshal(m, b) |
| 1062 | } |
| 1063 | func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1064 | return xxx_messageInfo_Response.Marshal(b, m, deterministic) |
| 1065 | } |
| 1066 | func (m *Response) XXX_Merge(src proto.Message) { |
| 1067 | xxx_messageInfo_Response.Merge(m, src) |
| 1068 | } |
| 1069 | func (m *Response) XXX_Size() int { |
| 1070 | return xxx_messageInfo_Response.Size(m) |
| 1071 | } |
| 1072 | func (m *Response) XXX_DiscardUnknown() { |
| 1073 | xxx_messageInfo_Response.DiscardUnknown(m) |
| 1074 | } |
| 1075 | |
| 1076 | var xxx_messageInfo_Response proto.InternalMessageInfo |
| 1077 | |
| 1078 | func (m *Response) GetStatusCode() int32 { |
| 1079 | if m != nil { |
| 1080 | return m.StatusCode |
| 1081 | } |
| 1082 | return 0 |
| 1083 | } |
| 1084 | |
| 1085 | func (m *Response) GetMessage() string { |
| 1086 | if m != nil { |
| 1087 | return m.Message |
| 1088 | } |
| 1089 | return "" |
| 1090 | } |
| 1091 | |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1092 | type IgmpRequest struct { |
| 1093 | OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"` |
| 1094 | SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"` |
| 1095 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1096 | XXX_unrecognized []byte `json:"-"` |
| 1097 | XXX_sizecache int32 `json:"-"` |
| 1098 | } |
| 1099 | |
| 1100 | func (m *IgmpRequest) Reset() { *m = IgmpRequest{} } |
| 1101 | func (m *IgmpRequest) String() string { return proto.CompactTextString(m) } |
| 1102 | func (*IgmpRequest) ProtoMessage() {} |
| 1103 | func (*IgmpRequest) Descriptor() ([]byte, []int) { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 1104 | return fileDescriptor_ef7750073d18011b, []int{17} |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1105 | } |
| 1106 | |
| 1107 | func (m *IgmpRequest) XXX_Unmarshal(b []byte) error { |
| 1108 | return xxx_messageInfo_IgmpRequest.Unmarshal(m, b) |
| 1109 | } |
| 1110 | func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1111 | return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic) |
| 1112 | } |
| 1113 | func (m *IgmpRequest) XXX_Merge(src proto.Message) { |
| 1114 | xxx_messageInfo_IgmpRequest.Merge(m, src) |
| 1115 | } |
| 1116 | func (m *IgmpRequest) XXX_Size() int { |
| 1117 | return xxx_messageInfo_IgmpRequest.Size(m) |
| 1118 | } |
| 1119 | func (m *IgmpRequest) XXX_DiscardUnknown() { |
| 1120 | xxx_messageInfo_IgmpRequest.DiscardUnknown(m) |
| 1121 | } |
| 1122 | |
| 1123 | var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo |
| 1124 | |
| 1125 | func (m *IgmpRequest) GetOnuReq() *ONURequest { |
| 1126 | if m != nil { |
| 1127 | return m.OnuReq |
| 1128 | } |
| 1129 | return nil |
| 1130 | } |
| 1131 | |
| 1132 | func (m *IgmpRequest) GetSubActionVal() SubActionTypes { |
| 1133 | if m != nil { |
| 1134 | return m.SubActionVal |
| 1135 | } |
| 1136 | return SubActionTypes_JOIN |
| 1137 | } |
| 1138 | |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame] | 1139 | type Flows struct { |
| 1140 | FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"` |
| 1141 | Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"` |
| 1142 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1143 | XXX_unrecognized []byte `json:"-"` |
| 1144 | XXX_sizecache int32 `json:"-"` |
| 1145 | } |
| 1146 | |
| 1147 | func (m *Flows) Reset() { *m = Flows{} } |
| 1148 | func (m *Flows) String() string { return proto.CompactTextString(m) } |
| 1149 | func (*Flows) ProtoMessage() {} |
| 1150 | func (*Flows) Descriptor() ([]byte, []int) { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 1151 | return fileDescriptor_ef7750073d18011b, []int{18} |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame] | 1152 | } |
| 1153 | |
| 1154 | func (m *Flows) XXX_Unmarshal(b []byte) error { |
| 1155 | return xxx_messageInfo_Flows.Unmarshal(m, b) |
| 1156 | } |
| 1157 | func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1158 | return xxx_messageInfo_Flows.Marshal(b, m, deterministic) |
| 1159 | } |
| 1160 | func (m *Flows) XXX_Merge(src proto.Message) { |
| 1161 | xxx_messageInfo_Flows.Merge(m, src) |
| 1162 | } |
| 1163 | func (m *Flows) XXX_Size() int { |
| 1164 | return xxx_messageInfo_Flows.Size(m) |
| 1165 | } |
| 1166 | func (m *Flows) XXX_DiscardUnknown() { |
| 1167 | xxx_messageInfo_Flows.DiscardUnknown(m) |
| 1168 | } |
| 1169 | |
| 1170 | var xxx_messageInfo_Flows proto.InternalMessageInfo |
| 1171 | |
| 1172 | func (m *Flows) GetFlowCount() uint32 { |
| 1173 | if m != nil { |
| 1174 | return m.FlowCount |
| 1175 | } |
| 1176 | return 0 |
| 1177 | } |
| 1178 | |
| 1179 | func (m *Flows) GetFlows() []*openolt.Flow { |
| 1180 | if m != nil { |
| 1181 | return m.Flows |
| 1182 | } |
| 1183 | return nil |
| 1184 | } |
| 1185 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1186 | type Empty struct { |
| 1187 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1188 | XXX_unrecognized []byte `json:"-"` |
| 1189 | XXX_sizecache int32 `json:"-"` |
| 1190 | } |
| 1191 | |
| 1192 | func (m *Empty) Reset() { *m = Empty{} } |
| 1193 | func (m *Empty) String() string { return proto.CompactTextString(m) } |
| 1194 | func (*Empty) ProtoMessage() {} |
| 1195 | func (*Empty) Descriptor() ([]byte, []int) { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 1196 | return fileDescriptor_ef7750073d18011b, []int{19} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1197 | } |
| 1198 | |
| 1199 | func (m *Empty) XXX_Unmarshal(b []byte) error { |
| 1200 | return xxx_messageInfo_Empty.Unmarshal(m, b) |
| 1201 | } |
| 1202 | func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1203 | return xxx_messageInfo_Empty.Marshal(b, m, deterministic) |
| 1204 | } |
| 1205 | func (m *Empty) XXX_Merge(src proto.Message) { |
| 1206 | xxx_messageInfo_Empty.Merge(m, src) |
| 1207 | } |
| 1208 | func (m *Empty) XXX_Size() int { |
| 1209 | return xxx_messageInfo_Empty.Size(m) |
| 1210 | } |
| 1211 | func (m *Empty) XXX_DiscardUnknown() { |
| 1212 | xxx_messageInfo_Empty.DiscardUnknown(m) |
| 1213 | } |
| 1214 | |
| 1215 | var xxx_messageInfo_Empty proto.InternalMessageInfo |
| 1216 | |
| 1217 | func init() { |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1218 | proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1219 | proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1220 | proto.RegisterType((*PONPort)(nil), "bbsim.PONPort") |
| 1221 | proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort") |
| 1222 | proto.RegisterType((*Olt)(nil), "bbsim.Olt") |
| 1223 | proto.RegisterType((*ONU)(nil), "bbsim.ONU") |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 1224 | proto.RegisterType((*Service)(nil), "bbsim.Service") |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 1225 | proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers") |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1226 | proto.RegisterType((*ONUs)(nil), "bbsim.ONUs") |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 1227 | proto.RegisterType((*Services)(nil), "bbsim.Services") |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1228 | proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest") |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1229 | proto.RegisterType((*PONRequest)(nil), "bbsim.PONRequest") |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1230 | proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType") |
| 1231 | proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter") |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1232 | proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest") |
| 1233 | proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest") |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1234 | proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber") |
| 1235 | proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel") |
| 1236 | proto.RegisterType((*Response)(nil), "bbsim.Response") |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1237 | proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest") |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame] | 1238 | proto.RegisterType((*Flows)(nil), "bbsim.Flows") |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1239 | proto.RegisterType((*Empty)(nil), "bbsim.Empty") |
| 1240 | } |
| 1241 | |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1242 | func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) } |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1243 | |
| 1244 | var fileDescriptor_ef7750073d18011b = []byte{ |
Matteo Scandolo | 75ed5b9 | 2020-09-03 09:03:16 -0700 | [diff] [blame^] | 1245 | // 1508 bytes of a gzipped FileDescriptorProto |
| 1246 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xcd, 0x6e, 0xdb, 0xc6, |
| 1247 | 0x16, 0xd6, 0x8f, 0xf5, 0x77, 0x64, 0xc9, 0xf4, 0x24, 0x76, 0x08, 0xc7, 0xf7, 0x46, 0xe0, 0xcd, |
| 1248 | 0xbd, 0x70, 0x82, 0x1b, 0xa7, 0xb1, 0xfb, 0x93, 0x2c, 0x69, 0x89, 0x56, 0x58, 0xcb, 0x43, 0x61, |
| 1249 | 0x28, 0x39, 0xc8, 0x8a, 0xa0, 0xa5, 0xb1, 0x4d, 0x80, 0x22, 0x15, 0x92, 0xb2, 0x91, 0x07, 0xe8, |
| 1250 | 0x8b, 0xf4, 0x65, 0xba, 0x2d, 0xd0, 0x7d, 0x77, 0x7d, 0x8c, 0x02, 0xc5, 0x0c, 0x87, 0x14, 0x69, |
| 1251 | 0x29, 0x85, 0xdb, 0x4d, 0x37, 0x02, 0xcf, 0x77, 0xfe, 0xcf, 0x99, 0x39, 0x67, 0x04, 0x3b, 0xf6, |
| 1252 | 0xdc, 0x79, 0x7d, 0x79, 0x19, 0x3a, 0xb3, 0xf8, 0xf7, 0x70, 0x1e, 0xf8, 0x91, 0x8f, 0x2a, 0x9c, |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 1253 | 0xd8, 0x7b, 0x7a, 0xeb, 0xbb, 0xd1, 0x8d, 0x6d, 0x71, 0x30, 0x7c, 0xed, 0xcf, 0xa9, 0xe7, 0xbb, |
Matteo Scandolo | 75ed5b9 | 2020-09-03 09:03:16 -0700 | [diff] [blame^] | 1254 | 0x51, 0x2c, 0xb3, 0xd7, 0xc9, 0x33, 0x23, 0x3a, 0xb9, 0x61, 0xdf, 0x57, 0x8e, 0x4b, 0x63, 0x09, |
| 1255 | 0xe5, 0x3b, 0xa8, 0x0d, 0x0d, 0x3c, 0xf4, 0x83, 0x08, 0xb5, 0xa1, 0xa4, 0xf7, 0xe4, 0x62, 0xa7, |
| 1256 | 0x78, 0x50, 0x21, 0x25, 0xbd, 0x87, 0xf6, 0xa1, 0x61, 0xcc, 0x69, 0x60, 0x46, 0x76, 0x44, 0xe5, |
| 1257 | 0x52, 0xa7, 0x78, 0xd0, 0x20, 0x4b, 0x80, 0x29, 0x62, 0xac, 0xff, 0x0d, 0xc5, 0xdf, 0x8a, 0x50, |
| 1258 | 0x36, 0xdc, 0x55, 0x2d, 0x05, 0x36, 0x4d, 0x1a, 0x38, 0xb6, 0x8b, 0x17, 0xb3, 0x4b, 0x1a, 0x08, |
| 1259 | 0xc5, 0x1c, 0x96, 0xb7, 0x5c, 0xbe, 0x67, 0x19, 0x3d, 0x87, 0x96, 0xee, 0x45, 0x34, 0xf0, 0x6c, |
| 1260 | 0x37, 0x96, 0xd8, 0xe0, 0x12, 0x79, 0x90, 0xfb, 0x1d, 0xca, 0x35, 0xce, 0x2a, 0xe9, 0x43, 0xf4, |
| 1261 | 0x12, 0xea, 0x22, 0x91, 0x50, 0xae, 0x74, 0xca, 0x07, 0xcd, 0xa3, 0xf6, 0x61, 0x5c, 0x67, 0x01, |
| 1262 | 0x93, 0x94, 0xcf, 0x64, 0x45, 0xb5, 0x42, 0xb9, 0x9a, 0x93, 0x15, 0x30, 0x49, 0xf9, 0xca, 0xef, |
| 1263 | 0x2c, 0x4f, 0x3c, 0xfe, 0xc7, 0xf2, 0xdc, 0x87, 0xc6, 0xd0, 0xf7, 0x58, 0x2c, 0x7a, 0x4f, 0xae, |
| 1264 | 0x70, 0xf7, 0x4b, 0x80, 0x71, 0xdf, 0xdf, 0xa9, 0xd3, 0x69, 0x40, 0xc3, 0x50, 0xae, 0xc7, 0x1e, |
| 1265 | 0x52, 0x00, 0xed, 0x42, 0x95, 0xc9, 0x61, 0x5f, 0x6e, 0x70, 0x45, 0x41, 0xb1, 0xfc, 0x43, 0x1a, |
| 1266 | 0xdc, 0x3a, 0x13, 0x1a, 0xca, 0x90, 0xcb, 0xdf, 0x8c, 0x61, 0x92, 0xf2, 0x95, 0x5f, 0x4a, 0x50, |
| 1267 | 0x13, 0x28, 0x42, 0xb0, 0x81, 0xed, 0x19, 0xe5, 0x55, 0x68, 0x10, 0xfe, 0x9d, 0x8f, 0xa0, 0x74, |
| 1268 | 0x3f, 0x82, 0xc7, 0x50, 0x31, 0xbc, 0x85, 0xe9, 0x89, 0xec, 0x63, 0x82, 0xd9, 0x31, 0x47, 0xf6, |
| 1269 | 0x35, 0x4f, 0xb8, 0x42, 0xf8, 0x37, 0xc3, 0xba, 0x0c, 0x8b, 0x53, 0xe4, 0xdf, 0xe8, 0xdf, 0x00, |
| 1270 | 0x98, 0xd2, 0x69, 0xa8, 0xd9, 0x73, 0xdf, 0x95, 0xab, 0x9d, 0xe2, 0x41, 0x9d, 0x64, 0x10, 0xe6, |
| 1271 | 0x9b, 0x53, 0xbd, 0x9b, 0xc9, 0x9c, 0x1f, 0x85, 0x3a, 0x59, 0x02, 0x29, 0x57, 0xbf, 0x9e, 0xcd, |
| 1272 | 0x79, 0x6d, 0x12, 0x2e, 0x03, 0x90, 0x0c, 0xb5, 0x3e, 0x9d, 0xb1, 0x82, 0x88, 0xe2, 0x24, 0x24, |
| 1273 | 0xf3, 0xca, 0xcd, 0xc7, 0x4d, 0x01, 0x1e, 0x78, 0x06, 0x61, 0x76, 0x99, 0xfd, 0x98, 0xdd, 0x8c, |
| 1274 | 0x33, 0x4e, 0x81, 0xd5, 0xae, 0x6e, 0xae, 0xe9, 0xaa, 0x62, 0xc3, 0x63, 0x03, 0x8f, 0x47, 0x81, |
| 1275 | 0x7d, 0x75, 0xe5, 0x4c, 0xcc, 0xc9, 0x0d, 0x9d, 0x2e, 0x5c, 0x1a, 0x84, 0x48, 0x87, 0xad, 0x88, |
| 1276 | 0x81, 0x4b, 0x88, 0x17, 0xbb, 0x79, 0xf4, 0xec, 0x30, 0x77, 0xeb, 0x57, 0x34, 0xc9, 0x7d, 0x3d, |
| 1277 | 0xe5, 0x00, 0x36, 0x0c, 0x3c, 0x0e, 0x51, 0x07, 0x2a, 0x4e, 0x44, 0x67, 0xcc, 0x10, 0xeb, 0x34, |
| 1278 | 0x88, 0x4e, 0x1b, 0x78, 0x4c, 0x62, 0x86, 0xf2, 0x15, 0xd4, 0x45, 0x87, 0x43, 0xf4, 0x3c, 0x2f, |
| 1279 | 0x7d, 0xff, 0x5c, 0xa4, 0x1a, 0xc0, 0xf4, 0xe9, 0xa7, 0x05, 0x0d, 0xa3, 0x95, 0xab, 0x50, 0x5c, |
| 1280 | 0xbd, 0x0a, 0xca, 0x4b, 0x80, 0xa1, 0x81, 0x13, 0x8d, 0xcc, 0xa1, 0x9e, 0x72, 0xf1, 0xd6, 0xf2, |
| 1281 | 0x50, 0x4f, 0x95, 0x5f, 0xcb, 0xd0, 0x50, 0x5d, 0x3b, 0x98, 0x8d, 0x3e, 0xcf, 0xa9, 0xf2, 0x73, |
| 1282 | 0x19, 0x2a, 0xec, 0x23, 0x44, 0x35, 0x28, 0x0f, 0x0c, 0x53, 0x2a, 0xa0, 0x36, 0x40, 0xef, 0xa3, |
| 1283 | 0x8e, 0xfb, 0x56, 0x5f, 0x35, 0x87, 0x52, 0x11, 0xb5, 0xa0, 0x61, 0xe0, 0xb1, 0xa5, 0x0e, 0x54, |
| 1284 | 0x72, 0x2e, 0x95, 0xd0, 0x13, 0x78, 0xc4, 0x48, 0x73, 0xa4, 0x92, 0xd1, 0x78, 0x68, 0x9d, 0xaa, |
| 1285 | 0xfa, 0x60, 0x4c, 0x34, 0xa9, 0x8c, 0x76, 0x01, 0x71, 0x86, 0xde, 0xc7, 0xea, 0xc0, 0xea, 0x69, |
| 1286 | 0x7d, 0xa2, 0xf6, 0x34, 0x69, 0x23, 0x51, 0xe8, 0x11, 0xfd, 0x74, 0x64, 0x19, 0xa7, 0xd6, 0x07, |
| 1287 | 0x1d, 0xf7, 0x8c, 0x0f, 0x52, 0x05, 0xed, 0x83, 0xcc, 0x18, 0x03, 0xc3, 0x34, 0x19, 0x6e, 0x9c, |
| 1288 | 0x77, 0x75, 0xab, 0xfb, 0x5e, 0xc5, 0x58, 0x1b, 0x48, 0xd5, 0xd4, 0x0f, 0x37, 0x67, 0xa6, 0x7e, |
| 1289 | 0x6a, 0xe8, 0x05, 0xfc, 0x97, 0x31, 0x46, 0x44, 0xc5, 0xe6, 0xb9, 0x6e, 0x9a, 0xba, 0x81, 0x2d, |
| 1290 | 0x1d, 0x8f, 0x34, 0x72, 0xaa, 0x11, 0x0d, 0x77, 0x35, 0xeb, 0x83, 0x4a, 0xb0, 0x8e, 0xfb, 0x52, |
| 1291 | 0x1d, 0xed, 0xc1, 0x2e, 0x0f, 0xbd, 0x3b, 0xd2, 0x2f, 0xd4, 0x11, 0x13, 0x4c, 0xcc, 0x34, 0x90, |
| 1292 | 0xcc, 0x0f, 0x89, 0x35, 0x24, 0x46, 0x57, 0x33, 0x4d, 0x96, 0xaf, 0x46, 0x88, 0x41, 0x24, 0x40, |
| 1293 | 0x1d, 0xd8, 0xcf, 0xc6, 0x75, 0xa6, 0x7d, 0xb4, 0xcc, 0x8f, 0xb8, 0x9b, 0xea, 0x36, 0xd1, 0x0e, |
| 1294 | 0x6c, 0x33, 0x09, 0x7d, 0x34, 0xb6, 0x86, 0x06, 0x66, 0xb5, 0x18, 0x99, 0xd2, 0x26, 0xda, 0x86, |
| 1295 | 0x56, 0x5a, 0x29, 0xa6, 0x2e, 0xb5, 0xee, 0x43, 0x27, 0x52, 0x3b, 0x49, 0x2c, 0x81, 0x86, 0x5d, |
| 1296 | 0x8b, 0x65, 0x21, 0x6d, 0x25, 0xf5, 0xc8, 0x31, 0xba, 0x22, 0x2a, 0x09, 0x21, 0x68, 0x67, 0xb9, |
| 1297 | 0xa7, 0xba, 0xb4, 0x8d, 0x1e, 0xc1, 0x56, 0x16, 0x53, 0xcf, 0x75, 0x09, 0x29, 0x6f, 0xa1, 0xcd, |
| 1298 | 0xfb, 0x3b, 0xb4, 0x03, 0x7b, 0x46, 0x23, 0x1a, 0x20, 0x09, 0xca, 0x67, 0xf4, 0xb3, 0x38, 0x39, |
| 1299 | 0xec, 0x93, 0x4d, 0x8e, 0x0b, 0xdb, 0x5d, 0x24, 0x9b, 0x27, 0x26, 0x94, 0x1f, 0x8b, 0xdc, 0x1e, |
| 1300 | 0xd7, 0xce, 0x1c, 0xa6, 0xf4, 0xb4, 0x08, 0x0b, 0x4b, 0xe0, 0x41, 0x73, 0x7a, 0x17, 0xaa, 0xec, |
| 1301 | 0x5a, 0x2e, 0x42, 0x31, 0xa6, 0x04, 0x85, 0xbe, 0x01, 0x48, 0x43, 0x0c, 0xe5, 0x0d, 0x7e, 0x23, |
| 1302 | 0x76, 0xc4, 0x8d, 0xc8, 0x27, 0x40, 0x32, 0x82, 0xca, 0x27, 0xd8, 0x32, 0x06, 0xa3, 0x5c, 0x8c, |
| 1303 | 0x1d, 0x68, 0xf2, 0x01, 0x70, 0x65, 0x4f, 0xa8, 0x58, 0x23, 0x2d, 0x92, 0x85, 0xd2, 0xb9, 0xc1, |
| 1304 | 0x48, 0x9e, 0x49, 0x29, 0x33, 0x37, 0x12, 0xf0, 0x4b, 0x91, 0x2a, 0x3f, 0x14, 0xa1, 0x75, 0x41, |
| 1305 | 0x83, 0xd0, 0xf1, 0x3d, 0x91, 0x93, 0x0c, 0xb5, 0xdb, 0x18, 0x10, 0x35, 0x49, 0x48, 0x56, 0xaf, |
| 1306 | 0xcb, 0x85, 0xe3, 0x4e, 0x47, 0xce, 0x2c, 0xdd, 0xeb, 0x29, 0xc0, 0xa6, 0xdf, 0xc4, 0x9f, 0xcd, |
| 1307 | 0x9c, 0xe8, 0xbd, 0x1d, 0xde, 0x08, 0x2f, 0x19, 0x84, 0x69, 0x5f, 0x3b, 0x91, 0x08, 0x22, 0xde, |
| 1308 | 0x58, 0x4b, 0x40, 0x79, 0x0b, 0xf5, 0x81, 0x7f, 0x3d, 0xa0, 0xb7, 0xd4, 0x65, 0x1d, 0x74, 0xd9, |
| 1309 | 0x87, 0xf0, 0x1f, 0x13, 0x2c, 0x83, 0x89, 0xed, 0xba, 0xa2, 0x13, 0x75, 0x22, 0x28, 0x45, 0x83, |
| 1310 | 0x3a, 0xa1, 0xe1, 0xdc, 0xf7, 0x42, 0x8a, 0x9e, 0x41, 0x33, 0xe4, 0xf6, 0xac, 0x89, 0x3f, 0xa5, |
| 1311 | 0x62, 0xe9, 0x42, 0x0c, 0x75, 0xfd, 0x29, 0x65, 0xc9, 0xcd, 0x68, 0x18, 0xda, 0xd7, 0x49, 0x02, |
| 1312 | 0x09, 0xa9, 0x84, 0xd0, 0x64, 0xe3, 0x3d, 0xa9, 0xfb, 0x0b, 0xa8, 0x1a, 0xde, 0x82, 0xd0, 0x4f, |
| 1313 | 0x62, 0x8c, 0x6e, 0x67, 0xa6, 0x5f, 0x2c, 0x42, 0x84, 0x00, 0x7a, 0x07, 0x9b, 0xe6, 0xe2, 0x52, |
| 1314 | 0x9d, 0x44, 0x8e, 0xef, 0x5d, 0xd8, 0x2e, 0x37, 0xdc, 0x4e, 0xdb, 0x9d, 0xb2, 0xf8, 0x28, 0x22, |
| 1315 | 0x39, 0x51, 0xe5, 0x0c, 0x2a, 0xa7, 0xae, 0x7f, 0x17, 0xa2, 0x7f, 0x01, 0x5c, 0xb9, 0xfe, 0x9d, |
| 1316 | 0x35, 0xf1, 0x17, 0x5e, 0x94, 0x0c, 0x36, 0x86, 0x74, 0x19, 0x80, 0xfe, 0x03, 0x15, 0x46, 0xb0, |
| 1317 | 0x3d, 0xc9, 0x8e, 0x52, 0xeb, 0x30, 0x79, 0xe6, 0x31, 0x6d, 0x12, 0xf3, 0x94, 0x1a, 0x54, 0xb4, |
| 1318 | 0xd9, 0x3c, 0xfa, 0xfc, 0xf2, 0x0d, 0xb4, 0xf3, 0x5e, 0x51, 0x1d, 0x36, 0xbe, 0x37, 0x74, 0x2c, |
| 1319 | 0x15, 0x50, 0x03, 0x2a, 0x03, 0x4d, 0xbd, 0xd0, 0xa4, 0x22, 0x02, 0xa8, 0x32, 0xf0, 0xe2, 0x58, |
| 1320 | 0x2a, 0x1d, 0xfd, 0xd4, 0x80, 0xca, 0xc9, 0x89, 0xe9, 0xcc, 0xd0, 0x6b, 0xa8, 0x89, 0xf3, 0x80, |
| 1321 | 0x36, 0x45, 0x0a, 0xdc, 0xea, 0xde, 0x63, 0x41, 0xe5, 0x4e, 0x8b, 0x52, 0x40, 0x6f, 0xa0, 0x69, |
| 1322 | 0xd2, 0x28, 0x6d, 0xde, 0x96, 0x10, 0x4b, 0x80, 0xbd, 0xfb, 0x80, 0x52, 0x40, 0xcf, 0xa1, 0xda, |
| 1323 | 0xa7, 0x11, 0x7b, 0x04, 0xe6, 0x5d, 0xa4, 0x2b, 0xc6, 0x8d, 0x94, 0x02, 0x7a, 0x05, 0x30, 0xf4, |
| 1324 | 0xef, 0x68, 0xe0, 0x7b, 0xab, 0x92, 0x89, 0xd1, 0xa4, 0xf3, 0x4a, 0x01, 0x1d, 0x42, 0xd3, 0xbc, |
| 1325 | 0x59, 0x44, 0x53, 0xff, 0xee, 0x61, 0xf2, 0xff, 0x87, 0x06, 0xa1, 0x97, 0xbe, 0x1f, 0x3d, 0x48, |
| 1326 | 0xfa, 0x45, 0x1c, 0x32, 0x1e, 0xa3, 0xd5, 0x93, 0xb0, 0x97, 0x59, 0x8d, 0x4a, 0x01, 0xfd, 0x8f, |
| 1327 | 0x3d, 0x10, 0x22, 0xbe, 0x42, 0xf3, 0x66, 0x9b, 0x4b, 0xb1, 0x30, 0x0e, 0xb8, 0x4f, 0xa3, 0x74, |
| 1328 | 0x81, 0xae, 0x0f, 0x21, 0x61, 0x2b, 0x05, 0xf4, 0x2d, 0xb4, 0x99, 0x5d, 0x6f, 0x91, 0xaa, 0xac, |
| 1329 | 0x09, 0x65, 0x8d, 0xde, 0x71, 0xa6, 0x30, 0xeb, 0xe3, 0x5f, 0x93, 0xef, 0x11, 0x6c, 0x25, 0x4a, |
| 1330 | 0xaa, 0xeb, 0xae, 0x49, 0x66, 0x8d, 0xce, 0x3b, 0xd8, 0xce, 0x38, 0x0a, 0x0d, 0x6f, 0x68, 0xe0, |
| 1331 | 0xd4, 0xdd, 0x72, 0x89, 0xaf, 0x77, 0x97, 0xf6, 0xfa, 0xc1, 0x21, 0xbe, 0x81, 0xb6, 0xd0, 0x79, |
| 1332 | 0x70, 0x84, 0x6f, 0x41, 0x5a, 0xba, 0xf9, 0x4b, 0x01, 0x7e, 0x0d, 0x9b, 0x84, 0x86, 0x91, 0x1d, |
| 1333 | 0x44, 0xf1, 0x0b, 0xf2, 0x61, 0x21, 0x1e, 0x43, 0x53, 0x68, 0xf1, 0x87, 0xe5, 0xc3, 0x94, 0x4e, |
| 1334 | 0x60, 0xc7, 0xe4, 0x7d, 0xe6, 0x8b, 0x40, 0xf7, 0xa6, 0xce, 0xc4, 0x66, 0x57, 0x19, 0xed, 0x2e, |
| 1335 | 0xd5, 0xb3, 0x3b, 0xe2, 0x4f, 0x6c, 0xb8, 0xd1, 0x17, 0x6d, 0xe4, 0xf7, 0xcc, 0x3a, 0x1b, 0xaf, |
| 1336 | 0xa0, 0xde, 0xa7, 0x51, 0x3c, 0x9f, 0xd6, 0x44, 0x9e, 0x14, 0x9b, 0x0b, 0xf0, 0xda, 0x6e, 0x75, |
| 1337 | 0x6f, 0x6c, 0xef, 0x9a, 0xb2, 0x31, 0x1a, 0x3f, 0x69, 0x91, 0x10, 0xc9, 0x0c, 0xd6, 0x75, 0x8e, |
| 1338 | 0xce, 0xe0, 0x49, 0x7c, 0xb0, 0x57, 0x9f, 0xb5, 0x6b, 0xfc, 0x3e, 0x5d, 0x42, 0x2b, 0xf2, 0x4a, |
| 1339 | 0xe1, 0xb2, 0xca, 0xff, 0xd7, 0x1e, 0xff, 0x11, 0x00, 0x00, 0xff, 0xff, 0xb9, 0x5c, 0x3f, 0xfa, |
| 1340 | 0x36, 0x0f, 0x00, 0x00, |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1341 | } |
| 1342 | |
| 1343 | // Reference imports to suppress errors if they are not otherwise used. |
| 1344 | var _ context.Context |
Kent Hagerman | 60d6230 | 2020-03-10 17:02:36 -0400 | [diff] [blame] | 1345 | var _ grpc.ClientConn |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1346 | |
| 1347 | // This is a compile-time assertion to ensure that this generated file |
| 1348 | // is compatible with the grpc package it is being compiled against. |
Kent Hagerman | 60d6230 | 2020-03-10 17:02:36 -0400 | [diff] [blame] | 1349 | const _ = grpc.SupportPackageIsVersion4 |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1350 | |
| 1351 | // BBSimClient is the client API for BBSim service. |
| 1352 | // |
| 1353 | // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 1354 | type BBSimClient interface { |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1355 | // Get BBSim version |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1356 | Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1357 | // Set BBSim log level |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1358 | SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1359 | // Get current status of OLT |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1360 | GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1361 | // Poweron OLT |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 1362 | PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1363 | // Shutdown OLT |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 1364 | ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1365 | // Reboot OLT |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 1366 | RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1367 | // Get status of an ONU by serial number |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1368 | GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1369 | // Get status of all ONUs |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1370 | GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 1371 | // Get all the Services |
| 1372 | GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error) |
| 1373 | // Get all the Services of an ONU by serial number |
| 1374 | GetOnuServices(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Services, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1375 | // Shutdown an ONU by serial number |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1376 | ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1377 | // Shutdown all ONUs in OLT |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1378 | ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1379 | // Shutdown all ONUs under a PON by pon-port-ID |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1380 | ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1381 | // Poweron an ONU by serial number |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1382 | PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1383 | // Poweron all ONUs in OLT |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1384 | PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1385 | // Poweron all ONUs under a PON by pon-port-ID |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1386 | PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1387 | // Restart EAPOL for ONU |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1388 | RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1389 | // Resatrt DHCP for ONU |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1390 | RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1391 | // Send ONU alarm indication |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1392 | SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1393 | // Send OLT alarm indication for Interface type NNI or PON |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1394 | SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1395 | // Get all flows or ONU specific flows |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame] | 1396 | GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1397 | // Chnage IGMP state |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1398 | ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1399 | // Get Traffic scheduler information for ONU |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 1400 | GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1401 | } |
| 1402 | |
| 1403 | type bBSimClient struct { |
Kent Hagerman | 60d6230 | 2020-03-10 17:02:36 -0400 | [diff] [blame] | 1404 | cc *grpc.ClientConn |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1405 | } |
| 1406 | |
Kent Hagerman | 60d6230 | 2020-03-10 17:02:36 -0400 | [diff] [blame] | 1407 | func NewBBSimClient(cc *grpc.ClientConn) BBSimClient { |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1408 | return &bBSimClient{cc} |
| 1409 | } |
| 1410 | |
| 1411 | func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) { |
| 1412 | out := new(VersionNumber) |
| 1413 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...) |
| 1414 | if err != nil { |
| 1415 | return nil, err |
| 1416 | } |
| 1417 | return out, nil |
| 1418 | } |
| 1419 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1420 | func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) { |
| 1421 | out := new(LogLevel) |
| 1422 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...) |
| 1423 | if err != nil { |
| 1424 | return nil, err |
| 1425 | } |
| 1426 | return out, nil |
| 1427 | } |
| 1428 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1429 | func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) { |
| 1430 | out := new(Olt) |
| 1431 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...) |
| 1432 | if err != nil { |
| 1433 | return nil, err |
| 1434 | } |
| 1435 | return out, nil |
| 1436 | } |
| 1437 | |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 1438 | func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) { |
| 1439 | out := new(Response) |
| 1440 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...) |
| 1441 | if err != nil { |
| 1442 | return nil, err |
| 1443 | } |
| 1444 | return out, nil |
| 1445 | } |
| 1446 | |
| 1447 | func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) { |
| 1448 | out := new(Response) |
| 1449 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...) |
| 1450 | if err != nil { |
| 1451 | return nil, err |
| 1452 | } |
| 1453 | return out, nil |
| 1454 | } |
| 1455 | |
| 1456 | func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) { |
| 1457 | out := new(Response) |
| 1458 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...) |
| 1459 | if err != nil { |
| 1460 | return nil, err |
| 1461 | } |
| 1462 | return out, nil |
| 1463 | } |
| 1464 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1465 | func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) { |
| 1466 | out := new(ONU) |
| 1467 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...) |
| 1468 | if err != nil { |
| 1469 | return nil, err |
| 1470 | } |
| 1471 | return out, nil |
| 1472 | } |
| 1473 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1474 | func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) { |
| 1475 | out := new(ONUs) |
| 1476 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1477 | if err != nil { |
| 1478 | return nil, err |
| 1479 | } |
| 1480 | return out, nil |
| 1481 | } |
| 1482 | |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 1483 | func (c *bBSimClient) GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error) { |
| 1484 | out := new(Services) |
| 1485 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetServices", in, out, opts...) |
| 1486 | if err != nil { |
| 1487 | return nil, err |
| 1488 | } |
| 1489 | return out, nil |
| 1490 | } |
| 1491 | |
| 1492 | func (c *bBSimClient) GetOnuServices(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Services, error) { |
| 1493 | out := new(Services) |
| 1494 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuServices", in, out, opts...) |
| 1495 | if err != nil { |
| 1496 | return nil, err |
| 1497 | } |
| 1498 | return out, nil |
| 1499 | } |
| 1500 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1501 | func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) { |
| 1502 | out := new(Response) |
| 1503 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...) |
| 1504 | if err != nil { |
| 1505 | return nil, err |
| 1506 | } |
| 1507 | return out, nil |
| 1508 | } |
| 1509 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1510 | func (c *bBSimClient) ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) { |
| 1511 | out := new(Response) |
| 1512 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownAllONUs", in, out, opts...) |
| 1513 | if err != nil { |
| 1514 | return nil, err |
| 1515 | } |
| 1516 | return out, nil |
| 1517 | } |
| 1518 | |
| 1519 | func (c *bBSimClient) ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) { |
| 1520 | out := new(Response) |
| 1521 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONUsOnPON", in, out, opts...) |
| 1522 | if err != nil { |
| 1523 | return nil, err |
| 1524 | } |
| 1525 | return out, nil |
| 1526 | } |
| 1527 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1528 | func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) { |
| 1529 | out := new(Response) |
| 1530 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...) |
| 1531 | if err != nil { |
| 1532 | return nil, err |
| 1533 | } |
| 1534 | return out, nil |
| 1535 | } |
| 1536 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1537 | func (c *bBSimClient) PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) { |
| 1538 | out := new(Response) |
| 1539 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronAllONUs", in, out, opts...) |
| 1540 | if err != nil { |
| 1541 | return nil, err |
| 1542 | } |
| 1543 | return out, nil |
| 1544 | } |
| 1545 | |
| 1546 | func (c *bBSimClient) PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) { |
| 1547 | out := new(Response) |
| 1548 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONUsOnPON", in, out, opts...) |
| 1549 | if err != nil { |
| 1550 | return nil, err |
| 1551 | } |
| 1552 | return out, nil |
| 1553 | } |
| 1554 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1555 | func (c *bBSimClient) RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) { |
| 1556 | out := new(Response) |
| 1557 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...) |
| 1558 | if err != nil { |
| 1559 | return nil, err |
| 1560 | } |
| 1561 | return out, nil |
| 1562 | } |
| 1563 | |
| 1564 | func (c *bBSimClient) RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) { |
| 1565 | out := new(Response) |
| 1566 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...) |
| 1567 | if err != nil { |
| 1568 | return nil, err |
| 1569 | } |
| 1570 | return out, nil |
| 1571 | } |
| 1572 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1573 | func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) { |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1574 | out := new(Response) |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1575 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...) |
| 1576 | if err != nil { |
| 1577 | return nil, err |
| 1578 | } |
| 1579 | return out, nil |
| 1580 | } |
| 1581 | |
| 1582 | func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) { |
| 1583 | out := new(Response) |
| 1584 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1585 | if err != nil { |
| 1586 | return nil, err |
| 1587 | } |
| 1588 | return out, nil |
| 1589 | } |
| 1590 | |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame] | 1591 | func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) { |
| 1592 | out := new(Flows) |
| 1593 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...) |
| 1594 | if err != nil { |
| 1595 | return nil, err |
| 1596 | } |
| 1597 | return out, nil |
| 1598 | } |
| 1599 | |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1600 | func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) { |
| 1601 | out := new(Response) |
| 1602 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...) |
| 1603 | if err != nil { |
| 1604 | return nil, err |
| 1605 | } |
| 1606 | return out, nil |
| 1607 | } |
| 1608 | |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 1609 | func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) { |
| 1610 | out := new(ONUTrafficSchedulers) |
| 1611 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...) |
| 1612 | if err != nil { |
| 1613 | return nil, err |
| 1614 | } |
| 1615 | return out, nil |
| 1616 | } |
| 1617 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1618 | // BBSimServer is the server API for BBSim service. |
| 1619 | type BBSimServer interface { |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1620 | // Get BBSim version |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1621 | Version(context.Context, *Empty) (*VersionNumber, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1622 | // Set BBSim log level |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1623 | SetLogLevel(context.Context, *LogLevel) (*LogLevel, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1624 | // Get current status of OLT |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1625 | GetOlt(context.Context, *Empty) (*Olt, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1626 | // Poweron OLT |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 1627 | PoweronOlt(context.Context, *Empty) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1628 | // Shutdown OLT |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 1629 | ShutdownOlt(context.Context, *Empty) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1630 | // Reboot OLT |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 1631 | RebootOlt(context.Context, *Empty) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1632 | // Get status of an ONU by serial number |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1633 | GetONU(context.Context, *ONURequest) (*ONU, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1634 | // Get status of all ONUs |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1635 | GetONUs(context.Context, *Empty) (*ONUs, error) |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 1636 | // Get all the Services |
| 1637 | GetServices(context.Context, *Empty) (*Services, error) |
| 1638 | // Get all the Services of an ONU by serial number |
| 1639 | GetOnuServices(context.Context, *ONURequest) (*Services, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1640 | // Shutdown an ONU by serial number |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1641 | ShutdownONU(context.Context, *ONURequest) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1642 | // Shutdown all ONUs in OLT |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1643 | ShutdownAllONUs(context.Context, *Empty) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1644 | // Shutdown all ONUs under a PON by pon-port-ID |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1645 | ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1646 | // Poweron an ONU by serial number |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1647 | PoweronONU(context.Context, *ONURequest) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1648 | // Poweron all ONUs in OLT |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1649 | PoweronAllONUs(context.Context, *Empty) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1650 | // Poweron all ONUs under a PON by pon-port-ID |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1651 | PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1652 | // Restart EAPOL for ONU |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1653 | RestartEapol(context.Context, *ONURequest) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1654 | // Resatrt DHCP for ONU |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1655 | RestartDhcp(context.Context, *ONURequest) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1656 | // Send ONU alarm indication |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1657 | SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1658 | // Send OLT alarm indication for Interface type NNI or PON |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1659 | SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1660 | // Get all flows or ONU specific flows |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame] | 1661 | GetFlows(context.Context, *ONURequest) (*Flows, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1662 | // Chnage IGMP state |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1663 | ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1664 | // Get Traffic scheduler information for ONU |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 1665 | GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1666 | } |
| 1667 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1668 | // UnimplementedBBSimServer can be embedded to have forward compatible implementations. |
| 1669 | type UnimplementedBBSimServer struct { |
| 1670 | } |
| 1671 | |
| 1672 | func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) { |
| 1673 | return nil, status.Errorf(codes.Unimplemented, "method Version not implemented") |
| 1674 | } |
| 1675 | func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) { |
| 1676 | return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented") |
| 1677 | } |
| 1678 | func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) { |
| 1679 | return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented") |
| 1680 | } |
| 1681 | func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) { |
| 1682 | return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented") |
| 1683 | } |
| 1684 | func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) { |
| 1685 | return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented") |
| 1686 | } |
| 1687 | func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) { |
| 1688 | return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented") |
| 1689 | } |
| 1690 | func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) { |
| 1691 | return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented") |
| 1692 | } |
| 1693 | func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) { |
| 1694 | return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented") |
| 1695 | } |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 1696 | func (*UnimplementedBBSimServer) GetServices(ctx context.Context, req *Empty) (*Services, error) { |
| 1697 | return nil, status.Errorf(codes.Unimplemented, "method GetServices not implemented") |
| 1698 | } |
| 1699 | func (*UnimplementedBBSimServer) GetOnuServices(ctx context.Context, req *ONURequest) (*Services, error) { |
| 1700 | return nil, status.Errorf(codes.Unimplemented, "method GetOnuServices not implemented") |
| 1701 | } |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1702 | func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) { |
| 1703 | return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented") |
| 1704 | } |
| 1705 | func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error) { |
| 1706 | return nil, status.Errorf(codes.Unimplemented, "method ShutdownAllONUs not implemented") |
| 1707 | } |
| 1708 | func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) { |
| 1709 | return nil, status.Errorf(codes.Unimplemented, "method ShutdownONUsOnPON not implemented") |
| 1710 | } |
| 1711 | func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) { |
| 1712 | return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented") |
| 1713 | } |
| 1714 | func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error) { |
| 1715 | return nil, status.Errorf(codes.Unimplemented, "method PoweronAllONUs not implemented") |
| 1716 | } |
| 1717 | func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) { |
| 1718 | return nil, status.Errorf(codes.Unimplemented, "method PoweronONUsOnPON not implemented") |
| 1719 | } |
| 1720 | func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *ONURequest) (*Response, error) { |
| 1721 | return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented") |
| 1722 | } |
| 1723 | func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *ONURequest) (*Response, error) { |
| 1724 | return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented") |
| 1725 | } |
| 1726 | func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) { |
| 1727 | return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented") |
| 1728 | } |
| 1729 | func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) { |
| 1730 | return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented") |
| 1731 | } |
| 1732 | func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) { |
| 1733 | return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented") |
| 1734 | } |
| 1735 | func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) { |
| 1736 | return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented") |
| 1737 | } |
| 1738 | func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) { |
| 1739 | return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented") |
| 1740 | } |
| 1741 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1742 | func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) { |
| 1743 | s.RegisterService(&_BBSim_serviceDesc, srv) |
| 1744 | } |
| 1745 | |
| 1746 | func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1747 | in := new(Empty) |
| 1748 | if err := dec(in); err != nil { |
| 1749 | return nil, err |
| 1750 | } |
| 1751 | if interceptor == nil { |
| 1752 | return srv.(BBSimServer).Version(ctx, in) |
| 1753 | } |
| 1754 | info := &grpc.UnaryServerInfo{ |
| 1755 | Server: srv, |
| 1756 | FullMethod: "/bbsim.BBSim/Version", |
| 1757 | } |
| 1758 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1759 | return srv.(BBSimServer).Version(ctx, req.(*Empty)) |
| 1760 | } |
| 1761 | return interceptor(ctx, in, info, handler) |
| 1762 | } |
| 1763 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1764 | func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1765 | in := new(LogLevel) |
| 1766 | if err := dec(in); err != nil { |
| 1767 | return nil, err |
| 1768 | } |
| 1769 | if interceptor == nil { |
| 1770 | return srv.(BBSimServer).SetLogLevel(ctx, in) |
| 1771 | } |
| 1772 | info := &grpc.UnaryServerInfo{ |
| 1773 | Server: srv, |
| 1774 | FullMethod: "/bbsim.BBSim/SetLogLevel", |
| 1775 | } |
| 1776 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1777 | return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel)) |
| 1778 | } |
| 1779 | return interceptor(ctx, in, info, handler) |
| 1780 | } |
| 1781 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1782 | func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1783 | in := new(Empty) |
| 1784 | if err := dec(in); err != nil { |
| 1785 | return nil, err |
| 1786 | } |
| 1787 | if interceptor == nil { |
| 1788 | return srv.(BBSimServer).GetOlt(ctx, in) |
| 1789 | } |
| 1790 | info := &grpc.UnaryServerInfo{ |
| 1791 | Server: srv, |
| 1792 | FullMethod: "/bbsim.BBSim/GetOlt", |
| 1793 | } |
| 1794 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1795 | return srv.(BBSimServer).GetOlt(ctx, req.(*Empty)) |
| 1796 | } |
| 1797 | return interceptor(ctx, in, info, handler) |
| 1798 | } |
| 1799 | |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 1800 | func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1801 | in := new(Empty) |
| 1802 | if err := dec(in); err != nil { |
| 1803 | return nil, err |
| 1804 | } |
| 1805 | if interceptor == nil { |
| 1806 | return srv.(BBSimServer).PoweronOlt(ctx, in) |
| 1807 | } |
| 1808 | info := &grpc.UnaryServerInfo{ |
| 1809 | Server: srv, |
| 1810 | FullMethod: "/bbsim.BBSim/PoweronOlt", |
| 1811 | } |
| 1812 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1813 | return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty)) |
| 1814 | } |
| 1815 | return interceptor(ctx, in, info, handler) |
| 1816 | } |
| 1817 | |
| 1818 | func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1819 | in := new(Empty) |
| 1820 | if err := dec(in); err != nil { |
| 1821 | return nil, err |
| 1822 | } |
| 1823 | if interceptor == nil { |
| 1824 | return srv.(BBSimServer).ShutdownOlt(ctx, in) |
| 1825 | } |
| 1826 | info := &grpc.UnaryServerInfo{ |
| 1827 | Server: srv, |
| 1828 | FullMethod: "/bbsim.BBSim/ShutdownOlt", |
| 1829 | } |
| 1830 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1831 | return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty)) |
| 1832 | } |
| 1833 | return interceptor(ctx, in, info, handler) |
| 1834 | } |
| 1835 | |
| 1836 | func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1837 | in := new(Empty) |
| 1838 | if err := dec(in); err != nil { |
| 1839 | return nil, err |
| 1840 | } |
| 1841 | if interceptor == nil { |
| 1842 | return srv.(BBSimServer).RebootOlt(ctx, in) |
| 1843 | } |
| 1844 | info := &grpc.UnaryServerInfo{ |
| 1845 | Server: srv, |
| 1846 | FullMethod: "/bbsim.BBSim/RebootOlt", |
| 1847 | } |
| 1848 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1849 | return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty)) |
| 1850 | } |
| 1851 | return interceptor(ctx, in, info, handler) |
| 1852 | } |
| 1853 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1854 | func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1855 | in := new(ONURequest) |
| 1856 | if err := dec(in); err != nil { |
| 1857 | return nil, err |
| 1858 | } |
| 1859 | if interceptor == nil { |
| 1860 | return srv.(BBSimServer).GetONU(ctx, in) |
| 1861 | } |
| 1862 | info := &grpc.UnaryServerInfo{ |
| 1863 | Server: srv, |
| 1864 | FullMethod: "/bbsim.BBSim/GetONU", |
| 1865 | } |
| 1866 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1867 | return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest)) |
| 1868 | } |
| 1869 | return interceptor(ctx, in, info, handler) |
| 1870 | } |
| 1871 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1872 | func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1873 | in := new(Empty) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1874 | if err := dec(in); err != nil { |
| 1875 | return nil, err |
| 1876 | } |
| 1877 | if interceptor == nil { |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1878 | return srv.(BBSimServer).GetONUs(ctx, in) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1879 | } |
| 1880 | info := &grpc.UnaryServerInfo{ |
| 1881 | Server: srv, |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1882 | FullMethod: "/bbsim.BBSim/GetONUs", |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1883 | } |
| 1884 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1885 | return srv.(BBSimServer).GetONUs(ctx, req.(*Empty)) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1886 | } |
| 1887 | return interceptor(ctx, in, info, handler) |
| 1888 | } |
| 1889 | |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 1890 | func _BBSim_GetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1891 | in := new(Empty) |
| 1892 | if err := dec(in); err != nil { |
| 1893 | return nil, err |
| 1894 | } |
| 1895 | if interceptor == nil { |
| 1896 | return srv.(BBSimServer).GetServices(ctx, in) |
| 1897 | } |
| 1898 | info := &grpc.UnaryServerInfo{ |
| 1899 | Server: srv, |
| 1900 | FullMethod: "/bbsim.BBSim/GetServices", |
| 1901 | } |
| 1902 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1903 | return srv.(BBSimServer).GetServices(ctx, req.(*Empty)) |
| 1904 | } |
| 1905 | return interceptor(ctx, in, info, handler) |
| 1906 | } |
| 1907 | |
| 1908 | func _BBSim_GetOnuServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1909 | in := new(ONURequest) |
| 1910 | if err := dec(in); err != nil { |
| 1911 | return nil, err |
| 1912 | } |
| 1913 | if interceptor == nil { |
| 1914 | return srv.(BBSimServer).GetOnuServices(ctx, in) |
| 1915 | } |
| 1916 | info := &grpc.UnaryServerInfo{ |
| 1917 | Server: srv, |
| 1918 | FullMethod: "/bbsim.BBSim/GetOnuServices", |
| 1919 | } |
| 1920 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1921 | return srv.(BBSimServer).GetOnuServices(ctx, req.(*ONURequest)) |
| 1922 | } |
| 1923 | return interceptor(ctx, in, info, handler) |
| 1924 | } |
| 1925 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1926 | func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1927 | in := new(ONURequest) |
| 1928 | if err := dec(in); err != nil { |
| 1929 | return nil, err |
| 1930 | } |
| 1931 | if interceptor == nil { |
| 1932 | return srv.(BBSimServer).ShutdownONU(ctx, in) |
| 1933 | } |
| 1934 | info := &grpc.UnaryServerInfo{ |
| 1935 | Server: srv, |
| 1936 | FullMethod: "/bbsim.BBSim/ShutdownONU", |
| 1937 | } |
| 1938 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1939 | return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest)) |
| 1940 | } |
| 1941 | return interceptor(ctx, in, info, handler) |
| 1942 | } |
| 1943 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1944 | func _BBSim_ShutdownAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1945 | in := new(Empty) |
| 1946 | if err := dec(in); err != nil { |
| 1947 | return nil, err |
| 1948 | } |
| 1949 | if interceptor == nil { |
| 1950 | return srv.(BBSimServer).ShutdownAllONUs(ctx, in) |
| 1951 | } |
| 1952 | info := &grpc.UnaryServerInfo{ |
| 1953 | Server: srv, |
| 1954 | FullMethod: "/bbsim.BBSim/ShutdownAllONUs", |
| 1955 | } |
| 1956 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1957 | return srv.(BBSimServer).ShutdownAllONUs(ctx, req.(*Empty)) |
| 1958 | } |
| 1959 | return interceptor(ctx, in, info, handler) |
| 1960 | } |
| 1961 | |
| 1962 | func _BBSim_ShutdownONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1963 | in := new(PONRequest) |
| 1964 | if err := dec(in); err != nil { |
| 1965 | return nil, err |
| 1966 | } |
| 1967 | if interceptor == nil { |
| 1968 | return srv.(BBSimServer).ShutdownONUsOnPON(ctx, in) |
| 1969 | } |
| 1970 | info := &grpc.UnaryServerInfo{ |
| 1971 | Server: srv, |
| 1972 | FullMethod: "/bbsim.BBSim/ShutdownONUsOnPON", |
| 1973 | } |
| 1974 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1975 | return srv.(BBSimServer).ShutdownONUsOnPON(ctx, req.(*PONRequest)) |
| 1976 | } |
| 1977 | return interceptor(ctx, in, info, handler) |
| 1978 | } |
| 1979 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1980 | func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1981 | in := new(ONURequest) |
| 1982 | if err := dec(in); err != nil { |
| 1983 | return nil, err |
| 1984 | } |
| 1985 | if interceptor == nil { |
| 1986 | return srv.(BBSimServer).PoweronONU(ctx, in) |
| 1987 | } |
| 1988 | info := &grpc.UnaryServerInfo{ |
| 1989 | Server: srv, |
| 1990 | FullMethod: "/bbsim.BBSim/PoweronONU", |
| 1991 | } |
| 1992 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1993 | return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest)) |
| 1994 | } |
| 1995 | return interceptor(ctx, in, info, handler) |
| 1996 | } |
| 1997 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1998 | func _BBSim_PoweronAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1999 | in := new(Empty) |
| 2000 | if err := dec(in); err != nil { |
| 2001 | return nil, err |
| 2002 | } |
| 2003 | if interceptor == nil { |
| 2004 | return srv.(BBSimServer).PoweronAllONUs(ctx, in) |
| 2005 | } |
| 2006 | info := &grpc.UnaryServerInfo{ |
| 2007 | Server: srv, |
| 2008 | FullMethod: "/bbsim.BBSim/PoweronAllONUs", |
| 2009 | } |
| 2010 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2011 | return srv.(BBSimServer).PoweronAllONUs(ctx, req.(*Empty)) |
| 2012 | } |
| 2013 | return interceptor(ctx, in, info, handler) |
| 2014 | } |
| 2015 | |
| 2016 | func _BBSim_PoweronONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2017 | in := new(PONRequest) |
| 2018 | if err := dec(in); err != nil { |
| 2019 | return nil, err |
| 2020 | } |
| 2021 | if interceptor == nil { |
| 2022 | return srv.(BBSimServer).PoweronONUsOnPON(ctx, in) |
| 2023 | } |
| 2024 | info := &grpc.UnaryServerInfo{ |
| 2025 | Server: srv, |
| 2026 | FullMethod: "/bbsim.BBSim/PoweronONUsOnPON", |
| 2027 | } |
| 2028 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2029 | return srv.(BBSimServer).PoweronONUsOnPON(ctx, req.(*PONRequest)) |
| 2030 | } |
| 2031 | return interceptor(ctx, in, info, handler) |
| 2032 | } |
| 2033 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2034 | func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2035 | in := new(ONURequest) |
| 2036 | if err := dec(in); err != nil { |
| 2037 | return nil, err |
| 2038 | } |
| 2039 | if interceptor == nil { |
| 2040 | return srv.(BBSimServer).RestartEapol(ctx, in) |
| 2041 | } |
| 2042 | info := &grpc.UnaryServerInfo{ |
| 2043 | Server: srv, |
| 2044 | FullMethod: "/bbsim.BBSim/RestartEapol", |
| 2045 | } |
| 2046 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2047 | return srv.(BBSimServer).RestartEapol(ctx, req.(*ONURequest)) |
| 2048 | } |
| 2049 | return interceptor(ctx, in, info, handler) |
| 2050 | } |
| 2051 | |
| 2052 | func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2053 | in := new(ONURequest) |
| 2054 | if err := dec(in); err != nil { |
| 2055 | return nil, err |
| 2056 | } |
| 2057 | if interceptor == nil { |
| 2058 | return srv.(BBSimServer).RestartDhcp(ctx, in) |
| 2059 | } |
| 2060 | info := &grpc.UnaryServerInfo{ |
| 2061 | Server: srv, |
| 2062 | FullMethod: "/bbsim.BBSim/RestartDhcp", |
| 2063 | } |
| 2064 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2065 | return srv.(BBSimServer).RestartDhcp(ctx, req.(*ONURequest)) |
| 2066 | } |
| 2067 | return interceptor(ctx, in, info, handler) |
| 2068 | } |
| 2069 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 2070 | func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2071 | in := new(ONUAlarmRequest) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 2072 | if err := dec(in); err != nil { |
| 2073 | return nil, err |
| 2074 | } |
| 2075 | if interceptor == nil { |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 2076 | return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 2077 | } |
| 2078 | info := &grpc.UnaryServerInfo{ |
| 2079 | Server: srv, |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 2080 | FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication", |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 2081 | } |
| 2082 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 2083 | return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest)) |
| 2084 | } |
| 2085 | return interceptor(ctx, in, info, handler) |
| 2086 | } |
| 2087 | |
| 2088 | func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2089 | in := new(OLTAlarmRequest) |
| 2090 | if err := dec(in); err != nil { |
| 2091 | return nil, err |
| 2092 | } |
| 2093 | if interceptor == nil { |
| 2094 | return srv.(BBSimServer).SetOltAlarmIndication(ctx, in) |
| 2095 | } |
| 2096 | info := &grpc.UnaryServerInfo{ |
| 2097 | Server: srv, |
| 2098 | FullMethod: "/bbsim.BBSim/SetOltAlarmIndication", |
| 2099 | } |
| 2100 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2101 | return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest)) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 2102 | } |
| 2103 | return interceptor(ctx, in, info, handler) |
| 2104 | } |
| 2105 | |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame] | 2106 | func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2107 | in := new(ONURequest) |
| 2108 | if err := dec(in); err != nil { |
| 2109 | return nil, err |
| 2110 | } |
| 2111 | if interceptor == nil { |
| 2112 | return srv.(BBSimServer).GetFlows(ctx, in) |
| 2113 | } |
| 2114 | info := &grpc.UnaryServerInfo{ |
| 2115 | Server: srv, |
| 2116 | FullMethod: "/bbsim.BBSim/GetFlows", |
| 2117 | } |
| 2118 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2119 | return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest)) |
| 2120 | } |
| 2121 | return interceptor(ctx, in, info, handler) |
| 2122 | } |
| 2123 | |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 2124 | func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2125 | in := new(IgmpRequest) |
| 2126 | if err := dec(in); err != nil { |
| 2127 | return nil, err |
| 2128 | } |
| 2129 | if interceptor == nil { |
| 2130 | return srv.(BBSimServer).ChangeIgmpState(ctx, in) |
| 2131 | } |
| 2132 | info := &grpc.UnaryServerInfo{ |
| 2133 | Server: srv, |
| 2134 | FullMethod: "/bbsim.BBSim/ChangeIgmpState", |
| 2135 | } |
| 2136 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2137 | return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest)) |
| 2138 | } |
| 2139 | return interceptor(ctx, in, info, handler) |
| 2140 | } |
| 2141 | |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 2142 | func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2143 | in := new(ONURequest) |
| 2144 | if err := dec(in); err != nil { |
| 2145 | return nil, err |
| 2146 | } |
| 2147 | if interceptor == nil { |
| 2148 | return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in) |
| 2149 | } |
| 2150 | info := &grpc.UnaryServerInfo{ |
| 2151 | Server: srv, |
| 2152 | FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers", |
| 2153 | } |
| 2154 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2155 | return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest)) |
| 2156 | } |
| 2157 | return interceptor(ctx, in, info, handler) |
| 2158 | } |
| 2159 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2160 | var _BBSim_serviceDesc = grpc.ServiceDesc{ |
| 2161 | ServiceName: "bbsim.BBSim", |
| 2162 | HandlerType: (*BBSimServer)(nil), |
| 2163 | Methods: []grpc.MethodDesc{ |
| 2164 | { |
| 2165 | MethodName: "Version", |
| 2166 | Handler: _BBSim_Version_Handler, |
| 2167 | }, |
| 2168 | { |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2169 | MethodName: "SetLogLevel", |
| 2170 | Handler: _BBSim_SetLogLevel_Handler, |
| 2171 | }, |
| 2172 | { |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2173 | MethodName: "GetOlt", |
| 2174 | Handler: _BBSim_GetOlt_Handler, |
| 2175 | }, |
| 2176 | { |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 2177 | MethodName: "PoweronOlt", |
| 2178 | Handler: _BBSim_PoweronOlt_Handler, |
| 2179 | }, |
| 2180 | { |
| 2181 | MethodName: "ShutdownOlt", |
| 2182 | Handler: _BBSim_ShutdownOlt_Handler, |
| 2183 | }, |
| 2184 | { |
| 2185 | MethodName: "RebootOlt", |
| 2186 | Handler: _BBSim_RebootOlt_Handler, |
| 2187 | }, |
| 2188 | { |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2189 | MethodName: "GetONU", |
| 2190 | Handler: _BBSim_GetONU_Handler, |
| 2191 | }, |
| 2192 | { |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2193 | MethodName: "GetONUs", |
| 2194 | Handler: _BBSim_GetONUs_Handler, |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2195 | }, |
| 2196 | { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 2197 | MethodName: "GetServices", |
| 2198 | Handler: _BBSim_GetServices_Handler, |
| 2199 | }, |
| 2200 | { |
| 2201 | MethodName: "GetOnuServices", |
| 2202 | Handler: _BBSim_GetOnuServices_Handler, |
| 2203 | }, |
| 2204 | { |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2205 | MethodName: "ShutdownONU", |
| 2206 | Handler: _BBSim_ShutdownONU_Handler, |
| 2207 | }, |
| 2208 | { |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2209 | MethodName: "ShutdownAllONUs", |
| 2210 | Handler: _BBSim_ShutdownAllONUs_Handler, |
| 2211 | }, |
| 2212 | { |
| 2213 | MethodName: "ShutdownONUsOnPON", |
| 2214 | Handler: _BBSim_ShutdownONUsOnPON_Handler, |
| 2215 | }, |
| 2216 | { |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2217 | MethodName: "PoweronONU", |
| 2218 | Handler: _BBSim_PoweronONU_Handler, |
| 2219 | }, |
| 2220 | { |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2221 | MethodName: "PoweronAllONUs", |
| 2222 | Handler: _BBSim_PoweronAllONUs_Handler, |
| 2223 | }, |
| 2224 | { |
| 2225 | MethodName: "PoweronONUsOnPON", |
| 2226 | Handler: _BBSim_PoweronONUsOnPON_Handler, |
| 2227 | }, |
| 2228 | { |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2229 | MethodName: "RestartEapol", |
| 2230 | Handler: _BBSim_RestartEapol_Handler, |
| 2231 | }, |
| 2232 | { |
| 2233 | MethodName: "RestartDhcp", |
| 2234 | Handler: _BBSim_RestartDhcp_Handler, |
| 2235 | }, |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 2236 | { |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 2237 | MethodName: "SetOnuAlarmIndication", |
| 2238 | Handler: _BBSim_SetOnuAlarmIndication_Handler, |
| 2239 | }, |
| 2240 | { |
| 2241 | MethodName: "SetOltAlarmIndication", |
| 2242 | Handler: _BBSim_SetOltAlarmIndication_Handler, |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 2243 | }, |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 2244 | { |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame] | 2245 | MethodName: "GetFlows", |
| 2246 | Handler: _BBSim_GetFlows_Handler, |
| 2247 | }, |
| 2248 | { |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 2249 | MethodName: "ChangeIgmpState", |
| 2250 | Handler: _BBSim_ChangeIgmpState_Handler, |
| 2251 | }, |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 2252 | { |
| 2253 | MethodName: "GetOnuTrafficSchedulers", |
| 2254 | Handler: _BBSim_GetOnuTrafficSchedulers_Handler, |
| 2255 | }, |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2256 | }, |
| 2257 | Streams: []grpc.StreamDesc{}, |
| 2258 | Metadata: "api/bbsim/bbsim.proto", |
| 2259 | } |