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