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" |
| 10 | grpc "google.golang.org/grpc" |
Pragya Arya | 1cbefa4 | 2020-01-13 12:15:29 +0530 | [diff] [blame] | 11 | codes "google.golang.org/grpc/codes" |
| 12 | status "google.golang.org/grpc/status" |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 13 | math "math" |
| 14 | ) |
| 15 | |
| 16 | // Reference imports to suppress errors if they are not otherwise used. |
| 17 | var _ = proto.Marshal |
| 18 | var _ = fmt.Errorf |
| 19 | var _ = math.Inf |
| 20 | |
| 21 | // This is a compile-time assertion to ensure that this generated file |
| 22 | // is compatible with the proto package it is being compiled against. |
| 23 | // A compilation error at this line likely means your copy of the |
| 24 | // proto package needs to be updated. |
| 25 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| 26 | |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame^] | 27 | type SubActionTypes int32 |
| 28 | |
| 29 | const ( |
| 30 | SubActionTypes_JOIN SubActionTypes = 0 |
| 31 | SubActionTypes_LEAVE SubActionTypes = 1 |
| 32 | ) |
| 33 | |
| 34 | var SubActionTypes_name = map[int32]string{ |
| 35 | 0: "JOIN", |
| 36 | 1: "LEAVE", |
| 37 | } |
| 38 | |
| 39 | var SubActionTypes_value = map[string]int32{ |
| 40 | "JOIN": 0, |
| 41 | "LEAVE": 1, |
| 42 | } |
| 43 | |
| 44 | func (x SubActionTypes) String() string { |
| 45 | return proto.EnumName(SubActionTypes_name, int32(x)) |
| 46 | } |
| 47 | |
| 48 | func (SubActionTypes) EnumDescriptor() ([]byte, []int) { |
| 49 | return fileDescriptor_ef7750073d18011b, []int{0} |
| 50 | } |
| 51 | |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 52 | // These types correspond to the messages permitted in the oneof |
| 53 | // in AlarmIndication in the openolt protos |
| 54 | type AlarmType_Types int32 |
| 55 | |
| 56 | const ( |
| 57 | AlarmType_LOS AlarmType_Types = 0 |
| 58 | AlarmType_DYING_GASP AlarmType_Types = 1 |
| 59 | AlarmType_ONU_ALARM AlarmType_Types = 2 |
| 60 | AlarmType_ONU_STARTUP_FAILURE AlarmType_Types = 3 |
| 61 | AlarmType_ONU_SIGNAL_DEGRADE AlarmType_Types = 4 |
| 62 | AlarmType_ONU_DRIFT_OF_WINDOW AlarmType_Types = 5 |
| 63 | AlarmType_ONU_LOSS_OF_OMCI_CHANNEL AlarmType_Types = 6 |
| 64 | AlarmType_ONU_SIGNALS_FAILURE AlarmType_Types = 7 |
| 65 | AlarmType_ONU_TRANSMISSION_INTERFERENCE_WARNING AlarmType_Types = 8 |
| 66 | AlarmType_ONU_ACTIVATION_FAILURE AlarmType_Types = 9 |
| 67 | AlarmType_ONU_PROCESSING_ERROR AlarmType_Types = 10 |
| 68 | AlarmType_ONU_LOSS_OF_KEY_SYNC_FAILURE AlarmType_Types = 11 |
| 69 | AlarmType_ONU_ITU_PON_STATS AlarmType_Types = 12 |
| 70 | // These break out ONU_ALARM, which is a single message, but |
| 71 | // includes statuses for these six alarms. |
| 72 | AlarmType_ONU_ALARM_LOS AlarmType_Types = 13 |
| 73 | AlarmType_ONU_ALARM_LOB AlarmType_Types = 14 |
| 74 | AlarmType_ONU_ALARM_LOPC_MISS AlarmType_Types = 15 |
| 75 | AlarmType_ONU_ALARM_LOPC_MIC_ERROR AlarmType_Types = 16 |
| 76 | AlarmType_ONU_ALARM_LOFI AlarmType_Types = 17 |
| 77 | AlarmType_ONU_ALARM_LOAMI AlarmType_Types = 18 |
| 78 | ) |
| 79 | |
| 80 | var AlarmType_Types_name = map[int32]string{ |
| 81 | 0: "LOS", |
| 82 | 1: "DYING_GASP", |
| 83 | 2: "ONU_ALARM", |
| 84 | 3: "ONU_STARTUP_FAILURE", |
| 85 | 4: "ONU_SIGNAL_DEGRADE", |
| 86 | 5: "ONU_DRIFT_OF_WINDOW", |
| 87 | 6: "ONU_LOSS_OF_OMCI_CHANNEL", |
| 88 | 7: "ONU_SIGNALS_FAILURE", |
| 89 | 8: "ONU_TRANSMISSION_INTERFERENCE_WARNING", |
| 90 | 9: "ONU_ACTIVATION_FAILURE", |
| 91 | 10: "ONU_PROCESSING_ERROR", |
| 92 | 11: "ONU_LOSS_OF_KEY_SYNC_FAILURE", |
| 93 | 12: "ONU_ITU_PON_STATS", |
| 94 | 13: "ONU_ALARM_LOS", |
| 95 | 14: "ONU_ALARM_LOB", |
| 96 | 15: "ONU_ALARM_LOPC_MISS", |
| 97 | 16: "ONU_ALARM_LOPC_MIC_ERROR", |
| 98 | 17: "ONU_ALARM_LOFI", |
| 99 | 18: "ONU_ALARM_LOAMI", |
| 100 | } |
| 101 | |
| 102 | var AlarmType_Types_value = map[string]int32{ |
| 103 | "LOS": 0, |
| 104 | "DYING_GASP": 1, |
| 105 | "ONU_ALARM": 2, |
| 106 | "ONU_STARTUP_FAILURE": 3, |
| 107 | "ONU_SIGNAL_DEGRADE": 4, |
| 108 | "ONU_DRIFT_OF_WINDOW": 5, |
| 109 | "ONU_LOSS_OF_OMCI_CHANNEL": 6, |
| 110 | "ONU_SIGNALS_FAILURE": 7, |
| 111 | "ONU_TRANSMISSION_INTERFERENCE_WARNING": 8, |
| 112 | "ONU_ACTIVATION_FAILURE": 9, |
| 113 | "ONU_PROCESSING_ERROR": 10, |
| 114 | "ONU_LOSS_OF_KEY_SYNC_FAILURE": 11, |
| 115 | "ONU_ITU_PON_STATS": 12, |
| 116 | "ONU_ALARM_LOS": 13, |
| 117 | "ONU_ALARM_LOB": 14, |
| 118 | "ONU_ALARM_LOPC_MISS": 15, |
| 119 | "ONU_ALARM_LOPC_MIC_ERROR": 16, |
| 120 | "ONU_ALARM_LOFI": 17, |
| 121 | "ONU_ALARM_LOAMI": 18, |
| 122 | } |
| 123 | |
| 124 | func (x AlarmType_Types) String() string { |
| 125 | return proto.EnumName(AlarmType_Types_name, int32(x)) |
| 126 | } |
| 127 | |
| 128 | func (AlarmType_Types) EnumDescriptor() ([]byte, []int) { |
| 129 | return fileDescriptor_ef7750073d18011b, []int{6, 0} |
| 130 | } |
| 131 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 132 | type PONPort struct { |
| 133 | ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` |
| 134 | OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"` |
| 135 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 136 | XXX_unrecognized []byte `json:"-"` |
| 137 | XXX_sizecache int32 `json:"-"` |
| 138 | } |
| 139 | |
| 140 | func (m *PONPort) Reset() { *m = PONPort{} } |
| 141 | func (m *PONPort) String() string { return proto.CompactTextString(m) } |
| 142 | func (*PONPort) ProtoMessage() {} |
| 143 | func (*PONPort) Descriptor() ([]byte, []int) { |
| 144 | return fileDescriptor_ef7750073d18011b, []int{0} |
| 145 | } |
| 146 | |
| 147 | func (m *PONPort) XXX_Unmarshal(b []byte) error { |
| 148 | return xxx_messageInfo_PONPort.Unmarshal(m, b) |
| 149 | } |
| 150 | func (m *PONPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 151 | return xxx_messageInfo_PONPort.Marshal(b, m, deterministic) |
| 152 | } |
| 153 | func (m *PONPort) XXX_Merge(src proto.Message) { |
| 154 | xxx_messageInfo_PONPort.Merge(m, src) |
| 155 | } |
| 156 | func (m *PONPort) XXX_Size() int { |
| 157 | return xxx_messageInfo_PONPort.Size(m) |
| 158 | } |
| 159 | func (m *PONPort) XXX_DiscardUnknown() { |
| 160 | xxx_messageInfo_PONPort.DiscardUnknown(m) |
| 161 | } |
| 162 | |
| 163 | var xxx_messageInfo_PONPort proto.InternalMessageInfo |
| 164 | |
| 165 | func (m *PONPort) GetID() int32 { |
| 166 | if m != nil { |
| 167 | return m.ID |
| 168 | } |
| 169 | return 0 |
| 170 | } |
| 171 | |
| 172 | func (m *PONPort) GetOperState() string { |
| 173 | if m != nil { |
| 174 | return m.OperState |
| 175 | } |
| 176 | return "" |
| 177 | } |
| 178 | |
| 179 | type NNIPort struct { |
| 180 | ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` |
| 181 | OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"` |
| 182 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 183 | XXX_unrecognized []byte `json:"-"` |
| 184 | XXX_sizecache int32 `json:"-"` |
| 185 | } |
| 186 | |
| 187 | func (m *NNIPort) Reset() { *m = NNIPort{} } |
| 188 | func (m *NNIPort) String() string { return proto.CompactTextString(m) } |
| 189 | func (*NNIPort) ProtoMessage() {} |
| 190 | func (*NNIPort) Descriptor() ([]byte, []int) { |
| 191 | return fileDescriptor_ef7750073d18011b, []int{1} |
| 192 | } |
| 193 | |
| 194 | func (m *NNIPort) XXX_Unmarshal(b []byte) error { |
| 195 | return xxx_messageInfo_NNIPort.Unmarshal(m, b) |
| 196 | } |
| 197 | func (m *NNIPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 198 | return xxx_messageInfo_NNIPort.Marshal(b, m, deterministic) |
| 199 | } |
| 200 | func (m *NNIPort) XXX_Merge(src proto.Message) { |
| 201 | xxx_messageInfo_NNIPort.Merge(m, src) |
| 202 | } |
| 203 | func (m *NNIPort) XXX_Size() int { |
| 204 | return xxx_messageInfo_NNIPort.Size(m) |
| 205 | } |
| 206 | func (m *NNIPort) XXX_DiscardUnknown() { |
| 207 | xxx_messageInfo_NNIPort.DiscardUnknown(m) |
| 208 | } |
| 209 | |
| 210 | var xxx_messageInfo_NNIPort proto.InternalMessageInfo |
| 211 | |
| 212 | func (m *NNIPort) GetID() int32 { |
| 213 | if m != nil { |
| 214 | return m.ID |
| 215 | } |
| 216 | return 0 |
| 217 | } |
| 218 | |
| 219 | func (m *NNIPort) GetOperState() string { |
| 220 | if m != nil { |
| 221 | return m.OperState |
| 222 | } |
| 223 | return "" |
| 224 | } |
| 225 | |
| 226 | type Olt struct { |
| 227 | ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` |
| 228 | SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` |
| 229 | OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"` |
| 230 | InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"` |
| 231 | NNIPorts []*NNIPort `protobuf:"bytes,5,rep,name=NNIPorts,proto3" json:"NNIPorts,omitempty"` |
| 232 | PONPorts []*PONPort `protobuf:"bytes,6,rep,name=PONPorts,proto3" json:"PONPorts,omitempty"` |
| 233 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 234 | XXX_unrecognized []byte `json:"-"` |
| 235 | XXX_sizecache int32 `json:"-"` |
| 236 | } |
| 237 | |
| 238 | func (m *Olt) Reset() { *m = Olt{} } |
| 239 | func (m *Olt) String() string { return proto.CompactTextString(m) } |
| 240 | func (*Olt) ProtoMessage() {} |
| 241 | func (*Olt) Descriptor() ([]byte, []int) { |
| 242 | return fileDescriptor_ef7750073d18011b, []int{2} |
| 243 | } |
| 244 | |
| 245 | func (m *Olt) XXX_Unmarshal(b []byte) error { |
| 246 | return xxx_messageInfo_Olt.Unmarshal(m, b) |
| 247 | } |
| 248 | func (m *Olt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 249 | return xxx_messageInfo_Olt.Marshal(b, m, deterministic) |
| 250 | } |
| 251 | func (m *Olt) XXX_Merge(src proto.Message) { |
| 252 | xxx_messageInfo_Olt.Merge(m, src) |
| 253 | } |
| 254 | func (m *Olt) XXX_Size() int { |
| 255 | return xxx_messageInfo_Olt.Size(m) |
| 256 | } |
| 257 | func (m *Olt) XXX_DiscardUnknown() { |
| 258 | xxx_messageInfo_Olt.DiscardUnknown(m) |
| 259 | } |
| 260 | |
| 261 | var xxx_messageInfo_Olt proto.InternalMessageInfo |
| 262 | |
| 263 | func (m *Olt) GetID() int32 { |
| 264 | if m != nil { |
| 265 | return m.ID |
| 266 | } |
| 267 | return 0 |
| 268 | } |
| 269 | |
| 270 | func (m *Olt) GetSerialNumber() string { |
| 271 | if m != nil { |
| 272 | return m.SerialNumber |
| 273 | } |
| 274 | return "" |
| 275 | } |
| 276 | |
| 277 | func (m *Olt) GetOperState() string { |
| 278 | if m != nil { |
| 279 | return m.OperState |
| 280 | } |
| 281 | return "" |
| 282 | } |
| 283 | |
| 284 | func (m *Olt) GetInternalState() string { |
| 285 | if m != nil { |
| 286 | return m.InternalState |
| 287 | } |
| 288 | return "" |
| 289 | } |
| 290 | |
| 291 | func (m *Olt) GetNNIPorts() []*NNIPort { |
| 292 | if m != nil { |
| 293 | return m.NNIPorts |
| 294 | } |
| 295 | return nil |
| 296 | } |
| 297 | |
| 298 | func (m *Olt) GetPONPorts() []*PONPort { |
| 299 | if m != nil { |
| 300 | return m.PONPorts |
| 301 | } |
| 302 | return nil |
| 303 | } |
| 304 | |
| 305 | type ONU struct { |
| 306 | ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` |
| 307 | SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` |
| 308 | OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"` |
| 309 | InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"` |
| 310 | PonPortID int32 `protobuf:"varint,5,opt,name=PonPortID,proto3" json:"PonPortID,omitempty"` |
| 311 | STag int32 `protobuf:"varint,6,opt,name=STag,proto3" json:"STag,omitempty"` |
| 312 | CTag int32 `protobuf:"varint,7,opt,name=CTag,proto3" json:"CTag,omitempty"` |
| 313 | HwAddress string `protobuf:"bytes,8,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"` |
| 314 | PortNo int32 `protobuf:"varint,9,opt,name=PortNo,proto3" json:"PortNo,omitempty"` |
| 315 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 316 | XXX_unrecognized []byte `json:"-"` |
| 317 | XXX_sizecache int32 `json:"-"` |
| 318 | } |
| 319 | |
| 320 | func (m *ONU) Reset() { *m = ONU{} } |
| 321 | func (m *ONU) String() string { return proto.CompactTextString(m) } |
| 322 | func (*ONU) ProtoMessage() {} |
| 323 | func (*ONU) Descriptor() ([]byte, []int) { |
| 324 | return fileDescriptor_ef7750073d18011b, []int{3} |
| 325 | } |
| 326 | |
| 327 | func (m *ONU) XXX_Unmarshal(b []byte) error { |
| 328 | return xxx_messageInfo_ONU.Unmarshal(m, b) |
| 329 | } |
| 330 | func (m *ONU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 331 | return xxx_messageInfo_ONU.Marshal(b, m, deterministic) |
| 332 | } |
| 333 | func (m *ONU) XXX_Merge(src proto.Message) { |
| 334 | xxx_messageInfo_ONU.Merge(m, src) |
| 335 | } |
| 336 | func (m *ONU) XXX_Size() int { |
| 337 | return xxx_messageInfo_ONU.Size(m) |
| 338 | } |
| 339 | func (m *ONU) XXX_DiscardUnknown() { |
| 340 | xxx_messageInfo_ONU.DiscardUnknown(m) |
| 341 | } |
| 342 | |
| 343 | var xxx_messageInfo_ONU proto.InternalMessageInfo |
| 344 | |
| 345 | func (m *ONU) GetID() int32 { |
| 346 | if m != nil { |
| 347 | return m.ID |
| 348 | } |
| 349 | return 0 |
| 350 | } |
| 351 | |
| 352 | func (m *ONU) GetSerialNumber() string { |
| 353 | if m != nil { |
| 354 | return m.SerialNumber |
| 355 | } |
| 356 | return "" |
| 357 | } |
| 358 | |
| 359 | func (m *ONU) GetOperState() string { |
| 360 | if m != nil { |
| 361 | return m.OperState |
| 362 | } |
| 363 | return "" |
| 364 | } |
| 365 | |
| 366 | func (m *ONU) GetInternalState() string { |
| 367 | if m != nil { |
| 368 | return m.InternalState |
| 369 | } |
| 370 | return "" |
| 371 | } |
| 372 | |
| 373 | func (m *ONU) GetPonPortID() int32 { |
| 374 | if m != nil { |
| 375 | return m.PonPortID |
| 376 | } |
| 377 | return 0 |
| 378 | } |
| 379 | |
| 380 | func (m *ONU) GetSTag() int32 { |
| 381 | if m != nil { |
| 382 | return m.STag |
| 383 | } |
| 384 | return 0 |
| 385 | } |
| 386 | |
| 387 | func (m *ONU) GetCTag() int32 { |
| 388 | if m != nil { |
| 389 | return m.CTag |
| 390 | } |
| 391 | return 0 |
| 392 | } |
| 393 | |
| 394 | func (m *ONU) GetHwAddress() string { |
| 395 | if m != nil { |
| 396 | return m.HwAddress |
| 397 | } |
| 398 | return "" |
| 399 | } |
| 400 | |
| 401 | func (m *ONU) GetPortNo() int32 { |
| 402 | if m != nil { |
| 403 | return m.PortNo |
| 404 | } |
| 405 | return 0 |
| 406 | } |
| 407 | |
| 408 | type ONUs struct { |
| 409 | Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 410 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 411 | XXX_unrecognized []byte `json:"-"` |
| 412 | XXX_sizecache int32 `json:"-"` |
| 413 | } |
| 414 | |
| 415 | func (m *ONUs) Reset() { *m = ONUs{} } |
| 416 | func (m *ONUs) String() string { return proto.CompactTextString(m) } |
| 417 | func (*ONUs) ProtoMessage() {} |
| 418 | func (*ONUs) Descriptor() ([]byte, []int) { |
| 419 | return fileDescriptor_ef7750073d18011b, []int{4} |
| 420 | } |
| 421 | |
| 422 | func (m *ONUs) XXX_Unmarshal(b []byte) error { |
| 423 | return xxx_messageInfo_ONUs.Unmarshal(m, b) |
| 424 | } |
| 425 | func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 426 | return xxx_messageInfo_ONUs.Marshal(b, m, deterministic) |
| 427 | } |
| 428 | func (m *ONUs) XXX_Merge(src proto.Message) { |
| 429 | xxx_messageInfo_ONUs.Merge(m, src) |
| 430 | } |
| 431 | func (m *ONUs) XXX_Size() int { |
| 432 | return xxx_messageInfo_ONUs.Size(m) |
| 433 | } |
| 434 | func (m *ONUs) XXX_DiscardUnknown() { |
| 435 | xxx_messageInfo_ONUs.DiscardUnknown(m) |
| 436 | } |
| 437 | |
| 438 | var xxx_messageInfo_ONUs proto.InternalMessageInfo |
| 439 | |
| 440 | func (m *ONUs) GetItems() []*ONU { |
| 441 | if m != nil { |
| 442 | return m.Items |
| 443 | } |
| 444 | return nil |
| 445 | } |
| 446 | |
| 447 | type ONURequest struct { |
| 448 | SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` |
| 449 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 450 | XXX_unrecognized []byte `json:"-"` |
| 451 | XXX_sizecache int32 `json:"-"` |
| 452 | } |
| 453 | |
| 454 | func (m *ONURequest) Reset() { *m = ONURequest{} } |
| 455 | func (m *ONURequest) String() string { return proto.CompactTextString(m) } |
| 456 | func (*ONURequest) ProtoMessage() {} |
| 457 | func (*ONURequest) Descriptor() ([]byte, []int) { |
| 458 | return fileDescriptor_ef7750073d18011b, []int{5} |
| 459 | } |
| 460 | |
| 461 | func (m *ONURequest) XXX_Unmarshal(b []byte) error { |
| 462 | return xxx_messageInfo_ONURequest.Unmarshal(m, b) |
| 463 | } |
| 464 | func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 465 | return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic) |
| 466 | } |
| 467 | func (m *ONURequest) XXX_Merge(src proto.Message) { |
| 468 | xxx_messageInfo_ONURequest.Merge(m, src) |
| 469 | } |
| 470 | func (m *ONURequest) XXX_Size() int { |
| 471 | return xxx_messageInfo_ONURequest.Size(m) |
| 472 | } |
| 473 | func (m *ONURequest) XXX_DiscardUnknown() { |
| 474 | xxx_messageInfo_ONURequest.DiscardUnknown(m) |
| 475 | } |
| 476 | |
| 477 | var xxx_messageInfo_ONURequest proto.InternalMessageInfo |
| 478 | |
| 479 | func (m *ONURequest) GetSerialNumber() string { |
| 480 | if m != nil { |
| 481 | return m.SerialNumber |
| 482 | } |
| 483 | return "" |
| 484 | } |
| 485 | |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 486 | type AlarmType struct { |
| 487 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 488 | XXX_unrecognized []byte `json:"-"` |
| 489 | XXX_sizecache int32 `json:"-"` |
| 490 | } |
| 491 | |
| 492 | func (m *AlarmType) Reset() { *m = AlarmType{} } |
| 493 | func (m *AlarmType) String() string { return proto.CompactTextString(m) } |
| 494 | func (*AlarmType) ProtoMessage() {} |
| 495 | func (*AlarmType) Descriptor() ([]byte, []int) { |
| 496 | return fileDescriptor_ef7750073d18011b, []int{6} |
| 497 | } |
| 498 | |
| 499 | func (m *AlarmType) XXX_Unmarshal(b []byte) error { |
| 500 | return xxx_messageInfo_AlarmType.Unmarshal(m, b) |
| 501 | } |
| 502 | func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 503 | return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic) |
| 504 | } |
| 505 | func (m *AlarmType) XXX_Merge(src proto.Message) { |
| 506 | xxx_messageInfo_AlarmType.Merge(m, src) |
| 507 | } |
| 508 | func (m *AlarmType) XXX_Size() int { |
| 509 | return xxx_messageInfo_AlarmType.Size(m) |
| 510 | } |
| 511 | func (m *AlarmType) XXX_DiscardUnknown() { |
| 512 | xxx_messageInfo_AlarmType.DiscardUnknown(m) |
| 513 | } |
| 514 | |
| 515 | var xxx_messageInfo_AlarmType proto.InternalMessageInfo |
| 516 | |
| 517 | type AlarmParameter struct { |
| 518 | Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` |
| 519 | Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` |
| 520 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 521 | XXX_unrecognized []byte `json:"-"` |
| 522 | XXX_sizecache int32 `json:"-"` |
| 523 | } |
| 524 | |
| 525 | func (m *AlarmParameter) Reset() { *m = AlarmParameter{} } |
| 526 | func (m *AlarmParameter) String() string { return proto.CompactTextString(m) } |
| 527 | func (*AlarmParameter) ProtoMessage() {} |
| 528 | func (*AlarmParameter) Descriptor() ([]byte, []int) { |
| 529 | return fileDescriptor_ef7750073d18011b, []int{7} |
| 530 | } |
| 531 | |
| 532 | func (m *AlarmParameter) XXX_Unmarshal(b []byte) error { |
| 533 | return xxx_messageInfo_AlarmParameter.Unmarshal(m, b) |
| 534 | } |
| 535 | func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 536 | return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic) |
| 537 | } |
| 538 | func (m *AlarmParameter) XXX_Merge(src proto.Message) { |
| 539 | xxx_messageInfo_AlarmParameter.Merge(m, src) |
| 540 | } |
| 541 | func (m *AlarmParameter) XXX_Size() int { |
| 542 | return xxx_messageInfo_AlarmParameter.Size(m) |
| 543 | } |
| 544 | func (m *AlarmParameter) XXX_DiscardUnknown() { |
| 545 | xxx_messageInfo_AlarmParameter.DiscardUnknown(m) |
| 546 | } |
| 547 | |
| 548 | var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo |
| 549 | |
| 550 | func (m *AlarmParameter) GetKey() string { |
| 551 | if m != nil { |
| 552 | return m.Key |
| 553 | } |
| 554 | return "" |
| 555 | } |
| 556 | |
| 557 | func (m *AlarmParameter) GetValue() string { |
| 558 | if m != nil { |
| 559 | return m.Value |
| 560 | } |
| 561 | return "" |
| 562 | } |
| 563 | |
| 564 | // AlarmRequest includes fields common to every alarm, |
| 565 | // plus an optional list of AlarmParemter list that can be used |
| 566 | // to set additional fields in alarms that support them. |
| 567 | type AlarmRequest struct { |
| 568 | AlarmType AlarmType_Types `protobuf:"varint,1,opt,name=AlarmType,proto3,enum=bbsim.AlarmType_Types" json:"AlarmType,omitempty"` |
| 569 | SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` |
| 570 | Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"` |
| 571 | Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"` |
| 572 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 573 | XXX_unrecognized []byte `json:"-"` |
| 574 | XXX_sizecache int32 `json:"-"` |
| 575 | } |
| 576 | |
| 577 | func (m *AlarmRequest) Reset() { *m = AlarmRequest{} } |
| 578 | func (m *AlarmRequest) String() string { return proto.CompactTextString(m) } |
| 579 | func (*AlarmRequest) ProtoMessage() {} |
| 580 | func (*AlarmRequest) Descriptor() ([]byte, []int) { |
| 581 | return fileDescriptor_ef7750073d18011b, []int{8} |
| 582 | } |
| 583 | |
| 584 | func (m *AlarmRequest) XXX_Unmarshal(b []byte) error { |
| 585 | return xxx_messageInfo_AlarmRequest.Unmarshal(m, b) |
| 586 | } |
| 587 | func (m *AlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 588 | return xxx_messageInfo_AlarmRequest.Marshal(b, m, deterministic) |
| 589 | } |
| 590 | func (m *AlarmRequest) XXX_Merge(src proto.Message) { |
| 591 | xxx_messageInfo_AlarmRequest.Merge(m, src) |
| 592 | } |
| 593 | func (m *AlarmRequest) XXX_Size() int { |
| 594 | return xxx_messageInfo_AlarmRequest.Size(m) |
| 595 | } |
| 596 | func (m *AlarmRequest) XXX_DiscardUnknown() { |
| 597 | xxx_messageInfo_AlarmRequest.DiscardUnknown(m) |
| 598 | } |
| 599 | |
| 600 | var xxx_messageInfo_AlarmRequest proto.InternalMessageInfo |
| 601 | |
| 602 | func (m *AlarmRequest) GetAlarmType() AlarmType_Types { |
| 603 | if m != nil { |
| 604 | return m.AlarmType |
| 605 | } |
| 606 | return AlarmType_LOS |
| 607 | } |
| 608 | |
| 609 | func (m *AlarmRequest) GetSerialNumber() string { |
| 610 | if m != nil { |
| 611 | return m.SerialNumber |
| 612 | } |
| 613 | return "" |
| 614 | } |
| 615 | |
| 616 | func (m *AlarmRequest) GetStatus() string { |
| 617 | if m != nil { |
| 618 | return m.Status |
| 619 | } |
| 620 | return "" |
| 621 | } |
| 622 | |
| 623 | func (m *AlarmRequest) GetParameters() []*AlarmParameter { |
| 624 | if m != nil { |
| 625 | return m.Parameters |
| 626 | } |
| 627 | return nil |
| 628 | } |
| 629 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 630 | type VersionNumber struct { |
| 631 | Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` |
| 632 | BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"` |
| 633 | CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"` |
| 634 | GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"` |
| 635 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 636 | XXX_unrecognized []byte `json:"-"` |
| 637 | XXX_sizecache int32 `json:"-"` |
| 638 | } |
| 639 | |
| 640 | func (m *VersionNumber) Reset() { *m = VersionNumber{} } |
| 641 | func (m *VersionNumber) String() string { return proto.CompactTextString(m) } |
| 642 | func (*VersionNumber) ProtoMessage() {} |
| 643 | func (*VersionNumber) Descriptor() ([]byte, []int) { |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 644 | return fileDescriptor_ef7750073d18011b, []int{9} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 645 | } |
| 646 | |
| 647 | func (m *VersionNumber) XXX_Unmarshal(b []byte) error { |
| 648 | return xxx_messageInfo_VersionNumber.Unmarshal(m, b) |
| 649 | } |
| 650 | func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 651 | return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic) |
| 652 | } |
| 653 | func (m *VersionNumber) XXX_Merge(src proto.Message) { |
| 654 | xxx_messageInfo_VersionNumber.Merge(m, src) |
| 655 | } |
| 656 | func (m *VersionNumber) XXX_Size() int { |
| 657 | return xxx_messageInfo_VersionNumber.Size(m) |
| 658 | } |
| 659 | func (m *VersionNumber) XXX_DiscardUnknown() { |
| 660 | xxx_messageInfo_VersionNumber.DiscardUnknown(m) |
| 661 | } |
| 662 | |
| 663 | var xxx_messageInfo_VersionNumber proto.InternalMessageInfo |
| 664 | |
| 665 | func (m *VersionNumber) GetVersion() string { |
| 666 | if m != nil { |
| 667 | return m.Version |
| 668 | } |
| 669 | return "" |
| 670 | } |
| 671 | |
| 672 | func (m *VersionNumber) GetBuildTime() string { |
| 673 | if m != nil { |
| 674 | return m.BuildTime |
| 675 | } |
| 676 | return "" |
| 677 | } |
| 678 | |
| 679 | func (m *VersionNumber) GetCommitHash() string { |
| 680 | if m != nil { |
| 681 | return m.CommitHash |
| 682 | } |
| 683 | return "" |
| 684 | } |
| 685 | |
| 686 | func (m *VersionNumber) GetGitStatus() string { |
| 687 | if m != nil { |
| 688 | return m.GitStatus |
| 689 | } |
| 690 | return "" |
| 691 | } |
| 692 | |
| 693 | type LogLevel struct { |
| 694 | Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"` |
| 695 | Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"` |
| 696 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 697 | XXX_unrecognized []byte `json:"-"` |
| 698 | XXX_sizecache int32 `json:"-"` |
| 699 | } |
| 700 | |
| 701 | func (m *LogLevel) Reset() { *m = LogLevel{} } |
| 702 | func (m *LogLevel) String() string { return proto.CompactTextString(m) } |
| 703 | func (*LogLevel) ProtoMessage() {} |
| 704 | func (*LogLevel) Descriptor() ([]byte, []int) { |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 705 | return fileDescriptor_ef7750073d18011b, []int{10} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 706 | } |
| 707 | |
| 708 | func (m *LogLevel) XXX_Unmarshal(b []byte) error { |
| 709 | return xxx_messageInfo_LogLevel.Unmarshal(m, b) |
| 710 | } |
| 711 | func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 712 | return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic) |
| 713 | } |
| 714 | func (m *LogLevel) XXX_Merge(src proto.Message) { |
| 715 | xxx_messageInfo_LogLevel.Merge(m, src) |
| 716 | } |
| 717 | func (m *LogLevel) XXX_Size() int { |
| 718 | return xxx_messageInfo_LogLevel.Size(m) |
| 719 | } |
| 720 | func (m *LogLevel) XXX_DiscardUnknown() { |
| 721 | xxx_messageInfo_LogLevel.DiscardUnknown(m) |
| 722 | } |
| 723 | |
| 724 | var xxx_messageInfo_LogLevel proto.InternalMessageInfo |
| 725 | |
| 726 | func (m *LogLevel) GetLevel() string { |
| 727 | if m != nil { |
| 728 | return m.Level |
| 729 | } |
| 730 | return "" |
| 731 | } |
| 732 | |
| 733 | func (m *LogLevel) GetCaller() bool { |
| 734 | if m != nil { |
| 735 | return m.Caller |
| 736 | } |
| 737 | return false |
| 738 | } |
| 739 | |
| 740 | type Response struct { |
| 741 | StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` |
| 742 | Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` |
| 743 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 744 | XXX_unrecognized []byte `json:"-"` |
| 745 | XXX_sizecache int32 `json:"-"` |
| 746 | } |
| 747 | |
| 748 | func (m *Response) Reset() { *m = Response{} } |
| 749 | func (m *Response) String() string { return proto.CompactTextString(m) } |
| 750 | func (*Response) ProtoMessage() {} |
| 751 | func (*Response) Descriptor() ([]byte, []int) { |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 752 | return fileDescriptor_ef7750073d18011b, []int{11} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 753 | } |
| 754 | |
| 755 | func (m *Response) XXX_Unmarshal(b []byte) error { |
| 756 | return xxx_messageInfo_Response.Unmarshal(m, b) |
| 757 | } |
| 758 | func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 759 | return xxx_messageInfo_Response.Marshal(b, m, deterministic) |
| 760 | } |
| 761 | func (m *Response) XXX_Merge(src proto.Message) { |
| 762 | xxx_messageInfo_Response.Merge(m, src) |
| 763 | } |
| 764 | func (m *Response) XXX_Size() int { |
| 765 | return xxx_messageInfo_Response.Size(m) |
| 766 | } |
| 767 | func (m *Response) XXX_DiscardUnknown() { |
| 768 | xxx_messageInfo_Response.DiscardUnknown(m) |
| 769 | } |
| 770 | |
| 771 | var xxx_messageInfo_Response proto.InternalMessageInfo |
| 772 | |
| 773 | func (m *Response) GetStatusCode() int32 { |
| 774 | if m != nil { |
| 775 | return m.StatusCode |
| 776 | } |
| 777 | return 0 |
| 778 | } |
| 779 | |
| 780 | func (m *Response) GetMessage() string { |
| 781 | if m != nil { |
| 782 | return m.Message |
| 783 | } |
| 784 | return "" |
| 785 | } |
| 786 | |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame^] | 787 | type IgmpRequest struct { |
| 788 | OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"` |
| 789 | SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"` |
| 790 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 791 | XXX_unrecognized []byte `json:"-"` |
| 792 | XXX_sizecache int32 `json:"-"` |
| 793 | } |
| 794 | |
| 795 | func (m *IgmpRequest) Reset() { *m = IgmpRequest{} } |
| 796 | func (m *IgmpRequest) String() string { return proto.CompactTextString(m) } |
| 797 | func (*IgmpRequest) ProtoMessage() {} |
| 798 | func (*IgmpRequest) Descriptor() ([]byte, []int) { |
| 799 | return fileDescriptor_ef7750073d18011b, []int{12} |
| 800 | } |
| 801 | |
| 802 | func (m *IgmpRequest) XXX_Unmarshal(b []byte) error { |
| 803 | return xxx_messageInfo_IgmpRequest.Unmarshal(m, b) |
| 804 | } |
| 805 | func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 806 | return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic) |
| 807 | } |
| 808 | func (m *IgmpRequest) XXX_Merge(src proto.Message) { |
| 809 | xxx_messageInfo_IgmpRequest.Merge(m, src) |
| 810 | } |
| 811 | func (m *IgmpRequest) XXX_Size() int { |
| 812 | return xxx_messageInfo_IgmpRequest.Size(m) |
| 813 | } |
| 814 | func (m *IgmpRequest) XXX_DiscardUnknown() { |
| 815 | xxx_messageInfo_IgmpRequest.DiscardUnknown(m) |
| 816 | } |
| 817 | |
| 818 | var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo |
| 819 | |
| 820 | func (m *IgmpRequest) GetOnuReq() *ONURequest { |
| 821 | if m != nil { |
| 822 | return m.OnuReq |
| 823 | } |
| 824 | return nil |
| 825 | } |
| 826 | |
| 827 | func (m *IgmpRequest) GetSubActionVal() SubActionTypes { |
| 828 | if m != nil { |
| 829 | return m.SubActionVal |
| 830 | } |
| 831 | return SubActionTypes_JOIN |
| 832 | } |
| 833 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 834 | type Empty struct { |
| 835 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 836 | XXX_unrecognized []byte `json:"-"` |
| 837 | XXX_sizecache int32 `json:"-"` |
| 838 | } |
| 839 | |
| 840 | func (m *Empty) Reset() { *m = Empty{} } |
| 841 | func (m *Empty) String() string { return proto.CompactTextString(m) } |
| 842 | func (*Empty) ProtoMessage() {} |
| 843 | func (*Empty) Descriptor() ([]byte, []int) { |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame^] | 844 | return fileDescriptor_ef7750073d18011b, []int{13} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 845 | } |
| 846 | |
| 847 | func (m *Empty) XXX_Unmarshal(b []byte) error { |
| 848 | return xxx_messageInfo_Empty.Unmarshal(m, b) |
| 849 | } |
| 850 | func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 851 | return xxx_messageInfo_Empty.Marshal(b, m, deterministic) |
| 852 | } |
| 853 | func (m *Empty) XXX_Merge(src proto.Message) { |
| 854 | xxx_messageInfo_Empty.Merge(m, src) |
| 855 | } |
| 856 | func (m *Empty) XXX_Size() int { |
| 857 | return xxx_messageInfo_Empty.Size(m) |
| 858 | } |
| 859 | func (m *Empty) XXX_DiscardUnknown() { |
| 860 | xxx_messageInfo_Empty.DiscardUnknown(m) |
| 861 | } |
| 862 | |
| 863 | var xxx_messageInfo_Empty proto.InternalMessageInfo |
| 864 | |
| 865 | func init() { |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame^] | 866 | proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 867 | proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 868 | proto.RegisterType((*PONPort)(nil), "bbsim.PONPort") |
| 869 | proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort") |
| 870 | proto.RegisterType((*Olt)(nil), "bbsim.Olt") |
| 871 | proto.RegisterType((*ONU)(nil), "bbsim.ONU") |
| 872 | proto.RegisterType((*ONUs)(nil), "bbsim.ONUs") |
| 873 | proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest") |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 874 | proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType") |
| 875 | proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter") |
| 876 | proto.RegisterType((*AlarmRequest)(nil), "bbsim.AlarmRequest") |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 877 | proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber") |
| 878 | proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel") |
| 879 | proto.RegisterType((*Response)(nil), "bbsim.Response") |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame^] | 880 | proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest") |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 881 | proto.RegisterType((*Empty)(nil), "bbsim.Empty") |
| 882 | } |
| 883 | |
| 884 | func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) } |
| 885 | |
| 886 | var fileDescriptor_ef7750073d18011b = []byte{ |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame^] | 887 | // 1097 bytes of a gzipped FileDescriptorProto |
| 888 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0xcd, 0x4e, 0xe3, 0x56, |
| 889 | 0x14, 0x4e, 0x48, 0x9c, 0x9f, 0x93, 0x10, 0xcc, 0x99, 0x19, 0x6a, 0x21, 0xd4, 0x22, 0x6b, 0xa6, |
| 890 | 0x62, 0x46, 0x2d, 0xd3, 0xc2, 0x54, 0xa5, 0x52, 0x37, 0x26, 0x31, 0xc1, 0x9d, 0x60, 0x47, 0xd7, |
| 891 | 0x0e, 0x88, 0x95, 0xe5, 0x24, 0x57, 0xc1, 0x92, 0x1d, 0x67, 0x6c, 0x67, 0x10, 0x0f, 0xd0, 0x67, |
| 892 | 0xea, 0xaa, 0xef, 0xd0, 0x4d, 0xb7, 0x7d, 0x8f, 0xee, 0xaa, 0x6b, 0x5f, 0x3b, 0x0e, 0xa0, 0x2a, |
| 893 | 0xea, 0xa6, 0x1b, 0xe4, 0xf3, 0x9d, 0xef, 0x3b, 0x7f, 0xf7, 0xde, 0x13, 0xe0, 0x95, 0xb3, 0x70, |
| 894 | 0xdf, 0x8f, 0xc7, 0x91, 0xeb, 0xa7, 0x7f, 0x8f, 0x17, 0x61, 0x10, 0x07, 0x28, 0x24, 0x86, 0xfc, |
| 895 | 0x23, 0xd4, 0x87, 0x86, 0x3e, 0x0c, 0xc2, 0x18, 0x3b, 0xb0, 0xa5, 0xf5, 0xa4, 0xf2, 0x61, 0xf9, |
| 896 | 0x48, 0x20, 0x5b, 0x5a, 0x0f, 0x0f, 0xa0, 0x69, 0x2c, 0x68, 0x68, 0xc6, 0x4e, 0x4c, 0xa5, 0xad, |
| 897 | 0xc3, 0xf2, 0x51, 0x93, 0xac, 0x00, 0x26, 0xd4, 0x75, 0xed, 0x3f, 0x08, 0xff, 0x2c, 0x43, 0xc5, |
| 898 | 0xf0, 0x9e, 0xaa, 0x64, 0x68, 0x9b, 0x34, 0x74, 0x1d, 0x4f, 0x5f, 0xfa, 0x63, 0x1a, 0x72, 0xe1, |
| 899 | 0x1a, 0xb6, 0x1e, 0xb9, 0xf2, 0x28, 0x32, 0xbe, 0x86, 0x6d, 0x6d, 0x1e, 0xd3, 0x70, 0xee, 0x78, |
| 900 | 0x29, 0xa3, 0x9a, 0x30, 0xd6, 0x41, 0x7c, 0x07, 0x0d, 0x5e, 0x78, 0x24, 0x09, 0x87, 0x95, 0xa3, |
| 901 | 0xd6, 0x49, 0xe7, 0x38, 0x1d, 0x0c, 0x87, 0x49, 0xee, 0x67, 0x5c, 0x3e, 0x9d, 0x48, 0xaa, 0xad, |
| 902 | 0x71, 0x39, 0x4c, 0x72, 0xbf, 0xfc, 0x37, 0xeb, 0x4b, 0x1f, 0xfd, 0x6f, 0x7d, 0x1d, 0x40, 0x73, |
| 903 | 0x18, 0xcc, 0x59, 0x2d, 0x5a, 0x4f, 0x12, 0x92, 0xf4, 0x2b, 0x00, 0x11, 0xaa, 0xa6, 0xe5, 0xcc, |
| 904 | 0xa4, 0x5a, 0xe2, 0x48, 0xbe, 0x19, 0xd6, 0x65, 0x58, 0x3d, 0xc5, 0xd8, 0x37, 0x8b, 0x72, 0x79, |
| 905 | 0xaf, 0x4c, 0xa7, 0x21, 0x8d, 0x22, 0xa9, 0x91, 0x56, 0x92, 0x03, 0xb8, 0x07, 0x35, 0x16, 0x4f, |
| 906 | 0x0f, 0xa4, 0x66, 0xa2, 0xe1, 0x96, 0x7c, 0x04, 0x55, 0x43, 0x1f, 0x45, 0x78, 0x08, 0x82, 0x1b, |
| 907 | 0x53, 0x3f, 0x92, 0xca, 0xc9, 0xb0, 0x80, 0x0f, 0xcb, 0xd0, 0x47, 0x24, 0x75, 0xc8, 0xdf, 0x01, |
| 908 | 0x30, 0x8b, 0x7e, 0x5a, 0xd2, 0x28, 0x7e, 0x32, 0x9b, 0xf2, 0xd3, 0xd9, 0xc8, 0x7f, 0x55, 0xa0, |
| 909 | 0xa9, 0x78, 0x4e, 0xe8, 0x5b, 0x0f, 0x0b, 0x2a, 0xff, 0x51, 0x01, 0x81, 0x7d, 0x44, 0x58, 0x87, |
| 910 | 0xca, 0xc0, 0x30, 0xc5, 0x12, 0x76, 0x00, 0x7a, 0xb7, 0x9a, 0xde, 0xb7, 0xfb, 0x8a, 0x39, 0x14, |
| 911 | 0xcb, 0xb8, 0x0d, 0x4d, 0x43, 0x1f, 0xd9, 0xca, 0x40, 0x21, 0x57, 0xe2, 0x16, 0x7e, 0x01, 0x2f, |
| 912 | 0x98, 0x69, 0x5a, 0x0a, 0xb1, 0x46, 0x43, 0xfb, 0x42, 0xd1, 0x06, 0x23, 0xa2, 0x8a, 0x15, 0xdc, |
| 913 | 0x03, 0x4c, 0x1c, 0x5a, 0x5f, 0x57, 0x06, 0x76, 0x4f, 0xed, 0x13, 0xa5, 0xa7, 0x8a, 0xd5, 0x4c, |
| 914 | 0xd0, 0x23, 0xda, 0x85, 0x65, 0x1b, 0x17, 0xf6, 0x8d, 0xa6, 0xf7, 0x8c, 0x1b, 0x51, 0xc0, 0x03, |
| 915 | 0x90, 0x98, 0x63, 0x60, 0x98, 0x26, 0xc3, 0x8d, 0xab, 0xae, 0x66, 0x77, 0x2f, 0x15, 0x5d, 0x57, |
| 916 | 0x07, 0x62, 0x2d, 0xcf, 0x93, 0x84, 0x33, 0xf3, 0x3c, 0x75, 0x7c, 0x0b, 0x6f, 0x98, 0xc3, 0x22, |
| 917 | 0x8a, 0x6e, 0x5e, 0x69, 0xa6, 0xa9, 0x19, 0xba, 0xad, 0xe9, 0x96, 0x4a, 0x2e, 0x54, 0xa2, 0xea, |
| 918 | 0x5d, 0xd5, 0xbe, 0x51, 0x88, 0xae, 0xe9, 0x7d, 0xb1, 0x81, 0xfb, 0xb0, 0x97, 0x94, 0xde, 0xb5, |
| 919 | 0xb4, 0x6b, 0xc5, 0x62, 0xc4, 0x2c, 0x4c, 0x13, 0x25, 0x78, 0xc9, 0x7c, 0x43, 0x62, 0x74, 0x55, |
| 920 | 0xd3, 0x64, 0xfd, 0xaa, 0x84, 0x18, 0x44, 0x04, 0x3c, 0x84, 0x83, 0x62, 0x5d, 0x1f, 0xd5, 0x5b, |
| 921 | 0xdb, 0xbc, 0xd5, 0xbb, 0xb9, 0xb6, 0x85, 0xaf, 0x60, 0x97, 0x31, 0x34, 0x6b, 0x64, 0x0f, 0x0d, |
| 922 | 0x9d, 0xcd, 0xc2, 0x32, 0xc5, 0x36, 0xee, 0xc2, 0x76, 0x3e, 0x29, 0x26, 0x17, 0xb7, 0x1f, 0x43, |
| 923 | 0xe7, 0x62, 0x27, 0x6b, 0x2c, 0x83, 0x86, 0x5d, 0x9b, 0x75, 0x21, 0xee, 0x64, 0xf3, 0x58, 0x73, |
| 924 | 0x74, 0x79, 0x55, 0x22, 0x22, 0x74, 0x8a, 0xde, 0x0b, 0x4d, 0xdc, 0xc5, 0x17, 0xb0, 0x53, 0xc4, |
| 925 | 0x94, 0x2b, 0x4d, 0x44, 0xf9, 0x0c, 0x3a, 0xc9, 0xf9, 0x0e, 0x9d, 0xd0, 0xf1, 0x69, 0x4c, 0x43, |
| 926 | 0x14, 0xa1, 0xf2, 0x91, 0x3e, 0xf0, 0xdb, 0xc0, 0x3e, 0xf1, 0x25, 0x08, 0xd7, 0x8e, 0xb7, 0xcc, |
| 927 | 0xd6, 0x49, 0x6a, 0xc8, 0xbf, 0x95, 0xa1, 0x9d, 0x48, 0xb3, 0xfb, 0xf4, 0xa1, 0x70, 0x55, 0x12, |
| 928 | 0x79, 0xe7, 0x64, 0x8f, 0xdf, 0xc1, 0x1c, 0x3f, 0x4e, 0xae, 0x0f, 0x59, 0x11, 0x37, 0x7a, 0xa1, |
| 929 | 0x7b, 0x50, 0x63, 0xcf, 0x6c, 0x19, 0xf1, 0xe7, 0xc9, 0x2d, 0xfc, 0x01, 0x20, 0xaf, 0x3b, 0x92, |
| 930 | 0xaa, 0xc9, 0xb5, 0x7f, 0x55, 0x4c, 0x99, 0x7b, 0x49, 0x81, 0x28, 0xff, 0x5a, 0x86, 0xed, 0x6b, |
| 931 | 0x1a, 0x46, 0x6e, 0x30, 0xe7, 0x09, 0x24, 0xa8, 0x7f, 0x4e, 0x01, 0xde, 0x77, 0x66, 0xb2, 0x27, |
| 932 | 0x39, 0x5e, 0xba, 0xde, 0xd4, 0x72, 0xfd, 0x7c, 0x9d, 0xe6, 0x00, 0x7e, 0x09, 0x30, 0x09, 0x7c, |
| 933 | 0xdf, 0x8d, 0x2f, 0x9d, 0xe8, 0x8e, 0x17, 0x57, 0x40, 0x98, 0x7a, 0xe6, 0xc6, 0xbc, 0xf6, 0x74, |
| 934 | 0x71, 0xac, 0x00, 0xf9, 0x0c, 0x1a, 0x83, 0x60, 0x36, 0xa0, 0x9f, 0xa9, 0xc7, 0x66, 0xec, 0xb1, |
| 935 | 0x0f, 0x9e, 0x3f, 0x35, 0x58, 0xe3, 0x13, 0xc7, 0xf3, 0xf8, 0x58, 0x1a, 0x84, 0x5b, 0xb2, 0x0a, |
| 936 | 0x0d, 0x42, 0xa3, 0x45, 0x30, 0x8f, 0x28, 0x7e, 0x05, 0xad, 0x28, 0x89, 0x67, 0x4f, 0x82, 0x29, |
| 937 | 0xe5, 0xbb, 0x0f, 0x52, 0xa8, 0x1b, 0x4c, 0x29, 0x6b, 0xce, 0xa7, 0x51, 0xe4, 0xcc, 0xb2, 0x06, |
| 938 | 0x32, 0x53, 0x8e, 0xa0, 0xa5, 0xcd, 0xfc, 0x45, 0x76, 0x80, 0x6f, 0xa1, 0x66, 0xcc, 0x97, 0x84, |
| 939 | 0x7e, 0x4a, 0x82, 0xb4, 0x4e, 0x76, 0x0b, 0x1b, 0x24, 0xa5, 0x10, 0x4e, 0xc0, 0x9f, 0xa0, 0x6d, |
| 940 | 0x2e, 0xc7, 0xca, 0x24, 0x76, 0x83, 0xf9, 0xb5, 0xe3, 0x25, 0x81, 0x3b, 0xf9, 0xec, 0x73, 0x57, |
| 941 | 0x7a, 0xda, 0x6b, 0x54, 0xb9, 0x0e, 0x82, 0xea, 0x2f, 0xe2, 0x87, 0x77, 0x6f, 0xa0, 0xb3, 0x4e, |
| 942 | 0xc4, 0x06, 0x54, 0x7f, 0x31, 0x34, 0x5d, 0x2c, 0x61, 0x13, 0x84, 0x81, 0xaa, 0x5c, 0xab, 0x62, |
| 943 | 0xf9, 0xe4, 0x77, 0x01, 0x84, 0xf3, 0x73, 0xd3, 0xf5, 0xf1, 0x3d, 0xd4, 0xf9, 0xb1, 0x61, 0x9b, |
| 944 | 0x67, 0x4a, 0x22, 0xed, 0xbf, 0xe4, 0xd6, 0xda, 0xa1, 0xca, 0x25, 0x7c, 0x0d, 0xb5, 0x3e, 0x8d, |
| 945 | 0xd9, 0xef, 0xdd, 0x3a, 0x3f, 0x5f, 0x8d, 0x5e, 0x2c, 0x97, 0xf0, 0x5b, 0x80, 0x61, 0x70, 0x4f, |
| 946 | 0xc3, 0x60, 0xfe, 0x94, 0xb9, 0xc3, 0xad, 0x6c, 0xda, 0x72, 0x09, 0x8f, 0xa1, 0x65, 0xde, 0x2d, |
| 947 | 0xe3, 0x69, 0x70, 0xbf, 0x19, 0xff, 0x1b, 0x68, 0x12, 0x3a, 0x0e, 0x82, 0x78, 0x23, 0xf6, 0xd7, |
| 948 | 0x50, 0x67, 0x25, 0xb3, 0x7d, 0xbe, 0xce, 0x6d, 0xad, 0x0e, 0x23, 0x92, 0x4b, 0xec, 0xac, 0x52, |
| 949 | 0x1e, 0x3e, 0x3d, 0xa5, 0xfd, 0xc2, 0xea, 0x97, 0x4b, 0xf8, 0x3d, 0xb4, 0x4c, 0x1a, 0xe7, 0x37, |
| 950 | 0x2d, 0x4b, 0x9a, 0x01, 0xfb, 0x8f, 0x01, 0xb9, 0x84, 0xa7, 0x85, 0x1e, 0x9f, 0x4f, 0xf1, 0x4c, |
| 951 | 0xe9, 0x27, 0xab, 0x39, 0x6e, 0xac, 0xf9, 0x00, 0x6d, 0x42, 0xa3, 0xd8, 0x09, 0x63, 0xd5, 0x59, |
| 952 | 0x04, 0xde, 0x86, 0xaa, 0x53, 0x68, 0x71, 0x55, 0xef, 0x6e, 0xb2, 0xd8, 0x50, 0xf4, 0x33, 0xa0, |
| 953 | 0x49, 0xe3, 0x64, 0x2d, 0x68, 0xf3, 0xa9, 0x3b, 0x71, 0xd8, 0xbd, 0xc3, 0x17, 0xc5, 0x75, 0xf1, |
| 954 | 0x2f, 0xea, 0x33, 0xd8, 0xe9, 0xde, 0x39, 0xf3, 0x19, 0x65, 0x0f, 0x26, 0xfd, 0xcd, 0x47, 0xce, |
| 955 | 0x2a, 0x3c, 0xa1, 0x67, 0x94, 0xe3, 0x5a, 0xf2, 0x2f, 0xdf, 0xe9, 0x3f, 0x01, 0x00, 0x00, 0xff, |
| 956 | 0xff, 0xef, 0x83, 0x18, 0x5d, 0x0b, 0x0a, 0x00, 0x00, |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 957 | } |
| 958 | |
| 959 | // Reference imports to suppress errors if they are not otherwise used. |
| 960 | var _ context.Context |
| 961 | var _ grpc.ClientConn |
| 962 | |
| 963 | // This is a compile-time assertion to ensure that this generated file |
| 964 | // is compatible with the grpc package it is being compiled against. |
| 965 | const _ = grpc.SupportPackageIsVersion4 |
| 966 | |
| 967 | // BBSimClient is the client API for BBSim service. |
| 968 | // |
| 969 | // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 970 | type BBSimClient interface { |
| 971 | Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) |
| 972 | GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 973 | PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) |
| 974 | ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) |
| 975 | RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 976 | GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) |
| 977 | GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) |
| 978 | SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) |
| 979 | ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) |
| 980 | PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) |
| 981 | RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) |
| 982 | RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 983 | SetAlarmIndication(ctx context.Context, in *AlarmRequest, opts ...grpc.CallOption) (*Response, error) |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame^] | 984 | ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 985 | } |
| 986 | |
| 987 | type bBSimClient struct { |
| 988 | cc *grpc.ClientConn |
| 989 | } |
| 990 | |
| 991 | func NewBBSimClient(cc *grpc.ClientConn) BBSimClient { |
| 992 | return &bBSimClient{cc} |
| 993 | } |
| 994 | |
| 995 | func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) { |
| 996 | out := new(VersionNumber) |
| 997 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...) |
| 998 | if err != nil { |
| 999 | return nil, err |
| 1000 | } |
| 1001 | return out, nil |
| 1002 | } |
| 1003 | |
| 1004 | func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) { |
| 1005 | out := new(Olt) |
| 1006 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...) |
| 1007 | if err != nil { |
| 1008 | return nil, err |
| 1009 | } |
| 1010 | return out, nil |
| 1011 | } |
| 1012 | |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 1013 | func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) { |
| 1014 | out := new(Response) |
| 1015 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...) |
| 1016 | if err != nil { |
| 1017 | return nil, err |
| 1018 | } |
| 1019 | return out, nil |
| 1020 | } |
| 1021 | |
| 1022 | func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) { |
| 1023 | out := new(Response) |
| 1024 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...) |
| 1025 | if err != nil { |
| 1026 | return nil, err |
| 1027 | } |
| 1028 | return out, nil |
| 1029 | } |
| 1030 | |
| 1031 | func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) { |
| 1032 | out := new(Response) |
| 1033 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...) |
| 1034 | if err != nil { |
| 1035 | return nil, err |
| 1036 | } |
| 1037 | return out, nil |
| 1038 | } |
| 1039 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1040 | func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) { |
| 1041 | out := new(ONUs) |
| 1042 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...) |
| 1043 | if err != nil { |
| 1044 | return nil, err |
| 1045 | } |
| 1046 | return out, nil |
| 1047 | } |
| 1048 | |
| 1049 | func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) { |
| 1050 | out := new(ONU) |
| 1051 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...) |
| 1052 | if err != nil { |
| 1053 | return nil, err |
| 1054 | } |
| 1055 | return out, nil |
| 1056 | } |
| 1057 | |
| 1058 | func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) { |
| 1059 | out := new(LogLevel) |
| 1060 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...) |
| 1061 | if err != nil { |
| 1062 | return nil, err |
| 1063 | } |
| 1064 | return out, nil |
| 1065 | } |
| 1066 | |
| 1067 | func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) { |
| 1068 | out := new(Response) |
| 1069 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...) |
| 1070 | if err != nil { |
| 1071 | return nil, err |
| 1072 | } |
| 1073 | return out, nil |
| 1074 | } |
| 1075 | |
| 1076 | func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) { |
| 1077 | out := new(Response) |
| 1078 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...) |
| 1079 | if err != nil { |
| 1080 | return nil, err |
| 1081 | } |
| 1082 | return out, nil |
| 1083 | } |
| 1084 | |
| 1085 | func (c *bBSimClient) RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) { |
| 1086 | out := new(Response) |
| 1087 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...) |
| 1088 | if err != nil { |
| 1089 | return nil, err |
| 1090 | } |
| 1091 | return out, nil |
| 1092 | } |
| 1093 | |
| 1094 | func (c *bBSimClient) RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) { |
| 1095 | out := new(Response) |
| 1096 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...) |
| 1097 | if err != nil { |
| 1098 | return nil, err |
| 1099 | } |
| 1100 | return out, nil |
| 1101 | } |
| 1102 | |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1103 | func (c *bBSimClient) SetAlarmIndication(ctx context.Context, in *AlarmRequest, opts ...grpc.CallOption) (*Response, error) { |
| 1104 | out := new(Response) |
| 1105 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetAlarmIndication", in, out, opts...) |
| 1106 | if err != nil { |
| 1107 | return nil, err |
| 1108 | } |
| 1109 | return out, nil |
| 1110 | } |
| 1111 | |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame^] | 1112 | func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) { |
| 1113 | out := new(Response) |
| 1114 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...) |
| 1115 | if err != nil { |
| 1116 | return nil, err |
| 1117 | } |
| 1118 | return out, nil |
| 1119 | } |
| 1120 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1121 | // BBSimServer is the server API for BBSim service. |
| 1122 | type BBSimServer interface { |
| 1123 | Version(context.Context, *Empty) (*VersionNumber, error) |
| 1124 | GetOlt(context.Context, *Empty) (*Olt, error) |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 1125 | PoweronOlt(context.Context, *Empty) (*Response, error) |
| 1126 | ShutdownOlt(context.Context, *Empty) (*Response, error) |
| 1127 | RebootOlt(context.Context, *Empty) (*Response, error) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1128 | GetONUs(context.Context, *Empty) (*ONUs, error) |
| 1129 | GetONU(context.Context, *ONURequest) (*ONU, error) |
| 1130 | SetLogLevel(context.Context, *LogLevel) (*LogLevel, error) |
| 1131 | ShutdownONU(context.Context, *ONURequest) (*Response, error) |
| 1132 | PoweronONU(context.Context, *ONURequest) (*Response, error) |
| 1133 | RestartEapol(context.Context, *ONURequest) (*Response, error) |
| 1134 | RestartDhcp(context.Context, *ONURequest) (*Response, error) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1135 | SetAlarmIndication(context.Context, *AlarmRequest) (*Response, error) |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame^] | 1136 | ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1137 | } |
| 1138 | |
Pragya Arya | 1cbefa4 | 2020-01-13 12:15:29 +0530 | [diff] [blame] | 1139 | // UnimplementedBBSimServer can be embedded to have forward compatible implementations. |
| 1140 | type UnimplementedBBSimServer struct { |
| 1141 | } |
| 1142 | |
| 1143 | func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) { |
| 1144 | return nil, status.Errorf(codes.Unimplemented, "method Version not implemented") |
| 1145 | } |
| 1146 | func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) { |
| 1147 | return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented") |
| 1148 | } |
| 1149 | func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) { |
| 1150 | return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented") |
| 1151 | } |
| 1152 | func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) { |
| 1153 | return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented") |
| 1154 | } |
| 1155 | func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) { |
| 1156 | return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented") |
| 1157 | } |
| 1158 | func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) { |
| 1159 | return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented") |
| 1160 | } |
| 1161 | func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) { |
| 1162 | return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented") |
| 1163 | } |
| 1164 | func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) { |
| 1165 | return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented") |
| 1166 | } |
| 1167 | func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) { |
| 1168 | return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented") |
| 1169 | } |
| 1170 | func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) { |
| 1171 | return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented") |
| 1172 | } |
| 1173 | func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *ONURequest) (*Response, error) { |
| 1174 | return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented") |
| 1175 | } |
| 1176 | func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *ONURequest) (*Response, error) { |
| 1177 | return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented") |
| 1178 | } |
| 1179 | func (*UnimplementedBBSimServer) SetAlarmIndication(ctx context.Context, req *AlarmRequest) (*Response, error) { |
| 1180 | return nil, status.Errorf(codes.Unimplemented, "method SetAlarmIndication not implemented") |
| 1181 | } |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame^] | 1182 | func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) { |
| 1183 | return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented") |
| 1184 | } |
Pragya Arya | 1cbefa4 | 2020-01-13 12:15:29 +0530 | [diff] [blame] | 1185 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1186 | func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) { |
| 1187 | s.RegisterService(&_BBSim_serviceDesc, srv) |
| 1188 | } |
| 1189 | |
| 1190 | func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1191 | in := new(Empty) |
| 1192 | if err := dec(in); err != nil { |
| 1193 | return nil, err |
| 1194 | } |
| 1195 | if interceptor == nil { |
| 1196 | return srv.(BBSimServer).Version(ctx, in) |
| 1197 | } |
| 1198 | info := &grpc.UnaryServerInfo{ |
| 1199 | Server: srv, |
| 1200 | FullMethod: "/bbsim.BBSim/Version", |
| 1201 | } |
| 1202 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1203 | return srv.(BBSimServer).Version(ctx, req.(*Empty)) |
| 1204 | } |
| 1205 | return interceptor(ctx, in, info, handler) |
| 1206 | } |
| 1207 | |
| 1208 | func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1209 | in := new(Empty) |
| 1210 | if err := dec(in); err != nil { |
| 1211 | return nil, err |
| 1212 | } |
| 1213 | if interceptor == nil { |
| 1214 | return srv.(BBSimServer).GetOlt(ctx, in) |
| 1215 | } |
| 1216 | info := &grpc.UnaryServerInfo{ |
| 1217 | Server: srv, |
| 1218 | FullMethod: "/bbsim.BBSim/GetOlt", |
| 1219 | } |
| 1220 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1221 | return srv.(BBSimServer).GetOlt(ctx, req.(*Empty)) |
| 1222 | } |
| 1223 | return interceptor(ctx, in, info, handler) |
| 1224 | } |
| 1225 | |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 1226 | func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1227 | in := new(Empty) |
| 1228 | if err := dec(in); err != nil { |
| 1229 | return nil, err |
| 1230 | } |
| 1231 | if interceptor == nil { |
| 1232 | return srv.(BBSimServer).PoweronOlt(ctx, in) |
| 1233 | } |
| 1234 | info := &grpc.UnaryServerInfo{ |
| 1235 | Server: srv, |
| 1236 | FullMethod: "/bbsim.BBSim/PoweronOlt", |
| 1237 | } |
| 1238 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1239 | return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty)) |
| 1240 | } |
| 1241 | return interceptor(ctx, in, info, handler) |
| 1242 | } |
| 1243 | |
| 1244 | func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1245 | in := new(Empty) |
| 1246 | if err := dec(in); err != nil { |
| 1247 | return nil, err |
| 1248 | } |
| 1249 | if interceptor == nil { |
| 1250 | return srv.(BBSimServer).ShutdownOlt(ctx, in) |
| 1251 | } |
| 1252 | info := &grpc.UnaryServerInfo{ |
| 1253 | Server: srv, |
| 1254 | FullMethod: "/bbsim.BBSim/ShutdownOlt", |
| 1255 | } |
| 1256 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1257 | return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty)) |
| 1258 | } |
| 1259 | return interceptor(ctx, in, info, handler) |
| 1260 | } |
| 1261 | |
| 1262 | func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1263 | in := new(Empty) |
| 1264 | if err := dec(in); err != nil { |
| 1265 | return nil, err |
| 1266 | } |
| 1267 | if interceptor == nil { |
| 1268 | return srv.(BBSimServer).RebootOlt(ctx, in) |
| 1269 | } |
| 1270 | info := &grpc.UnaryServerInfo{ |
| 1271 | Server: srv, |
| 1272 | FullMethod: "/bbsim.BBSim/RebootOlt", |
| 1273 | } |
| 1274 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1275 | return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty)) |
| 1276 | } |
| 1277 | return interceptor(ctx, in, info, handler) |
| 1278 | } |
| 1279 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1280 | func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1281 | in := new(Empty) |
| 1282 | if err := dec(in); err != nil { |
| 1283 | return nil, err |
| 1284 | } |
| 1285 | if interceptor == nil { |
| 1286 | return srv.(BBSimServer).GetONUs(ctx, in) |
| 1287 | } |
| 1288 | info := &grpc.UnaryServerInfo{ |
| 1289 | Server: srv, |
| 1290 | FullMethod: "/bbsim.BBSim/GetONUs", |
| 1291 | } |
| 1292 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1293 | return srv.(BBSimServer).GetONUs(ctx, req.(*Empty)) |
| 1294 | } |
| 1295 | return interceptor(ctx, in, info, handler) |
| 1296 | } |
| 1297 | |
| 1298 | func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1299 | in := new(ONURequest) |
| 1300 | if err := dec(in); err != nil { |
| 1301 | return nil, err |
| 1302 | } |
| 1303 | if interceptor == nil { |
| 1304 | return srv.(BBSimServer).GetONU(ctx, in) |
| 1305 | } |
| 1306 | info := &grpc.UnaryServerInfo{ |
| 1307 | Server: srv, |
| 1308 | FullMethod: "/bbsim.BBSim/GetONU", |
| 1309 | } |
| 1310 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1311 | return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest)) |
| 1312 | } |
| 1313 | return interceptor(ctx, in, info, handler) |
| 1314 | } |
| 1315 | |
| 1316 | func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1317 | in := new(LogLevel) |
| 1318 | if err := dec(in); err != nil { |
| 1319 | return nil, err |
| 1320 | } |
| 1321 | if interceptor == nil { |
| 1322 | return srv.(BBSimServer).SetLogLevel(ctx, in) |
| 1323 | } |
| 1324 | info := &grpc.UnaryServerInfo{ |
| 1325 | Server: srv, |
| 1326 | FullMethod: "/bbsim.BBSim/SetLogLevel", |
| 1327 | } |
| 1328 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1329 | return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel)) |
| 1330 | } |
| 1331 | return interceptor(ctx, in, info, handler) |
| 1332 | } |
| 1333 | |
| 1334 | func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1335 | in := new(ONURequest) |
| 1336 | if err := dec(in); err != nil { |
| 1337 | return nil, err |
| 1338 | } |
| 1339 | if interceptor == nil { |
| 1340 | return srv.(BBSimServer).ShutdownONU(ctx, in) |
| 1341 | } |
| 1342 | info := &grpc.UnaryServerInfo{ |
| 1343 | Server: srv, |
| 1344 | FullMethod: "/bbsim.BBSim/ShutdownONU", |
| 1345 | } |
| 1346 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1347 | return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest)) |
| 1348 | } |
| 1349 | return interceptor(ctx, in, info, handler) |
| 1350 | } |
| 1351 | |
| 1352 | func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1353 | in := new(ONURequest) |
| 1354 | if err := dec(in); err != nil { |
| 1355 | return nil, err |
| 1356 | } |
| 1357 | if interceptor == nil { |
| 1358 | return srv.(BBSimServer).PoweronONU(ctx, in) |
| 1359 | } |
| 1360 | info := &grpc.UnaryServerInfo{ |
| 1361 | Server: srv, |
| 1362 | FullMethod: "/bbsim.BBSim/PoweronONU", |
| 1363 | } |
| 1364 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1365 | return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest)) |
| 1366 | } |
| 1367 | return interceptor(ctx, in, info, handler) |
| 1368 | } |
| 1369 | |
| 1370 | func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1371 | in := new(ONURequest) |
| 1372 | if err := dec(in); err != nil { |
| 1373 | return nil, err |
| 1374 | } |
| 1375 | if interceptor == nil { |
| 1376 | return srv.(BBSimServer).RestartEapol(ctx, in) |
| 1377 | } |
| 1378 | info := &grpc.UnaryServerInfo{ |
| 1379 | Server: srv, |
| 1380 | FullMethod: "/bbsim.BBSim/RestartEapol", |
| 1381 | } |
| 1382 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1383 | return srv.(BBSimServer).RestartEapol(ctx, req.(*ONURequest)) |
| 1384 | } |
| 1385 | return interceptor(ctx, in, info, handler) |
| 1386 | } |
| 1387 | |
| 1388 | func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1389 | in := new(ONURequest) |
| 1390 | if err := dec(in); err != nil { |
| 1391 | return nil, err |
| 1392 | } |
| 1393 | if interceptor == nil { |
| 1394 | return srv.(BBSimServer).RestartDhcp(ctx, in) |
| 1395 | } |
| 1396 | info := &grpc.UnaryServerInfo{ |
| 1397 | Server: srv, |
| 1398 | FullMethod: "/bbsim.BBSim/RestartDhcp", |
| 1399 | } |
| 1400 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1401 | return srv.(BBSimServer).RestartDhcp(ctx, req.(*ONURequest)) |
| 1402 | } |
| 1403 | return interceptor(ctx, in, info, handler) |
| 1404 | } |
| 1405 | |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1406 | func _BBSim_SetAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1407 | in := new(AlarmRequest) |
| 1408 | if err := dec(in); err != nil { |
| 1409 | return nil, err |
| 1410 | } |
| 1411 | if interceptor == nil { |
| 1412 | return srv.(BBSimServer).SetAlarmIndication(ctx, in) |
| 1413 | } |
| 1414 | info := &grpc.UnaryServerInfo{ |
| 1415 | Server: srv, |
| 1416 | FullMethod: "/bbsim.BBSim/SetAlarmIndication", |
| 1417 | } |
| 1418 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1419 | return srv.(BBSimServer).SetAlarmIndication(ctx, req.(*AlarmRequest)) |
| 1420 | } |
| 1421 | return interceptor(ctx, in, info, handler) |
| 1422 | } |
| 1423 | |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame^] | 1424 | func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1425 | in := new(IgmpRequest) |
| 1426 | if err := dec(in); err != nil { |
| 1427 | return nil, err |
| 1428 | } |
| 1429 | if interceptor == nil { |
| 1430 | return srv.(BBSimServer).ChangeIgmpState(ctx, in) |
| 1431 | } |
| 1432 | info := &grpc.UnaryServerInfo{ |
| 1433 | Server: srv, |
| 1434 | FullMethod: "/bbsim.BBSim/ChangeIgmpState", |
| 1435 | } |
| 1436 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1437 | return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest)) |
| 1438 | } |
| 1439 | return interceptor(ctx, in, info, handler) |
| 1440 | } |
| 1441 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1442 | var _BBSim_serviceDesc = grpc.ServiceDesc{ |
| 1443 | ServiceName: "bbsim.BBSim", |
| 1444 | HandlerType: (*BBSimServer)(nil), |
| 1445 | Methods: []grpc.MethodDesc{ |
| 1446 | { |
| 1447 | MethodName: "Version", |
| 1448 | Handler: _BBSim_Version_Handler, |
| 1449 | }, |
| 1450 | { |
| 1451 | MethodName: "GetOlt", |
| 1452 | Handler: _BBSim_GetOlt_Handler, |
| 1453 | }, |
| 1454 | { |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 1455 | MethodName: "PoweronOlt", |
| 1456 | Handler: _BBSim_PoweronOlt_Handler, |
| 1457 | }, |
| 1458 | { |
| 1459 | MethodName: "ShutdownOlt", |
| 1460 | Handler: _BBSim_ShutdownOlt_Handler, |
| 1461 | }, |
| 1462 | { |
| 1463 | MethodName: "RebootOlt", |
| 1464 | Handler: _BBSim_RebootOlt_Handler, |
| 1465 | }, |
| 1466 | { |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1467 | MethodName: "GetONUs", |
| 1468 | Handler: _BBSim_GetONUs_Handler, |
| 1469 | }, |
| 1470 | { |
| 1471 | MethodName: "GetONU", |
| 1472 | Handler: _BBSim_GetONU_Handler, |
| 1473 | }, |
| 1474 | { |
| 1475 | MethodName: "SetLogLevel", |
| 1476 | Handler: _BBSim_SetLogLevel_Handler, |
| 1477 | }, |
| 1478 | { |
| 1479 | MethodName: "ShutdownONU", |
| 1480 | Handler: _BBSim_ShutdownONU_Handler, |
| 1481 | }, |
| 1482 | { |
| 1483 | MethodName: "PoweronONU", |
| 1484 | Handler: _BBSim_PoweronONU_Handler, |
| 1485 | }, |
| 1486 | { |
| 1487 | MethodName: "RestartEapol", |
| 1488 | Handler: _BBSim_RestartEapol_Handler, |
| 1489 | }, |
| 1490 | { |
| 1491 | MethodName: "RestartDhcp", |
| 1492 | Handler: _BBSim_RestartDhcp_Handler, |
| 1493 | }, |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1494 | { |
| 1495 | MethodName: "SetAlarmIndication", |
| 1496 | Handler: _BBSim_SetAlarmIndication_Handler, |
| 1497 | }, |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame^] | 1498 | { |
| 1499 | MethodName: "ChangeIgmpState", |
| 1500 | Handler: _BBSim_ChangeIgmpState_Handler, |
| 1501 | }, |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1502 | }, |
| 1503 | Streams: []grpc.StreamDesc{}, |
| 1504 | Metadata: "api/bbsim/bbsim.proto", |
| 1505 | } |