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 | 1cbefa4 | 2020-01-13 12:15:29 +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) { |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 134 | return fileDescriptor_ef7750073d18011b, []int{7, 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"` |
| 236 | NNIPorts []*NNIPort `protobuf:"bytes,5,rep,name=NNIPorts,proto3" json:"NNIPorts,omitempty"` |
| 237 | PONPorts []*PONPort `protobuf:"bytes,6,rep,name=PONPorts,proto3" json:"PONPorts,omitempty"` |
| 238 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 239 | XXX_unrecognized []byte `json:"-"` |
| 240 | XXX_sizecache int32 `json:"-"` |
| 241 | } |
| 242 | |
| 243 | func (m *Olt) Reset() { *m = Olt{} } |
| 244 | func (m *Olt) String() string { return proto.CompactTextString(m) } |
| 245 | func (*Olt) ProtoMessage() {} |
| 246 | func (*Olt) Descriptor() ([]byte, []int) { |
| 247 | return fileDescriptor_ef7750073d18011b, []int{2} |
| 248 | } |
| 249 | |
| 250 | func (m *Olt) XXX_Unmarshal(b []byte) error { |
| 251 | return xxx_messageInfo_Olt.Unmarshal(m, b) |
| 252 | } |
| 253 | func (m *Olt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 254 | return xxx_messageInfo_Olt.Marshal(b, m, deterministic) |
| 255 | } |
| 256 | func (m *Olt) XXX_Merge(src proto.Message) { |
| 257 | xxx_messageInfo_Olt.Merge(m, src) |
| 258 | } |
| 259 | func (m *Olt) XXX_Size() int { |
| 260 | return xxx_messageInfo_Olt.Size(m) |
| 261 | } |
| 262 | func (m *Olt) XXX_DiscardUnknown() { |
| 263 | xxx_messageInfo_Olt.DiscardUnknown(m) |
| 264 | } |
| 265 | |
| 266 | var xxx_messageInfo_Olt proto.InternalMessageInfo |
| 267 | |
| 268 | func (m *Olt) GetID() int32 { |
| 269 | if m != nil { |
| 270 | return m.ID |
| 271 | } |
| 272 | return 0 |
| 273 | } |
| 274 | |
| 275 | func (m *Olt) GetSerialNumber() string { |
| 276 | if m != nil { |
| 277 | return m.SerialNumber |
| 278 | } |
| 279 | return "" |
| 280 | } |
| 281 | |
| 282 | func (m *Olt) GetOperState() string { |
| 283 | if m != nil { |
| 284 | return m.OperState |
| 285 | } |
| 286 | return "" |
| 287 | } |
| 288 | |
| 289 | func (m *Olt) GetInternalState() string { |
| 290 | if m != nil { |
| 291 | return m.InternalState |
| 292 | } |
| 293 | return "" |
| 294 | } |
| 295 | |
| 296 | func (m *Olt) GetNNIPorts() []*NNIPort { |
| 297 | if m != nil { |
| 298 | return m.NNIPorts |
| 299 | } |
| 300 | return nil |
| 301 | } |
| 302 | |
| 303 | func (m *Olt) GetPONPorts() []*PONPort { |
| 304 | if m != nil { |
| 305 | return m.PONPorts |
| 306 | } |
| 307 | return nil |
| 308 | } |
| 309 | |
| 310 | type ONU struct { |
| 311 | ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` |
| 312 | SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` |
| 313 | OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"` |
| 314 | InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"` |
| 315 | PonPortID int32 `protobuf:"varint,5,opt,name=PonPortID,proto3" json:"PonPortID,omitempty"` |
| 316 | STag int32 `protobuf:"varint,6,opt,name=STag,proto3" json:"STag,omitempty"` |
| 317 | CTag int32 `protobuf:"varint,7,opt,name=CTag,proto3" json:"CTag,omitempty"` |
| 318 | HwAddress string `protobuf:"bytes,8,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"` |
| 319 | PortNo int32 `protobuf:"varint,9,opt,name=PortNo,proto3" json:"PortNo,omitempty"` |
| 320 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 321 | XXX_unrecognized []byte `json:"-"` |
| 322 | XXX_sizecache int32 `json:"-"` |
| 323 | } |
| 324 | |
| 325 | func (m *ONU) Reset() { *m = ONU{} } |
| 326 | func (m *ONU) String() string { return proto.CompactTextString(m) } |
| 327 | func (*ONU) ProtoMessage() {} |
| 328 | func (*ONU) Descriptor() ([]byte, []int) { |
| 329 | return fileDescriptor_ef7750073d18011b, []int{3} |
| 330 | } |
| 331 | |
| 332 | func (m *ONU) XXX_Unmarshal(b []byte) error { |
| 333 | return xxx_messageInfo_ONU.Unmarshal(m, b) |
| 334 | } |
| 335 | func (m *ONU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 336 | return xxx_messageInfo_ONU.Marshal(b, m, deterministic) |
| 337 | } |
| 338 | func (m *ONU) XXX_Merge(src proto.Message) { |
| 339 | xxx_messageInfo_ONU.Merge(m, src) |
| 340 | } |
| 341 | func (m *ONU) XXX_Size() int { |
| 342 | return xxx_messageInfo_ONU.Size(m) |
| 343 | } |
| 344 | func (m *ONU) XXX_DiscardUnknown() { |
| 345 | xxx_messageInfo_ONU.DiscardUnknown(m) |
| 346 | } |
| 347 | |
| 348 | var xxx_messageInfo_ONU proto.InternalMessageInfo |
| 349 | |
| 350 | func (m *ONU) GetID() int32 { |
| 351 | if m != nil { |
| 352 | return m.ID |
| 353 | } |
| 354 | return 0 |
| 355 | } |
| 356 | |
| 357 | func (m *ONU) GetSerialNumber() string { |
| 358 | if m != nil { |
| 359 | return m.SerialNumber |
| 360 | } |
| 361 | return "" |
| 362 | } |
| 363 | |
| 364 | func (m *ONU) GetOperState() string { |
| 365 | if m != nil { |
| 366 | return m.OperState |
| 367 | } |
| 368 | return "" |
| 369 | } |
| 370 | |
| 371 | func (m *ONU) GetInternalState() string { |
| 372 | if m != nil { |
| 373 | return m.InternalState |
| 374 | } |
| 375 | return "" |
| 376 | } |
| 377 | |
| 378 | func (m *ONU) GetPonPortID() int32 { |
| 379 | if m != nil { |
| 380 | return m.PonPortID |
| 381 | } |
| 382 | return 0 |
| 383 | } |
| 384 | |
| 385 | func (m *ONU) GetSTag() int32 { |
| 386 | if m != nil { |
| 387 | return m.STag |
| 388 | } |
| 389 | return 0 |
| 390 | } |
| 391 | |
| 392 | func (m *ONU) GetCTag() int32 { |
| 393 | if m != nil { |
| 394 | return m.CTag |
| 395 | } |
| 396 | return 0 |
| 397 | } |
| 398 | |
| 399 | func (m *ONU) GetHwAddress() string { |
| 400 | if m != nil { |
| 401 | return m.HwAddress |
| 402 | } |
| 403 | return "" |
| 404 | } |
| 405 | |
| 406 | func (m *ONU) GetPortNo() int32 { |
| 407 | if m != nil { |
| 408 | return m.PortNo |
| 409 | } |
| 410 | return 0 |
| 411 | } |
| 412 | |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 413 | type ONUTrafficSchedulers struct { |
| 414 | TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"` |
| 415 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 416 | XXX_unrecognized []byte `json:"-"` |
| 417 | XXX_sizecache int32 `json:"-"` |
| 418 | } |
| 419 | |
| 420 | func (m *ONUTrafficSchedulers) Reset() { *m = ONUTrafficSchedulers{} } |
| 421 | func (m *ONUTrafficSchedulers) String() string { return proto.CompactTextString(m) } |
| 422 | func (*ONUTrafficSchedulers) ProtoMessage() {} |
| 423 | func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int) { |
| 424 | return fileDescriptor_ef7750073d18011b, []int{4} |
| 425 | } |
| 426 | |
| 427 | func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error { |
| 428 | return xxx_messageInfo_ONUTrafficSchedulers.Unmarshal(m, b) |
| 429 | } |
| 430 | func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 431 | return xxx_messageInfo_ONUTrafficSchedulers.Marshal(b, m, deterministic) |
| 432 | } |
| 433 | func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message) { |
| 434 | xxx_messageInfo_ONUTrafficSchedulers.Merge(m, src) |
| 435 | } |
| 436 | func (m *ONUTrafficSchedulers) XXX_Size() int { |
| 437 | return xxx_messageInfo_ONUTrafficSchedulers.Size(m) |
| 438 | } |
| 439 | func (m *ONUTrafficSchedulers) XXX_DiscardUnknown() { |
| 440 | xxx_messageInfo_ONUTrafficSchedulers.DiscardUnknown(m) |
| 441 | } |
| 442 | |
| 443 | var xxx_messageInfo_ONUTrafficSchedulers proto.InternalMessageInfo |
| 444 | |
| 445 | func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers { |
| 446 | if m != nil { |
| 447 | return m.TraffSchedulers |
| 448 | } |
| 449 | return nil |
| 450 | } |
| 451 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 452 | type ONUs struct { |
| 453 | Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 454 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 455 | XXX_unrecognized []byte `json:"-"` |
| 456 | XXX_sizecache int32 `json:"-"` |
| 457 | } |
| 458 | |
| 459 | func (m *ONUs) Reset() { *m = ONUs{} } |
| 460 | func (m *ONUs) String() string { return proto.CompactTextString(m) } |
| 461 | func (*ONUs) ProtoMessage() {} |
| 462 | func (*ONUs) Descriptor() ([]byte, []int) { |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 463 | return fileDescriptor_ef7750073d18011b, []int{5} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 464 | } |
| 465 | |
| 466 | func (m *ONUs) XXX_Unmarshal(b []byte) error { |
| 467 | return xxx_messageInfo_ONUs.Unmarshal(m, b) |
| 468 | } |
| 469 | func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 470 | return xxx_messageInfo_ONUs.Marshal(b, m, deterministic) |
| 471 | } |
| 472 | func (m *ONUs) XXX_Merge(src proto.Message) { |
| 473 | xxx_messageInfo_ONUs.Merge(m, src) |
| 474 | } |
| 475 | func (m *ONUs) XXX_Size() int { |
| 476 | return xxx_messageInfo_ONUs.Size(m) |
| 477 | } |
| 478 | func (m *ONUs) XXX_DiscardUnknown() { |
| 479 | xxx_messageInfo_ONUs.DiscardUnknown(m) |
| 480 | } |
| 481 | |
| 482 | var xxx_messageInfo_ONUs proto.InternalMessageInfo |
| 483 | |
| 484 | func (m *ONUs) GetItems() []*ONU { |
| 485 | if m != nil { |
| 486 | return m.Items |
| 487 | } |
| 488 | return nil |
| 489 | } |
| 490 | |
| 491 | type ONURequest struct { |
| 492 | SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` |
| 493 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 494 | XXX_unrecognized []byte `json:"-"` |
| 495 | XXX_sizecache int32 `json:"-"` |
| 496 | } |
| 497 | |
| 498 | func (m *ONURequest) Reset() { *m = ONURequest{} } |
| 499 | func (m *ONURequest) String() string { return proto.CompactTextString(m) } |
| 500 | func (*ONURequest) ProtoMessage() {} |
| 501 | func (*ONURequest) Descriptor() ([]byte, []int) { |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 502 | return fileDescriptor_ef7750073d18011b, []int{6} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 503 | } |
| 504 | |
| 505 | func (m *ONURequest) XXX_Unmarshal(b []byte) error { |
| 506 | return xxx_messageInfo_ONURequest.Unmarshal(m, b) |
| 507 | } |
| 508 | func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 509 | return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic) |
| 510 | } |
| 511 | func (m *ONURequest) XXX_Merge(src proto.Message) { |
| 512 | xxx_messageInfo_ONURequest.Merge(m, src) |
| 513 | } |
| 514 | func (m *ONURequest) XXX_Size() int { |
| 515 | return xxx_messageInfo_ONURequest.Size(m) |
| 516 | } |
| 517 | func (m *ONURequest) XXX_DiscardUnknown() { |
| 518 | xxx_messageInfo_ONURequest.DiscardUnknown(m) |
| 519 | } |
| 520 | |
| 521 | var xxx_messageInfo_ONURequest proto.InternalMessageInfo |
| 522 | |
| 523 | func (m *ONURequest) GetSerialNumber() string { |
| 524 | if m != nil { |
| 525 | return m.SerialNumber |
| 526 | } |
| 527 | return "" |
| 528 | } |
| 529 | |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 530 | type AlarmType struct { |
| 531 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 532 | XXX_unrecognized []byte `json:"-"` |
| 533 | XXX_sizecache int32 `json:"-"` |
| 534 | } |
| 535 | |
| 536 | func (m *AlarmType) Reset() { *m = AlarmType{} } |
| 537 | func (m *AlarmType) String() string { return proto.CompactTextString(m) } |
| 538 | func (*AlarmType) ProtoMessage() {} |
| 539 | func (*AlarmType) Descriptor() ([]byte, []int) { |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 540 | return fileDescriptor_ef7750073d18011b, []int{7} |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 541 | } |
| 542 | |
| 543 | func (m *AlarmType) XXX_Unmarshal(b []byte) error { |
| 544 | return xxx_messageInfo_AlarmType.Unmarshal(m, b) |
| 545 | } |
| 546 | func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 547 | return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic) |
| 548 | } |
| 549 | func (m *AlarmType) XXX_Merge(src proto.Message) { |
| 550 | xxx_messageInfo_AlarmType.Merge(m, src) |
| 551 | } |
| 552 | func (m *AlarmType) XXX_Size() int { |
| 553 | return xxx_messageInfo_AlarmType.Size(m) |
| 554 | } |
| 555 | func (m *AlarmType) XXX_DiscardUnknown() { |
| 556 | xxx_messageInfo_AlarmType.DiscardUnknown(m) |
| 557 | } |
| 558 | |
| 559 | var xxx_messageInfo_AlarmType proto.InternalMessageInfo |
| 560 | |
| 561 | type AlarmParameter struct { |
| 562 | Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` |
| 563 | Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` |
| 564 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 565 | XXX_unrecognized []byte `json:"-"` |
| 566 | XXX_sizecache int32 `json:"-"` |
| 567 | } |
| 568 | |
| 569 | func (m *AlarmParameter) Reset() { *m = AlarmParameter{} } |
| 570 | func (m *AlarmParameter) String() string { return proto.CompactTextString(m) } |
| 571 | func (*AlarmParameter) ProtoMessage() {} |
| 572 | func (*AlarmParameter) Descriptor() ([]byte, []int) { |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 573 | return fileDescriptor_ef7750073d18011b, []int{8} |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 574 | } |
| 575 | |
| 576 | func (m *AlarmParameter) XXX_Unmarshal(b []byte) error { |
| 577 | return xxx_messageInfo_AlarmParameter.Unmarshal(m, b) |
| 578 | } |
| 579 | func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 580 | return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic) |
| 581 | } |
| 582 | func (m *AlarmParameter) XXX_Merge(src proto.Message) { |
| 583 | xxx_messageInfo_AlarmParameter.Merge(m, src) |
| 584 | } |
| 585 | func (m *AlarmParameter) XXX_Size() int { |
| 586 | return xxx_messageInfo_AlarmParameter.Size(m) |
| 587 | } |
| 588 | func (m *AlarmParameter) XXX_DiscardUnknown() { |
| 589 | xxx_messageInfo_AlarmParameter.DiscardUnknown(m) |
| 590 | } |
| 591 | |
| 592 | var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo |
| 593 | |
| 594 | func (m *AlarmParameter) GetKey() string { |
| 595 | if m != nil { |
| 596 | return m.Key |
| 597 | } |
| 598 | return "" |
| 599 | } |
| 600 | |
| 601 | func (m *AlarmParameter) GetValue() string { |
| 602 | if m != nil { |
| 603 | return m.Value |
| 604 | } |
| 605 | return "" |
| 606 | } |
| 607 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 608 | // ONUAlarmRequest includes fields common to every Onu alarm, |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 609 | // plus an optional list of AlarmParameter list that can be used |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 610 | // to set additional fields in alarms that support them. |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 611 | type ONUAlarmRequest struct { |
Pragya Arya | 694ece0 | 2020-02-07 13:03:47 +0530 | [diff] [blame] | 612 | AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"` |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 613 | SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` |
| 614 | Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"` |
| 615 | Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"` |
| 616 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 617 | XXX_unrecognized []byte `json:"-"` |
| 618 | XXX_sizecache int32 `json:"-"` |
| 619 | } |
| 620 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 621 | func (m *ONUAlarmRequest) Reset() { *m = ONUAlarmRequest{} } |
| 622 | func (m *ONUAlarmRequest) String() string { return proto.CompactTextString(m) } |
| 623 | func (*ONUAlarmRequest) ProtoMessage() {} |
| 624 | func (*ONUAlarmRequest) Descriptor() ([]byte, []int) { |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 625 | return fileDescriptor_ef7750073d18011b, []int{9} |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 626 | } |
| 627 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 628 | func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error { |
| 629 | return xxx_messageInfo_ONUAlarmRequest.Unmarshal(m, b) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 630 | } |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 631 | func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 632 | return xxx_messageInfo_ONUAlarmRequest.Marshal(b, m, deterministic) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 633 | } |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 634 | func (m *ONUAlarmRequest) XXX_Merge(src proto.Message) { |
| 635 | xxx_messageInfo_ONUAlarmRequest.Merge(m, src) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 636 | } |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 637 | func (m *ONUAlarmRequest) XXX_Size() int { |
| 638 | return xxx_messageInfo_ONUAlarmRequest.Size(m) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 639 | } |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 640 | func (m *ONUAlarmRequest) XXX_DiscardUnknown() { |
| 641 | xxx_messageInfo_ONUAlarmRequest.DiscardUnknown(m) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 642 | } |
| 643 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 644 | var xxx_messageInfo_ONUAlarmRequest proto.InternalMessageInfo |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 645 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 646 | func (m *ONUAlarmRequest) GetAlarmType() string { |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 647 | if m != nil { |
| 648 | return m.AlarmType |
| 649 | } |
Pragya Arya | 694ece0 | 2020-02-07 13:03:47 +0530 | [diff] [blame] | 650 | return "" |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 651 | } |
| 652 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 653 | func (m *ONUAlarmRequest) GetSerialNumber() string { |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 654 | if m != nil { |
| 655 | return m.SerialNumber |
| 656 | } |
| 657 | return "" |
| 658 | } |
| 659 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 660 | func (m *ONUAlarmRequest) GetStatus() string { |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 661 | if m != nil { |
| 662 | return m.Status |
| 663 | } |
| 664 | return "" |
| 665 | } |
| 666 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 667 | func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter { |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 668 | if m != nil { |
| 669 | return m.Parameters |
| 670 | } |
| 671 | return nil |
| 672 | } |
| 673 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 674 | // OLT alarm request |
| 675 | type OLTAlarmRequest struct { |
| 676 | InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"` |
| 677 | InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,omitempty"` |
| 678 | Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"` |
| 679 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 680 | XXX_unrecognized []byte `json:"-"` |
| 681 | XXX_sizecache int32 `json:"-"` |
| 682 | } |
| 683 | |
| 684 | func (m *OLTAlarmRequest) Reset() { *m = OLTAlarmRequest{} } |
| 685 | func (m *OLTAlarmRequest) String() string { return proto.CompactTextString(m) } |
| 686 | func (*OLTAlarmRequest) ProtoMessage() {} |
| 687 | func (*OLTAlarmRequest) Descriptor() ([]byte, []int) { |
| 688 | return fileDescriptor_ef7750073d18011b, []int{10} |
| 689 | } |
| 690 | |
| 691 | func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error { |
| 692 | return xxx_messageInfo_OLTAlarmRequest.Unmarshal(m, b) |
| 693 | } |
| 694 | func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 695 | return xxx_messageInfo_OLTAlarmRequest.Marshal(b, m, deterministic) |
| 696 | } |
| 697 | func (m *OLTAlarmRequest) XXX_Merge(src proto.Message) { |
| 698 | xxx_messageInfo_OLTAlarmRequest.Merge(m, src) |
| 699 | } |
| 700 | func (m *OLTAlarmRequest) XXX_Size() int { |
| 701 | return xxx_messageInfo_OLTAlarmRequest.Size(m) |
| 702 | } |
| 703 | func (m *OLTAlarmRequest) XXX_DiscardUnknown() { |
| 704 | xxx_messageInfo_OLTAlarmRequest.DiscardUnknown(m) |
| 705 | } |
| 706 | |
| 707 | var xxx_messageInfo_OLTAlarmRequest proto.InternalMessageInfo |
| 708 | |
| 709 | func (m *OLTAlarmRequest) GetInterfaceID() uint32 { |
| 710 | if m != nil { |
| 711 | return m.InterfaceID |
| 712 | } |
| 713 | return 0 |
| 714 | } |
| 715 | |
| 716 | func (m *OLTAlarmRequest) GetInterfaceType() string { |
| 717 | if m != nil { |
| 718 | return m.InterfaceType |
| 719 | } |
| 720 | return "" |
| 721 | } |
| 722 | |
| 723 | func (m *OLTAlarmRequest) GetStatus() string { |
| 724 | if m != nil { |
| 725 | return m.Status |
| 726 | } |
| 727 | return "" |
| 728 | } |
| 729 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 730 | type VersionNumber struct { |
| 731 | Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` |
| 732 | BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"` |
| 733 | CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"` |
| 734 | GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"` |
| 735 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 736 | XXX_unrecognized []byte `json:"-"` |
| 737 | XXX_sizecache int32 `json:"-"` |
| 738 | } |
| 739 | |
| 740 | func (m *VersionNumber) Reset() { *m = VersionNumber{} } |
| 741 | func (m *VersionNumber) String() string { return proto.CompactTextString(m) } |
| 742 | func (*VersionNumber) ProtoMessage() {} |
| 743 | func (*VersionNumber) Descriptor() ([]byte, []int) { |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 744 | return fileDescriptor_ef7750073d18011b, []int{11} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 745 | } |
| 746 | |
| 747 | func (m *VersionNumber) XXX_Unmarshal(b []byte) error { |
| 748 | return xxx_messageInfo_VersionNumber.Unmarshal(m, b) |
| 749 | } |
| 750 | func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 751 | return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic) |
| 752 | } |
| 753 | func (m *VersionNumber) XXX_Merge(src proto.Message) { |
| 754 | xxx_messageInfo_VersionNumber.Merge(m, src) |
| 755 | } |
| 756 | func (m *VersionNumber) XXX_Size() int { |
| 757 | return xxx_messageInfo_VersionNumber.Size(m) |
| 758 | } |
| 759 | func (m *VersionNumber) XXX_DiscardUnknown() { |
| 760 | xxx_messageInfo_VersionNumber.DiscardUnknown(m) |
| 761 | } |
| 762 | |
| 763 | var xxx_messageInfo_VersionNumber proto.InternalMessageInfo |
| 764 | |
| 765 | func (m *VersionNumber) GetVersion() string { |
| 766 | if m != nil { |
| 767 | return m.Version |
| 768 | } |
| 769 | return "" |
| 770 | } |
| 771 | |
| 772 | func (m *VersionNumber) GetBuildTime() string { |
| 773 | if m != nil { |
| 774 | return m.BuildTime |
| 775 | } |
| 776 | return "" |
| 777 | } |
| 778 | |
| 779 | func (m *VersionNumber) GetCommitHash() string { |
| 780 | if m != nil { |
| 781 | return m.CommitHash |
| 782 | } |
| 783 | return "" |
| 784 | } |
| 785 | |
| 786 | func (m *VersionNumber) GetGitStatus() string { |
| 787 | if m != nil { |
| 788 | return m.GitStatus |
| 789 | } |
| 790 | return "" |
| 791 | } |
| 792 | |
| 793 | type LogLevel struct { |
| 794 | Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"` |
| 795 | Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"` |
| 796 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 797 | XXX_unrecognized []byte `json:"-"` |
| 798 | XXX_sizecache int32 `json:"-"` |
| 799 | } |
| 800 | |
| 801 | func (m *LogLevel) Reset() { *m = LogLevel{} } |
| 802 | func (m *LogLevel) String() string { return proto.CompactTextString(m) } |
| 803 | func (*LogLevel) ProtoMessage() {} |
| 804 | func (*LogLevel) Descriptor() ([]byte, []int) { |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 805 | return fileDescriptor_ef7750073d18011b, []int{12} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 806 | } |
| 807 | |
| 808 | func (m *LogLevel) XXX_Unmarshal(b []byte) error { |
| 809 | return xxx_messageInfo_LogLevel.Unmarshal(m, b) |
| 810 | } |
| 811 | func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 812 | return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic) |
| 813 | } |
| 814 | func (m *LogLevel) XXX_Merge(src proto.Message) { |
| 815 | xxx_messageInfo_LogLevel.Merge(m, src) |
| 816 | } |
| 817 | func (m *LogLevel) XXX_Size() int { |
| 818 | return xxx_messageInfo_LogLevel.Size(m) |
| 819 | } |
| 820 | func (m *LogLevel) XXX_DiscardUnknown() { |
| 821 | xxx_messageInfo_LogLevel.DiscardUnknown(m) |
| 822 | } |
| 823 | |
| 824 | var xxx_messageInfo_LogLevel proto.InternalMessageInfo |
| 825 | |
| 826 | func (m *LogLevel) GetLevel() string { |
| 827 | if m != nil { |
| 828 | return m.Level |
| 829 | } |
| 830 | return "" |
| 831 | } |
| 832 | |
| 833 | func (m *LogLevel) GetCaller() bool { |
| 834 | if m != nil { |
| 835 | return m.Caller |
| 836 | } |
| 837 | return false |
| 838 | } |
| 839 | |
| 840 | type Response struct { |
| 841 | StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` |
| 842 | Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` |
| 843 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 844 | XXX_unrecognized []byte `json:"-"` |
| 845 | XXX_sizecache int32 `json:"-"` |
| 846 | } |
| 847 | |
| 848 | func (m *Response) Reset() { *m = Response{} } |
| 849 | func (m *Response) String() string { return proto.CompactTextString(m) } |
| 850 | func (*Response) ProtoMessage() {} |
| 851 | func (*Response) Descriptor() ([]byte, []int) { |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 852 | return fileDescriptor_ef7750073d18011b, []int{13} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 853 | } |
| 854 | |
| 855 | func (m *Response) XXX_Unmarshal(b []byte) error { |
| 856 | return xxx_messageInfo_Response.Unmarshal(m, b) |
| 857 | } |
| 858 | func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 859 | return xxx_messageInfo_Response.Marshal(b, m, deterministic) |
| 860 | } |
| 861 | func (m *Response) XXX_Merge(src proto.Message) { |
| 862 | xxx_messageInfo_Response.Merge(m, src) |
| 863 | } |
| 864 | func (m *Response) XXX_Size() int { |
| 865 | return xxx_messageInfo_Response.Size(m) |
| 866 | } |
| 867 | func (m *Response) XXX_DiscardUnknown() { |
| 868 | xxx_messageInfo_Response.DiscardUnknown(m) |
| 869 | } |
| 870 | |
| 871 | var xxx_messageInfo_Response proto.InternalMessageInfo |
| 872 | |
| 873 | func (m *Response) GetStatusCode() int32 { |
| 874 | if m != nil { |
| 875 | return m.StatusCode |
| 876 | } |
| 877 | return 0 |
| 878 | } |
| 879 | |
| 880 | func (m *Response) GetMessage() string { |
| 881 | if m != nil { |
| 882 | return m.Message |
| 883 | } |
| 884 | return "" |
| 885 | } |
| 886 | |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 887 | type IgmpRequest struct { |
| 888 | OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"` |
| 889 | SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"` |
| 890 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 891 | XXX_unrecognized []byte `json:"-"` |
| 892 | XXX_sizecache int32 `json:"-"` |
| 893 | } |
| 894 | |
| 895 | func (m *IgmpRequest) Reset() { *m = IgmpRequest{} } |
| 896 | func (m *IgmpRequest) String() string { return proto.CompactTextString(m) } |
| 897 | func (*IgmpRequest) ProtoMessage() {} |
| 898 | func (*IgmpRequest) Descriptor() ([]byte, []int) { |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 899 | return fileDescriptor_ef7750073d18011b, []int{14} |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 900 | } |
| 901 | |
| 902 | func (m *IgmpRequest) XXX_Unmarshal(b []byte) error { |
| 903 | return xxx_messageInfo_IgmpRequest.Unmarshal(m, b) |
| 904 | } |
| 905 | func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 906 | return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic) |
| 907 | } |
| 908 | func (m *IgmpRequest) XXX_Merge(src proto.Message) { |
| 909 | xxx_messageInfo_IgmpRequest.Merge(m, src) |
| 910 | } |
| 911 | func (m *IgmpRequest) XXX_Size() int { |
| 912 | return xxx_messageInfo_IgmpRequest.Size(m) |
| 913 | } |
| 914 | func (m *IgmpRequest) XXX_DiscardUnknown() { |
| 915 | xxx_messageInfo_IgmpRequest.DiscardUnknown(m) |
| 916 | } |
| 917 | |
| 918 | var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo |
| 919 | |
| 920 | func (m *IgmpRequest) GetOnuReq() *ONURequest { |
| 921 | if m != nil { |
| 922 | return m.OnuReq |
| 923 | } |
| 924 | return nil |
| 925 | } |
| 926 | |
| 927 | func (m *IgmpRequest) GetSubActionVal() SubActionTypes { |
| 928 | if m != nil { |
| 929 | return m.SubActionVal |
| 930 | } |
| 931 | return SubActionTypes_JOIN |
| 932 | } |
| 933 | |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame^] | 934 | type Flows struct { |
| 935 | FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"` |
| 936 | Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"` |
| 937 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 938 | XXX_unrecognized []byte `json:"-"` |
| 939 | XXX_sizecache int32 `json:"-"` |
| 940 | } |
| 941 | |
| 942 | func (m *Flows) Reset() { *m = Flows{} } |
| 943 | func (m *Flows) String() string { return proto.CompactTextString(m) } |
| 944 | func (*Flows) ProtoMessage() {} |
| 945 | func (*Flows) Descriptor() ([]byte, []int) { |
| 946 | return fileDescriptor_ef7750073d18011b, []int{15} |
| 947 | } |
| 948 | |
| 949 | func (m *Flows) XXX_Unmarshal(b []byte) error { |
| 950 | return xxx_messageInfo_Flows.Unmarshal(m, b) |
| 951 | } |
| 952 | func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 953 | return xxx_messageInfo_Flows.Marshal(b, m, deterministic) |
| 954 | } |
| 955 | func (m *Flows) XXX_Merge(src proto.Message) { |
| 956 | xxx_messageInfo_Flows.Merge(m, src) |
| 957 | } |
| 958 | func (m *Flows) XXX_Size() int { |
| 959 | return xxx_messageInfo_Flows.Size(m) |
| 960 | } |
| 961 | func (m *Flows) XXX_DiscardUnknown() { |
| 962 | xxx_messageInfo_Flows.DiscardUnknown(m) |
| 963 | } |
| 964 | |
| 965 | var xxx_messageInfo_Flows proto.InternalMessageInfo |
| 966 | |
| 967 | func (m *Flows) GetFlowCount() uint32 { |
| 968 | if m != nil { |
| 969 | return m.FlowCount |
| 970 | } |
| 971 | return 0 |
| 972 | } |
| 973 | |
| 974 | func (m *Flows) GetFlows() []*openolt.Flow { |
| 975 | if m != nil { |
| 976 | return m.Flows |
| 977 | } |
| 978 | return nil |
| 979 | } |
| 980 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 981 | type Empty struct { |
| 982 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 983 | XXX_unrecognized []byte `json:"-"` |
| 984 | XXX_sizecache int32 `json:"-"` |
| 985 | } |
| 986 | |
| 987 | func (m *Empty) Reset() { *m = Empty{} } |
| 988 | func (m *Empty) String() string { return proto.CompactTextString(m) } |
| 989 | func (*Empty) ProtoMessage() {} |
| 990 | func (*Empty) Descriptor() ([]byte, []int) { |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame^] | 991 | return fileDescriptor_ef7750073d18011b, []int{16} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 992 | } |
| 993 | |
| 994 | func (m *Empty) XXX_Unmarshal(b []byte) error { |
| 995 | return xxx_messageInfo_Empty.Unmarshal(m, b) |
| 996 | } |
| 997 | func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 998 | return xxx_messageInfo_Empty.Marshal(b, m, deterministic) |
| 999 | } |
| 1000 | func (m *Empty) XXX_Merge(src proto.Message) { |
| 1001 | xxx_messageInfo_Empty.Merge(m, src) |
| 1002 | } |
| 1003 | func (m *Empty) XXX_Size() int { |
| 1004 | return xxx_messageInfo_Empty.Size(m) |
| 1005 | } |
| 1006 | func (m *Empty) XXX_DiscardUnknown() { |
| 1007 | xxx_messageInfo_Empty.DiscardUnknown(m) |
| 1008 | } |
| 1009 | |
| 1010 | var xxx_messageInfo_Empty proto.InternalMessageInfo |
| 1011 | |
| 1012 | func init() { |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1013 | proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1014 | proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1015 | proto.RegisterType((*PONPort)(nil), "bbsim.PONPort") |
| 1016 | proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort") |
| 1017 | proto.RegisterType((*Olt)(nil), "bbsim.Olt") |
| 1018 | proto.RegisterType((*ONU)(nil), "bbsim.ONU") |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 1019 | proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers") |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1020 | proto.RegisterType((*ONUs)(nil), "bbsim.ONUs") |
| 1021 | proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest") |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1022 | proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType") |
| 1023 | proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter") |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1024 | proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest") |
| 1025 | proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest") |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1026 | proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber") |
| 1027 | proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel") |
| 1028 | proto.RegisterType((*Response)(nil), "bbsim.Response") |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1029 | proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest") |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame^] | 1030 | proto.RegisterType((*Flows)(nil), "bbsim.Flows") |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1031 | proto.RegisterType((*Empty)(nil), "bbsim.Empty") |
| 1032 | } |
| 1033 | |
| 1034 | func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) } |
| 1035 | |
| 1036 | var fileDescriptor_ef7750073d18011b = []byte{ |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame^] | 1037 | // 1290 bytes of a gzipped FileDescriptorProto |
| 1038 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0x4d, 0x6f, 0xdb, 0x46, |
| 1039 | 0x13, 0xd6, 0x87, 0xf5, 0x35, 0xb2, 0x64, 0x7a, 0x13, 0x3b, 0x82, 0xe3, 0xf7, 0x8d, 0xc0, 0xa6, |
| 1040 | 0x85, 0x13, 0x34, 0x4e, 0x63, 0xb7, 0x68, 0x7a, 0xa4, 0x25, 0x5a, 0x61, 0x2d, 0x93, 0xc2, 0x92, |
| 1041 | 0x72, 0x90, 0x13, 0x41, 0x49, 0x6b, 0x8b, 0x00, 0x45, 0x2a, 0xe4, 0x2a, 0x46, 0xce, 0x45, 0xff, |
| 1042 | 0x48, 0x7f, 0x51, 0x2f, 0xbd, 0xf6, 0x7f, 0xf4, 0x56, 0xec, 0x72, 0x49, 0x91, 0x96, 0x53, 0x18, |
| 1043 | 0xbd, 0xf4, 0x22, 0xec, 0x3c, 0xf3, 0xcc, 0xec, 0x7c, 0x71, 0xb4, 0xb0, 0xe7, 0x2c, 0xdd, 0xd7, |
| 1044 | 0x93, 0x49, 0xe4, 0x2e, 0xe2, 0xdf, 0xe3, 0x65, 0x18, 0xd0, 0x00, 0x55, 0xb8, 0x70, 0xf0, 0xf4, |
| 1045 | 0x53, 0xe0, 0xd1, 0xb9, 0x63, 0x73, 0x30, 0x7a, 0x1d, 0x2c, 0x89, 0x1f, 0x78, 0x34, 0xe6, 0x1c, |
| 1046 | 0x74, 0xf3, 0x4a, 0x4a, 0xa6, 0x73, 0x76, 0xbe, 0x76, 0x3d, 0x12, 0x33, 0xe4, 0x1f, 0xa1, 0x36, |
| 1047 | 0x32, 0xf4, 0x51, 0x10, 0x52, 0xd4, 0x86, 0x92, 0xd6, 0xef, 0x14, 0xbb, 0xc5, 0xa3, 0x0a, 0x2e, |
| 1048 | 0x69, 0x7d, 0x74, 0x08, 0x0d, 0x63, 0x49, 0x42, 0x93, 0x3a, 0x94, 0x74, 0x4a, 0xdd, 0xe2, 0x51, |
| 1049 | 0x03, 0xaf, 0x01, 0x66, 0xa8, 0xeb, 0xda, 0xbf, 0x30, 0xfc, 0xa3, 0x08, 0x65, 0xc3, 0xdb, 0xb4, |
| 1050 | 0x92, 0x61, 0xdb, 0x24, 0xa1, 0xeb, 0x78, 0xfa, 0x6a, 0x31, 0x21, 0xa1, 0x30, 0xcc, 0x61, 0x79, |
| 1051 | 0xcf, 0xe5, 0x3b, 0x9e, 0xd1, 0x73, 0x68, 0x69, 0x3e, 0x25, 0xa1, 0xef, 0x78, 0x31, 0x63, 0x8b, |
| 1052 | 0x33, 0xf2, 0x20, 0x7a, 0x09, 0x75, 0x11, 0x78, 0xd4, 0xa9, 0x74, 0xcb, 0x47, 0xcd, 0x93, 0xf6, |
| 1053 | 0x71, 0x5c, 0x57, 0x01, 0xe3, 0x54, 0xcf, 0xb8, 0xa2, 0x3a, 0x51, 0xa7, 0x9a, 0xe3, 0x0a, 0x18, |
| 1054 | 0xa7, 0x7a, 0xf9, 0x2f, 0x96, 0x97, 0x3e, 0xfe, 0xcf, 0xf2, 0x3a, 0x84, 0xc6, 0x28, 0xf0, 0x59, |
| 1055 | 0x2c, 0x5a, 0xbf, 0x53, 0xe1, 0xd7, 0xaf, 0x01, 0x84, 0x60, 0xcb, 0xb4, 0x9c, 0x9b, 0x4e, 0x95, |
| 1056 | 0x2b, 0xf8, 0x99, 0x61, 0x3d, 0x86, 0xd5, 0x62, 0x8c, 0x9d, 0x99, 0x97, 0x77, 0xb7, 0xca, 0x6c, |
| 1057 | 0x16, 0x92, 0x28, 0xea, 0xd4, 0xe3, 0x48, 0x52, 0x00, 0xed, 0x43, 0x95, 0xf9, 0xd3, 0x83, 0x4e, |
| 1058 | 0x83, 0xdb, 0x08, 0x49, 0x76, 0xe0, 0xb1, 0xa1, 0x8f, 0xad, 0xd0, 0xb9, 0xbe, 0x76, 0xa7, 0xe6, |
| 1059 | 0x74, 0x4e, 0x66, 0x2b, 0x8f, 0x84, 0x11, 0xd2, 0x60, 0x87, 0x32, 0x70, 0x0d, 0xf1, 0xc2, 0x34, |
| 1060 | 0x4f, 0x9e, 0x1d, 0xe7, 0x66, 0x71, 0xc3, 0x12, 0xdf, 0xb5, 0x93, 0x8f, 0x60, 0xcb, 0xd0, 0xc7, |
| 1061 | 0x11, 0xea, 0x42, 0xc5, 0xa5, 0x64, 0xc1, 0x1c, 0xb1, 0x7e, 0x80, 0xe8, 0x87, 0xa1, 0x8f, 0x71, |
| 1062 | 0xac, 0x90, 0xbf, 0x03, 0x60, 0x12, 0xf9, 0xb8, 0x22, 0x11, 0xdd, 0x28, 0x7f, 0x71, 0xb3, 0xfc, |
| 1063 | 0xf2, 0x9f, 0x65, 0x68, 0x28, 0x9e, 0x13, 0x2e, 0xac, 0xcf, 0x4b, 0x22, 0xff, 0x5e, 0x86, 0x0a, |
| 1064 | 0x3b, 0x44, 0xa8, 0x06, 0xe5, 0xa1, 0x61, 0x4a, 0x05, 0xd4, 0x06, 0xe8, 0x7f, 0xd0, 0xf4, 0x81, |
| 1065 | 0x3d, 0x50, 0xcc, 0x91, 0x54, 0x44, 0x2d, 0x68, 0x18, 0xfa, 0xd8, 0x56, 0x86, 0x0a, 0xbe, 0x94, |
| 1066 | 0x4a, 0xe8, 0x09, 0x3c, 0x62, 0xa2, 0x69, 0x29, 0xd8, 0x1a, 0x8f, 0xec, 0x73, 0x45, 0x1b, 0x8e, |
| 1067 | 0xb1, 0x2a, 0x95, 0xd1, 0x3e, 0x20, 0xae, 0xd0, 0x06, 0xba, 0x32, 0xb4, 0xfb, 0xea, 0x00, 0x2b, |
| 1068 | 0x7d, 0x55, 0xda, 0x4a, 0x0c, 0xfa, 0x58, 0x3b, 0xb7, 0x6c, 0xe3, 0xdc, 0x7e, 0xaf, 0xe9, 0x7d, |
| 1069 | 0xe3, 0xbd, 0x54, 0x41, 0x87, 0xd0, 0x61, 0x8a, 0xa1, 0x61, 0x9a, 0x0c, 0x37, 0x2e, 0x7b, 0x9a, |
| 1070 | 0xdd, 0x7b, 0xa7, 0xe8, 0xba, 0x3a, 0x94, 0xaa, 0xe9, 0x3d, 0xdc, 0x9d, 0x99, 0xde, 0x53, 0x43, |
| 1071 | 0x2f, 0xe0, 0x6b, 0xa6, 0xb0, 0xb0, 0xa2, 0x9b, 0x97, 0x9a, 0x69, 0x6a, 0x86, 0x6e, 0x6b, 0xba, |
| 1072 | 0xa5, 0xe2, 0x73, 0x15, 0xab, 0x7a, 0x4f, 0xb5, 0xdf, 0x2b, 0x58, 0xd7, 0xf4, 0x81, 0x54, 0x47, |
| 1073 | 0x07, 0xb0, 0xcf, 0x43, 0xef, 0x59, 0xda, 0x95, 0x62, 0x31, 0x62, 0xe2, 0xa6, 0x81, 0x3a, 0xbc, |
| 1074 | 0x8d, 0xf6, 0x08, 0x1b, 0x3d, 0xd5, 0x34, 0x59, 0xbe, 0x2a, 0xc6, 0x06, 0x96, 0x00, 0x75, 0xe1, |
| 1075 | 0x30, 0x1b, 0xd7, 0x85, 0xfa, 0xc1, 0x36, 0x3f, 0xe8, 0xbd, 0xd4, 0xb6, 0x89, 0xf6, 0x60, 0x97, |
| 1076 | 0x31, 0x34, 0x6b, 0x6c, 0x8f, 0x0c, 0x9d, 0xd5, 0xc2, 0x32, 0xa5, 0x6d, 0xb4, 0x0b, 0xad, 0xb4, |
| 1077 | 0x52, 0xcc, 0x5c, 0x6a, 0xdd, 0x85, 0xce, 0xa4, 0x76, 0x92, 0x58, 0x02, 0x8d, 0x7a, 0x36, 0xcb, |
| 1078 | 0x42, 0xda, 0x49, 0xea, 0x91, 0x53, 0xf4, 0x44, 0x54, 0x12, 0x42, 0xd0, 0xce, 0x6a, 0xcf, 0x35, |
| 1079 | 0x69, 0x17, 0x3d, 0x82, 0x9d, 0x2c, 0xa6, 0x5c, 0x6a, 0x12, 0x92, 0xdf, 0x42, 0x9b, 0xf7, 0x77, |
| 1080 | 0xe4, 0x84, 0xce, 0x82, 0x50, 0x12, 0x22, 0x09, 0xca, 0x17, 0xe4, 0xb3, 0x98, 0x06, 0x76, 0x44, |
| 1081 | 0x8f, 0xa1, 0x72, 0xe5, 0x78, 0xab, 0x64, 0x63, 0xc5, 0x82, 0xfc, 0x5b, 0x91, 0xfb, 0xe3, 0xd6, |
| 1082 | 0xc9, 0x48, 0x1d, 0x66, 0xa6, 0x45, 0x78, 0x58, 0x03, 0x0f, 0xfa, 0xde, 0xf7, 0xa1, 0xca, 0x3e, |
| 1083 | 0xda, 0x55, 0x24, 0x3e, 0x76, 0x21, 0xa1, 0x1f, 0x00, 0xd2, 0x10, 0xa3, 0xce, 0x16, 0x9f, 0xf0, |
| 1084 | 0x3d, 0x31, 0xe1, 0xf9, 0x04, 0x70, 0x86, 0x28, 0x7f, 0x84, 0x1d, 0x63, 0x68, 0xe5, 0x62, 0xec, |
| 1085 | 0x42, 0x93, 0xaf, 0x87, 0x6b, 0x67, 0x4a, 0xc4, 0x3a, 0x6a, 0xe1, 0x2c, 0x94, 0x6e, 0x15, 0x26, |
| 1086 | 0xf2, 0x4c, 0x4a, 0x99, 0xad, 0x92, 0x80, 0x5f, 0x8a, 0x54, 0xfe, 0xb5, 0x08, 0xad, 0x2b, 0x12, |
| 1087 | 0x46, 0x6e, 0xe0, 0x8b, 0x9c, 0x3a, 0x50, 0xfb, 0x14, 0x03, 0xa2, 0x26, 0x89, 0xc8, 0xea, 0x35, |
| 1088 | 0x59, 0xb9, 0xde, 0xcc, 0x72, 0x17, 0xe9, 0xff, 0x41, 0x0a, 0xa0, 0xff, 0x03, 0x4c, 0x83, 0xc5, |
| 1089 | 0xc2, 0xa5, 0xef, 0x9c, 0x68, 0x2e, 0x6e, 0xc9, 0x20, 0xcc, 0xfa, 0xc6, 0xa5, 0x22, 0x88, 0x78, |
| 1090 | 0xf3, 0xad, 0x01, 0xf9, 0x2d, 0xd4, 0x87, 0xc1, 0xcd, 0x90, 0x7c, 0x22, 0x1e, 0xeb, 0xa0, 0xc7, |
| 1091 | 0x0e, 0xe2, 0xfe, 0x58, 0x60, 0x19, 0x4c, 0x1d, 0xcf, 0x13, 0x9d, 0xa8, 0x63, 0x21, 0xc9, 0x2a, |
| 1092 | 0xd4, 0x31, 0x89, 0x96, 0x81, 0x1f, 0x11, 0xf4, 0x0c, 0x9a, 0x11, 0xf7, 0x67, 0x4f, 0x83, 0x19, |
| 1093 | 0x11, 0xcb, 0x1b, 0x62, 0xa8, 0x17, 0xcc, 0x08, 0x4b, 0x6e, 0x41, 0xa2, 0xc8, 0xb9, 0x49, 0x12, |
| 1094 | 0x48, 0x44, 0x39, 0x82, 0xa6, 0x76, 0xb3, 0x58, 0x26, 0x75, 0x7f, 0x01, 0x55, 0xc3, 0x5f, 0x61, |
| 1095 | 0xf2, 0x51, 0x2c, 0xba, 0xdd, 0xcc, 0x7e, 0x8a, 0x29, 0x58, 0x10, 0xd0, 0x4f, 0xb0, 0x6d, 0xae, |
| 1096 | 0x26, 0xca, 0x94, 0xba, 0x81, 0x7f, 0xe5, 0x78, 0xdc, 0x71, 0x3b, 0x6d, 0x77, 0xaa, 0xe2, 0xab, |
| 1097 | 0x08, 0xe7, 0xa8, 0xf2, 0x05, 0x54, 0xce, 0xbd, 0xe0, 0x36, 0x42, 0xff, 0x03, 0xb8, 0xf6, 0x82, |
| 1098 | 0x5b, 0x7b, 0x1a, 0xac, 0x7c, 0x2a, 0xba, 0xdc, 0x60, 0x48, 0x8f, 0x01, 0xe8, 0x2b, 0xa8, 0x30, |
| 1099 | 0x21, 0xea, 0x94, 0xf8, 0x28, 0xb5, 0x8e, 0x93, 0xe7, 0x01, 0xb3, 0xc6, 0xb1, 0x4e, 0xae, 0x41, |
| 1100 | 0x45, 0x5d, 0x2c, 0xe9, 0xe7, 0x97, 0x6f, 0xa0, 0x9d, 0xbf, 0x15, 0xd5, 0x61, 0xeb, 0x67, 0x43, |
| 1101 | 0xd3, 0xa5, 0x02, 0x6a, 0x40, 0x65, 0xa8, 0x2a, 0x57, 0xaa, 0x54, 0x44, 0x00, 0x55, 0x06, 0x5e, |
| 1102 | 0x9d, 0x4a, 0xa5, 0x93, 0x5f, 0x6a, 0x50, 0x39, 0x3b, 0x33, 0xdd, 0x05, 0x7a, 0x0d, 0x35, 0x31, |
| 1103 | 0x0f, 0x68, 0x5b, 0xa4, 0xc0, 0xbd, 0x1e, 0x3c, 0x16, 0x52, 0x6e, 0x5a, 0xe4, 0x02, 0x7a, 0x0e, |
| 1104 | 0xd5, 0x01, 0xa1, 0xec, 0x25, 0x90, 0xe7, 0xa7, 0x1b, 0xdd, 0xa3, 0x72, 0x01, 0xbd, 0x02, 0x18, |
| 1105 | 0x05, 0xb7, 0x24, 0x0c, 0xfc, 0x4d, 0xe6, 0x8e, 0x90, 0x92, 0x36, 0xca, 0x05, 0x74, 0x0c, 0x4d, |
| 1106 | 0x73, 0xbe, 0xa2, 0xb3, 0xe0, 0xf6, 0x61, 0xfc, 0x6f, 0xa1, 0x81, 0xc9, 0x24, 0x08, 0xe8, 0x83, |
| 1107 | 0xd8, 0xdf, 0x40, 0x8d, 0x85, 0xcc, 0xfe, 0x86, 0xf2, 0xdc, 0xe6, 0xba, 0xcb, 0x91, 0x5c, 0x60, |
| 1108 | 0x43, 0x10, 0xf3, 0xd0, 0x66, 0xfb, 0x0f, 0x32, 0xff, 0x58, 0x72, 0x01, 0xbd, 0x81, 0xa6, 0x49, |
| 1109 | 0x68, 0x3a, 0xc2, 0xc9, 0xa5, 0x09, 0x70, 0x70, 0x17, 0x90, 0x0b, 0xe8, 0x34, 0x93, 0xe3, 0xfd, |
| 1110 | 0x57, 0xdc, 0x13, 0xfa, 0xc9, 0xba, 0x8e, 0x0f, 0xb6, 0xf9, 0x1e, 0xb6, 0x31, 0x89, 0xa8, 0x13, |
| 1111 | 0x52, 0xd5, 0x59, 0x06, 0xde, 0x03, 0xad, 0x4e, 0xa1, 0x29, 0xac, 0xfa, 0xf3, 0xe9, 0xf2, 0x81, |
| 1112 | 0x46, 0x67, 0xb0, 0x67, 0x12, 0x6a, 0xf8, 0x2b, 0xbe, 0xc4, 0x34, 0x7f, 0xe6, 0x4e, 0x1d, 0x36, |
| 1113 | 0x86, 0x68, 0x7f, 0x6d, 0x9e, 0xdd, 0x6f, 0xff, 0xe0, 0xc3, 0xa3, 0x5f, 0xf4, 0x91, 0xdf, 0x91, |
| 1114 | 0xf7, 0xf9, 0x78, 0x05, 0xf5, 0x01, 0xa1, 0xf1, 0xb7, 0x75, 0x4f, 0xe4, 0x49, 0xd7, 0x39, 0x41, |
| 1115 | 0x2e, 0xa0, 0xb7, 0xb0, 0xd3, 0x9b, 0x3b, 0xfe, 0x0d, 0x61, 0x2b, 0x20, 0x7e, 0x86, 0x21, 0x41, |
| 1116 | 0xc9, 0x2c, 0x85, 0xfb, 0x2e, 0xba, 0x80, 0x27, 0x03, 0x9e, 0xf0, 0xe6, 0xa3, 0xe9, 0x9e, 0x7b, |
| 1117 | 0x9f, 0xae, 0xa1, 0x0d, 0xbe, 0x5c, 0x98, 0x54, 0xf9, 0x5b, 0xfe, 0xf4, 0xef, 0x00, 0x00, 0x00, |
| 1118 | 0xff, 0xff, 0x54, 0xe5, 0xac, 0xa2, 0x2a, 0x0c, 0x00, 0x00, |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1119 | } |
| 1120 | |
| 1121 | // Reference imports to suppress errors if they are not otherwise used. |
| 1122 | var _ context.Context |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 1123 | var _ grpc.ClientConnInterface |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1124 | |
| 1125 | // This is a compile-time assertion to ensure that this generated file |
| 1126 | // is compatible with the grpc package it is being compiled against. |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 1127 | const _ = grpc.SupportPackageIsVersion6 |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1128 | |
| 1129 | // BBSimClient is the client API for BBSim service. |
| 1130 | // |
| 1131 | // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 1132 | type BBSimClient interface { |
| 1133 | Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) |
| 1134 | GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 1135 | PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) |
| 1136 | ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) |
| 1137 | RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1138 | GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) |
| 1139 | GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) |
| 1140 | SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) |
| 1141 | ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) |
| 1142 | PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) |
| 1143 | RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) |
| 1144 | RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1145 | SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) |
| 1146 | SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame^] | 1147 | GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1148 | ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 1149 | GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1150 | } |
| 1151 | |
| 1152 | type bBSimClient struct { |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 1153 | cc grpc.ClientConnInterface |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1154 | } |
| 1155 | |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 1156 | func NewBBSimClient(cc grpc.ClientConnInterface) BBSimClient { |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1157 | return &bBSimClient{cc} |
| 1158 | } |
| 1159 | |
| 1160 | func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) { |
| 1161 | out := new(VersionNumber) |
| 1162 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...) |
| 1163 | if err != nil { |
| 1164 | return nil, err |
| 1165 | } |
| 1166 | return out, nil |
| 1167 | } |
| 1168 | |
| 1169 | func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) { |
| 1170 | out := new(Olt) |
| 1171 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...) |
| 1172 | if err != nil { |
| 1173 | return nil, err |
| 1174 | } |
| 1175 | return out, nil |
| 1176 | } |
| 1177 | |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 1178 | func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) { |
| 1179 | out := new(Response) |
| 1180 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...) |
| 1181 | if err != nil { |
| 1182 | return nil, err |
| 1183 | } |
| 1184 | return out, nil |
| 1185 | } |
| 1186 | |
| 1187 | func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) { |
| 1188 | out := new(Response) |
| 1189 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...) |
| 1190 | if err != nil { |
| 1191 | return nil, err |
| 1192 | } |
| 1193 | return out, nil |
| 1194 | } |
| 1195 | |
| 1196 | func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) { |
| 1197 | out := new(Response) |
| 1198 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...) |
| 1199 | if err != nil { |
| 1200 | return nil, err |
| 1201 | } |
| 1202 | return out, nil |
| 1203 | } |
| 1204 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1205 | func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) { |
| 1206 | out := new(ONUs) |
| 1207 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...) |
| 1208 | if err != nil { |
| 1209 | return nil, err |
| 1210 | } |
| 1211 | return out, nil |
| 1212 | } |
| 1213 | |
| 1214 | func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) { |
| 1215 | out := new(ONU) |
| 1216 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...) |
| 1217 | if err != nil { |
| 1218 | return nil, err |
| 1219 | } |
| 1220 | return out, nil |
| 1221 | } |
| 1222 | |
| 1223 | func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) { |
| 1224 | out := new(LogLevel) |
| 1225 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...) |
| 1226 | if err != nil { |
| 1227 | return nil, err |
| 1228 | } |
| 1229 | return out, nil |
| 1230 | } |
| 1231 | |
| 1232 | func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) { |
| 1233 | out := new(Response) |
| 1234 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...) |
| 1235 | if err != nil { |
| 1236 | return nil, err |
| 1237 | } |
| 1238 | return out, nil |
| 1239 | } |
| 1240 | |
| 1241 | func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) { |
| 1242 | out := new(Response) |
| 1243 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...) |
| 1244 | if err != nil { |
| 1245 | return nil, err |
| 1246 | } |
| 1247 | return out, nil |
| 1248 | } |
| 1249 | |
| 1250 | func (c *bBSimClient) RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) { |
| 1251 | out := new(Response) |
| 1252 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...) |
| 1253 | if err != nil { |
| 1254 | return nil, err |
| 1255 | } |
| 1256 | return out, nil |
| 1257 | } |
| 1258 | |
| 1259 | func (c *bBSimClient) RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) { |
| 1260 | out := new(Response) |
| 1261 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...) |
| 1262 | if err != nil { |
| 1263 | return nil, err |
| 1264 | } |
| 1265 | return out, nil |
| 1266 | } |
| 1267 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1268 | 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] | 1269 | out := new(Response) |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1270 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...) |
| 1271 | if err != nil { |
| 1272 | return nil, err |
| 1273 | } |
| 1274 | return out, nil |
| 1275 | } |
| 1276 | |
| 1277 | func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) { |
| 1278 | out := new(Response) |
| 1279 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1280 | if err != nil { |
| 1281 | return nil, err |
| 1282 | } |
| 1283 | return out, nil |
| 1284 | } |
| 1285 | |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame^] | 1286 | func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) { |
| 1287 | out := new(Flows) |
| 1288 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...) |
| 1289 | if err != nil { |
| 1290 | return nil, err |
| 1291 | } |
| 1292 | return out, nil |
| 1293 | } |
| 1294 | |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1295 | func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) { |
| 1296 | out := new(Response) |
| 1297 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...) |
| 1298 | if err != nil { |
| 1299 | return nil, err |
| 1300 | } |
| 1301 | return out, nil |
| 1302 | } |
| 1303 | |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 1304 | func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) { |
| 1305 | out := new(ONUTrafficSchedulers) |
| 1306 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...) |
| 1307 | if err != nil { |
| 1308 | return nil, err |
| 1309 | } |
| 1310 | return out, nil |
| 1311 | } |
| 1312 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1313 | // BBSimServer is the server API for BBSim service. |
| 1314 | type BBSimServer interface { |
| 1315 | Version(context.Context, *Empty) (*VersionNumber, error) |
| 1316 | GetOlt(context.Context, *Empty) (*Olt, error) |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 1317 | PoweronOlt(context.Context, *Empty) (*Response, error) |
| 1318 | ShutdownOlt(context.Context, *Empty) (*Response, error) |
| 1319 | RebootOlt(context.Context, *Empty) (*Response, error) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1320 | GetONUs(context.Context, *Empty) (*ONUs, error) |
| 1321 | GetONU(context.Context, *ONURequest) (*ONU, error) |
| 1322 | SetLogLevel(context.Context, *LogLevel) (*LogLevel, error) |
| 1323 | ShutdownONU(context.Context, *ONURequest) (*Response, error) |
| 1324 | PoweronONU(context.Context, *ONURequest) (*Response, error) |
| 1325 | RestartEapol(context.Context, *ONURequest) (*Response, error) |
| 1326 | RestartDhcp(context.Context, *ONURequest) (*Response, error) |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1327 | SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error) |
| 1328 | SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error) |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame^] | 1329 | GetFlows(context.Context, *ONURequest) (*Flows, error) |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1330 | ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error) |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 1331 | GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1332 | } |
| 1333 | |
Pragya Arya | 1cbefa4 | 2020-01-13 12:15:29 +0530 | [diff] [blame] | 1334 | // UnimplementedBBSimServer can be embedded to have forward compatible implementations. |
| 1335 | type UnimplementedBBSimServer struct { |
| 1336 | } |
| 1337 | |
| 1338 | func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) { |
| 1339 | return nil, status.Errorf(codes.Unimplemented, "method Version not implemented") |
| 1340 | } |
| 1341 | func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) { |
| 1342 | return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented") |
| 1343 | } |
| 1344 | func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) { |
| 1345 | return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented") |
| 1346 | } |
| 1347 | func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) { |
| 1348 | return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented") |
| 1349 | } |
| 1350 | func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) { |
| 1351 | return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented") |
| 1352 | } |
| 1353 | func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) { |
| 1354 | return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented") |
| 1355 | } |
| 1356 | func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) { |
| 1357 | return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented") |
| 1358 | } |
| 1359 | func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) { |
| 1360 | return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented") |
| 1361 | } |
| 1362 | func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) { |
| 1363 | return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented") |
| 1364 | } |
| 1365 | func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) { |
| 1366 | return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented") |
| 1367 | } |
| 1368 | func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *ONURequest) (*Response, error) { |
| 1369 | return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented") |
| 1370 | } |
| 1371 | func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *ONURequest) (*Response, error) { |
| 1372 | return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented") |
| 1373 | } |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1374 | func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) { |
| 1375 | return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented") |
| 1376 | } |
| 1377 | func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) { |
| 1378 | return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented") |
Pragya Arya | 1cbefa4 | 2020-01-13 12:15:29 +0530 | [diff] [blame] | 1379 | } |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame^] | 1380 | func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) { |
| 1381 | return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented") |
| 1382 | } |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1383 | func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) { |
| 1384 | return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented") |
| 1385 | } |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 1386 | func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) { |
| 1387 | return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented") |
| 1388 | } |
Pragya Arya | 1cbefa4 | 2020-01-13 12:15:29 +0530 | [diff] [blame] | 1389 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1390 | func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) { |
| 1391 | s.RegisterService(&_BBSim_serviceDesc, srv) |
| 1392 | } |
| 1393 | |
| 1394 | func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1395 | in := new(Empty) |
| 1396 | if err := dec(in); err != nil { |
| 1397 | return nil, err |
| 1398 | } |
| 1399 | if interceptor == nil { |
| 1400 | return srv.(BBSimServer).Version(ctx, in) |
| 1401 | } |
| 1402 | info := &grpc.UnaryServerInfo{ |
| 1403 | Server: srv, |
| 1404 | FullMethod: "/bbsim.BBSim/Version", |
| 1405 | } |
| 1406 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1407 | return srv.(BBSimServer).Version(ctx, req.(*Empty)) |
| 1408 | } |
| 1409 | return interceptor(ctx, in, info, handler) |
| 1410 | } |
| 1411 | |
| 1412 | func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1413 | in := new(Empty) |
| 1414 | if err := dec(in); err != nil { |
| 1415 | return nil, err |
| 1416 | } |
| 1417 | if interceptor == nil { |
| 1418 | return srv.(BBSimServer).GetOlt(ctx, in) |
| 1419 | } |
| 1420 | info := &grpc.UnaryServerInfo{ |
| 1421 | Server: srv, |
| 1422 | FullMethod: "/bbsim.BBSim/GetOlt", |
| 1423 | } |
| 1424 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1425 | return srv.(BBSimServer).GetOlt(ctx, req.(*Empty)) |
| 1426 | } |
| 1427 | return interceptor(ctx, in, info, handler) |
| 1428 | } |
| 1429 | |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 1430 | func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1431 | in := new(Empty) |
| 1432 | if err := dec(in); err != nil { |
| 1433 | return nil, err |
| 1434 | } |
| 1435 | if interceptor == nil { |
| 1436 | return srv.(BBSimServer).PoweronOlt(ctx, in) |
| 1437 | } |
| 1438 | info := &grpc.UnaryServerInfo{ |
| 1439 | Server: srv, |
| 1440 | FullMethod: "/bbsim.BBSim/PoweronOlt", |
| 1441 | } |
| 1442 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1443 | return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty)) |
| 1444 | } |
| 1445 | return interceptor(ctx, in, info, handler) |
| 1446 | } |
| 1447 | |
| 1448 | func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1449 | in := new(Empty) |
| 1450 | if err := dec(in); err != nil { |
| 1451 | return nil, err |
| 1452 | } |
| 1453 | if interceptor == nil { |
| 1454 | return srv.(BBSimServer).ShutdownOlt(ctx, in) |
| 1455 | } |
| 1456 | info := &grpc.UnaryServerInfo{ |
| 1457 | Server: srv, |
| 1458 | FullMethod: "/bbsim.BBSim/ShutdownOlt", |
| 1459 | } |
| 1460 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1461 | return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty)) |
| 1462 | } |
| 1463 | return interceptor(ctx, in, info, handler) |
| 1464 | } |
| 1465 | |
| 1466 | func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1467 | in := new(Empty) |
| 1468 | if err := dec(in); err != nil { |
| 1469 | return nil, err |
| 1470 | } |
| 1471 | if interceptor == nil { |
| 1472 | return srv.(BBSimServer).RebootOlt(ctx, in) |
| 1473 | } |
| 1474 | info := &grpc.UnaryServerInfo{ |
| 1475 | Server: srv, |
| 1476 | FullMethod: "/bbsim.BBSim/RebootOlt", |
| 1477 | } |
| 1478 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1479 | return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty)) |
| 1480 | } |
| 1481 | return interceptor(ctx, in, info, handler) |
| 1482 | } |
| 1483 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1484 | func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1485 | in := new(Empty) |
| 1486 | if err := dec(in); err != nil { |
| 1487 | return nil, err |
| 1488 | } |
| 1489 | if interceptor == nil { |
| 1490 | return srv.(BBSimServer).GetONUs(ctx, in) |
| 1491 | } |
| 1492 | info := &grpc.UnaryServerInfo{ |
| 1493 | Server: srv, |
| 1494 | FullMethod: "/bbsim.BBSim/GetONUs", |
| 1495 | } |
| 1496 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1497 | return srv.(BBSimServer).GetONUs(ctx, req.(*Empty)) |
| 1498 | } |
| 1499 | return interceptor(ctx, in, info, handler) |
| 1500 | } |
| 1501 | |
| 1502 | func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1503 | in := new(ONURequest) |
| 1504 | if err := dec(in); err != nil { |
| 1505 | return nil, err |
| 1506 | } |
| 1507 | if interceptor == nil { |
| 1508 | return srv.(BBSimServer).GetONU(ctx, in) |
| 1509 | } |
| 1510 | info := &grpc.UnaryServerInfo{ |
| 1511 | Server: srv, |
| 1512 | FullMethod: "/bbsim.BBSim/GetONU", |
| 1513 | } |
| 1514 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1515 | return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest)) |
| 1516 | } |
| 1517 | return interceptor(ctx, in, info, handler) |
| 1518 | } |
| 1519 | |
| 1520 | func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1521 | in := new(LogLevel) |
| 1522 | if err := dec(in); err != nil { |
| 1523 | return nil, err |
| 1524 | } |
| 1525 | if interceptor == nil { |
| 1526 | return srv.(BBSimServer).SetLogLevel(ctx, in) |
| 1527 | } |
| 1528 | info := &grpc.UnaryServerInfo{ |
| 1529 | Server: srv, |
| 1530 | FullMethod: "/bbsim.BBSim/SetLogLevel", |
| 1531 | } |
| 1532 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1533 | return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel)) |
| 1534 | } |
| 1535 | return interceptor(ctx, in, info, handler) |
| 1536 | } |
| 1537 | |
| 1538 | func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1539 | in := new(ONURequest) |
| 1540 | if err := dec(in); err != nil { |
| 1541 | return nil, err |
| 1542 | } |
| 1543 | if interceptor == nil { |
| 1544 | return srv.(BBSimServer).ShutdownONU(ctx, in) |
| 1545 | } |
| 1546 | info := &grpc.UnaryServerInfo{ |
| 1547 | Server: srv, |
| 1548 | FullMethod: "/bbsim.BBSim/ShutdownONU", |
| 1549 | } |
| 1550 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1551 | return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest)) |
| 1552 | } |
| 1553 | return interceptor(ctx, in, info, handler) |
| 1554 | } |
| 1555 | |
| 1556 | func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1557 | in := new(ONURequest) |
| 1558 | if err := dec(in); err != nil { |
| 1559 | return nil, err |
| 1560 | } |
| 1561 | if interceptor == nil { |
| 1562 | return srv.(BBSimServer).PoweronONU(ctx, in) |
| 1563 | } |
| 1564 | info := &grpc.UnaryServerInfo{ |
| 1565 | Server: srv, |
| 1566 | FullMethod: "/bbsim.BBSim/PoweronONU", |
| 1567 | } |
| 1568 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1569 | return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest)) |
| 1570 | } |
| 1571 | return interceptor(ctx, in, info, handler) |
| 1572 | } |
| 1573 | |
| 1574 | func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1575 | in := new(ONURequest) |
| 1576 | if err := dec(in); err != nil { |
| 1577 | return nil, err |
| 1578 | } |
| 1579 | if interceptor == nil { |
| 1580 | return srv.(BBSimServer).RestartEapol(ctx, in) |
| 1581 | } |
| 1582 | info := &grpc.UnaryServerInfo{ |
| 1583 | Server: srv, |
| 1584 | FullMethod: "/bbsim.BBSim/RestartEapol", |
| 1585 | } |
| 1586 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1587 | return srv.(BBSimServer).RestartEapol(ctx, req.(*ONURequest)) |
| 1588 | } |
| 1589 | return interceptor(ctx, in, info, handler) |
| 1590 | } |
| 1591 | |
| 1592 | func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1593 | in := new(ONURequest) |
| 1594 | if err := dec(in); err != nil { |
| 1595 | return nil, err |
| 1596 | } |
| 1597 | if interceptor == nil { |
| 1598 | return srv.(BBSimServer).RestartDhcp(ctx, in) |
| 1599 | } |
| 1600 | info := &grpc.UnaryServerInfo{ |
| 1601 | Server: srv, |
| 1602 | FullMethod: "/bbsim.BBSim/RestartDhcp", |
| 1603 | } |
| 1604 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1605 | return srv.(BBSimServer).RestartDhcp(ctx, req.(*ONURequest)) |
| 1606 | } |
| 1607 | return interceptor(ctx, in, info, handler) |
| 1608 | } |
| 1609 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1610 | func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1611 | in := new(ONUAlarmRequest) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1612 | if err := dec(in); err != nil { |
| 1613 | return nil, err |
| 1614 | } |
| 1615 | if interceptor == nil { |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1616 | return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1617 | } |
| 1618 | info := &grpc.UnaryServerInfo{ |
| 1619 | Server: srv, |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1620 | FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication", |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1621 | } |
| 1622 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1623 | return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest)) |
| 1624 | } |
| 1625 | return interceptor(ctx, in, info, handler) |
| 1626 | } |
| 1627 | |
| 1628 | func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1629 | in := new(OLTAlarmRequest) |
| 1630 | if err := dec(in); err != nil { |
| 1631 | return nil, err |
| 1632 | } |
| 1633 | if interceptor == nil { |
| 1634 | return srv.(BBSimServer).SetOltAlarmIndication(ctx, in) |
| 1635 | } |
| 1636 | info := &grpc.UnaryServerInfo{ |
| 1637 | Server: srv, |
| 1638 | FullMethod: "/bbsim.BBSim/SetOltAlarmIndication", |
| 1639 | } |
| 1640 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1641 | return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest)) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1642 | } |
| 1643 | return interceptor(ctx, in, info, handler) |
| 1644 | } |
| 1645 | |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame^] | 1646 | func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1647 | in := new(ONURequest) |
| 1648 | if err := dec(in); err != nil { |
| 1649 | return nil, err |
| 1650 | } |
| 1651 | if interceptor == nil { |
| 1652 | return srv.(BBSimServer).GetFlows(ctx, in) |
| 1653 | } |
| 1654 | info := &grpc.UnaryServerInfo{ |
| 1655 | Server: srv, |
| 1656 | FullMethod: "/bbsim.BBSim/GetFlows", |
| 1657 | } |
| 1658 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1659 | return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest)) |
| 1660 | } |
| 1661 | return interceptor(ctx, in, info, handler) |
| 1662 | } |
| 1663 | |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1664 | func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1665 | in := new(IgmpRequest) |
| 1666 | if err := dec(in); err != nil { |
| 1667 | return nil, err |
| 1668 | } |
| 1669 | if interceptor == nil { |
| 1670 | return srv.(BBSimServer).ChangeIgmpState(ctx, in) |
| 1671 | } |
| 1672 | info := &grpc.UnaryServerInfo{ |
| 1673 | Server: srv, |
| 1674 | FullMethod: "/bbsim.BBSim/ChangeIgmpState", |
| 1675 | } |
| 1676 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1677 | return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest)) |
| 1678 | } |
| 1679 | return interceptor(ctx, in, info, handler) |
| 1680 | } |
| 1681 | |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 1682 | func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1683 | in := new(ONURequest) |
| 1684 | if err := dec(in); err != nil { |
| 1685 | return nil, err |
| 1686 | } |
| 1687 | if interceptor == nil { |
| 1688 | return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in) |
| 1689 | } |
| 1690 | info := &grpc.UnaryServerInfo{ |
| 1691 | Server: srv, |
| 1692 | FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers", |
| 1693 | } |
| 1694 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1695 | return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest)) |
| 1696 | } |
| 1697 | return interceptor(ctx, in, info, handler) |
| 1698 | } |
| 1699 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1700 | var _BBSim_serviceDesc = grpc.ServiceDesc{ |
| 1701 | ServiceName: "bbsim.BBSim", |
| 1702 | HandlerType: (*BBSimServer)(nil), |
| 1703 | Methods: []grpc.MethodDesc{ |
| 1704 | { |
| 1705 | MethodName: "Version", |
| 1706 | Handler: _BBSim_Version_Handler, |
| 1707 | }, |
| 1708 | { |
| 1709 | MethodName: "GetOlt", |
| 1710 | Handler: _BBSim_GetOlt_Handler, |
| 1711 | }, |
| 1712 | { |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 1713 | MethodName: "PoweronOlt", |
| 1714 | Handler: _BBSim_PoweronOlt_Handler, |
| 1715 | }, |
| 1716 | { |
| 1717 | MethodName: "ShutdownOlt", |
| 1718 | Handler: _BBSim_ShutdownOlt_Handler, |
| 1719 | }, |
| 1720 | { |
| 1721 | MethodName: "RebootOlt", |
| 1722 | Handler: _BBSim_RebootOlt_Handler, |
| 1723 | }, |
| 1724 | { |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1725 | MethodName: "GetONUs", |
| 1726 | Handler: _BBSim_GetONUs_Handler, |
| 1727 | }, |
| 1728 | { |
| 1729 | MethodName: "GetONU", |
| 1730 | Handler: _BBSim_GetONU_Handler, |
| 1731 | }, |
| 1732 | { |
| 1733 | MethodName: "SetLogLevel", |
| 1734 | Handler: _BBSim_SetLogLevel_Handler, |
| 1735 | }, |
| 1736 | { |
| 1737 | MethodName: "ShutdownONU", |
| 1738 | Handler: _BBSim_ShutdownONU_Handler, |
| 1739 | }, |
| 1740 | { |
| 1741 | MethodName: "PoweronONU", |
| 1742 | Handler: _BBSim_PoweronONU_Handler, |
| 1743 | }, |
| 1744 | { |
| 1745 | MethodName: "RestartEapol", |
| 1746 | Handler: _BBSim_RestartEapol_Handler, |
| 1747 | }, |
| 1748 | { |
| 1749 | MethodName: "RestartDhcp", |
| 1750 | Handler: _BBSim_RestartDhcp_Handler, |
| 1751 | }, |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1752 | { |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1753 | MethodName: "SetOnuAlarmIndication", |
| 1754 | Handler: _BBSim_SetOnuAlarmIndication_Handler, |
| 1755 | }, |
| 1756 | { |
| 1757 | MethodName: "SetOltAlarmIndication", |
| 1758 | Handler: _BBSim_SetOltAlarmIndication_Handler, |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1759 | }, |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1760 | { |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame^] | 1761 | MethodName: "GetFlows", |
| 1762 | Handler: _BBSim_GetFlows_Handler, |
| 1763 | }, |
| 1764 | { |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1765 | MethodName: "ChangeIgmpState", |
| 1766 | Handler: _BBSim_ChangeIgmpState_Handler, |
| 1767 | }, |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 1768 | { |
| 1769 | MethodName: "GetOnuTrafficSchedulers", |
| 1770 | Handler: _BBSim_GetOnuTrafficSchedulers_Handler, |
| 1771 | }, |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1772 | }, |
| 1773 | Streams: []grpc.StreamDesc{}, |
| 1774 | Metadata: "api/bbsim/bbsim.proto", |
| 1775 | } |