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" |
David K. Bainbridge | c415efe | 2021-08-19 13:05:21 +0000 | [diff] [blame] | 10 | openolt "github.com/opencord/voltha-protos/v5/go/openolt" |
| 11 | tech_profile "github.com/opencord/voltha-protos/v5/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 | |
Elia Battiston | ac63b11 | 2022-01-12 18:40:49 +0100 | [diff] [blame] | 29 | type UniType int32 |
| 30 | |
| 31 | const ( |
| 32 | UniType_ETH UniType = 0 |
| 33 | UniType_POTS UniType = 1 |
| 34 | ) |
| 35 | |
| 36 | var UniType_name = map[int32]string{ |
| 37 | 0: "ETH", |
| 38 | 1: "POTS", |
| 39 | } |
| 40 | |
| 41 | var UniType_value = map[string]int32{ |
| 42 | "ETH": 0, |
| 43 | "POTS": 1, |
| 44 | } |
| 45 | |
| 46 | func (x UniType) String() string { |
| 47 | return proto.EnumName(UniType_name, int32(x)) |
| 48 | } |
| 49 | |
| 50 | func (UniType) EnumDescriptor() ([]byte, []int) { |
| 51 | return fileDescriptor_ef7750073d18011b, []int{0} |
| 52 | } |
| 53 | |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 54 | type SubActionTypes int32 |
| 55 | |
| 56 | const ( |
Arjun E K | dd443f0 | 2020-02-07 15:24:01 +0000 | [diff] [blame] | 57 | SubActionTypes_JOIN SubActionTypes = 0 |
| 58 | SubActionTypes_LEAVE SubActionTypes = 1 |
| 59 | SubActionTypes_JOINV3 SubActionTypes = 2 |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 60 | ) |
| 61 | |
| 62 | var SubActionTypes_name = map[int32]string{ |
| 63 | 0: "JOIN", |
| 64 | 1: "LEAVE", |
Arjun E K | dd443f0 | 2020-02-07 15:24:01 +0000 | [diff] [blame] | 65 | 2: "JOINV3", |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 66 | } |
| 67 | |
| 68 | var SubActionTypes_value = map[string]int32{ |
Arjun E K | dd443f0 | 2020-02-07 15:24:01 +0000 | [diff] [blame] | 69 | "JOIN": 0, |
| 70 | "LEAVE": 1, |
| 71 | "JOINV3": 2, |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 72 | } |
| 73 | |
| 74 | func (x SubActionTypes) String() string { |
| 75 | return proto.EnumName(SubActionTypes_name, int32(x)) |
| 76 | } |
| 77 | |
| 78 | func (SubActionTypes) EnumDescriptor() ([]byte, []int) { |
Elia Battiston | ac63b11 | 2022-01-12 18:40:49 +0100 | [diff] [blame] | 79 | return fileDescriptor_ef7750073d18011b, []int{1} |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 80 | } |
| 81 | |
Matteo Scandolo | 4b077aa | 2021-02-16 17:33:37 -0800 | [diff] [blame] | 82 | type OltAllocatedResourceType_Type int32 |
| 83 | |
| 84 | const ( |
| 85 | OltAllocatedResourceType_UNKNOWN OltAllocatedResourceType_Type = 0 |
| 86 | OltAllocatedResourceType_ALLOC_ID OltAllocatedResourceType_Type = 1 |
| 87 | OltAllocatedResourceType_GEM_PORT OltAllocatedResourceType_Type = 2 |
| 88 | ) |
| 89 | |
| 90 | var OltAllocatedResourceType_Type_name = map[int32]string{ |
| 91 | 0: "UNKNOWN", |
| 92 | 1: "ALLOC_ID", |
| 93 | 2: "GEM_PORT", |
| 94 | } |
| 95 | |
| 96 | var OltAllocatedResourceType_Type_value = map[string]int32{ |
| 97 | "UNKNOWN": 0, |
| 98 | "ALLOC_ID": 1, |
| 99 | "GEM_PORT": 2, |
| 100 | } |
| 101 | |
| 102 | func (x OltAllocatedResourceType_Type) String() string { |
| 103 | return proto.EnumName(OltAllocatedResourceType_Type_name, int32(x)) |
| 104 | } |
| 105 | |
| 106 | func (OltAllocatedResourceType_Type) EnumDescriptor() ([]byte, []int) { |
| 107 | return fileDescriptor_ef7750073d18011b, []int{4, 0} |
| 108 | } |
| 109 | |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 110 | // These types correspond to the messages permitted in the oneof |
| 111 | // in AlarmIndication in the openolt protos |
| 112 | type AlarmType_Types int32 |
| 113 | |
| 114 | const ( |
| 115 | AlarmType_LOS AlarmType_Types = 0 |
| 116 | AlarmType_DYING_GASP AlarmType_Types = 1 |
| 117 | AlarmType_ONU_ALARM AlarmType_Types = 2 |
| 118 | AlarmType_ONU_STARTUP_FAILURE AlarmType_Types = 3 |
| 119 | AlarmType_ONU_SIGNAL_DEGRADE AlarmType_Types = 4 |
| 120 | AlarmType_ONU_DRIFT_OF_WINDOW AlarmType_Types = 5 |
| 121 | AlarmType_ONU_LOSS_OF_OMCI_CHANNEL AlarmType_Types = 6 |
| 122 | AlarmType_ONU_SIGNALS_FAILURE AlarmType_Types = 7 |
| 123 | AlarmType_ONU_TRANSMISSION_INTERFERENCE_WARNING AlarmType_Types = 8 |
| 124 | AlarmType_ONU_ACTIVATION_FAILURE AlarmType_Types = 9 |
| 125 | AlarmType_ONU_PROCESSING_ERROR AlarmType_Types = 10 |
| 126 | AlarmType_ONU_LOSS_OF_KEY_SYNC_FAILURE AlarmType_Types = 11 |
| 127 | AlarmType_ONU_ITU_PON_STATS AlarmType_Types = 12 |
| 128 | // These break out ONU_ALARM, which is a single message, but |
| 129 | // includes statuses for these six alarms. |
| 130 | AlarmType_ONU_ALARM_LOS AlarmType_Types = 13 |
| 131 | AlarmType_ONU_ALARM_LOB AlarmType_Types = 14 |
| 132 | AlarmType_ONU_ALARM_LOPC_MISS AlarmType_Types = 15 |
| 133 | AlarmType_ONU_ALARM_LOPC_MIC_ERROR AlarmType_Types = 16 |
| 134 | AlarmType_ONU_ALARM_LOFI AlarmType_Types = 17 |
| 135 | AlarmType_ONU_ALARM_LOAMI AlarmType_Types = 18 |
| 136 | ) |
| 137 | |
| 138 | var AlarmType_Types_name = map[int32]string{ |
| 139 | 0: "LOS", |
| 140 | 1: "DYING_GASP", |
| 141 | 2: "ONU_ALARM", |
| 142 | 3: "ONU_STARTUP_FAILURE", |
| 143 | 4: "ONU_SIGNAL_DEGRADE", |
| 144 | 5: "ONU_DRIFT_OF_WINDOW", |
| 145 | 6: "ONU_LOSS_OF_OMCI_CHANNEL", |
| 146 | 7: "ONU_SIGNALS_FAILURE", |
| 147 | 8: "ONU_TRANSMISSION_INTERFERENCE_WARNING", |
| 148 | 9: "ONU_ACTIVATION_FAILURE", |
| 149 | 10: "ONU_PROCESSING_ERROR", |
| 150 | 11: "ONU_LOSS_OF_KEY_SYNC_FAILURE", |
| 151 | 12: "ONU_ITU_PON_STATS", |
| 152 | 13: "ONU_ALARM_LOS", |
| 153 | 14: "ONU_ALARM_LOB", |
| 154 | 15: "ONU_ALARM_LOPC_MISS", |
| 155 | 16: "ONU_ALARM_LOPC_MIC_ERROR", |
| 156 | 17: "ONU_ALARM_LOFI", |
| 157 | 18: "ONU_ALARM_LOAMI", |
| 158 | } |
| 159 | |
| 160 | var AlarmType_Types_value = map[string]int32{ |
| 161 | "LOS": 0, |
| 162 | "DYING_GASP": 1, |
| 163 | "ONU_ALARM": 2, |
| 164 | "ONU_STARTUP_FAILURE": 3, |
| 165 | "ONU_SIGNAL_DEGRADE": 4, |
| 166 | "ONU_DRIFT_OF_WINDOW": 5, |
| 167 | "ONU_LOSS_OF_OMCI_CHANNEL": 6, |
| 168 | "ONU_SIGNALS_FAILURE": 7, |
| 169 | "ONU_TRANSMISSION_INTERFERENCE_WARNING": 8, |
| 170 | "ONU_ACTIVATION_FAILURE": 9, |
| 171 | "ONU_PROCESSING_ERROR": 10, |
| 172 | "ONU_LOSS_OF_KEY_SYNC_FAILURE": 11, |
| 173 | "ONU_ITU_PON_STATS": 12, |
| 174 | "ONU_ALARM_LOS": 13, |
| 175 | "ONU_ALARM_LOB": 14, |
| 176 | "ONU_ALARM_LOPC_MISS": 15, |
| 177 | "ONU_ALARM_LOPC_MIC_ERROR": 16, |
| 178 | "ONU_ALARM_LOFI": 17, |
| 179 | "ONU_ALARM_LOAMI": 18, |
| 180 | } |
| 181 | |
| 182 | func (x AlarmType_Types) String() string { |
| 183 | return proto.EnumName(AlarmType_Types_name, int32(x)) |
| 184 | } |
| 185 | |
| 186 | func (AlarmType_Types) EnumDescriptor() ([]byte, []int) { |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 187 | return fileDescriptor_ef7750073d18011b, []int{17, 0} |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 188 | } |
| 189 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 190 | type PONPort struct { |
Matteo Scandolo | 4b077aa | 2021-02-16 17:33:37 -0800 | [diff] [blame] | 191 | ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` |
| 192 | OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"` |
| 193 | InternalState string `protobuf:"bytes,3,opt,name=InternalState,proto3" json:"InternalState,omitempty"` |
| 194 | PacketCount uint64 `protobuf:"varint,4,opt,name=PacketCount,proto3" json:"PacketCount,omitempty"` |
| 195 | // ONU ID are reported by VOLTHA in the ActivateOnu call |
| 196 | AllocatedOnuIds []*PonAllocatedResources `protobuf:"bytes,5,rep,name=AllocatedOnuIds,proto3" json:"AllocatedOnuIds,omitempty"` |
| 197 | // these are the stored resource IDs as reported via OMCI |
| 198 | AllocatedGemPorts []*PonAllocatedResources `protobuf:"bytes,6,rep,name=AllocatedGemPorts,proto3" json:"AllocatedGemPorts,omitempty"` |
| 199 | AllocatedAllocIds []*PonAllocatedResources `protobuf:"bytes,7,rep,name=AllocatedAllocIds,proto3" json:"AllocatedAllocIds,omitempty"` |
| 200 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 201 | XXX_unrecognized []byte `json:"-"` |
| 202 | XXX_sizecache int32 `json:"-"` |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 203 | } |
| 204 | |
| 205 | func (m *PONPort) Reset() { *m = PONPort{} } |
| 206 | func (m *PONPort) String() string { return proto.CompactTextString(m) } |
| 207 | func (*PONPort) ProtoMessage() {} |
| 208 | func (*PONPort) Descriptor() ([]byte, []int) { |
| 209 | return fileDescriptor_ef7750073d18011b, []int{0} |
| 210 | } |
| 211 | |
| 212 | func (m *PONPort) XXX_Unmarshal(b []byte) error { |
| 213 | return xxx_messageInfo_PONPort.Unmarshal(m, b) |
| 214 | } |
| 215 | func (m *PONPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 216 | return xxx_messageInfo_PONPort.Marshal(b, m, deterministic) |
| 217 | } |
| 218 | func (m *PONPort) XXX_Merge(src proto.Message) { |
| 219 | xxx_messageInfo_PONPort.Merge(m, src) |
| 220 | } |
| 221 | func (m *PONPort) XXX_Size() int { |
| 222 | return xxx_messageInfo_PONPort.Size(m) |
| 223 | } |
| 224 | func (m *PONPort) XXX_DiscardUnknown() { |
| 225 | xxx_messageInfo_PONPort.DiscardUnknown(m) |
| 226 | } |
| 227 | |
| 228 | var xxx_messageInfo_PONPort proto.InternalMessageInfo |
| 229 | |
| 230 | func (m *PONPort) GetID() int32 { |
| 231 | if m != nil { |
| 232 | return m.ID |
| 233 | } |
| 234 | return 0 |
| 235 | } |
| 236 | |
| 237 | func (m *PONPort) GetOperState() string { |
| 238 | if m != nil { |
| 239 | return m.OperState |
| 240 | } |
| 241 | return "" |
| 242 | } |
| 243 | |
Matteo Scandolo | 4b077aa | 2021-02-16 17:33:37 -0800 | [diff] [blame] | 244 | func (m *PONPort) GetInternalState() string { |
| 245 | if m != nil { |
| 246 | return m.InternalState |
| 247 | } |
| 248 | return "" |
| 249 | } |
| 250 | |
| 251 | func (m *PONPort) GetPacketCount() uint64 { |
| 252 | if m != nil { |
| 253 | return m.PacketCount |
| 254 | } |
| 255 | return 0 |
| 256 | } |
| 257 | |
| 258 | func (m *PONPort) GetAllocatedOnuIds() []*PonAllocatedResources { |
| 259 | if m != nil { |
| 260 | return m.AllocatedOnuIds |
| 261 | } |
| 262 | return nil |
| 263 | } |
| 264 | |
| 265 | func (m *PONPort) GetAllocatedGemPorts() []*PonAllocatedResources { |
| 266 | if m != nil { |
| 267 | return m.AllocatedGemPorts |
| 268 | } |
| 269 | return nil |
| 270 | } |
| 271 | |
| 272 | func (m *PONPort) GetAllocatedAllocIds() []*PonAllocatedResources { |
| 273 | if m != nil { |
| 274 | return m.AllocatedAllocIds |
| 275 | } |
| 276 | return nil |
| 277 | } |
| 278 | |
| 279 | type PonAllocatedResources struct { |
| 280 | SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` |
| 281 | Id int32 `protobuf:"varint,2,opt,name=Id,proto3" json:"Id,omitempty"` |
| 282 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 283 | XXX_unrecognized []byte `json:"-"` |
| 284 | XXX_sizecache int32 `json:"-"` |
| 285 | } |
| 286 | |
| 287 | func (m *PonAllocatedResources) Reset() { *m = PonAllocatedResources{} } |
| 288 | func (m *PonAllocatedResources) String() string { return proto.CompactTextString(m) } |
| 289 | func (*PonAllocatedResources) ProtoMessage() {} |
| 290 | func (*PonAllocatedResources) Descriptor() ([]byte, []int) { |
| 291 | return fileDescriptor_ef7750073d18011b, []int{1} |
| 292 | } |
| 293 | |
| 294 | func (m *PonAllocatedResources) XXX_Unmarshal(b []byte) error { |
| 295 | return xxx_messageInfo_PonAllocatedResources.Unmarshal(m, b) |
| 296 | } |
| 297 | func (m *PonAllocatedResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 298 | return xxx_messageInfo_PonAllocatedResources.Marshal(b, m, deterministic) |
| 299 | } |
| 300 | func (m *PonAllocatedResources) XXX_Merge(src proto.Message) { |
| 301 | xxx_messageInfo_PonAllocatedResources.Merge(m, src) |
| 302 | } |
| 303 | func (m *PonAllocatedResources) XXX_Size() int { |
| 304 | return xxx_messageInfo_PonAllocatedResources.Size(m) |
| 305 | } |
| 306 | func (m *PonAllocatedResources) XXX_DiscardUnknown() { |
| 307 | xxx_messageInfo_PonAllocatedResources.DiscardUnknown(m) |
| 308 | } |
| 309 | |
| 310 | var xxx_messageInfo_PonAllocatedResources proto.InternalMessageInfo |
| 311 | |
| 312 | func (m *PonAllocatedResources) GetSerialNumber() string { |
| 313 | if m != nil { |
| 314 | return m.SerialNumber |
| 315 | } |
| 316 | return "" |
| 317 | } |
| 318 | |
| 319 | func (m *PonAllocatedResources) GetId() int32 { |
| 320 | if m != nil { |
| 321 | return m.Id |
| 322 | } |
| 323 | return 0 |
| 324 | } |
| 325 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 326 | type NNIPort struct { |
| 327 | ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` |
| 328 | OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"` |
| 329 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 330 | XXX_unrecognized []byte `json:"-"` |
| 331 | XXX_sizecache int32 `json:"-"` |
| 332 | } |
| 333 | |
| 334 | func (m *NNIPort) Reset() { *m = NNIPort{} } |
| 335 | func (m *NNIPort) String() string { return proto.CompactTextString(m) } |
| 336 | func (*NNIPort) ProtoMessage() {} |
| 337 | func (*NNIPort) Descriptor() ([]byte, []int) { |
Matteo Scandolo | 4b077aa | 2021-02-16 17:33:37 -0800 | [diff] [blame] | 338 | return fileDescriptor_ef7750073d18011b, []int{2} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 339 | } |
| 340 | |
| 341 | func (m *NNIPort) XXX_Unmarshal(b []byte) error { |
| 342 | return xxx_messageInfo_NNIPort.Unmarshal(m, b) |
| 343 | } |
| 344 | func (m *NNIPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 345 | return xxx_messageInfo_NNIPort.Marshal(b, m, deterministic) |
| 346 | } |
| 347 | func (m *NNIPort) XXX_Merge(src proto.Message) { |
| 348 | xxx_messageInfo_NNIPort.Merge(m, src) |
| 349 | } |
| 350 | func (m *NNIPort) XXX_Size() int { |
| 351 | return xxx_messageInfo_NNIPort.Size(m) |
| 352 | } |
| 353 | func (m *NNIPort) XXX_DiscardUnknown() { |
| 354 | xxx_messageInfo_NNIPort.DiscardUnknown(m) |
| 355 | } |
| 356 | |
| 357 | var xxx_messageInfo_NNIPort proto.InternalMessageInfo |
| 358 | |
| 359 | func (m *NNIPort) GetID() int32 { |
| 360 | if m != nil { |
| 361 | return m.ID |
| 362 | } |
| 363 | return 0 |
| 364 | } |
| 365 | |
| 366 | func (m *NNIPort) GetOperState() string { |
| 367 | if m != nil { |
| 368 | return m.OperState |
| 369 | } |
| 370 | return "" |
| 371 | } |
| 372 | |
| 373 | type Olt struct { |
| 374 | ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` |
| 375 | SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` |
| 376 | OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"` |
| 377 | InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"` |
rajesh | f921f88 | 2020-03-06 18:24:28 +0530 | [diff] [blame] | 378 | IP string `protobuf:"bytes,7,opt,name=IP,proto3" json:"IP,omitempty"` |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 379 | NNIPorts []*NNIPort `protobuf:"bytes,5,rep,name=NNIPorts,proto3" json:"NNIPorts,omitempty"` |
| 380 | PONPorts []*PONPort `protobuf:"bytes,6,rep,name=PONPorts,proto3" json:"PONPorts,omitempty"` |
| 381 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 382 | XXX_unrecognized []byte `json:"-"` |
| 383 | XXX_sizecache int32 `json:"-"` |
| 384 | } |
| 385 | |
| 386 | func (m *Olt) Reset() { *m = Olt{} } |
| 387 | func (m *Olt) String() string { return proto.CompactTextString(m) } |
| 388 | func (*Olt) ProtoMessage() {} |
| 389 | func (*Olt) Descriptor() ([]byte, []int) { |
Matteo Scandolo | 4b077aa | 2021-02-16 17:33:37 -0800 | [diff] [blame] | 390 | return fileDescriptor_ef7750073d18011b, []int{3} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 391 | } |
| 392 | |
| 393 | func (m *Olt) XXX_Unmarshal(b []byte) error { |
| 394 | return xxx_messageInfo_Olt.Unmarshal(m, b) |
| 395 | } |
| 396 | func (m *Olt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 397 | return xxx_messageInfo_Olt.Marshal(b, m, deterministic) |
| 398 | } |
| 399 | func (m *Olt) XXX_Merge(src proto.Message) { |
| 400 | xxx_messageInfo_Olt.Merge(m, src) |
| 401 | } |
| 402 | func (m *Olt) XXX_Size() int { |
| 403 | return xxx_messageInfo_Olt.Size(m) |
| 404 | } |
| 405 | func (m *Olt) XXX_DiscardUnknown() { |
| 406 | xxx_messageInfo_Olt.DiscardUnknown(m) |
| 407 | } |
| 408 | |
| 409 | var xxx_messageInfo_Olt proto.InternalMessageInfo |
| 410 | |
| 411 | func (m *Olt) GetID() int32 { |
| 412 | if m != nil { |
| 413 | return m.ID |
| 414 | } |
| 415 | return 0 |
| 416 | } |
| 417 | |
| 418 | func (m *Olt) GetSerialNumber() string { |
| 419 | if m != nil { |
| 420 | return m.SerialNumber |
| 421 | } |
| 422 | return "" |
| 423 | } |
| 424 | |
| 425 | func (m *Olt) GetOperState() string { |
| 426 | if m != nil { |
| 427 | return m.OperState |
| 428 | } |
| 429 | return "" |
| 430 | } |
| 431 | |
| 432 | func (m *Olt) GetInternalState() string { |
| 433 | if m != nil { |
| 434 | return m.InternalState |
| 435 | } |
| 436 | return "" |
| 437 | } |
| 438 | |
rajesh | f921f88 | 2020-03-06 18:24:28 +0530 | [diff] [blame] | 439 | func (m *Olt) GetIP() string { |
| 440 | if m != nil { |
| 441 | return m.IP |
| 442 | } |
| 443 | return "" |
| 444 | } |
| 445 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 446 | func (m *Olt) GetNNIPorts() []*NNIPort { |
| 447 | if m != nil { |
| 448 | return m.NNIPorts |
| 449 | } |
| 450 | return nil |
| 451 | } |
| 452 | |
| 453 | func (m *Olt) GetPONPorts() []*PONPort { |
| 454 | if m != nil { |
| 455 | return m.PONPorts |
| 456 | } |
| 457 | return nil |
| 458 | } |
| 459 | |
Matteo Scandolo | 4b077aa | 2021-02-16 17:33:37 -0800 | [diff] [blame] | 460 | type OltAllocatedResourceType struct { |
| 461 | Type OltAllocatedResourceType_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bbsim.OltAllocatedResourceType_Type" json:"type,omitempty"` |
| 462 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 463 | XXX_unrecognized []byte `json:"-"` |
| 464 | XXX_sizecache int32 `json:"-"` |
| 465 | } |
| 466 | |
| 467 | func (m *OltAllocatedResourceType) Reset() { *m = OltAllocatedResourceType{} } |
| 468 | func (m *OltAllocatedResourceType) String() string { return proto.CompactTextString(m) } |
| 469 | func (*OltAllocatedResourceType) ProtoMessage() {} |
| 470 | func (*OltAllocatedResourceType) Descriptor() ([]byte, []int) { |
| 471 | return fileDescriptor_ef7750073d18011b, []int{4} |
| 472 | } |
| 473 | |
| 474 | func (m *OltAllocatedResourceType) XXX_Unmarshal(b []byte) error { |
| 475 | return xxx_messageInfo_OltAllocatedResourceType.Unmarshal(m, b) |
| 476 | } |
| 477 | func (m *OltAllocatedResourceType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 478 | return xxx_messageInfo_OltAllocatedResourceType.Marshal(b, m, deterministic) |
| 479 | } |
| 480 | func (m *OltAllocatedResourceType) XXX_Merge(src proto.Message) { |
| 481 | xxx_messageInfo_OltAllocatedResourceType.Merge(m, src) |
| 482 | } |
| 483 | func (m *OltAllocatedResourceType) XXX_Size() int { |
| 484 | return xxx_messageInfo_OltAllocatedResourceType.Size(m) |
| 485 | } |
| 486 | func (m *OltAllocatedResourceType) XXX_DiscardUnknown() { |
| 487 | xxx_messageInfo_OltAllocatedResourceType.DiscardUnknown(m) |
| 488 | } |
| 489 | |
| 490 | var xxx_messageInfo_OltAllocatedResourceType proto.InternalMessageInfo |
| 491 | |
| 492 | func (m *OltAllocatedResourceType) GetType() OltAllocatedResourceType_Type { |
| 493 | if m != nil { |
| 494 | return m.Type |
| 495 | } |
| 496 | return OltAllocatedResourceType_UNKNOWN |
| 497 | } |
| 498 | |
| 499 | type OltAllocatedResource struct { |
| 500 | Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"` |
| 501 | PonPortId uint32 `protobuf:"varint,2,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"` |
| 502 | OnuId uint32 `protobuf:"varint,3,opt,name=OnuId,proto3" json:"OnuId,omitempty"` |
| 503 | PortNo uint32 `protobuf:"varint,4,opt,name=PortNo,proto3" json:"PortNo,omitempty"` |
| 504 | ResourceId int32 `protobuf:"varint,5,opt,name=ResourceId,proto3" json:"ResourceId,omitempty"` |
| 505 | FlowId uint64 `protobuf:"varint,6,opt,name=FlowId,proto3" json:"FlowId,omitempty"` |
| 506 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 507 | XXX_unrecognized []byte `json:"-"` |
| 508 | XXX_sizecache int32 `json:"-"` |
| 509 | } |
| 510 | |
| 511 | func (m *OltAllocatedResource) Reset() { *m = OltAllocatedResource{} } |
| 512 | func (m *OltAllocatedResource) String() string { return proto.CompactTextString(m) } |
| 513 | func (*OltAllocatedResource) ProtoMessage() {} |
| 514 | func (*OltAllocatedResource) Descriptor() ([]byte, []int) { |
| 515 | return fileDescriptor_ef7750073d18011b, []int{5} |
| 516 | } |
| 517 | |
| 518 | func (m *OltAllocatedResource) XXX_Unmarshal(b []byte) error { |
| 519 | return xxx_messageInfo_OltAllocatedResource.Unmarshal(m, b) |
| 520 | } |
| 521 | func (m *OltAllocatedResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 522 | return xxx_messageInfo_OltAllocatedResource.Marshal(b, m, deterministic) |
| 523 | } |
| 524 | func (m *OltAllocatedResource) XXX_Merge(src proto.Message) { |
| 525 | xxx_messageInfo_OltAllocatedResource.Merge(m, src) |
| 526 | } |
| 527 | func (m *OltAllocatedResource) XXX_Size() int { |
| 528 | return xxx_messageInfo_OltAllocatedResource.Size(m) |
| 529 | } |
| 530 | func (m *OltAllocatedResource) XXX_DiscardUnknown() { |
| 531 | xxx_messageInfo_OltAllocatedResource.DiscardUnknown(m) |
| 532 | } |
| 533 | |
| 534 | var xxx_messageInfo_OltAllocatedResource proto.InternalMessageInfo |
| 535 | |
| 536 | func (m *OltAllocatedResource) GetType() string { |
| 537 | if m != nil { |
| 538 | return m.Type |
| 539 | } |
| 540 | return "" |
| 541 | } |
| 542 | |
| 543 | func (m *OltAllocatedResource) GetPonPortId() uint32 { |
| 544 | if m != nil { |
| 545 | return m.PonPortId |
| 546 | } |
| 547 | return 0 |
| 548 | } |
| 549 | |
| 550 | func (m *OltAllocatedResource) GetOnuId() uint32 { |
| 551 | if m != nil { |
| 552 | return m.OnuId |
| 553 | } |
| 554 | return 0 |
| 555 | } |
| 556 | |
| 557 | func (m *OltAllocatedResource) GetPortNo() uint32 { |
| 558 | if m != nil { |
| 559 | return m.PortNo |
| 560 | } |
| 561 | return 0 |
| 562 | } |
| 563 | |
| 564 | func (m *OltAllocatedResource) GetResourceId() int32 { |
| 565 | if m != nil { |
| 566 | return m.ResourceId |
| 567 | } |
| 568 | return 0 |
| 569 | } |
| 570 | |
| 571 | func (m *OltAllocatedResource) GetFlowId() uint64 { |
| 572 | if m != nil { |
| 573 | return m.FlowId |
| 574 | } |
| 575 | return 0 |
| 576 | } |
| 577 | |
| 578 | type OltAllocatedResources struct { |
| 579 | Resources []*OltAllocatedResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` |
| 580 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 581 | XXX_unrecognized []byte `json:"-"` |
| 582 | XXX_sizecache int32 `json:"-"` |
| 583 | } |
| 584 | |
| 585 | func (m *OltAllocatedResources) Reset() { *m = OltAllocatedResources{} } |
| 586 | func (m *OltAllocatedResources) String() string { return proto.CompactTextString(m) } |
| 587 | func (*OltAllocatedResources) ProtoMessage() {} |
| 588 | func (*OltAllocatedResources) Descriptor() ([]byte, []int) { |
| 589 | return fileDescriptor_ef7750073d18011b, []int{6} |
| 590 | } |
| 591 | |
| 592 | func (m *OltAllocatedResources) XXX_Unmarshal(b []byte) error { |
| 593 | return xxx_messageInfo_OltAllocatedResources.Unmarshal(m, b) |
| 594 | } |
| 595 | func (m *OltAllocatedResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 596 | return xxx_messageInfo_OltAllocatedResources.Marshal(b, m, deterministic) |
| 597 | } |
| 598 | func (m *OltAllocatedResources) XXX_Merge(src proto.Message) { |
| 599 | xxx_messageInfo_OltAllocatedResources.Merge(m, src) |
| 600 | } |
| 601 | func (m *OltAllocatedResources) XXX_Size() int { |
| 602 | return xxx_messageInfo_OltAllocatedResources.Size(m) |
| 603 | } |
| 604 | func (m *OltAllocatedResources) XXX_DiscardUnknown() { |
| 605 | xxx_messageInfo_OltAllocatedResources.DiscardUnknown(m) |
| 606 | } |
| 607 | |
| 608 | var xxx_messageInfo_OltAllocatedResources proto.InternalMessageInfo |
| 609 | |
| 610 | func (m *OltAllocatedResources) GetResources() []*OltAllocatedResource { |
| 611 | if m != nil { |
| 612 | return m.Resources |
| 613 | } |
| 614 | return nil |
| 615 | } |
| 616 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 617 | type ONU struct { |
Matteo Scandolo | cedde46 | 2021-03-09 17:37:16 -0800 | [diff] [blame] | 618 | ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` |
| 619 | SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` |
| 620 | OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"` |
| 621 | InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"` |
| 622 | PonPortID int32 `protobuf:"varint,5,opt,name=PonPortID,proto3" json:"PonPortID,omitempty"` |
Matteo Scandolo | 8a57481 | 2021-05-20 15:18:53 -0700 | [diff] [blame] | 623 | HwAddress string `protobuf:"bytes,8,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"` // Deprecated: Do not use. |
| 624 | PortNo int32 `protobuf:"varint,9,opt,name=PortNo,proto3" json:"PortNo,omitempty"` // Deprecated: Do not use. |
| 625 | Services []*Service `protobuf:"bytes,10,rep,name=services,proto3" json:"services,omitempty"` // Deprecated: Do not use. |
Matteo Scandolo | cedde46 | 2021-03-09 17:37:16 -0800 | [diff] [blame] | 626 | ImageSoftwareExpectedSections int32 `protobuf:"varint,11,opt,name=ImageSoftwareExpectedSections,proto3" json:"ImageSoftwareExpectedSections,omitempty"` |
| 627 | ImageSoftwareReceivedSections int32 `protobuf:"varint,12,opt,name=ImageSoftwareReceivedSections,proto3" json:"ImageSoftwareReceivedSections,omitempty"` |
| 628 | ActiveImageEntityId int32 `protobuf:"varint,13,opt,name=ActiveImageEntityId,proto3" json:"ActiveImageEntityId,omitempty"` |
| 629 | CommittedImageEntityId int32 `protobuf:"varint,14,opt,name=CommittedImageEntityId,proto3" json:"CommittedImageEntityId,omitempty"` |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 630 | Unis []*UNI `protobuf:"bytes,15,rep,name=unis,proto3" json:"unis,omitempty"` |
Matteo Scandolo | cedde46 | 2021-03-09 17:37:16 -0800 | [diff] [blame] | 631 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 632 | XXX_unrecognized []byte `json:"-"` |
| 633 | XXX_sizecache int32 `json:"-"` |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 634 | } |
| 635 | |
| 636 | func (m *ONU) Reset() { *m = ONU{} } |
| 637 | func (m *ONU) String() string { return proto.CompactTextString(m) } |
| 638 | func (*ONU) ProtoMessage() {} |
| 639 | func (*ONU) Descriptor() ([]byte, []int) { |
Matteo Scandolo | 4b077aa | 2021-02-16 17:33:37 -0800 | [diff] [blame] | 640 | return fileDescriptor_ef7750073d18011b, []int{7} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 641 | } |
| 642 | |
| 643 | func (m *ONU) XXX_Unmarshal(b []byte) error { |
| 644 | return xxx_messageInfo_ONU.Unmarshal(m, b) |
| 645 | } |
| 646 | func (m *ONU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 647 | return xxx_messageInfo_ONU.Marshal(b, m, deterministic) |
| 648 | } |
| 649 | func (m *ONU) XXX_Merge(src proto.Message) { |
| 650 | xxx_messageInfo_ONU.Merge(m, src) |
| 651 | } |
| 652 | func (m *ONU) XXX_Size() int { |
| 653 | return xxx_messageInfo_ONU.Size(m) |
| 654 | } |
| 655 | func (m *ONU) XXX_DiscardUnknown() { |
| 656 | xxx_messageInfo_ONU.DiscardUnknown(m) |
| 657 | } |
| 658 | |
| 659 | var xxx_messageInfo_ONU proto.InternalMessageInfo |
| 660 | |
| 661 | func (m *ONU) GetID() int32 { |
| 662 | if m != nil { |
| 663 | return m.ID |
| 664 | } |
| 665 | return 0 |
| 666 | } |
| 667 | |
| 668 | func (m *ONU) GetSerialNumber() string { |
| 669 | if m != nil { |
| 670 | return m.SerialNumber |
| 671 | } |
| 672 | return "" |
| 673 | } |
| 674 | |
| 675 | func (m *ONU) GetOperState() string { |
| 676 | if m != nil { |
| 677 | return m.OperState |
| 678 | } |
| 679 | return "" |
| 680 | } |
| 681 | |
| 682 | func (m *ONU) GetInternalState() string { |
| 683 | if m != nil { |
| 684 | return m.InternalState |
| 685 | } |
| 686 | return "" |
| 687 | } |
| 688 | |
| 689 | func (m *ONU) GetPonPortID() int32 { |
| 690 | if m != nil { |
| 691 | return m.PonPortID |
| 692 | } |
| 693 | return 0 |
| 694 | } |
| 695 | |
Matteo Scandolo | 8a57481 | 2021-05-20 15:18:53 -0700 | [diff] [blame] | 696 | // Deprecated: Do not use. |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 697 | func (m *ONU) GetHwAddress() string { |
| 698 | if m != nil { |
| 699 | return m.HwAddress |
| 700 | } |
| 701 | return "" |
| 702 | } |
| 703 | |
Matteo Scandolo | 8a57481 | 2021-05-20 15:18:53 -0700 | [diff] [blame] | 704 | // Deprecated: Do not use. |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 705 | func (m *ONU) GetPortNo() int32 { |
| 706 | if m != nil { |
| 707 | return m.PortNo |
| 708 | } |
| 709 | return 0 |
| 710 | } |
| 711 | |
Matteo Scandolo | 8a57481 | 2021-05-20 15:18:53 -0700 | [diff] [blame] | 712 | // Deprecated: Do not use. |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 713 | func (m *ONU) GetServices() []*Service { |
| 714 | if m != nil { |
| 715 | return m.Services |
| 716 | } |
| 717 | return nil |
| 718 | } |
| 719 | |
Matteo Scandolo | cedde46 | 2021-03-09 17:37:16 -0800 | [diff] [blame] | 720 | func (m *ONU) GetImageSoftwareExpectedSections() int32 { |
| 721 | if m != nil { |
| 722 | return m.ImageSoftwareExpectedSections |
| 723 | } |
| 724 | return 0 |
| 725 | } |
| 726 | |
| 727 | func (m *ONU) GetImageSoftwareReceivedSections() int32 { |
| 728 | if m != nil { |
| 729 | return m.ImageSoftwareReceivedSections |
| 730 | } |
| 731 | return 0 |
| 732 | } |
| 733 | |
| 734 | func (m *ONU) GetActiveImageEntityId() int32 { |
| 735 | if m != nil { |
| 736 | return m.ActiveImageEntityId |
| 737 | } |
| 738 | return 0 |
| 739 | } |
| 740 | |
| 741 | func (m *ONU) GetCommittedImageEntityId() int32 { |
| 742 | if m != nil { |
| 743 | return m.CommittedImageEntityId |
| 744 | } |
| 745 | return 0 |
| 746 | } |
| 747 | |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 748 | func (m *ONU) GetUnis() []*UNI { |
| 749 | if m != nil { |
| 750 | return m.Unis |
| 751 | } |
| 752 | return nil |
| 753 | } |
| 754 | |
| 755 | type UNI struct { |
Matteo Scandolo | 8a57481 | 2021-05-20 15:18:53 -0700 | [diff] [blame] | 756 | ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` |
| 757 | OnuID int32 `protobuf:"varint,2,opt,name=OnuID,proto3" json:"OnuID,omitempty"` |
| 758 | OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"` |
| 759 | MeID uint32 `protobuf:"varint,4,opt,name=MeID,proto3" json:"MeID,omitempty"` |
| 760 | OperState string `protobuf:"bytes,5,opt,name=OperState,proto3" json:"OperState,omitempty"` |
| 761 | PortNo int32 `protobuf:"varint,6,opt,name=PortNo,proto3" json:"PortNo,omitempty"` |
| 762 | Services []*Service `protobuf:"bytes,7,rep,name=services,proto3" json:"services,omitempty"` |
Elia Battiston | ac63b11 | 2022-01-12 18:40:49 +0100 | [diff] [blame] | 763 | Type UniType `protobuf:"varint,8,opt,name=Type,proto3,enum=bbsim.UniType" json:"Type,omitempty"` |
Matteo Scandolo | 8a57481 | 2021-05-20 15:18:53 -0700 | [diff] [blame] | 764 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 765 | XXX_unrecognized []byte `json:"-"` |
| 766 | XXX_sizecache int32 `json:"-"` |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 767 | } |
| 768 | |
| 769 | func (m *UNI) Reset() { *m = UNI{} } |
| 770 | func (m *UNI) String() string { return proto.CompactTextString(m) } |
| 771 | func (*UNI) ProtoMessage() {} |
| 772 | func (*UNI) Descriptor() ([]byte, []int) { |
| 773 | return fileDescriptor_ef7750073d18011b, []int{8} |
| 774 | } |
| 775 | |
| 776 | func (m *UNI) XXX_Unmarshal(b []byte) error { |
| 777 | return xxx_messageInfo_UNI.Unmarshal(m, b) |
| 778 | } |
| 779 | func (m *UNI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 780 | return xxx_messageInfo_UNI.Marshal(b, m, deterministic) |
| 781 | } |
| 782 | func (m *UNI) XXX_Merge(src proto.Message) { |
| 783 | xxx_messageInfo_UNI.Merge(m, src) |
| 784 | } |
| 785 | func (m *UNI) XXX_Size() int { |
| 786 | return xxx_messageInfo_UNI.Size(m) |
| 787 | } |
| 788 | func (m *UNI) XXX_DiscardUnknown() { |
| 789 | xxx_messageInfo_UNI.DiscardUnknown(m) |
| 790 | } |
| 791 | |
| 792 | var xxx_messageInfo_UNI proto.InternalMessageInfo |
| 793 | |
| 794 | func (m *UNI) GetID() int32 { |
| 795 | if m != nil { |
| 796 | return m.ID |
| 797 | } |
| 798 | return 0 |
| 799 | } |
| 800 | |
| 801 | func (m *UNI) GetOnuID() int32 { |
| 802 | if m != nil { |
| 803 | return m.OnuID |
| 804 | } |
| 805 | return 0 |
| 806 | } |
| 807 | |
| 808 | func (m *UNI) GetOnuSn() string { |
| 809 | if m != nil { |
| 810 | return m.OnuSn |
| 811 | } |
| 812 | return "" |
| 813 | } |
| 814 | |
| 815 | func (m *UNI) GetMeID() uint32 { |
| 816 | if m != nil { |
| 817 | return m.MeID |
| 818 | } |
| 819 | return 0 |
| 820 | } |
| 821 | |
| 822 | func (m *UNI) GetOperState() string { |
| 823 | if m != nil { |
| 824 | return m.OperState |
| 825 | } |
| 826 | return "" |
| 827 | } |
| 828 | |
Matteo Scandolo | 8a57481 | 2021-05-20 15:18:53 -0700 | [diff] [blame] | 829 | func (m *UNI) GetPortNo() int32 { |
| 830 | if m != nil { |
| 831 | return m.PortNo |
| 832 | } |
| 833 | return 0 |
| 834 | } |
| 835 | |
| 836 | func (m *UNI) GetServices() []*Service { |
| 837 | if m != nil { |
| 838 | return m.Services |
| 839 | } |
| 840 | return nil |
| 841 | } |
| 842 | |
Elia Battiston | ac63b11 | 2022-01-12 18:40:49 +0100 | [diff] [blame] | 843 | func (m *UNI) GetType() UniType { |
| 844 | if m != nil { |
| 845 | return m.Type |
| 846 | } |
| 847 | return UniType_ETH |
| 848 | } |
| 849 | |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 850 | type Service struct { |
| 851 | Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` |
| 852 | HwAddress string `protobuf:"bytes,2,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"` |
| 853 | OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"` |
| 854 | STag int32 `protobuf:"varint,4,opt,name=STag,proto3" json:"STag,omitempty"` |
| 855 | CTag int32 `protobuf:"varint,5,opt,name=CTag,proto3" json:"CTag,omitempty"` |
| 856 | NeedsEapol bool `protobuf:"varint,6,opt,name=NeedsEapol,proto3" json:"NeedsEapol,omitempty"` |
| 857 | NeedsDhcp bool `protobuf:"varint,7,opt,name=NeedsDhcp,proto3" json:"NeedsDhcp,omitempty"` |
| 858 | NeedsIgmp bool `protobuf:"varint,8,opt,name=NeedsIgmp,proto3" json:"NeedsIgmp,omitempty"` |
| 859 | GemPort int32 `protobuf:"varint,9,opt,name=GemPort,proto3" json:"GemPort,omitempty"` |
| 860 | EapolState string `protobuf:"bytes,10,opt,name=EapolState,proto3" json:"EapolState,omitempty"` |
| 861 | DhcpState string `protobuf:"bytes,11,opt,name=DhcpState,proto3" json:"DhcpState,omitempty"` |
Matteo Scandolo | 75ed5b9 | 2020-09-03 09:03:16 -0700 | [diff] [blame] | 862 | InternalState string `protobuf:"bytes,12,opt,name=InternalState,proto3" json:"InternalState,omitempty"` |
Matteo Scandolo | 618a658 | 2020-09-09 12:21:29 -0700 | [diff] [blame] | 863 | IGMPState string `protobuf:"bytes,13,opt,name=IGMPState,proto3" json:"IGMPState,omitempty"` |
Matteo Scandolo | 8a57481 | 2021-05-20 15:18:53 -0700 | [diff] [blame] | 864 | UniId uint32 `protobuf:"varint,14,opt,name=UniId,proto3" json:"UniId,omitempty"` |
Elia Battiston | 9a1da62 | 2022-02-09 14:43:52 +0100 | [diff] [blame^] | 865 | UniTagMatch int32 `protobuf:"varint,15,opt,name=UniTagMatch,proto3" json:"UniTagMatch,omitempty"` |
| 866 | UsCTagPriority uint32 `protobuf:"varint,16,opt,name=UsCTagPriority,proto3" json:"UsCTagPriority,omitempty"` |
| 867 | UsSTagPriority uint32 `protobuf:"varint,17,opt,name=UsSTagPriority,proto3" json:"UsSTagPriority,omitempty"` |
| 868 | DsCTagPriority uint32 `protobuf:"varint,18,opt,name=DsCTagPriority,proto3" json:"DsCTagPriority,omitempty"` |
| 869 | DsSTagPriority uint32 `protobuf:"varint,19,opt,name=DsSTagPriority,proto3" json:"DsSTagPriority,omitempty"` |
| 870 | NeedsPPPoE bool `protobuf:"varint,20,opt,name=NeedsPPPoE,proto3" json:"NeedsPPPoE,omitempty"` |
| 871 | ConfigureMacAddress bool `protobuf:"varint,21,opt,name=ConfigureMacAddress,proto3" json:"ConfigureMacAddress,omitempty"` |
| 872 | EnableMacLearning bool `protobuf:"varint,22,opt,name=EnableMacLearning,proto3" json:"EnableMacLearning,omitempty"` |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 873 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 874 | XXX_unrecognized []byte `json:"-"` |
| 875 | XXX_sizecache int32 `json:"-"` |
| 876 | } |
| 877 | |
| 878 | func (m *Service) Reset() { *m = Service{} } |
| 879 | func (m *Service) String() string { return proto.CompactTextString(m) } |
| 880 | func (*Service) ProtoMessage() {} |
| 881 | func (*Service) Descriptor() ([]byte, []int) { |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 882 | return fileDescriptor_ef7750073d18011b, []int{9} |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 883 | } |
| 884 | |
| 885 | func (m *Service) XXX_Unmarshal(b []byte) error { |
| 886 | return xxx_messageInfo_Service.Unmarshal(m, b) |
| 887 | } |
| 888 | func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 889 | return xxx_messageInfo_Service.Marshal(b, m, deterministic) |
| 890 | } |
| 891 | func (m *Service) XXX_Merge(src proto.Message) { |
| 892 | xxx_messageInfo_Service.Merge(m, src) |
| 893 | } |
| 894 | func (m *Service) XXX_Size() int { |
| 895 | return xxx_messageInfo_Service.Size(m) |
| 896 | } |
| 897 | func (m *Service) XXX_DiscardUnknown() { |
| 898 | xxx_messageInfo_Service.DiscardUnknown(m) |
| 899 | } |
| 900 | |
| 901 | var xxx_messageInfo_Service proto.InternalMessageInfo |
| 902 | |
| 903 | func (m *Service) GetName() string { |
| 904 | if m != nil { |
| 905 | return m.Name |
| 906 | } |
| 907 | return "" |
| 908 | } |
| 909 | |
| 910 | func (m *Service) GetHwAddress() string { |
| 911 | if m != nil { |
| 912 | return m.HwAddress |
| 913 | } |
| 914 | return "" |
| 915 | } |
| 916 | |
| 917 | func (m *Service) GetOnuSn() string { |
| 918 | if m != nil { |
| 919 | return m.OnuSn |
| 920 | } |
| 921 | return "" |
| 922 | } |
| 923 | |
| 924 | func (m *Service) GetSTag() int32 { |
| 925 | if m != nil { |
| 926 | return m.STag |
| 927 | } |
| 928 | return 0 |
| 929 | } |
| 930 | |
| 931 | func (m *Service) GetCTag() int32 { |
| 932 | if m != nil { |
| 933 | return m.CTag |
| 934 | } |
| 935 | return 0 |
| 936 | } |
| 937 | |
| 938 | func (m *Service) GetNeedsEapol() bool { |
| 939 | if m != nil { |
| 940 | return m.NeedsEapol |
| 941 | } |
| 942 | return false |
| 943 | } |
| 944 | |
| 945 | func (m *Service) GetNeedsDhcp() bool { |
| 946 | if m != nil { |
| 947 | return m.NeedsDhcp |
| 948 | } |
| 949 | return false |
| 950 | } |
| 951 | |
| 952 | func (m *Service) GetNeedsIgmp() bool { |
| 953 | if m != nil { |
| 954 | return m.NeedsIgmp |
| 955 | } |
| 956 | return false |
| 957 | } |
| 958 | |
| 959 | func (m *Service) GetGemPort() int32 { |
| 960 | if m != nil { |
| 961 | return m.GemPort |
| 962 | } |
| 963 | return 0 |
| 964 | } |
| 965 | |
| 966 | func (m *Service) GetEapolState() string { |
| 967 | if m != nil { |
| 968 | return m.EapolState |
| 969 | } |
| 970 | return "" |
| 971 | } |
| 972 | |
| 973 | func (m *Service) GetDhcpState() string { |
| 974 | if m != nil { |
| 975 | return m.DhcpState |
| 976 | } |
| 977 | return "" |
| 978 | } |
| 979 | |
Matteo Scandolo | 75ed5b9 | 2020-09-03 09:03:16 -0700 | [diff] [blame] | 980 | func (m *Service) GetInternalState() string { |
| 981 | if m != nil { |
| 982 | return m.InternalState |
| 983 | } |
| 984 | return "" |
| 985 | } |
| 986 | |
Matteo Scandolo | 618a658 | 2020-09-09 12:21:29 -0700 | [diff] [blame] | 987 | func (m *Service) GetIGMPState() string { |
| 988 | if m != nil { |
| 989 | return m.IGMPState |
| 990 | } |
| 991 | return "" |
| 992 | } |
| 993 | |
Matteo Scandolo | 8a57481 | 2021-05-20 15:18:53 -0700 | [diff] [blame] | 994 | func (m *Service) GetUniId() uint32 { |
| 995 | if m != nil { |
| 996 | return m.UniId |
| 997 | } |
| 998 | return 0 |
| 999 | } |
| 1000 | |
Elia Battiston | 9a1da62 | 2022-02-09 14:43:52 +0100 | [diff] [blame^] | 1001 | func (m *Service) GetUniTagMatch() int32 { |
| 1002 | if m != nil { |
| 1003 | return m.UniTagMatch |
| 1004 | } |
| 1005 | return 0 |
| 1006 | } |
| 1007 | |
| 1008 | func (m *Service) GetUsCTagPriority() uint32 { |
| 1009 | if m != nil { |
| 1010 | return m.UsCTagPriority |
| 1011 | } |
| 1012 | return 0 |
| 1013 | } |
| 1014 | |
| 1015 | func (m *Service) GetUsSTagPriority() uint32 { |
| 1016 | if m != nil { |
| 1017 | return m.UsSTagPriority |
| 1018 | } |
| 1019 | return 0 |
| 1020 | } |
| 1021 | |
| 1022 | func (m *Service) GetDsCTagPriority() uint32 { |
| 1023 | if m != nil { |
| 1024 | return m.DsCTagPriority |
| 1025 | } |
| 1026 | return 0 |
| 1027 | } |
| 1028 | |
| 1029 | func (m *Service) GetDsSTagPriority() uint32 { |
| 1030 | if m != nil { |
| 1031 | return m.DsSTagPriority |
| 1032 | } |
| 1033 | return 0 |
| 1034 | } |
| 1035 | |
| 1036 | func (m *Service) GetNeedsPPPoE() bool { |
| 1037 | if m != nil { |
| 1038 | return m.NeedsPPPoE |
| 1039 | } |
| 1040 | return false |
| 1041 | } |
| 1042 | |
| 1043 | func (m *Service) GetConfigureMacAddress() bool { |
| 1044 | if m != nil { |
| 1045 | return m.ConfigureMacAddress |
| 1046 | } |
| 1047 | return false |
| 1048 | } |
| 1049 | |
| 1050 | func (m *Service) GetEnableMacLearning() bool { |
| 1051 | if m != nil { |
| 1052 | return m.EnableMacLearning |
| 1053 | } |
| 1054 | return false |
| 1055 | } |
| 1056 | |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 1057 | type ONUTrafficSchedulers struct { |
| 1058 | TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"` |
| 1059 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1060 | XXX_unrecognized []byte `json:"-"` |
| 1061 | XXX_sizecache int32 `json:"-"` |
| 1062 | } |
| 1063 | |
| 1064 | func (m *ONUTrafficSchedulers) Reset() { *m = ONUTrafficSchedulers{} } |
| 1065 | func (m *ONUTrafficSchedulers) String() string { return proto.CompactTextString(m) } |
| 1066 | func (*ONUTrafficSchedulers) ProtoMessage() {} |
| 1067 | func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int) { |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 1068 | return fileDescriptor_ef7750073d18011b, []int{10} |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 1069 | } |
| 1070 | |
| 1071 | func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error { |
| 1072 | return xxx_messageInfo_ONUTrafficSchedulers.Unmarshal(m, b) |
| 1073 | } |
| 1074 | func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1075 | return xxx_messageInfo_ONUTrafficSchedulers.Marshal(b, m, deterministic) |
| 1076 | } |
| 1077 | func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message) { |
| 1078 | xxx_messageInfo_ONUTrafficSchedulers.Merge(m, src) |
| 1079 | } |
| 1080 | func (m *ONUTrafficSchedulers) XXX_Size() int { |
| 1081 | return xxx_messageInfo_ONUTrafficSchedulers.Size(m) |
| 1082 | } |
| 1083 | func (m *ONUTrafficSchedulers) XXX_DiscardUnknown() { |
| 1084 | xxx_messageInfo_ONUTrafficSchedulers.DiscardUnknown(m) |
| 1085 | } |
| 1086 | |
| 1087 | var xxx_messageInfo_ONUTrafficSchedulers proto.InternalMessageInfo |
| 1088 | |
| 1089 | func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers { |
| 1090 | if m != nil { |
| 1091 | return m.TraffSchedulers |
| 1092 | } |
| 1093 | return nil |
| 1094 | } |
| 1095 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1096 | type ONUs struct { |
| 1097 | Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 1098 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1099 | XXX_unrecognized []byte `json:"-"` |
| 1100 | XXX_sizecache int32 `json:"-"` |
| 1101 | } |
| 1102 | |
| 1103 | func (m *ONUs) Reset() { *m = ONUs{} } |
| 1104 | func (m *ONUs) String() string { return proto.CompactTextString(m) } |
| 1105 | func (*ONUs) ProtoMessage() {} |
| 1106 | func (*ONUs) Descriptor() ([]byte, []int) { |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 1107 | return fileDescriptor_ef7750073d18011b, []int{11} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1108 | } |
| 1109 | |
| 1110 | func (m *ONUs) XXX_Unmarshal(b []byte) error { |
| 1111 | return xxx_messageInfo_ONUs.Unmarshal(m, b) |
| 1112 | } |
| 1113 | func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1114 | return xxx_messageInfo_ONUs.Marshal(b, m, deterministic) |
| 1115 | } |
| 1116 | func (m *ONUs) XXX_Merge(src proto.Message) { |
| 1117 | xxx_messageInfo_ONUs.Merge(m, src) |
| 1118 | } |
| 1119 | func (m *ONUs) XXX_Size() int { |
| 1120 | return xxx_messageInfo_ONUs.Size(m) |
| 1121 | } |
| 1122 | func (m *ONUs) XXX_DiscardUnknown() { |
| 1123 | xxx_messageInfo_ONUs.DiscardUnknown(m) |
| 1124 | } |
| 1125 | |
| 1126 | var xxx_messageInfo_ONUs proto.InternalMessageInfo |
| 1127 | |
| 1128 | func (m *ONUs) GetItems() []*ONU { |
| 1129 | if m != nil { |
| 1130 | return m.Items |
| 1131 | } |
| 1132 | return nil |
| 1133 | } |
| 1134 | |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 1135 | type Services struct { |
| 1136 | Items []*Service `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 1137 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1138 | XXX_unrecognized []byte `json:"-"` |
| 1139 | XXX_sizecache int32 `json:"-"` |
| 1140 | } |
| 1141 | |
| 1142 | func (m *Services) Reset() { *m = Services{} } |
| 1143 | func (m *Services) String() string { return proto.CompactTextString(m) } |
| 1144 | func (*Services) ProtoMessage() {} |
| 1145 | func (*Services) Descriptor() ([]byte, []int) { |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 1146 | return fileDescriptor_ef7750073d18011b, []int{12} |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 1147 | } |
| 1148 | |
| 1149 | func (m *Services) XXX_Unmarshal(b []byte) error { |
| 1150 | return xxx_messageInfo_Services.Unmarshal(m, b) |
| 1151 | } |
| 1152 | func (m *Services) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1153 | return xxx_messageInfo_Services.Marshal(b, m, deterministic) |
| 1154 | } |
| 1155 | func (m *Services) XXX_Merge(src proto.Message) { |
| 1156 | xxx_messageInfo_Services.Merge(m, src) |
| 1157 | } |
| 1158 | func (m *Services) XXX_Size() int { |
| 1159 | return xxx_messageInfo_Services.Size(m) |
| 1160 | } |
| 1161 | func (m *Services) XXX_DiscardUnknown() { |
| 1162 | xxx_messageInfo_Services.DiscardUnknown(m) |
| 1163 | } |
| 1164 | |
| 1165 | var xxx_messageInfo_Services proto.InternalMessageInfo |
| 1166 | |
| 1167 | func (m *Services) GetItems() []*Service { |
| 1168 | if m != nil { |
| 1169 | return m.Items |
| 1170 | } |
| 1171 | return nil |
| 1172 | } |
| 1173 | |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 1174 | type UNIs struct { |
| 1175 | Items []*UNI `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 1176 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1177 | XXX_unrecognized []byte `json:"-"` |
| 1178 | XXX_sizecache int32 `json:"-"` |
| 1179 | } |
| 1180 | |
| 1181 | func (m *UNIs) Reset() { *m = UNIs{} } |
| 1182 | func (m *UNIs) String() string { return proto.CompactTextString(m) } |
| 1183 | func (*UNIs) ProtoMessage() {} |
| 1184 | func (*UNIs) Descriptor() ([]byte, []int) { |
| 1185 | return fileDescriptor_ef7750073d18011b, []int{13} |
| 1186 | } |
| 1187 | |
| 1188 | func (m *UNIs) XXX_Unmarshal(b []byte) error { |
| 1189 | return xxx_messageInfo_UNIs.Unmarshal(m, b) |
| 1190 | } |
| 1191 | func (m *UNIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1192 | return xxx_messageInfo_UNIs.Marshal(b, m, deterministic) |
| 1193 | } |
| 1194 | func (m *UNIs) XXX_Merge(src proto.Message) { |
| 1195 | xxx_messageInfo_UNIs.Merge(m, src) |
| 1196 | } |
| 1197 | func (m *UNIs) XXX_Size() int { |
| 1198 | return xxx_messageInfo_UNIs.Size(m) |
| 1199 | } |
| 1200 | func (m *UNIs) XXX_DiscardUnknown() { |
| 1201 | xxx_messageInfo_UNIs.DiscardUnknown(m) |
| 1202 | } |
| 1203 | |
| 1204 | var xxx_messageInfo_UNIs proto.InternalMessageInfo |
| 1205 | |
| 1206 | func (m *UNIs) GetItems() []*UNI { |
| 1207 | if m != nil { |
| 1208 | return m.Items |
| 1209 | } |
| 1210 | return nil |
| 1211 | } |
| 1212 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1213 | type ONURequest struct { |
| 1214 | SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` |
| 1215 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1216 | XXX_unrecognized []byte `json:"-"` |
| 1217 | XXX_sizecache int32 `json:"-"` |
| 1218 | } |
| 1219 | |
| 1220 | func (m *ONURequest) Reset() { *m = ONURequest{} } |
| 1221 | func (m *ONURequest) String() string { return proto.CompactTextString(m) } |
| 1222 | func (*ONURequest) ProtoMessage() {} |
| 1223 | func (*ONURequest) Descriptor() ([]byte, []int) { |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 1224 | return fileDescriptor_ef7750073d18011b, []int{14} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1225 | } |
| 1226 | |
| 1227 | func (m *ONURequest) XXX_Unmarshal(b []byte) error { |
| 1228 | return xxx_messageInfo_ONURequest.Unmarshal(m, b) |
| 1229 | } |
| 1230 | func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1231 | return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic) |
| 1232 | } |
| 1233 | func (m *ONURequest) XXX_Merge(src proto.Message) { |
| 1234 | xxx_messageInfo_ONURequest.Merge(m, src) |
| 1235 | } |
| 1236 | func (m *ONURequest) XXX_Size() int { |
| 1237 | return xxx_messageInfo_ONURequest.Size(m) |
| 1238 | } |
| 1239 | func (m *ONURequest) XXX_DiscardUnknown() { |
| 1240 | xxx_messageInfo_ONURequest.DiscardUnknown(m) |
| 1241 | } |
| 1242 | |
| 1243 | var xxx_messageInfo_ONURequest proto.InternalMessageInfo |
| 1244 | |
| 1245 | func (m *ONURequest) GetSerialNumber() string { |
| 1246 | if m != nil { |
| 1247 | return m.SerialNumber |
| 1248 | } |
| 1249 | return "" |
| 1250 | } |
| 1251 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1252 | type PONRequest struct { |
| 1253 | PonPortId uint32 `protobuf:"varint,1,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"` |
| 1254 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1255 | XXX_unrecognized []byte `json:"-"` |
| 1256 | XXX_sizecache int32 `json:"-"` |
| 1257 | } |
| 1258 | |
| 1259 | func (m *PONRequest) Reset() { *m = PONRequest{} } |
| 1260 | func (m *PONRequest) String() string { return proto.CompactTextString(m) } |
| 1261 | func (*PONRequest) ProtoMessage() {} |
| 1262 | func (*PONRequest) Descriptor() ([]byte, []int) { |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 1263 | return fileDescriptor_ef7750073d18011b, []int{15} |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1264 | } |
| 1265 | |
| 1266 | func (m *PONRequest) XXX_Unmarshal(b []byte) error { |
| 1267 | return xxx_messageInfo_PONRequest.Unmarshal(m, b) |
| 1268 | } |
| 1269 | func (m *PONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1270 | return xxx_messageInfo_PONRequest.Marshal(b, m, deterministic) |
| 1271 | } |
| 1272 | func (m *PONRequest) XXX_Merge(src proto.Message) { |
| 1273 | xxx_messageInfo_PONRequest.Merge(m, src) |
| 1274 | } |
| 1275 | func (m *PONRequest) XXX_Size() int { |
| 1276 | return xxx_messageInfo_PONRequest.Size(m) |
| 1277 | } |
| 1278 | func (m *PONRequest) XXX_DiscardUnknown() { |
| 1279 | xxx_messageInfo_PONRequest.DiscardUnknown(m) |
| 1280 | } |
| 1281 | |
| 1282 | var xxx_messageInfo_PONRequest proto.InternalMessageInfo |
| 1283 | |
| 1284 | func (m *PONRequest) GetPonPortId() uint32 { |
| 1285 | if m != nil { |
| 1286 | return m.PonPortId |
| 1287 | } |
| 1288 | return 0 |
| 1289 | } |
| 1290 | |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 1291 | type UNIRequest struct { |
| 1292 | OnuSerialNumber string `protobuf:"bytes,1,opt,name=OnuSerialNumber,proto3" json:"OnuSerialNumber,omitempty"` |
| 1293 | UniID string `protobuf:"bytes,2,opt,name=UniID,proto3" json:"UniID,omitempty"` |
| 1294 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1295 | XXX_unrecognized []byte `json:"-"` |
| 1296 | XXX_sizecache int32 `json:"-"` |
| 1297 | } |
| 1298 | |
| 1299 | func (m *UNIRequest) Reset() { *m = UNIRequest{} } |
| 1300 | func (m *UNIRequest) String() string { return proto.CompactTextString(m) } |
| 1301 | func (*UNIRequest) ProtoMessage() {} |
| 1302 | func (*UNIRequest) Descriptor() ([]byte, []int) { |
| 1303 | return fileDescriptor_ef7750073d18011b, []int{16} |
| 1304 | } |
| 1305 | |
| 1306 | func (m *UNIRequest) XXX_Unmarshal(b []byte) error { |
| 1307 | return xxx_messageInfo_UNIRequest.Unmarshal(m, b) |
| 1308 | } |
| 1309 | func (m *UNIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1310 | return xxx_messageInfo_UNIRequest.Marshal(b, m, deterministic) |
| 1311 | } |
| 1312 | func (m *UNIRequest) XXX_Merge(src proto.Message) { |
| 1313 | xxx_messageInfo_UNIRequest.Merge(m, src) |
| 1314 | } |
| 1315 | func (m *UNIRequest) XXX_Size() int { |
| 1316 | return xxx_messageInfo_UNIRequest.Size(m) |
| 1317 | } |
| 1318 | func (m *UNIRequest) XXX_DiscardUnknown() { |
| 1319 | xxx_messageInfo_UNIRequest.DiscardUnknown(m) |
| 1320 | } |
| 1321 | |
| 1322 | var xxx_messageInfo_UNIRequest proto.InternalMessageInfo |
| 1323 | |
| 1324 | func (m *UNIRequest) GetOnuSerialNumber() string { |
| 1325 | if m != nil { |
| 1326 | return m.OnuSerialNumber |
| 1327 | } |
| 1328 | return "" |
| 1329 | } |
| 1330 | |
| 1331 | func (m *UNIRequest) GetUniID() string { |
| 1332 | if m != nil { |
| 1333 | return m.UniID |
| 1334 | } |
| 1335 | return "" |
| 1336 | } |
| 1337 | |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1338 | type AlarmType struct { |
| 1339 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1340 | XXX_unrecognized []byte `json:"-"` |
| 1341 | XXX_sizecache int32 `json:"-"` |
| 1342 | } |
| 1343 | |
| 1344 | func (m *AlarmType) Reset() { *m = AlarmType{} } |
| 1345 | func (m *AlarmType) String() string { return proto.CompactTextString(m) } |
| 1346 | func (*AlarmType) ProtoMessage() {} |
| 1347 | func (*AlarmType) Descriptor() ([]byte, []int) { |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 1348 | return fileDescriptor_ef7750073d18011b, []int{17} |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1349 | } |
| 1350 | |
| 1351 | func (m *AlarmType) XXX_Unmarshal(b []byte) error { |
| 1352 | return xxx_messageInfo_AlarmType.Unmarshal(m, b) |
| 1353 | } |
| 1354 | func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1355 | return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic) |
| 1356 | } |
| 1357 | func (m *AlarmType) XXX_Merge(src proto.Message) { |
| 1358 | xxx_messageInfo_AlarmType.Merge(m, src) |
| 1359 | } |
| 1360 | func (m *AlarmType) XXX_Size() int { |
| 1361 | return xxx_messageInfo_AlarmType.Size(m) |
| 1362 | } |
| 1363 | func (m *AlarmType) XXX_DiscardUnknown() { |
| 1364 | xxx_messageInfo_AlarmType.DiscardUnknown(m) |
| 1365 | } |
| 1366 | |
| 1367 | var xxx_messageInfo_AlarmType proto.InternalMessageInfo |
| 1368 | |
| 1369 | type AlarmParameter struct { |
| 1370 | Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` |
| 1371 | Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` |
| 1372 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1373 | XXX_unrecognized []byte `json:"-"` |
| 1374 | XXX_sizecache int32 `json:"-"` |
| 1375 | } |
| 1376 | |
| 1377 | func (m *AlarmParameter) Reset() { *m = AlarmParameter{} } |
| 1378 | func (m *AlarmParameter) String() string { return proto.CompactTextString(m) } |
| 1379 | func (*AlarmParameter) ProtoMessage() {} |
| 1380 | func (*AlarmParameter) Descriptor() ([]byte, []int) { |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 1381 | return fileDescriptor_ef7750073d18011b, []int{18} |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1382 | } |
| 1383 | |
| 1384 | func (m *AlarmParameter) XXX_Unmarshal(b []byte) error { |
| 1385 | return xxx_messageInfo_AlarmParameter.Unmarshal(m, b) |
| 1386 | } |
| 1387 | func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1388 | return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic) |
| 1389 | } |
| 1390 | func (m *AlarmParameter) XXX_Merge(src proto.Message) { |
| 1391 | xxx_messageInfo_AlarmParameter.Merge(m, src) |
| 1392 | } |
| 1393 | func (m *AlarmParameter) XXX_Size() int { |
| 1394 | return xxx_messageInfo_AlarmParameter.Size(m) |
| 1395 | } |
| 1396 | func (m *AlarmParameter) XXX_DiscardUnknown() { |
| 1397 | xxx_messageInfo_AlarmParameter.DiscardUnknown(m) |
| 1398 | } |
| 1399 | |
| 1400 | var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo |
| 1401 | |
| 1402 | func (m *AlarmParameter) GetKey() string { |
| 1403 | if m != nil { |
| 1404 | return m.Key |
| 1405 | } |
| 1406 | return "" |
| 1407 | } |
| 1408 | |
| 1409 | func (m *AlarmParameter) GetValue() string { |
| 1410 | if m != nil { |
| 1411 | return m.Value |
| 1412 | } |
| 1413 | return "" |
| 1414 | } |
| 1415 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1416 | // ONUAlarmRequest includes fields common to every Onu alarm, |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 1417 | // plus an optional list of AlarmParameter list that can be used |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1418 | // to set additional fields in alarms that support them. |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1419 | type ONUAlarmRequest struct { |
Pragya Arya | 694ece0 | 2020-02-07 13:03:47 +0530 | [diff] [blame] | 1420 | AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"` |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1421 | SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"` |
| 1422 | Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"` |
| 1423 | Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"` |
| 1424 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1425 | XXX_unrecognized []byte `json:"-"` |
| 1426 | XXX_sizecache int32 `json:"-"` |
| 1427 | } |
| 1428 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1429 | func (m *ONUAlarmRequest) Reset() { *m = ONUAlarmRequest{} } |
| 1430 | func (m *ONUAlarmRequest) String() string { return proto.CompactTextString(m) } |
| 1431 | func (*ONUAlarmRequest) ProtoMessage() {} |
| 1432 | func (*ONUAlarmRequest) Descriptor() ([]byte, []int) { |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 1433 | return fileDescriptor_ef7750073d18011b, []int{19} |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1434 | } |
| 1435 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1436 | func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error { |
| 1437 | return xxx_messageInfo_ONUAlarmRequest.Unmarshal(m, b) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1438 | } |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1439 | func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1440 | return xxx_messageInfo_ONUAlarmRequest.Marshal(b, m, deterministic) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1441 | } |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1442 | func (m *ONUAlarmRequest) XXX_Merge(src proto.Message) { |
| 1443 | xxx_messageInfo_ONUAlarmRequest.Merge(m, src) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1444 | } |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1445 | func (m *ONUAlarmRequest) XXX_Size() int { |
| 1446 | return xxx_messageInfo_ONUAlarmRequest.Size(m) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1447 | } |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1448 | func (m *ONUAlarmRequest) XXX_DiscardUnknown() { |
| 1449 | xxx_messageInfo_ONUAlarmRequest.DiscardUnknown(m) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1450 | } |
| 1451 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1452 | var xxx_messageInfo_ONUAlarmRequest proto.InternalMessageInfo |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1453 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1454 | func (m *ONUAlarmRequest) GetAlarmType() string { |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1455 | if m != nil { |
| 1456 | return m.AlarmType |
| 1457 | } |
Pragya Arya | 694ece0 | 2020-02-07 13:03:47 +0530 | [diff] [blame] | 1458 | return "" |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1459 | } |
| 1460 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1461 | func (m *ONUAlarmRequest) GetSerialNumber() string { |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1462 | if m != nil { |
| 1463 | return m.SerialNumber |
| 1464 | } |
| 1465 | return "" |
| 1466 | } |
| 1467 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1468 | func (m *ONUAlarmRequest) GetStatus() string { |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1469 | if m != nil { |
| 1470 | return m.Status |
| 1471 | } |
| 1472 | return "" |
| 1473 | } |
| 1474 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1475 | func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter { |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1476 | if m != nil { |
| 1477 | return m.Parameters |
| 1478 | } |
| 1479 | return nil |
| 1480 | } |
| 1481 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1482 | // OLT alarm request |
| 1483 | type OLTAlarmRequest struct { |
| 1484 | InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"` |
| 1485 | InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,omitempty"` |
| 1486 | Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"` |
| 1487 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1488 | XXX_unrecognized []byte `json:"-"` |
| 1489 | XXX_sizecache int32 `json:"-"` |
| 1490 | } |
| 1491 | |
| 1492 | func (m *OLTAlarmRequest) Reset() { *m = OLTAlarmRequest{} } |
| 1493 | func (m *OLTAlarmRequest) String() string { return proto.CompactTextString(m) } |
| 1494 | func (*OLTAlarmRequest) ProtoMessage() {} |
| 1495 | func (*OLTAlarmRequest) Descriptor() ([]byte, []int) { |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 1496 | return fileDescriptor_ef7750073d18011b, []int{20} |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1497 | } |
| 1498 | |
| 1499 | func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error { |
| 1500 | return xxx_messageInfo_OLTAlarmRequest.Unmarshal(m, b) |
| 1501 | } |
| 1502 | func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1503 | return xxx_messageInfo_OLTAlarmRequest.Marshal(b, m, deterministic) |
| 1504 | } |
| 1505 | func (m *OLTAlarmRequest) XXX_Merge(src proto.Message) { |
| 1506 | xxx_messageInfo_OLTAlarmRequest.Merge(m, src) |
| 1507 | } |
| 1508 | func (m *OLTAlarmRequest) XXX_Size() int { |
| 1509 | return xxx_messageInfo_OLTAlarmRequest.Size(m) |
| 1510 | } |
| 1511 | func (m *OLTAlarmRequest) XXX_DiscardUnknown() { |
| 1512 | xxx_messageInfo_OLTAlarmRequest.DiscardUnknown(m) |
| 1513 | } |
| 1514 | |
| 1515 | var xxx_messageInfo_OLTAlarmRequest proto.InternalMessageInfo |
| 1516 | |
| 1517 | func (m *OLTAlarmRequest) GetInterfaceID() uint32 { |
| 1518 | if m != nil { |
| 1519 | return m.InterfaceID |
| 1520 | } |
| 1521 | return 0 |
| 1522 | } |
| 1523 | |
| 1524 | func (m *OLTAlarmRequest) GetInterfaceType() string { |
| 1525 | if m != nil { |
| 1526 | return m.InterfaceType |
| 1527 | } |
| 1528 | return "" |
| 1529 | } |
| 1530 | |
| 1531 | func (m *OLTAlarmRequest) GetStatus() string { |
| 1532 | if m != nil { |
| 1533 | return m.Status |
| 1534 | } |
| 1535 | return "" |
| 1536 | } |
| 1537 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1538 | type VersionNumber struct { |
| 1539 | Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` |
| 1540 | BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"` |
| 1541 | CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"` |
| 1542 | GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"` |
| 1543 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1544 | XXX_unrecognized []byte `json:"-"` |
| 1545 | XXX_sizecache int32 `json:"-"` |
| 1546 | } |
| 1547 | |
| 1548 | func (m *VersionNumber) Reset() { *m = VersionNumber{} } |
| 1549 | func (m *VersionNumber) String() string { return proto.CompactTextString(m) } |
| 1550 | func (*VersionNumber) ProtoMessage() {} |
| 1551 | func (*VersionNumber) Descriptor() ([]byte, []int) { |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 1552 | return fileDescriptor_ef7750073d18011b, []int{21} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1553 | } |
| 1554 | |
| 1555 | func (m *VersionNumber) XXX_Unmarshal(b []byte) error { |
| 1556 | return xxx_messageInfo_VersionNumber.Unmarshal(m, b) |
| 1557 | } |
| 1558 | func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1559 | return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic) |
| 1560 | } |
| 1561 | func (m *VersionNumber) XXX_Merge(src proto.Message) { |
| 1562 | xxx_messageInfo_VersionNumber.Merge(m, src) |
| 1563 | } |
| 1564 | func (m *VersionNumber) XXX_Size() int { |
| 1565 | return xxx_messageInfo_VersionNumber.Size(m) |
| 1566 | } |
| 1567 | func (m *VersionNumber) XXX_DiscardUnknown() { |
| 1568 | xxx_messageInfo_VersionNumber.DiscardUnknown(m) |
| 1569 | } |
| 1570 | |
| 1571 | var xxx_messageInfo_VersionNumber proto.InternalMessageInfo |
| 1572 | |
| 1573 | func (m *VersionNumber) GetVersion() string { |
| 1574 | if m != nil { |
| 1575 | return m.Version |
| 1576 | } |
| 1577 | return "" |
| 1578 | } |
| 1579 | |
| 1580 | func (m *VersionNumber) GetBuildTime() string { |
| 1581 | if m != nil { |
| 1582 | return m.BuildTime |
| 1583 | } |
| 1584 | return "" |
| 1585 | } |
| 1586 | |
| 1587 | func (m *VersionNumber) GetCommitHash() string { |
| 1588 | if m != nil { |
| 1589 | return m.CommitHash |
| 1590 | } |
| 1591 | return "" |
| 1592 | } |
| 1593 | |
| 1594 | func (m *VersionNumber) GetGitStatus() string { |
| 1595 | if m != nil { |
| 1596 | return m.GitStatus |
| 1597 | } |
| 1598 | return "" |
| 1599 | } |
| 1600 | |
| 1601 | type LogLevel struct { |
| 1602 | Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"` |
| 1603 | Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"` |
| 1604 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1605 | XXX_unrecognized []byte `json:"-"` |
| 1606 | XXX_sizecache int32 `json:"-"` |
| 1607 | } |
| 1608 | |
| 1609 | func (m *LogLevel) Reset() { *m = LogLevel{} } |
| 1610 | func (m *LogLevel) String() string { return proto.CompactTextString(m) } |
| 1611 | func (*LogLevel) ProtoMessage() {} |
| 1612 | func (*LogLevel) Descriptor() ([]byte, []int) { |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 1613 | return fileDescriptor_ef7750073d18011b, []int{22} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1614 | } |
| 1615 | |
| 1616 | func (m *LogLevel) XXX_Unmarshal(b []byte) error { |
| 1617 | return xxx_messageInfo_LogLevel.Unmarshal(m, b) |
| 1618 | } |
| 1619 | func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1620 | return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic) |
| 1621 | } |
| 1622 | func (m *LogLevel) XXX_Merge(src proto.Message) { |
| 1623 | xxx_messageInfo_LogLevel.Merge(m, src) |
| 1624 | } |
| 1625 | func (m *LogLevel) XXX_Size() int { |
| 1626 | return xxx_messageInfo_LogLevel.Size(m) |
| 1627 | } |
| 1628 | func (m *LogLevel) XXX_DiscardUnknown() { |
| 1629 | xxx_messageInfo_LogLevel.DiscardUnknown(m) |
| 1630 | } |
| 1631 | |
| 1632 | var xxx_messageInfo_LogLevel proto.InternalMessageInfo |
| 1633 | |
| 1634 | func (m *LogLevel) GetLevel() string { |
| 1635 | if m != nil { |
| 1636 | return m.Level |
| 1637 | } |
| 1638 | return "" |
| 1639 | } |
| 1640 | |
| 1641 | func (m *LogLevel) GetCaller() bool { |
| 1642 | if m != nil { |
| 1643 | return m.Caller |
| 1644 | } |
| 1645 | return false |
| 1646 | } |
| 1647 | |
| 1648 | type Response struct { |
| 1649 | StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` |
| 1650 | Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` |
| 1651 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1652 | XXX_unrecognized []byte `json:"-"` |
| 1653 | XXX_sizecache int32 `json:"-"` |
| 1654 | } |
| 1655 | |
| 1656 | func (m *Response) Reset() { *m = Response{} } |
| 1657 | func (m *Response) String() string { return proto.CompactTextString(m) } |
| 1658 | func (*Response) ProtoMessage() {} |
| 1659 | func (*Response) Descriptor() ([]byte, []int) { |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 1660 | return fileDescriptor_ef7750073d18011b, []int{23} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1661 | } |
| 1662 | |
| 1663 | func (m *Response) XXX_Unmarshal(b []byte) error { |
| 1664 | return xxx_messageInfo_Response.Unmarshal(m, b) |
| 1665 | } |
| 1666 | func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1667 | return xxx_messageInfo_Response.Marshal(b, m, deterministic) |
| 1668 | } |
| 1669 | func (m *Response) XXX_Merge(src proto.Message) { |
| 1670 | xxx_messageInfo_Response.Merge(m, src) |
| 1671 | } |
| 1672 | func (m *Response) XXX_Size() int { |
| 1673 | return xxx_messageInfo_Response.Size(m) |
| 1674 | } |
| 1675 | func (m *Response) XXX_DiscardUnknown() { |
| 1676 | xxx_messageInfo_Response.DiscardUnknown(m) |
| 1677 | } |
| 1678 | |
| 1679 | var xxx_messageInfo_Response proto.InternalMessageInfo |
| 1680 | |
| 1681 | func (m *Response) GetStatusCode() int32 { |
| 1682 | if m != nil { |
| 1683 | return m.StatusCode |
| 1684 | } |
| 1685 | return 0 |
| 1686 | } |
| 1687 | |
| 1688 | func (m *Response) GetMessage() string { |
| 1689 | if m != nil { |
| 1690 | return m.Message |
| 1691 | } |
| 1692 | return "" |
| 1693 | } |
| 1694 | |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1695 | type IgmpRequest struct { |
| 1696 | OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"` |
| 1697 | SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"` |
Onur Kalinagac | 9f9faca | 2021-01-21 14:04:34 +0000 | [diff] [blame] | 1698 | GroupAddress string `protobuf:"bytes,3,opt,name=GroupAddress,proto3" json:"GroupAddress,omitempty"` |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1699 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1700 | XXX_unrecognized []byte `json:"-"` |
| 1701 | XXX_sizecache int32 `json:"-"` |
| 1702 | } |
| 1703 | |
| 1704 | func (m *IgmpRequest) Reset() { *m = IgmpRequest{} } |
| 1705 | func (m *IgmpRequest) String() string { return proto.CompactTextString(m) } |
| 1706 | func (*IgmpRequest) ProtoMessage() {} |
| 1707 | func (*IgmpRequest) Descriptor() ([]byte, []int) { |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 1708 | return fileDescriptor_ef7750073d18011b, []int{24} |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1709 | } |
| 1710 | |
| 1711 | func (m *IgmpRequest) XXX_Unmarshal(b []byte) error { |
| 1712 | return xxx_messageInfo_IgmpRequest.Unmarshal(m, b) |
| 1713 | } |
| 1714 | func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1715 | return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic) |
| 1716 | } |
| 1717 | func (m *IgmpRequest) XXX_Merge(src proto.Message) { |
| 1718 | xxx_messageInfo_IgmpRequest.Merge(m, src) |
| 1719 | } |
| 1720 | func (m *IgmpRequest) XXX_Size() int { |
| 1721 | return xxx_messageInfo_IgmpRequest.Size(m) |
| 1722 | } |
| 1723 | func (m *IgmpRequest) XXX_DiscardUnknown() { |
| 1724 | xxx_messageInfo_IgmpRequest.DiscardUnknown(m) |
| 1725 | } |
| 1726 | |
| 1727 | var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo |
| 1728 | |
| 1729 | func (m *IgmpRequest) GetOnuReq() *ONURequest { |
| 1730 | if m != nil { |
| 1731 | return m.OnuReq |
| 1732 | } |
| 1733 | return nil |
| 1734 | } |
| 1735 | |
| 1736 | func (m *IgmpRequest) GetSubActionVal() SubActionTypes { |
| 1737 | if m != nil { |
| 1738 | return m.SubActionVal |
| 1739 | } |
| 1740 | return SubActionTypes_JOIN |
| 1741 | } |
| 1742 | |
Onur Kalinagac | 9f9faca | 2021-01-21 14:04:34 +0000 | [diff] [blame] | 1743 | func (m *IgmpRequest) GetGroupAddress() string { |
| 1744 | if m != nil { |
| 1745 | return m.GroupAddress |
| 1746 | } |
| 1747 | return "" |
| 1748 | } |
| 1749 | |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame] | 1750 | type Flows struct { |
| 1751 | FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"` |
| 1752 | Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"` |
| 1753 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1754 | XXX_unrecognized []byte `json:"-"` |
| 1755 | XXX_sizecache int32 `json:"-"` |
| 1756 | } |
| 1757 | |
| 1758 | func (m *Flows) Reset() { *m = Flows{} } |
| 1759 | func (m *Flows) String() string { return proto.CompactTextString(m) } |
| 1760 | func (*Flows) ProtoMessage() {} |
| 1761 | func (*Flows) Descriptor() ([]byte, []int) { |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 1762 | return fileDescriptor_ef7750073d18011b, []int{25} |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame] | 1763 | } |
| 1764 | |
| 1765 | func (m *Flows) XXX_Unmarshal(b []byte) error { |
| 1766 | return xxx_messageInfo_Flows.Unmarshal(m, b) |
| 1767 | } |
| 1768 | func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1769 | return xxx_messageInfo_Flows.Marshal(b, m, deterministic) |
| 1770 | } |
| 1771 | func (m *Flows) XXX_Merge(src proto.Message) { |
| 1772 | xxx_messageInfo_Flows.Merge(m, src) |
| 1773 | } |
| 1774 | func (m *Flows) XXX_Size() int { |
| 1775 | return xxx_messageInfo_Flows.Size(m) |
| 1776 | } |
| 1777 | func (m *Flows) XXX_DiscardUnknown() { |
| 1778 | xxx_messageInfo_Flows.DiscardUnknown(m) |
| 1779 | } |
| 1780 | |
| 1781 | var xxx_messageInfo_Flows proto.InternalMessageInfo |
| 1782 | |
| 1783 | func (m *Flows) GetFlowCount() uint32 { |
| 1784 | if m != nil { |
| 1785 | return m.FlowCount |
| 1786 | } |
| 1787 | return 0 |
| 1788 | } |
| 1789 | |
| 1790 | func (m *Flows) GetFlows() []*openolt.Flow { |
| 1791 | if m != nil { |
| 1792 | return m.Flows |
| 1793 | } |
| 1794 | return nil |
| 1795 | } |
| 1796 | |
Matteo Scandolo | 88c204a | 2020-11-03 10:34:24 -0800 | [diff] [blame] | 1797 | type Timeout struct { |
| 1798 | Delay uint32 `protobuf:"varint,1,opt,name=delay,proto3" json:"delay,omitempty"` |
| 1799 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1800 | XXX_unrecognized []byte `json:"-"` |
| 1801 | XXX_sizecache int32 `json:"-"` |
| 1802 | } |
| 1803 | |
| 1804 | func (m *Timeout) Reset() { *m = Timeout{} } |
| 1805 | func (m *Timeout) String() string { return proto.CompactTextString(m) } |
| 1806 | func (*Timeout) ProtoMessage() {} |
| 1807 | func (*Timeout) Descriptor() ([]byte, []int) { |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 1808 | return fileDescriptor_ef7750073d18011b, []int{26} |
Matteo Scandolo | 88c204a | 2020-11-03 10:34:24 -0800 | [diff] [blame] | 1809 | } |
| 1810 | |
| 1811 | func (m *Timeout) XXX_Unmarshal(b []byte) error { |
| 1812 | return xxx_messageInfo_Timeout.Unmarshal(m, b) |
| 1813 | } |
| 1814 | func (m *Timeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1815 | return xxx_messageInfo_Timeout.Marshal(b, m, deterministic) |
| 1816 | } |
| 1817 | func (m *Timeout) XXX_Merge(src proto.Message) { |
| 1818 | xxx_messageInfo_Timeout.Merge(m, src) |
| 1819 | } |
| 1820 | func (m *Timeout) XXX_Size() int { |
| 1821 | return xxx_messageInfo_Timeout.Size(m) |
| 1822 | } |
| 1823 | func (m *Timeout) XXX_DiscardUnknown() { |
| 1824 | xxx_messageInfo_Timeout.DiscardUnknown(m) |
| 1825 | } |
| 1826 | |
| 1827 | var xxx_messageInfo_Timeout proto.InternalMessageInfo |
| 1828 | |
| 1829 | func (m *Timeout) GetDelay() uint32 { |
| 1830 | if m != nil { |
| 1831 | return m.Delay |
| 1832 | } |
| 1833 | return 0 |
| 1834 | } |
| 1835 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1836 | type Empty struct { |
| 1837 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1838 | XXX_unrecognized []byte `json:"-"` |
| 1839 | XXX_sizecache int32 `json:"-"` |
| 1840 | } |
| 1841 | |
| 1842 | func (m *Empty) Reset() { *m = Empty{} } |
| 1843 | func (m *Empty) String() string { return proto.CompactTextString(m) } |
| 1844 | func (*Empty) ProtoMessage() {} |
| 1845 | func (*Empty) Descriptor() ([]byte, []int) { |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 1846 | return fileDescriptor_ef7750073d18011b, []int{27} |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1847 | } |
| 1848 | |
| 1849 | func (m *Empty) XXX_Unmarshal(b []byte) error { |
| 1850 | return xxx_messageInfo_Empty.Unmarshal(m, b) |
| 1851 | } |
| 1852 | func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1853 | return xxx_messageInfo_Empty.Marshal(b, m, deterministic) |
| 1854 | } |
| 1855 | func (m *Empty) XXX_Merge(src proto.Message) { |
| 1856 | xxx_messageInfo_Empty.Merge(m, src) |
| 1857 | } |
| 1858 | func (m *Empty) XXX_Size() int { |
| 1859 | return xxx_messageInfo_Empty.Size(m) |
| 1860 | } |
| 1861 | func (m *Empty) XXX_DiscardUnknown() { |
| 1862 | xxx_messageInfo_Empty.DiscardUnknown(m) |
| 1863 | } |
| 1864 | |
| 1865 | var xxx_messageInfo_Empty proto.InternalMessageInfo |
| 1866 | |
| 1867 | func init() { |
Elia Battiston | ac63b11 | 2022-01-12 18:40:49 +0100 | [diff] [blame] | 1868 | proto.RegisterEnum("bbsim.UniType", UniType_name, UniType_value) |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1869 | proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value) |
Matteo Scandolo | 4b077aa | 2021-02-16 17:33:37 -0800 | [diff] [blame] | 1870 | proto.RegisterEnum("bbsim.OltAllocatedResourceType_Type", OltAllocatedResourceType_Type_name, OltAllocatedResourceType_Type_value) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1871 | proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1872 | proto.RegisterType((*PONPort)(nil), "bbsim.PONPort") |
Matteo Scandolo | 4b077aa | 2021-02-16 17:33:37 -0800 | [diff] [blame] | 1873 | proto.RegisterType((*PonAllocatedResources)(nil), "bbsim.PonAllocatedResources") |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1874 | proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort") |
| 1875 | proto.RegisterType((*Olt)(nil), "bbsim.Olt") |
Matteo Scandolo | 4b077aa | 2021-02-16 17:33:37 -0800 | [diff] [blame] | 1876 | proto.RegisterType((*OltAllocatedResourceType)(nil), "bbsim.OltAllocatedResourceType") |
| 1877 | proto.RegisterType((*OltAllocatedResource)(nil), "bbsim.OltAllocatedResource") |
| 1878 | proto.RegisterType((*OltAllocatedResources)(nil), "bbsim.OltAllocatedResources") |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1879 | proto.RegisterType((*ONU)(nil), "bbsim.ONU") |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 1880 | proto.RegisterType((*UNI)(nil), "bbsim.UNI") |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 1881 | proto.RegisterType((*Service)(nil), "bbsim.Service") |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 1882 | proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers") |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1883 | proto.RegisterType((*ONUs)(nil), "bbsim.ONUs") |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 1884 | proto.RegisterType((*Services)(nil), "bbsim.Services") |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 1885 | proto.RegisterType((*UNIs)(nil), "bbsim.UNIs") |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1886 | proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest") |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 1887 | proto.RegisterType((*PONRequest)(nil), "bbsim.PONRequest") |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 1888 | proto.RegisterType((*UNIRequest)(nil), "bbsim.UNIRequest") |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 1889 | proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType") |
| 1890 | proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter") |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 1891 | proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest") |
| 1892 | proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest") |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1893 | proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber") |
| 1894 | proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel") |
| 1895 | proto.RegisterType((*Response)(nil), "bbsim.Response") |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 1896 | proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest") |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame] | 1897 | proto.RegisterType((*Flows)(nil), "bbsim.Flows") |
Matteo Scandolo | 88c204a | 2020-11-03 10:34:24 -0800 | [diff] [blame] | 1898 | proto.RegisterType((*Timeout)(nil), "bbsim.Timeout") |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1899 | proto.RegisterType((*Empty)(nil), "bbsim.Empty") |
| 1900 | } |
| 1901 | |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 1902 | func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) } |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1903 | |
| 1904 | var fileDescriptor_ef7750073d18011b = []byte{ |
Elia Battiston | 9a1da62 | 2022-02-09 14:43:52 +0100 | [diff] [blame^] | 1905 | // 2256 bytes of a gzipped FileDescriptorProto |
Elia Battiston | ac63b11 | 2022-01-12 18:40:49 +0100 | [diff] [blame] | 1906 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xdd, 0x6e, 0xdb, 0xc8, |
Elia Battiston | 9a1da62 | 2022-02-09 14:43:52 +0100 | [diff] [blame^] | 1907 | 0x15, 0xb6, 0xfe, 0x2c, 0xe9, 0xc8, 0x92, 0xe8, 0x49, 0xec, 0x25, 0x1c, 0xef, 0xc6, 0xe0, 0x66, |
| 1908 | 0x17, 0x4e, 0xb0, 0xeb, 0x6c, 0x92, 0xee, 0x36, 0xb9, 0x94, 0x25, 0x5a, 0xe1, 0x5a, 0x26, 0x89, |
| 1909 | 0xa1, 0xe4, 0x20, 0xed, 0x85, 0x40, 0x8b, 0x63, 0x99, 0x28, 0x45, 0x2a, 0x24, 0x65, 0xd7, 0x0f, |
| 1910 | 0xd0, 0x67, 0xe8, 0xe5, 0x02, 0x7d, 0x80, 0xbe, 0x47, 0xef, 0x7a, 0x5f, 0xa0, 0xbd, 0xea, 0x7b, |
| 1911 | 0x14, 0x33, 0x1c, 0x52, 0xa4, 0x44, 0x3b, 0xce, 0x55, 0x6f, 0x04, 0x9e, 0xef, 0xfc, 0xcc, 0x99, |
| 1912 | 0xf3, 0x33, 0x73, 0x46, 0xb0, 0x63, 0xce, 0xed, 0x97, 0x17, 0x17, 0x81, 0x3d, 0x8b, 0x7e, 0x8f, |
| 1913 | 0xe6, 0xbe, 0x17, 0x7a, 0xa8, 0xc2, 0x88, 0xbd, 0x27, 0xd7, 0x9e, 0x13, 0x5e, 0x99, 0x63, 0x06, |
| 1914 | 0x06, 0x2f, 0xbd, 0x39, 0x71, 0x3d, 0x27, 0x8c, 0x64, 0xf6, 0x0e, 0xb2, 0xcc, 0x90, 0x4c, 0xae, |
| 1915 | 0xe8, 0xf7, 0xa5, 0xed, 0x90, 0x48, 0x42, 0xfa, 0x4f, 0x11, 0xaa, 0xba, 0xa6, 0xea, 0x9e, 0x1f, |
| 1916 | 0xa2, 0x16, 0x14, 0x95, 0x9e, 0x58, 0x38, 0x28, 0x1c, 0x56, 0x70, 0x51, 0xe9, 0xa1, 0x7d, 0xa8, |
| 1917 | 0x6b, 0x73, 0xe2, 0x1b, 0xa1, 0x19, 0x12, 0xb1, 0x78, 0x50, 0x38, 0xac, 0xe3, 0x25, 0x80, 0x9e, |
| 1918 | 0x41, 0x53, 0x71, 0x43, 0xe2, 0xbb, 0xa6, 0x13, 0x49, 0x94, 0x98, 0x44, 0x16, 0x44, 0x07, 0xd0, |
| 1919 | 0xd0, 0xcd, 0xc9, 0x9f, 0x48, 0xd8, 0xf5, 0x16, 0x6e, 0x28, 0x96, 0x0f, 0x0a, 0x87, 0x65, 0x9c, |
| 1920 | 0x86, 0xd0, 0x09, 0xb4, 0x3b, 0x8e, 0xe3, 0x4d, 0xcc, 0x90, 0x58, 0x9a, 0xbb, 0x50, 0xac, 0x40, |
| 1921 | 0xac, 0x1c, 0x94, 0x0e, 0x1b, 0xaf, 0xf7, 0x8f, 0xa2, 0xed, 0xea, 0x9e, 0x9b, 0x08, 0x60, 0x12, |
| 1922 | 0x78, 0x0b, 0x7f, 0x42, 0x02, 0xbc, 0xaa, 0x84, 0x7e, 0x85, 0xed, 0x04, 0xea, 0x93, 0x19, 0xdd, |
| 1923 | 0x51, 0x20, 0x6e, 0x3e, 0xc0, 0xd2, 0xba, 0x5a, 0xc6, 0x16, 0xfb, 0xa0, 0x5e, 0x55, 0xbf, 0xc8, |
| 1924 | 0x56, 0xac, 0x26, 0x9d, 0xc2, 0x4e, 0xae, 0x2c, 0x92, 0x60, 0xcb, 0x20, 0xbe, 0x6d, 0x3a, 0xea, |
| 1925 | 0x62, 0x76, 0x41, 0x7c, 0x16, 0xf8, 0x3a, 0xce, 0x60, 0x2c, 0x25, 0x16, 0x8b, 0x3d, 0x4d, 0x89, |
| 1926 | 0x25, 0xfd, 0x1e, 0xaa, 0xaa, 0xaa, 0x7c, 0x79, 0xb6, 0xa4, 0xff, 0x16, 0xa0, 0xa4, 0x39, 0xeb, |
| 1927 | 0x5a, 0xab, 0x4e, 0x14, 0x73, 0x9c, 0xc8, 0x58, 0x2e, 0x7d, 0xb6, 0x0e, 0xca, 0x79, 0x75, 0x40, |
| 1928 | 0xd7, 0xd5, 0xc5, 0x2a, 0x63, 0x15, 0x15, 0x1d, 0xbd, 0x80, 0x1a, 0xdf, 0x48, 0x9c, 0xee, 0x16, |
| 1929 | 0x0f, 0x2c, 0x87, 0x71, 0xc2, 0xa7, 0xb2, 0xbc, 0x44, 0xe3, 0x84, 0xc6, 0xb2, 0x1c, 0xc6, 0x09, |
| 1930 | 0x5f, 0xfa, 0x4b, 0x01, 0x44, 0xcd, 0x09, 0xd7, 0xc2, 0x3d, 0xbc, 0x9d, 0x13, 0xf4, 0x16, 0xca, |
| 1931 | 0xe1, 0xed, 0x9c, 0xb0, 0xed, 0xb7, 0x5e, 0x3f, 0xe3, 0x46, 0xee, 0x12, 0x3f, 0xa2, 0x3f, 0x98, |
| 1932 | 0x69, 0x48, 0x2f, 0xa1, 0xcc, 0x2c, 0x34, 0xa0, 0x3a, 0x52, 0x4f, 0x55, 0xed, 0x83, 0x2a, 0x6c, |
| 1933 | 0xa0, 0x2d, 0xa8, 0x75, 0x06, 0x03, 0xad, 0x3b, 0x56, 0x7a, 0x42, 0x81, 0x52, 0x7d, 0xf9, 0x6c, |
| 1934 | 0xac, 0x6b, 0x78, 0x28, 0x14, 0xa5, 0xbf, 0x17, 0xe0, 0x71, 0x9e, 0x61, 0x84, 0x22, 0x4b, 0x3c, |
| 1935 | 0xdb, 0x91, 0xd5, 0x7d, 0xa8, 0xeb, 0x9e, 0x4b, 0x37, 0xc0, 0x93, 0xdd, 0xc4, 0x4b, 0x00, 0x3d, |
| 1936 | 0x86, 0x0a, 0x2b, 0x71, 0x16, 0xfa, 0x26, 0x8e, 0x08, 0xb4, 0x0b, 0x9b, 0x94, 0xaf, 0x7a, 0x2c, |
| 1937 | 0xde, 0x4d, 0xcc, 0x29, 0xf4, 0x0d, 0x40, 0xbc, 0x96, 0x62, 0x89, 0x15, 0x96, 0xe8, 0x14, 0x42, |
| 1938 | 0xf5, 0x4e, 0x1c, 0xef, 0x46, 0xb1, 0xc4, 0x4d, 0xd6, 0x8b, 0x9c, 0x92, 0x30, 0xec, 0xe4, 0xf9, |
| 1939 | 0x1b, 0xa0, 0x77, 0x50, 0xf7, 0x63, 0x42, 0x2c, 0xb0, 0xf0, 0x3f, 0xb9, 0x27, 0x72, 0x78, 0x29, |
| 1940 | 0x2d, 0xfd, 0x56, 0x86, 0x92, 0xa6, 0x8e, 0xfe, 0x6f, 0x45, 0x97, 0x8a, 0x6b, 0x8f, 0x87, 0x62, |
| 1941 | 0x09, 0xa0, 0x03, 0xa8, 0xbf, 0xbf, 0xe9, 0x58, 0x96, 0x4f, 0x82, 0x40, 0xac, 0x51, 0xfd, 0xe3, |
| 1942 | 0xa2, 0x58, 0xc0, 0x4b, 0x10, 0xed, 0x25, 0x31, 0xae, 0x53, 0x65, 0xc6, 0x8e, 0xe3, 0x7c, 0x04, |
| 1943 | 0xb5, 0x80, 0xf8, 0xd7, 0x36, 0x8d, 0x0a, 0x64, 0x8a, 0xd2, 0x88, 0x60, 0x26, 0x9d, 0xc8, 0xa0, |
| 1944 | 0x1e, 0x7c, 0xad, 0xcc, 0xcc, 0x29, 0x31, 0xbc, 0xcb, 0xf0, 0xc6, 0xf4, 0x89, 0xfc, 0xe7, 0x39, |
| 1945 | 0x99, 0x84, 0xc4, 0x32, 0xc8, 0x24, 0xb4, 0x3d, 0x37, 0x10, 0x1b, 0xcc, 0xbf, 0xfb, 0x85, 0xd6, |
| 1946 | 0xac, 0x60, 0x32, 0x21, 0xf6, 0x75, 0xca, 0xca, 0x56, 0x8e, 0x95, 0x55, 0x21, 0xf4, 0x13, 0x3c, |
| 1947 | 0xea, 0x4c, 0x42, 0xfb, 0x9a, 0x30, 0x31, 0xd9, 0x0d, 0xed, 0xf0, 0x56, 0xb1, 0xc4, 0x26, 0xd3, |
| 1948 | 0xcd, 0x63, 0xa1, 0x5f, 0x60, 0xb7, 0xeb, 0xcd, 0x66, 0x76, 0x18, 0x12, 0x2b, 0xab, 0xd4, 0x62, |
| 1949 | 0x4a, 0x77, 0x70, 0xd1, 0x37, 0x50, 0x5e, 0xb8, 0x76, 0x20, 0xb6, 0x59, 0x84, 0x80, 0x47, 0x68, |
| 1950 | 0xa4, 0x2a, 0x98, 0xe1, 0xd2, 0xbf, 0x0a, 0x50, 0x1a, 0xa9, 0xca, 0x5a, 0x85, 0xf0, 0x9a, 0xef, |
| 1951 | 0xf1, 0xa3, 0x2f, 0x22, 0x38, 0x6a, 0xb8, 0xbc, 0x1e, 0x22, 0x82, 0x76, 0xd4, 0x19, 0x51, 0x7a, |
| 1952 | 0xbc, 0x0f, 0xd8, 0x77, 0xb6, 0x7a, 0x2a, 0xab, 0xd5, 0xb3, 0xec, 0x9d, 0x4d, 0x66, 0x3e, 0xce, |
| 1953 | 0xe9, 0x8b, 0x54, 0x4e, 0xab, 0x79, 0x39, 0x4d, 0xe5, 0x53, 0xe2, 0x7d, 0x5c, 0x63, 0x67, 0x49, |
| 1954 | 0x2c, 0x37, 0x72, 0xed, 0xe8, 0xd4, 0xa0, 0xbf, 0xd2, 0x3f, 0x2a, 0x50, 0xe5, 0x9a, 0xd4, 0x4b, |
| 1955 | 0xd5, 0x9c, 0x25, 0x7d, 0x4f, 0xbf, 0xa9, 0x97, 0xcb, 0x0a, 0xe4, 0x47, 0xf6, 0xb2, 0xfa, 0xee, |
| 1956 | 0xdc, 0xad, 0x31, 0x34, 0xa7, 0x6c, 0xb7, 0x15, 0xcc, 0xbe, 0x29, 0xd6, 0xa5, 0x58, 0x54, 0xe2, |
| 1957 | 0xec, 0x9b, 0x9e, 0x03, 0x2a, 0x21, 0x56, 0x20, 0x9b, 0x73, 0xcf, 0x61, 0xfb, 0xac, 0xe1, 0x14, |
| 1958 | 0x42, 0xd7, 0x66, 0x54, 0xef, 0x6a, 0x32, 0x67, 0xe7, 0x72, 0x0d, 0x2f, 0x81, 0x84, 0xab, 0x4c, |
| 1959 | 0x67, 0x73, 0xb6, 0xc5, 0x98, 0x4b, 0x01, 0x24, 0x42, 0x95, 0x5f, 0x95, 0x51, 0x63, 0xe0, 0x98, |
| 1960 | 0xa4, 0xab, 0x32, 0xf3, 0x51, 0xe0, 0x81, 0x39, 0x9e, 0x42, 0xa8, 0x5d, 0x6a, 0x3f, 0x62, 0x37, |
| 1961 | 0xa2, 0x1d, 0x27, 0xc0, 0x7a, 0x57, 0x6f, 0xdd, 0xd1, 0xd5, 0x4a, 0xff, 0x4c, 0x8f, 0x24, 0x9a, |
| 1962 | 0x91, 0x8d, 0x04, 0xa0, 0x51, 0x1b, 0xb9, 0x36, 0x2f, 0xcc, 0x26, 0x8e, 0x08, 0x3a, 0x86, 0xd0, |
| 1963 | 0xd4, 0x98, 0xd3, 0x33, 0x33, 0x9c, 0x5c, 0x89, 0x6d, 0xe6, 0x75, 0x1a, 0x42, 0xdf, 0x43, 0x6b, |
| 1964 | 0x14, 0xd0, 0xc8, 0xe9, 0xbe, 0xed, 0xf9, 0x76, 0x78, 0x2b, 0x0a, 0xcc, 0xc0, 0x0a, 0x1a, 0xc9, |
| 1965 | 0x19, 0x69, 0xb9, 0xed, 0x58, 0xce, 0x58, 0x91, 0xeb, 0x65, 0xed, 0xa1, 0x48, 0xae, 0xb7, 0x66, |
| 1966 | 0xaf, 0x97, 0xb5, 0xf7, 0x28, 0x96, 0xcb, 0xd8, 0x8b, 0xf3, 0xa9, 0xeb, 0xba, 0x27, 0x8b, 0x8f, |
| 1967 | 0x53, 0xf9, 0x64, 0x08, 0xed, 0xe9, 0xae, 0xe7, 0x5e, 0xda, 0xd3, 0x85, 0x4f, 0xce, 0xcc, 0x49, |
| 1968 | 0x5c, 0x55, 0x3b, 0x4c, 0x30, 0x8f, 0x85, 0x7e, 0x80, 0x6d, 0xd9, 0x35, 0x2f, 0x1c, 0x8a, 0x0d, |
| 1969 | 0x88, 0xe9, 0xbb, 0xb6, 0x3b, 0x15, 0x77, 0x99, 0xfc, 0x3a, 0x43, 0x32, 0xe1, 0xb1, 0xa6, 0x8e, |
| 1970 | 0x86, 0xbe, 0x79, 0x79, 0x69, 0x4f, 0x8c, 0xc9, 0x15, 0xb1, 0x16, 0x0e, 0xf1, 0x03, 0xa4, 0x40, |
| 1971 | 0x3b, 0xa4, 0xe0, 0x12, 0x62, 0x25, 0xde, 0x78, 0xfd, 0xf4, 0x28, 0x33, 0x6e, 0xae, 0x69, 0xe2, |
| 1972 | 0x55, 0x3d, 0xe9, 0x10, 0xca, 0x9a, 0x3a, 0x0a, 0xd0, 0x01, 0x54, 0xec, 0x90, 0xcc, 0xe2, 0xdb, |
| 1973 | 0x26, 0x3e, 0x35, 0x34, 0x75, 0x84, 0x23, 0x86, 0xf4, 0x13, 0xd4, 0x8c, 0xb8, 0x11, 0x9f, 0x65, |
| 1974 | 0xa5, 0x57, 0x3b, 0x96, 0x6b, 0x1c, 0x42, 0x79, 0xa4, 0x2a, 0x77, 0xda, 0xa6, 0x27, 0x52, 0x62, |
| 1975 | 0x1b, 0xe8, 0x4a, 0xe4, 0xd3, 0x82, 0x04, 0xe1, 0x43, 0x86, 0x34, 0xe9, 0x05, 0x80, 0xae, 0xa9, |
| 1976 | 0xb1, 0x46, 0xe6, 0x32, 0x2f, 0xac, 0x5c, 0xe6, 0xd2, 0x00, 0x80, 0xae, 0xc5, 0x65, 0x0f, 0xa1, |
| 1977 | 0x4d, 0xbb, 0x7a, 0x7d, 0x81, 0x55, 0x38, 0x2e, 0xeb, 0x1e, 0x3f, 0x26, 0x22, 0x42, 0xfa, 0x77, |
| 1978 | 0x09, 0xea, 0x1d, 0xc7, 0xf4, 0x67, 0xec, 0xb8, 0xf9, 0x67, 0x09, 0x2a, 0xf4, 0x23, 0x40, 0x55, |
| 1979 | 0x28, 0x0d, 0x34, 0x43, 0xd8, 0x40, 0x2d, 0x80, 0xde, 0x47, 0x45, 0xed, 0x8f, 0xfb, 0x1d, 0x43, |
| 1980 | 0x17, 0x0a, 0xa8, 0x09, 0x75, 0x4d, 0x1d, 0x8d, 0x3b, 0x83, 0x0e, 0x3e, 0x13, 0x8a, 0xe8, 0x2b, |
| 1981 | 0x78, 0x44, 0x49, 0x63, 0xd8, 0xc1, 0xc3, 0x91, 0x3e, 0x3e, 0xe9, 0x28, 0x83, 0x11, 0x96, 0x85, |
| 1982 | 0x12, 0xda, 0x05, 0xc4, 0x18, 0x4a, 0x5f, 0xed, 0x0c, 0xc6, 0x3d, 0xb9, 0x8f, 0x3b, 0x3d, 0x59, |
| 1983 | 0x28, 0xc7, 0x0a, 0x3d, 0xac, 0x9c, 0x0c, 0xc7, 0xda, 0xc9, 0xf8, 0x83, 0xa2, 0xf6, 0xb4, 0x0f, |
| 1984 | 0x42, 0x05, 0xed, 0x83, 0x48, 0x19, 0x03, 0xcd, 0x30, 0x28, 0xae, 0x9d, 0x75, 0x95, 0x71, 0xf7, |
| 1985 | 0x7d, 0x47, 0x55, 0xe5, 0x81, 0xb0, 0x99, 0xac, 0xc3, 0xcc, 0x19, 0xc9, 0x3a, 0x55, 0xf4, 0x1c, |
| 1986 | 0xbe, 0xa3, 0x8c, 0x21, 0xee, 0xa8, 0xc6, 0x99, 0x62, 0x18, 0x8a, 0xa6, 0x8e, 0x15, 0x75, 0x28, |
| 1987 | 0xe3, 0x13, 0x19, 0xcb, 0x6a, 0x57, 0x1e, 0x7f, 0xe8, 0x60, 0x55, 0x51, 0xfb, 0x42, 0x0d, 0xed, |
| 1988 | 0xc1, 0x2e, 0x73, 0xbd, 0x3b, 0x54, 0xce, 0x3b, 0x43, 0x2a, 0x18, 0x9b, 0xa9, 0x23, 0x91, 0x15, |
| 1989 | 0xe7, 0x58, 0xc7, 0x5a, 0x57, 0x36, 0x0c, 0xba, 0x5f, 0x19, 0x63, 0x0d, 0x0b, 0x80, 0x0e, 0x60, |
| 1990 | 0x3f, 0xed, 0xd7, 0xa9, 0xfc, 0x71, 0x6c, 0x7c, 0x54, 0xbb, 0x89, 0x6e, 0x03, 0xed, 0xc0, 0x36, |
| 1991 | 0x95, 0x50, 0x86, 0xa3, 0xb1, 0xae, 0xa9, 0x34, 0x16, 0x43, 0x43, 0xd8, 0x42, 0xdb, 0xd0, 0x4c, |
| 1992 | 0x22, 0x45, 0xd5, 0x85, 0xe6, 0x2a, 0x74, 0x2c, 0xb4, 0xe2, 0x8d, 0xc5, 0x90, 0xde, 0x1d, 0xd3, |
| 1993 | 0x5d, 0x08, 0xed, 0x38, 0x1e, 0x19, 0x46, 0x97, 0x7b, 0x25, 0x20, 0x04, 0xad, 0x34, 0xf7, 0x44, |
| 1994 | 0x11, 0xb6, 0xd1, 0x23, 0x68, 0xa7, 0xb1, 0xce, 0x99, 0x22, 0x20, 0xe9, 0x2d, 0xb4, 0x58, 0x7e, |
| 1995 | 0x75, 0xd3, 0x37, 0x67, 0x24, 0x24, 0x3e, 0x12, 0xa0, 0x74, 0x4a, 0x6e, 0x79, 0x99, 0xd0, 0x4f, |
| 1996 | 0x5a, 0x1a, 0xe7, 0xa6, 0xb3, 0x88, 0x87, 0xfe, 0x88, 0x90, 0xfe, 0x56, 0x60, 0xf6, 0x98, 0x76, |
| 1997 | 0xaa, 0x34, 0x93, 0x6a, 0xe1, 0x16, 0x96, 0xc0, 0x83, 0xa6, 0xb2, 0x5d, 0xd8, 0xa4, 0xc7, 0xec, |
| 1998 | 0x22, 0xe0, 0x97, 0x12, 0xa7, 0xd0, 0xcf, 0x00, 0x89, 0x8b, 0x81, 0x58, 0x66, 0xbd, 0xb5, 0xc3, |
| 1999 | 0x7b, 0x2b, 0xbb, 0x01, 0x9c, 0x12, 0x94, 0x3e, 0x41, 0x5b, 0x1b, 0x0c, 0x33, 0x3e, 0x1e, 0x40, |
| 2000 | 0x83, 0x1d, 0xf7, 0x97, 0xe6, 0x84, 0xf0, 0x91, 0xa0, 0x89, 0xd3, 0x50, 0x72, 0x4b, 0x50, 0x92, |
| 2001 | 0xed, 0xa4, 0x98, 0xba, 0x25, 0x62, 0xf0, 0x2e, 0x4f, 0xe9, 0x03, 0xa1, 0x79, 0x4e, 0xfc, 0xc0, |
| 2002 | 0xf6, 0x5c, 0xbe, 0x27, 0x11, 0xaa, 0xd7, 0x11, 0xc0, 0x63, 0x12, 0x93, 0x34, 0x5e, 0x17, 0x0b, |
| 2003 | 0xdb, 0xb1, 0x86, 0xf6, 0x2c, 0x79, 0x52, 0x25, 0x00, 0x3d, 0x91, 0x27, 0x6c, 0xea, 0x79, 0x6f, |
| 2004 | 0x06, 0x57, 0x7c, 0x95, 0x14, 0x42, 0xb5, 0xa7, 0x76, 0xc8, 0x9d, 0x88, 0xe6, 0xd3, 0x25, 0x20, |
| 2005 | 0xbd, 0x85, 0xda, 0xc0, 0x9b, 0x0e, 0xc8, 0x35, 0x71, 0x68, 0x06, 0x1d, 0xfa, 0xc1, 0xd7, 0x8f, |
| 2006 | 0x08, 0xba, 0x83, 0x89, 0xe9, 0x38, 0x3c, 0x13, 0x35, 0xcc, 0x29, 0x49, 0x86, 0x1a, 0x26, 0xc1, |
| 2007 | 0xdc, 0x73, 0x03, 0x82, 0x9e, 0x42, 0x23, 0x60, 0xf6, 0xc6, 0x13, 0xcf, 0x22, 0x7c, 0x80, 0x82, |
| 2008 | 0x08, 0xea, 0x7a, 0x16, 0xa1, 0x9b, 0x9b, 0x91, 0x20, 0x30, 0xa7, 0xf1, 0x06, 0x62, 0x52, 0xfa, |
| 2009 | 0x6b, 0x01, 0x1a, 0xf4, 0x36, 0x8f, 0x03, 0xff, 0x1c, 0x36, 0x35, 0x77, 0x81, 0xc9, 0x27, 0x7e, |
| 2010 | 0x7e, 0x6f, 0xa7, 0x8e, 0xdd, 0x48, 0x04, 0x73, 0x01, 0xf4, 0x0e, 0xb6, 0x8c, 0xc5, 0x45, 0x87, |
| 2011 | 0x4d, 0x93, 0xe7, 0xa6, 0xc3, 0x2c, 0xb7, 0x92, 0x7c, 0x27, 0x2c, 0x76, 0x16, 0xe1, 0x8c, 0x28, |
| 2012 | 0x2d, 0xb2, 0xbe, 0xef, 0x2d, 0xe6, 0xf1, 0xfd, 0x14, 0x85, 0x2d, 0x83, 0x49, 0xa7, 0x50, 0xa1, |
| 2013 | 0x8f, 0x92, 0x00, 0x7d, 0x0d, 0x70, 0xe9, 0x78, 0x37, 0xe3, 0x09, 0xfb, 0xef, 0x80, 0x9f, 0xa5, |
| 2014 | 0x14, 0x89, 0xfe, 0x39, 0xf8, 0x16, 0x2a, 0x94, 0xa0, 0xa3, 0x13, 0xad, 0xb7, 0xe6, 0x51, 0xfc, |
| 2015 | 0xe7, 0x07, 0xd5, 0xc6, 0x11, 0x4f, 0x7a, 0x0a, 0x55, 0x9a, 0x2d, 0x6f, 0x11, 0xd2, 0x30, 0x5b, |
| 2016 | 0xc4, 0x31, 0x6f, 0xb9, 0xa5, 0x88, 0x90, 0xaa, 0x50, 0x91, 0x67, 0xf3, 0xf0, 0xf6, 0xc5, 0x3e, |
| 2017 | 0x54, 0xf9, 0xf8, 0x46, 0xcf, 0x4f, 0x79, 0xf8, 0x5e, 0xd8, 0x40, 0x35, 0x28, 0xeb, 0xda, 0xd0, |
| 2018 | 0x10, 0x0a, 0x2f, 0x5e, 0x41, 0x2b, 0xbb, 0x31, 0xca, 0xfb, 0x55, 0x53, 0xe8, 0x43, 0xb0, 0x0e, |
| 2019 | 0x95, 0x81, 0xdc, 0x39, 0x97, 0x85, 0x02, 0x02, 0xd8, 0xa4, 0xe0, 0xf9, 0x1b, 0xa1, 0xf8, 0xfa, |
| 2020 | 0xb7, 0x2d, 0xa8, 0x1c, 0x1f, 0x1b, 0xf6, 0x0c, 0xbd, 0x84, 0x2a, 0xaf, 0x39, 0xb4, 0xc5, 0xa3, |
| 2021 | 0xc4, 0xd6, 0xdc, 0x7b, 0xcc, 0xa9, 0x4c, 0x45, 0x4a, 0x1b, 0xe8, 0x15, 0x34, 0x0c, 0x12, 0x26, |
| 2022 | 0x05, 0xd2, 0xe6, 0x62, 0x31, 0xb0, 0xb7, 0x0a, 0x48, 0x1b, 0xe8, 0x19, 0x6c, 0xf6, 0x49, 0x48, |
| 2023 | 0xdf, 0xf8, 0xd9, 0x25, 0x60, 0xf9, 0x58, 0x93, 0x36, 0xd0, 0x1f, 0x41, 0x8c, 0xa4, 0x72, 0x5e, |
| 2024 | 0x7a, 0x4f, 0x3f, 0xf3, 0x20, 0xde, 0xdb, 0xbf, 0x47, 0x20, 0x90, 0x36, 0xd0, 0x8f, 0x00, 0xba, |
| 2025 | 0x77, 0x43, 0x7c, 0xcf, 0x5d, 0x77, 0x23, 0xf6, 0x38, 0x2e, 0x5d, 0x69, 0x03, 0x1d, 0x41, 0xc3, |
| 2026 | 0xb8, 0x5a, 0x84, 0x96, 0x77, 0xf3, 0x30, 0xf9, 0x1f, 0xa0, 0x8e, 0xc9, 0x85, 0xe7, 0x85, 0x0f, |
| 2027 | 0x92, 0xa6, 0x09, 0x0b, 0xbd, 0xf9, 0x14, 0xeb, 0x5d, 0x3a, 0x0b, 0x10, 0xff, 0xf3, 0x2a, 0xaf, |
| 2028 | 0xa1, 0x6d, 0x84, 0xa6, 0x1f, 0x7e, 0x89, 0xce, 0x2f, 0xb0, 0x8d, 0x49, 0xb0, 0xa2, 0x15, 0x0f, |
| 2029 | 0x21, 0xbc, 0xf2, 0xf2, 0xf4, 0x9e, 0x47, 0xe9, 0x52, 0x47, 0x68, 0xbd, 0xd1, 0xf6, 0x52, 0x23, |
| 2030 | 0x8f, 0xb4, 0x81, 0xbe, 0xa7, 0xe3, 0x76, 0xc8, 0x46, 0xa3, 0xac, 0x3b, 0x8d, 0xa5, 0x18, 0x0d, |
| 2031 | 0xff, 0x1b, 0x68, 0xf4, 0x49, 0x98, 0x0c, 0x46, 0xdb, 0xa9, 0xd9, 0x86, 0xdb, 0x6d, 0x67, 0x87, |
| 2032 | 0xa3, 0x80, 0x25, 0x01, 0xa8, 0x71, 0x77, 0x31, 0x72, 0xed, 0x20, 0xcf, 0x97, 0xc6, 0xd2, 0x0c, |
| 2033 | 0x5f, 0x24, 0x49, 0x5a, 0xbe, 0xf3, 0x77, 0x04, 0x96, 0x2b, 0x75, 0x1c, 0x27, 0x67, 0x27, 0x39, |
| 2034 | 0x3a, 0xef, 0x60, 0x3b, 0xb5, 0x50, 0xa0, 0xb9, 0xba, 0xa6, 0x26, 0xcb, 0x2d, 0xe7, 0xad, 0xfc, |
| 2035 | 0xe5, 0x92, 0x3a, 0x7c, 0xb0, 0x8b, 0xaf, 0xa0, 0xc5, 0x75, 0x1e, 0xec, 0xe1, 0x5b, 0x10, 0x96, |
| 2036 | 0xcb, 0x7c, 0x91, 0x83, 0xbf, 0x83, 0x2d, 0x5e, 0x34, 0xd1, 0x63, 0xec, 0x9e, 0x54, 0xa5, 0xb4, |
| 2037 | 0xde, 0x40, 0x83, 0x6b, 0xb1, 0x37, 0xda, 0xc3, 0x94, 0x8e, 0x61, 0xc7, 0x60, 0xf9, 0x65, 0xb7, |
| 2038 | 0xac, 0xe2, 0x5a, 0xf6, 0xc4, 0xa4, 0x67, 0x18, 0xda, 0x5d, 0x86, 0x25, 0x7d, 0x01, 0xdf, 0x63, |
| 2039 | 0x83, 0x76, 0xfd, 0x1d, 0x36, 0xb2, 0x97, 0x78, 0x9e, 0x8d, 0x1f, 0xa1, 0xd6, 0x27, 0x61, 0x74, |
| 2040 | 0xae, 0xe7, 0x64, 0x24, 0x0e, 0x36, 0x13, 0x60, 0xb1, 0x6d, 0x77, 0xaf, 0x4c, 0x77, 0x4a, 0xe8, |
| 2041 | 0x15, 0x15, 0xbd, 0xec, 0x10, 0x17, 0x49, 0x5d, 0x5a, 0x79, 0x0b, 0x9d, 0xc2, 0x57, 0x51, 0x41, |
| 2042 | 0xaf, 0xbf, 0x55, 0x72, 0xd6, 0x7d, 0xb2, 0x84, 0xd6, 0xe4, 0x93, 0xd6, 0x63, 0xad, 0x91, 0xdf, |
| 2043 | 0x7a, 0xbc, 0x2b, 0x7e, 0xa6, 0x33, 0xc9, 0xb5, 0xe9, 0xd8, 0x96, 0x19, 0x92, 0x33, 0x2b, 0x78, |
| 2044 | 0x58, 0xd1, 0x1d, 0x7f, 0xf7, 0x87, 0x6f, 0xa7, 0x76, 0x78, 0xb5, 0xb8, 0x38, 0x9a, 0x78, 0x33, |
| 2045 | 0xf6, 0xdf, 0xfd, 0xc4, 0xf3, 0x2d, 0xfe, 0x67, 0x7f, 0xf2, 0xb7, 0xff, 0xc5, 0x26, 0xfb, 0xaf, |
| 2046 | 0xfe, 0xcd, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xb6, 0xf0, 0x65, 0x56, 0x0a, 0x18, 0x00, 0x00, |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2047 | } |
| 2048 | |
| 2049 | // Reference imports to suppress errors if they are not otherwise used. |
| 2050 | var _ context.Context |
Kent Hagerman | 60d6230 | 2020-03-10 17:02:36 -0400 | [diff] [blame] | 2051 | var _ grpc.ClientConn |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2052 | |
| 2053 | // This is a compile-time assertion to ensure that this generated file |
| 2054 | // is compatible with the grpc package it is being compiled against. |
Kent Hagerman | 60d6230 | 2020-03-10 17:02:36 -0400 | [diff] [blame] | 2055 | const _ = grpc.SupportPackageIsVersion4 |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2056 | |
| 2057 | // BBSimClient is the client API for BBSim service. |
| 2058 | // |
| 2059 | // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 2060 | type BBSimClient interface { |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2061 | // Get BBSim version |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2062 | Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2063 | // Set BBSim log level |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2064 | SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2065 | // Get current status of OLT |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2066 | GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) |
Matteo Scandolo | 4b077aa | 2021-02-16 17:33:37 -0800 | [diff] [blame] | 2067 | GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2068 | // Poweron OLT |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 2069 | PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2070 | // Shutdown OLT |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 2071 | ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2072 | // Reboot OLT |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 2073 | RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | 88c204a | 2020-11-03 10:34:24 -0800 | [diff] [blame] | 2074 | // Closes the Openolt gRPC server |
| 2075 | StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) |
| 2076 | // Start the Openolt gRPC server |
| 2077 | StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) |
hkouser | 24361d4 | 2020-12-14 19:21:47 +0530 | [diff] [blame] | 2078 | // Restart the Openolt gRPC server after the given timeout |
Matteo Scandolo | 88c204a | 2020-11-03 10:34:24 -0800 | [diff] [blame] | 2079 | RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2080 | // Get status of an ONU by serial number |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2081 | GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2082 | // Get status of all ONUs |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2083 | GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 2084 | // Get all the Services by Uni ID |
| 2085 | GetServices(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Services, error) |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 2086 | // Get all the UNIs of an ONU by serial number |
| 2087 | GetOnuUnis(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*UNIs, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2088 | // Shutdown an ONU by serial number |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2089 | ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2090 | // Shutdown all ONUs in OLT |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2091 | ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2092 | // Shutdown all ONUs under a PON by pon-port-ID |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2093 | ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2094 | // Poweron an ONU by serial number |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2095 | PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2096 | // Poweron all ONUs in OLT |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2097 | PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2098 | // Poweron all ONUs under a PON by pon-port-ID |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2099 | PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2100 | // Restart EAPOL for ONU |
Nitin Subramanian | 150f1bb | 2021-08-02 12:04:05 -0700 | [diff] [blame] | 2101 | RestartEapol(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error) |
Onur Kalinagac | 9f9faca | 2021-01-21 14:04:34 +0000 | [diff] [blame] | 2102 | // Restart DHCP for ONU |
Nitin Subramanian | 150f1bb | 2021-08-02 12:04:05 -0700 | [diff] [blame] | 2103 | RestartDhcp(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2104 | // Send ONU alarm indication |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 2105 | SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2106 | // Send OLT alarm indication for Interface type NNI or PON |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 2107 | SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2108 | // Get all flows or ONU specific flows |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame] | 2109 | GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) |
Onur Kalinagac | 9f9faca | 2021-01-21 14:04:34 +0000 | [diff] [blame] | 2110 | // Change IGMP state |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 2111 | ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2112 | // Get Traffic scheduler information for ONU |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 2113 | GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 2114 | //Return all the UNIs for all the ONUs |
| 2115 | GetUnis(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UNIs, error) |
Elia Battiston | fe01766 | 2022-01-05 11:43:16 +0100 | [diff] [blame] | 2116 | //Invalidate the MDS counter for the ONU |
| 2117 | InvalidateMds(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2118 | } |
| 2119 | |
| 2120 | type bBSimClient struct { |
Kent Hagerman | 60d6230 | 2020-03-10 17:02:36 -0400 | [diff] [blame] | 2121 | cc *grpc.ClientConn |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2122 | } |
| 2123 | |
Kent Hagerman | 60d6230 | 2020-03-10 17:02:36 -0400 | [diff] [blame] | 2124 | func NewBBSimClient(cc *grpc.ClientConn) BBSimClient { |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2125 | return &bBSimClient{cc} |
| 2126 | } |
| 2127 | |
| 2128 | func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) { |
| 2129 | out := new(VersionNumber) |
| 2130 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...) |
| 2131 | if err != nil { |
| 2132 | return nil, err |
| 2133 | } |
| 2134 | return out, nil |
| 2135 | } |
| 2136 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2137 | func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) { |
| 2138 | out := new(LogLevel) |
| 2139 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...) |
| 2140 | if err != nil { |
| 2141 | return nil, err |
| 2142 | } |
| 2143 | return out, nil |
| 2144 | } |
| 2145 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2146 | func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) { |
| 2147 | out := new(Olt) |
| 2148 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...) |
| 2149 | if err != nil { |
| 2150 | return nil, err |
| 2151 | } |
| 2152 | return out, nil |
| 2153 | } |
| 2154 | |
Matteo Scandolo | 4b077aa | 2021-02-16 17:33:37 -0800 | [diff] [blame] | 2155 | func (c *bBSimClient) GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error) { |
| 2156 | out := new(OltAllocatedResources) |
| 2157 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOltAllocatedResources", in, out, opts...) |
| 2158 | if err != nil { |
| 2159 | return nil, err |
| 2160 | } |
| 2161 | return out, nil |
| 2162 | } |
| 2163 | |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 2164 | func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) { |
| 2165 | out := new(Response) |
| 2166 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...) |
| 2167 | if err != nil { |
| 2168 | return nil, err |
| 2169 | } |
| 2170 | return out, nil |
| 2171 | } |
| 2172 | |
| 2173 | func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) { |
| 2174 | out := new(Response) |
| 2175 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...) |
| 2176 | if err != nil { |
| 2177 | return nil, err |
| 2178 | } |
| 2179 | return out, nil |
| 2180 | } |
| 2181 | |
| 2182 | func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) { |
| 2183 | out := new(Response) |
| 2184 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...) |
| 2185 | if err != nil { |
| 2186 | return nil, err |
| 2187 | } |
| 2188 | return out, nil |
| 2189 | } |
| 2190 | |
Matteo Scandolo | 88c204a | 2020-11-03 10:34:24 -0800 | [diff] [blame] | 2191 | func (c *bBSimClient) StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) { |
| 2192 | out := new(Response) |
| 2193 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/StopgRPCServer", in, out, opts...) |
| 2194 | if err != nil { |
| 2195 | return nil, err |
| 2196 | } |
| 2197 | return out, nil |
| 2198 | } |
| 2199 | |
| 2200 | func (c *bBSimClient) StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) { |
| 2201 | out := new(Response) |
| 2202 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/StartgRPCServer", in, out, opts...) |
| 2203 | if err != nil { |
| 2204 | return nil, err |
| 2205 | } |
| 2206 | return out, nil |
| 2207 | } |
| 2208 | |
| 2209 | func (c *bBSimClient) RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error) { |
| 2210 | out := new(Response) |
| 2211 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartgRPCServer", in, out, opts...) |
| 2212 | if err != nil { |
| 2213 | return nil, err |
| 2214 | } |
| 2215 | return out, nil |
| 2216 | } |
| 2217 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2218 | func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) { |
| 2219 | out := new(ONU) |
| 2220 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...) |
| 2221 | if err != nil { |
| 2222 | return nil, err |
| 2223 | } |
| 2224 | return out, nil |
| 2225 | } |
| 2226 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2227 | func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) { |
| 2228 | out := new(ONUs) |
| 2229 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2230 | if err != nil { |
| 2231 | return nil, err |
| 2232 | } |
| 2233 | return out, nil |
| 2234 | } |
| 2235 | |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 2236 | func (c *bBSimClient) GetServices(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Services, error) { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 2237 | out := new(Services) |
| 2238 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetServices", in, out, opts...) |
| 2239 | if err != nil { |
| 2240 | return nil, err |
| 2241 | } |
| 2242 | return out, nil |
| 2243 | } |
| 2244 | |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 2245 | func (c *bBSimClient) GetOnuUnis(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*UNIs, error) { |
| 2246 | out := new(UNIs) |
| 2247 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuUnis", in, out, opts...) |
| 2248 | if err != nil { |
| 2249 | return nil, err |
| 2250 | } |
| 2251 | return out, nil |
| 2252 | } |
| 2253 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2254 | func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) { |
| 2255 | out := new(Response) |
| 2256 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...) |
| 2257 | if err != nil { |
| 2258 | return nil, err |
| 2259 | } |
| 2260 | return out, nil |
| 2261 | } |
| 2262 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2263 | func (c *bBSimClient) ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) { |
| 2264 | out := new(Response) |
| 2265 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownAllONUs", in, out, opts...) |
| 2266 | if err != nil { |
| 2267 | return nil, err |
| 2268 | } |
| 2269 | return out, nil |
| 2270 | } |
| 2271 | |
| 2272 | func (c *bBSimClient) ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) { |
| 2273 | out := new(Response) |
| 2274 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONUsOnPON", in, out, opts...) |
| 2275 | if err != nil { |
| 2276 | return nil, err |
| 2277 | } |
| 2278 | return out, nil |
| 2279 | } |
| 2280 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2281 | func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) { |
| 2282 | out := new(Response) |
| 2283 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...) |
| 2284 | if err != nil { |
| 2285 | return nil, err |
| 2286 | } |
| 2287 | return out, nil |
| 2288 | } |
| 2289 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2290 | func (c *bBSimClient) PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) { |
| 2291 | out := new(Response) |
| 2292 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronAllONUs", in, out, opts...) |
| 2293 | if err != nil { |
| 2294 | return nil, err |
| 2295 | } |
| 2296 | return out, nil |
| 2297 | } |
| 2298 | |
| 2299 | func (c *bBSimClient) PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) { |
| 2300 | out := new(Response) |
| 2301 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONUsOnPON", in, out, opts...) |
| 2302 | if err != nil { |
| 2303 | return nil, err |
| 2304 | } |
| 2305 | return out, nil |
| 2306 | } |
| 2307 | |
Nitin Subramanian | 150f1bb | 2021-08-02 12:04:05 -0700 | [diff] [blame] | 2308 | func (c *bBSimClient) RestartEapol(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error) { |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2309 | out := new(Response) |
| 2310 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...) |
| 2311 | if err != nil { |
| 2312 | return nil, err |
| 2313 | } |
| 2314 | return out, nil |
| 2315 | } |
| 2316 | |
Nitin Subramanian | 150f1bb | 2021-08-02 12:04:05 -0700 | [diff] [blame] | 2317 | func (c *bBSimClient) RestartDhcp(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error) { |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2318 | out := new(Response) |
| 2319 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...) |
| 2320 | if err != nil { |
| 2321 | return nil, err |
| 2322 | } |
| 2323 | return out, nil |
| 2324 | } |
| 2325 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 2326 | 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] | 2327 | out := new(Response) |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 2328 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...) |
| 2329 | if err != nil { |
| 2330 | return nil, err |
| 2331 | } |
| 2332 | return out, nil |
| 2333 | } |
| 2334 | |
| 2335 | func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) { |
| 2336 | out := new(Response) |
| 2337 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 2338 | if err != nil { |
| 2339 | return nil, err |
| 2340 | } |
| 2341 | return out, nil |
| 2342 | } |
| 2343 | |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame] | 2344 | func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) { |
| 2345 | out := new(Flows) |
| 2346 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...) |
| 2347 | if err != nil { |
| 2348 | return nil, err |
| 2349 | } |
| 2350 | return out, nil |
| 2351 | } |
| 2352 | |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 2353 | func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) { |
| 2354 | out := new(Response) |
| 2355 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...) |
| 2356 | if err != nil { |
| 2357 | return nil, err |
| 2358 | } |
| 2359 | return out, nil |
| 2360 | } |
| 2361 | |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 2362 | func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) { |
| 2363 | out := new(ONUTrafficSchedulers) |
| 2364 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...) |
| 2365 | if err != nil { |
| 2366 | return nil, err |
| 2367 | } |
| 2368 | return out, nil |
| 2369 | } |
| 2370 | |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 2371 | func (c *bBSimClient) GetUnis(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UNIs, error) { |
| 2372 | out := new(UNIs) |
| 2373 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetUnis", in, out, opts...) |
| 2374 | if err != nil { |
| 2375 | return nil, err |
| 2376 | } |
| 2377 | return out, nil |
| 2378 | } |
| 2379 | |
Elia Battiston | fe01766 | 2022-01-05 11:43:16 +0100 | [diff] [blame] | 2380 | func (c *bBSimClient) InvalidateMds(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) { |
| 2381 | out := new(Response) |
| 2382 | err := c.cc.Invoke(ctx, "/bbsim.BBSim/InvalidateMds", in, out, opts...) |
| 2383 | if err != nil { |
| 2384 | return nil, err |
| 2385 | } |
| 2386 | return out, nil |
| 2387 | } |
| 2388 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2389 | // BBSimServer is the server API for BBSim service. |
| 2390 | type BBSimServer interface { |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2391 | // Get BBSim version |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2392 | Version(context.Context, *Empty) (*VersionNumber, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2393 | // Set BBSim log level |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2394 | SetLogLevel(context.Context, *LogLevel) (*LogLevel, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2395 | // Get current status of OLT |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2396 | GetOlt(context.Context, *Empty) (*Olt, error) |
Matteo Scandolo | 4b077aa | 2021-02-16 17:33:37 -0800 | [diff] [blame] | 2397 | GetOltAllocatedResources(context.Context, *OltAllocatedResourceType) (*OltAllocatedResources, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2398 | // Poweron OLT |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 2399 | PoweronOlt(context.Context, *Empty) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2400 | // Shutdown OLT |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 2401 | ShutdownOlt(context.Context, *Empty) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2402 | // Reboot OLT |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 2403 | RebootOlt(context.Context, *Empty) (*Response, error) |
Matteo Scandolo | 88c204a | 2020-11-03 10:34:24 -0800 | [diff] [blame] | 2404 | // Closes the Openolt gRPC server |
| 2405 | StopgRPCServer(context.Context, *Empty) (*Response, error) |
| 2406 | // Start the Openolt gRPC server |
| 2407 | StartgRPCServer(context.Context, *Empty) (*Response, error) |
hkouser | 24361d4 | 2020-12-14 19:21:47 +0530 | [diff] [blame] | 2408 | // Restart the Openolt gRPC server after the given timeout |
Matteo Scandolo | 88c204a | 2020-11-03 10:34:24 -0800 | [diff] [blame] | 2409 | RestartgRPCServer(context.Context, *Timeout) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2410 | // Get status of an ONU by serial number |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2411 | GetONU(context.Context, *ONURequest) (*ONU, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2412 | // Get status of all ONUs |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2413 | GetONUs(context.Context, *Empty) (*ONUs, error) |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 2414 | // Get all the Services by Uni ID |
| 2415 | GetServices(context.Context, *UNIRequest) (*Services, error) |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 2416 | // Get all the UNIs of an ONU by serial number |
| 2417 | GetOnuUnis(context.Context, *ONURequest) (*UNIs, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2418 | // Shutdown an ONU by serial number |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2419 | ShutdownONU(context.Context, *ONURequest) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2420 | // Shutdown all ONUs in OLT |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2421 | ShutdownAllONUs(context.Context, *Empty) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2422 | // Shutdown all ONUs under a PON by pon-port-ID |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2423 | ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2424 | // Poweron an ONU by serial number |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2425 | PoweronONU(context.Context, *ONURequest) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2426 | // Poweron all ONUs in OLT |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2427 | PoweronAllONUs(context.Context, *Empty) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2428 | // Poweron all ONUs under a PON by pon-port-ID |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2429 | PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2430 | // Restart EAPOL for ONU |
Nitin Subramanian | 150f1bb | 2021-08-02 12:04:05 -0700 | [diff] [blame] | 2431 | RestartEapol(context.Context, *UNIRequest) (*Response, error) |
Onur Kalinagac | 9f9faca | 2021-01-21 14:04:34 +0000 | [diff] [blame] | 2432 | // Restart DHCP for ONU |
Nitin Subramanian | 150f1bb | 2021-08-02 12:04:05 -0700 | [diff] [blame] | 2433 | RestartDhcp(context.Context, *UNIRequest) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2434 | // Send ONU alarm indication |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 2435 | SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2436 | // Send OLT alarm indication for Interface type NNI or PON |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 2437 | SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2438 | // Get all flows or ONU specific flows |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame] | 2439 | GetFlows(context.Context, *ONURequest) (*Flows, error) |
Onur Kalinagac | 9f9faca | 2021-01-21 14:04:34 +0000 | [diff] [blame] | 2440 | // Change IGMP state |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 2441 | ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error) |
Matteo Scandolo | f65e687 | 2020-04-15 15:18:43 -0700 | [diff] [blame] | 2442 | // Get Traffic scheduler information for ONU |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 2443 | GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error) |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 2444 | //Return all the UNIs for all the ONUs |
| 2445 | GetUnis(context.Context, *Empty) (*UNIs, error) |
Elia Battiston | fe01766 | 2022-01-05 11:43:16 +0100 | [diff] [blame] | 2446 | //Invalidate the MDS counter for the ONU |
| 2447 | InvalidateMds(context.Context, *ONURequest) (*Response, error) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2448 | } |
| 2449 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2450 | // UnimplementedBBSimServer can be embedded to have forward compatible implementations. |
| 2451 | type UnimplementedBBSimServer struct { |
| 2452 | } |
| 2453 | |
| 2454 | func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) { |
| 2455 | return nil, status.Errorf(codes.Unimplemented, "method Version not implemented") |
| 2456 | } |
| 2457 | func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) { |
| 2458 | return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented") |
| 2459 | } |
| 2460 | func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) { |
| 2461 | return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented") |
| 2462 | } |
Matteo Scandolo | 4b077aa | 2021-02-16 17:33:37 -0800 | [diff] [blame] | 2463 | func (*UnimplementedBBSimServer) GetOltAllocatedResources(ctx context.Context, req *OltAllocatedResourceType) (*OltAllocatedResources, error) { |
| 2464 | return nil, status.Errorf(codes.Unimplemented, "method GetOltAllocatedResources not implemented") |
| 2465 | } |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2466 | func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) { |
| 2467 | return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented") |
| 2468 | } |
| 2469 | func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) { |
| 2470 | return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented") |
| 2471 | } |
| 2472 | func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) { |
| 2473 | return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented") |
| 2474 | } |
Matteo Scandolo | 88c204a | 2020-11-03 10:34:24 -0800 | [diff] [blame] | 2475 | func (*UnimplementedBBSimServer) StopgRPCServer(ctx context.Context, req *Empty) (*Response, error) { |
| 2476 | return nil, status.Errorf(codes.Unimplemented, "method StopgRPCServer not implemented") |
| 2477 | } |
| 2478 | func (*UnimplementedBBSimServer) StartgRPCServer(ctx context.Context, req *Empty) (*Response, error) { |
| 2479 | return nil, status.Errorf(codes.Unimplemented, "method StartgRPCServer not implemented") |
| 2480 | } |
| 2481 | func (*UnimplementedBBSimServer) RestartgRPCServer(ctx context.Context, req *Timeout) (*Response, error) { |
| 2482 | return nil, status.Errorf(codes.Unimplemented, "method RestartgRPCServer not implemented") |
| 2483 | } |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2484 | func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) { |
| 2485 | return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented") |
| 2486 | } |
| 2487 | func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) { |
| 2488 | return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented") |
| 2489 | } |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 2490 | func (*UnimplementedBBSimServer) GetServices(ctx context.Context, req *UNIRequest) (*Services, error) { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 2491 | return nil, status.Errorf(codes.Unimplemented, "method GetServices not implemented") |
| 2492 | } |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 2493 | func (*UnimplementedBBSimServer) GetOnuUnis(ctx context.Context, req *ONURequest) (*UNIs, error) { |
| 2494 | return nil, status.Errorf(codes.Unimplemented, "method GetOnuUnis not implemented") |
| 2495 | } |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2496 | func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) { |
| 2497 | return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented") |
| 2498 | } |
| 2499 | func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error) { |
| 2500 | return nil, status.Errorf(codes.Unimplemented, "method ShutdownAllONUs not implemented") |
| 2501 | } |
| 2502 | func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) { |
| 2503 | return nil, status.Errorf(codes.Unimplemented, "method ShutdownONUsOnPON not implemented") |
| 2504 | } |
| 2505 | func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) { |
| 2506 | return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented") |
| 2507 | } |
| 2508 | func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error) { |
| 2509 | return nil, status.Errorf(codes.Unimplemented, "method PoweronAllONUs not implemented") |
| 2510 | } |
| 2511 | func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) { |
| 2512 | return nil, status.Errorf(codes.Unimplemented, "method PoweronONUsOnPON not implemented") |
| 2513 | } |
Nitin Subramanian | 150f1bb | 2021-08-02 12:04:05 -0700 | [diff] [blame] | 2514 | func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *UNIRequest) (*Response, error) { |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2515 | return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented") |
| 2516 | } |
Nitin Subramanian | 150f1bb | 2021-08-02 12:04:05 -0700 | [diff] [blame] | 2517 | func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *UNIRequest) (*Response, error) { |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2518 | return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented") |
| 2519 | } |
| 2520 | func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) { |
| 2521 | return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented") |
| 2522 | } |
| 2523 | func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) { |
| 2524 | return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented") |
| 2525 | } |
| 2526 | func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) { |
| 2527 | return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented") |
| 2528 | } |
| 2529 | func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) { |
| 2530 | return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented") |
| 2531 | } |
| 2532 | func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) { |
| 2533 | return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented") |
| 2534 | } |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 2535 | func (*UnimplementedBBSimServer) GetUnis(ctx context.Context, req *Empty) (*UNIs, error) { |
| 2536 | return nil, status.Errorf(codes.Unimplemented, "method GetUnis not implemented") |
| 2537 | } |
Elia Battiston | fe01766 | 2022-01-05 11:43:16 +0100 | [diff] [blame] | 2538 | func (*UnimplementedBBSimServer) InvalidateMds(ctx context.Context, req *ONURequest) (*Response, error) { |
| 2539 | return nil, status.Errorf(codes.Unimplemented, "method InvalidateMds not implemented") |
| 2540 | } |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2541 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2542 | func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) { |
| 2543 | s.RegisterService(&_BBSim_serviceDesc, srv) |
| 2544 | } |
| 2545 | |
| 2546 | func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2547 | in := new(Empty) |
| 2548 | if err := dec(in); err != nil { |
| 2549 | return nil, err |
| 2550 | } |
| 2551 | if interceptor == nil { |
| 2552 | return srv.(BBSimServer).Version(ctx, in) |
| 2553 | } |
| 2554 | info := &grpc.UnaryServerInfo{ |
| 2555 | Server: srv, |
| 2556 | FullMethod: "/bbsim.BBSim/Version", |
| 2557 | } |
| 2558 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2559 | return srv.(BBSimServer).Version(ctx, req.(*Empty)) |
| 2560 | } |
| 2561 | return interceptor(ctx, in, info, handler) |
| 2562 | } |
| 2563 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2564 | func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2565 | in := new(LogLevel) |
| 2566 | if err := dec(in); err != nil { |
| 2567 | return nil, err |
| 2568 | } |
| 2569 | if interceptor == nil { |
| 2570 | return srv.(BBSimServer).SetLogLevel(ctx, in) |
| 2571 | } |
| 2572 | info := &grpc.UnaryServerInfo{ |
| 2573 | Server: srv, |
| 2574 | FullMethod: "/bbsim.BBSim/SetLogLevel", |
| 2575 | } |
| 2576 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2577 | return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel)) |
| 2578 | } |
| 2579 | return interceptor(ctx, in, info, handler) |
| 2580 | } |
| 2581 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2582 | func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2583 | in := new(Empty) |
| 2584 | if err := dec(in); err != nil { |
| 2585 | return nil, err |
| 2586 | } |
| 2587 | if interceptor == nil { |
| 2588 | return srv.(BBSimServer).GetOlt(ctx, in) |
| 2589 | } |
| 2590 | info := &grpc.UnaryServerInfo{ |
| 2591 | Server: srv, |
| 2592 | FullMethod: "/bbsim.BBSim/GetOlt", |
| 2593 | } |
| 2594 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2595 | return srv.(BBSimServer).GetOlt(ctx, req.(*Empty)) |
| 2596 | } |
| 2597 | return interceptor(ctx, in, info, handler) |
| 2598 | } |
| 2599 | |
Matteo Scandolo | 4b077aa | 2021-02-16 17:33:37 -0800 | [diff] [blame] | 2600 | func _BBSim_GetOltAllocatedResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2601 | in := new(OltAllocatedResourceType) |
| 2602 | if err := dec(in); err != nil { |
| 2603 | return nil, err |
| 2604 | } |
| 2605 | if interceptor == nil { |
| 2606 | return srv.(BBSimServer).GetOltAllocatedResources(ctx, in) |
| 2607 | } |
| 2608 | info := &grpc.UnaryServerInfo{ |
| 2609 | Server: srv, |
| 2610 | FullMethod: "/bbsim.BBSim/GetOltAllocatedResources", |
| 2611 | } |
| 2612 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2613 | return srv.(BBSimServer).GetOltAllocatedResources(ctx, req.(*OltAllocatedResourceType)) |
| 2614 | } |
| 2615 | return interceptor(ctx, in, info, handler) |
| 2616 | } |
| 2617 | |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 2618 | func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2619 | in := new(Empty) |
| 2620 | if err := dec(in); err != nil { |
| 2621 | return nil, err |
| 2622 | } |
| 2623 | if interceptor == nil { |
| 2624 | return srv.(BBSimServer).PoweronOlt(ctx, in) |
| 2625 | } |
| 2626 | info := &grpc.UnaryServerInfo{ |
| 2627 | Server: srv, |
| 2628 | FullMethod: "/bbsim.BBSim/PoweronOlt", |
| 2629 | } |
| 2630 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2631 | return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty)) |
| 2632 | } |
| 2633 | return interceptor(ctx, in, info, handler) |
| 2634 | } |
| 2635 | |
| 2636 | func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2637 | in := new(Empty) |
| 2638 | if err := dec(in); err != nil { |
| 2639 | return nil, err |
| 2640 | } |
| 2641 | if interceptor == nil { |
| 2642 | return srv.(BBSimServer).ShutdownOlt(ctx, in) |
| 2643 | } |
| 2644 | info := &grpc.UnaryServerInfo{ |
| 2645 | Server: srv, |
| 2646 | FullMethod: "/bbsim.BBSim/ShutdownOlt", |
| 2647 | } |
| 2648 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2649 | return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty)) |
| 2650 | } |
| 2651 | return interceptor(ctx, in, info, handler) |
| 2652 | } |
| 2653 | |
| 2654 | func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2655 | in := new(Empty) |
| 2656 | if err := dec(in); err != nil { |
| 2657 | return nil, err |
| 2658 | } |
| 2659 | if interceptor == nil { |
| 2660 | return srv.(BBSimServer).RebootOlt(ctx, in) |
| 2661 | } |
| 2662 | info := &grpc.UnaryServerInfo{ |
| 2663 | Server: srv, |
| 2664 | FullMethod: "/bbsim.BBSim/RebootOlt", |
| 2665 | } |
| 2666 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2667 | return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty)) |
| 2668 | } |
| 2669 | return interceptor(ctx, in, info, handler) |
| 2670 | } |
| 2671 | |
Matteo Scandolo | 88c204a | 2020-11-03 10:34:24 -0800 | [diff] [blame] | 2672 | func _BBSim_StopgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2673 | in := new(Empty) |
| 2674 | if err := dec(in); err != nil { |
| 2675 | return nil, err |
| 2676 | } |
| 2677 | if interceptor == nil { |
| 2678 | return srv.(BBSimServer).StopgRPCServer(ctx, in) |
| 2679 | } |
| 2680 | info := &grpc.UnaryServerInfo{ |
| 2681 | Server: srv, |
| 2682 | FullMethod: "/bbsim.BBSim/StopgRPCServer", |
| 2683 | } |
| 2684 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2685 | return srv.(BBSimServer).StopgRPCServer(ctx, req.(*Empty)) |
| 2686 | } |
| 2687 | return interceptor(ctx, in, info, handler) |
| 2688 | } |
| 2689 | |
| 2690 | func _BBSim_StartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2691 | in := new(Empty) |
| 2692 | if err := dec(in); err != nil { |
| 2693 | return nil, err |
| 2694 | } |
| 2695 | if interceptor == nil { |
| 2696 | return srv.(BBSimServer).StartgRPCServer(ctx, in) |
| 2697 | } |
| 2698 | info := &grpc.UnaryServerInfo{ |
| 2699 | Server: srv, |
| 2700 | FullMethod: "/bbsim.BBSim/StartgRPCServer", |
| 2701 | } |
| 2702 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2703 | return srv.(BBSimServer).StartgRPCServer(ctx, req.(*Empty)) |
| 2704 | } |
| 2705 | return interceptor(ctx, in, info, handler) |
| 2706 | } |
| 2707 | |
| 2708 | func _BBSim_RestartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2709 | in := new(Timeout) |
| 2710 | if err := dec(in); err != nil { |
| 2711 | return nil, err |
| 2712 | } |
| 2713 | if interceptor == nil { |
| 2714 | return srv.(BBSimServer).RestartgRPCServer(ctx, in) |
| 2715 | } |
| 2716 | info := &grpc.UnaryServerInfo{ |
| 2717 | Server: srv, |
| 2718 | FullMethod: "/bbsim.BBSim/RestartgRPCServer", |
| 2719 | } |
| 2720 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2721 | return srv.(BBSimServer).RestartgRPCServer(ctx, req.(*Timeout)) |
| 2722 | } |
| 2723 | return interceptor(ctx, in, info, handler) |
| 2724 | } |
| 2725 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2726 | func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2727 | in := new(ONURequest) |
| 2728 | if err := dec(in); err != nil { |
| 2729 | return nil, err |
| 2730 | } |
| 2731 | if interceptor == nil { |
| 2732 | return srv.(BBSimServer).GetONU(ctx, in) |
| 2733 | } |
| 2734 | info := &grpc.UnaryServerInfo{ |
| 2735 | Server: srv, |
| 2736 | FullMethod: "/bbsim.BBSim/GetONU", |
| 2737 | } |
| 2738 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2739 | return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest)) |
| 2740 | } |
| 2741 | return interceptor(ctx, in, info, handler) |
| 2742 | } |
| 2743 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2744 | func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2745 | in := new(Empty) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2746 | if err := dec(in); err != nil { |
| 2747 | return nil, err |
| 2748 | } |
| 2749 | if interceptor == nil { |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2750 | return srv.(BBSimServer).GetONUs(ctx, in) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2751 | } |
| 2752 | info := &grpc.UnaryServerInfo{ |
| 2753 | Server: srv, |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2754 | FullMethod: "/bbsim.BBSim/GetONUs", |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2755 | } |
| 2756 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2757 | return srv.(BBSimServer).GetONUs(ctx, req.(*Empty)) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2758 | } |
| 2759 | return interceptor(ctx, in, info, handler) |
| 2760 | } |
| 2761 | |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 2762 | func _BBSim_GetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 2763 | in := new(UNIRequest) |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 2764 | if err := dec(in); err != nil { |
| 2765 | return nil, err |
| 2766 | } |
| 2767 | if interceptor == nil { |
| 2768 | return srv.(BBSimServer).GetServices(ctx, in) |
| 2769 | } |
| 2770 | info := &grpc.UnaryServerInfo{ |
| 2771 | Server: srv, |
| 2772 | FullMethod: "/bbsim.BBSim/GetServices", |
| 2773 | } |
| 2774 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 2775 | return srv.(BBSimServer).GetServices(ctx, req.(*UNIRequest)) |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 2776 | } |
| 2777 | return interceptor(ctx, in, info, handler) |
| 2778 | } |
| 2779 | |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 2780 | func _BBSim_GetOnuUnis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2781 | in := new(ONURequest) |
| 2782 | if err := dec(in); err != nil { |
| 2783 | return nil, err |
| 2784 | } |
| 2785 | if interceptor == nil { |
| 2786 | return srv.(BBSimServer).GetOnuUnis(ctx, in) |
| 2787 | } |
| 2788 | info := &grpc.UnaryServerInfo{ |
| 2789 | Server: srv, |
| 2790 | FullMethod: "/bbsim.BBSim/GetOnuUnis", |
| 2791 | } |
| 2792 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2793 | return srv.(BBSimServer).GetOnuUnis(ctx, req.(*ONURequest)) |
| 2794 | } |
| 2795 | return interceptor(ctx, in, info, handler) |
| 2796 | } |
| 2797 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2798 | func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2799 | in := new(ONURequest) |
| 2800 | if err := dec(in); err != nil { |
| 2801 | return nil, err |
| 2802 | } |
| 2803 | if interceptor == nil { |
| 2804 | return srv.(BBSimServer).ShutdownONU(ctx, in) |
| 2805 | } |
| 2806 | info := &grpc.UnaryServerInfo{ |
| 2807 | Server: srv, |
| 2808 | FullMethod: "/bbsim.BBSim/ShutdownONU", |
| 2809 | } |
| 2810 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2811 | return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest)) |
| 2812 | } |
| 2813 | return interceptor(ctx, in, info, handler) |
| 2814 | } |
| 2815 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2816 | func _BBSim_ShutdownAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2817 | in := new(Empty) |
| 2818 | if err := dec(in); err != nil { |
| 2819 | return nil, err |
| 2820 | } |
| 2821 | if interceptor == nil { |
| 2822 | return srv.(BBSimServer).ShutdownAllONUs(ctx, in) |
| 2823 | } |
| 2824 | info := &grpc.UnaryServerInfo{ |
| 2825 | Server: srv, |
| 2826 | FullMethod: "/bbsim.BBSim/ShutdownAllONUs", |
| 2827 | } |
| 2828 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2829 | return srv.(BBSimServer).ShutdownAllONUs(ctx, req.(*Empty)) |
| 2830 | } |
| 2831 | return interceptor(ctx, in, info, handler) |
| 2832 | } |
| 2833 | |
| 2834 | func _BBSim_ShutdownONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2835 | in := new(PONRequest) |
| 2836 | if err := dec(in); err != nil { |
| 2837 | return nil, err |
| 2838 | } |
| 2839 | if interceptor == nil { |
| 2840 | return srv.(BBSimServer).ShutdownONUsOnPON(ctx, in) |
| 2841 | } |
| 2842 | info := &grpc.UnaryServerInfo{ |
| 2843 | Server: srv, |
| 2844 | FullMethod: "/bbsim.BBSim/ShutdownONUsOnPON", |
| 2845 | } |
| 2846 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2847 | return srv.(BBSimServer).ShutdownONUsOnPON(ctx, req.(*PONRequest)) |
| 2848 | } |
| 2849 | return interceptor(ctx, in, info, handler) |
| 2850 | } |
| 2851 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2852 | func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2853 | in := new(ONURequest) |
| 2854 | if err := dec(in); err != nil { |
| 2855 | return nil, err |
| 2856 | } |
| 2857 | if interceptor == nil { |
| 2858 | return srv.(BBSimServer).PoweronONU(ctx, in) |
| 2859 | } |
| 2860 | info := &grpc.UnaryServerInfo{ |
| 2861 | Server: srv, |
| 2862 | FullMethod: "/bbsim.BBSim/PoweronONU", |
| 2863 | } |
| 2864 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2865 | return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest)) |
| 2866 | } |
| 2867 | return interceptor(ctx, in, info, handler) |
| 2868 | } |
| 2869 | |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 2870 | func _BBSim_PoweronAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2871 | in := new(Empty) |
| 2872 | if err := dec(in); err != nil { |
| 2873 | return nil, err |
| 2874 | } |
| 2875 | if interceptor == nil { |
| 2876 | return srv.(BBSimServer).PoweronAllONUs(ctx, in) |
| 2877 | } |
| 2878 | info := &grpc.UnaryServerInfo{ |
| 2879 | Server: srv, |
| 2880 | FullMethod: "/bbsim.BBSim/PoweronAllONUs", |
| 2881 | } |
| 2882 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2883 | return srv.(BBSimServer).PoweronAllONUs(ctx, req.(*Empty)) |
| 2884 | } |
| 2885 | return interceptor(ctx, in, info, handler) |
| 2886 | } |
| 2887 | |
| 2888 | func _BBSim_PoweronONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2889 | in := new(PONRequest) |
| 2890 | if err := dec(in); err != nil { |
| 2891 | return nil, err |
| 2892 | } |
| 2893 | if interceptor == nil { |
| 2894 | return srv.(BBSimServer).PoweronONUsOnPON(ctx, in) |
| 2895 | } |
| 2896 | info := &grpc.UnaryServerInfo{ |
| 2897 | Server: srv, |
| 2898 | FullMethod: "/bbsim.BBSim/PoweronONUsOnPON", |
| 2899 | } |
| 2900 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2901 | return srv.(BBSimServer).PoweronONUsOnPON(ctx, req.(*PONRequest)) |
| 2902 | } |
| 2903 | return interceptor(ctx, in, info, handler) |
| 2904 | } |
| 2905 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2906 | func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
Nitin Subramanian | 150f1bb | 2021-08-02 12:04:05 -0700 | [diff] [blame] | 2907 | in := new(UNIRequest) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2908 | if err := dec(in); err != nil { |
| 2909 | return nil, err |
| 2910 | } |
| 2911 | if interceptor == nil { |
| 2912 | return srv.(BBSimServer).RestartEapol(ctx, in) |
| 2913 | } |
| 2914 | info := &grpc.UnaryServerInfo{ |
| 2915 | Server: srv, |
| 2916 | FullMethod: "/bbsim.BBSim/RestartEapol", |
| 2917 | } |
| 2918 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
Nitin Subramanian | 150f1bb | 2021-08-02 12:04:05 -0700 | [diff] [blame] | 2919 | return srv.(BBSimServer).RestartEapol(ctx, req.(*UNIRequest)) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2920 | } |
| 2921 | return interceptor(ctx, in, info, handler) |
| 2922 | } |
| 2923 | |
| 2924 | func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
Nitin Subramanian | 150f1bb | 2021-08-02 12:04:05 -0700 | [diff] [blame] | 2925 | in := new(UNIRequest) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2926 | if err := dec(in); err != nil { |
| 2927 | return nil, err |
| 2928 | } |
| 2929 | if interceptor == nil { |
| 2930 | return srv.(BBSimServer).RestartDhcp(ctx, in) |
| 2931 | } |
| 2932 | info := &grpc.UnaryServerInfo{ |
| 2933 | Server: srv, |
| 2934 | FullMethod: "/bbsim.BBSim/RestartDhcp", |
| 2935 | } |
| 2936 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
Nitin Subramanian | 150f1bb | 2021-08-02 12:04:05 -0700 | [diff] [blame] | 2937 | return srv.(BBSimServer).RestartDhcp(ctx, req.(*UNIRequest)) |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 2938 | } |
| 2939 | return interceptor(ctx, in, info, handler) |
| 2940 | } |
| 2941 | |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 2942 | func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2943 | in := new(ONUAlarmRequest) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 2944 | if err := dec(in); err != nil { |
| 2945 | return nil, err |
| 2946 | } |
| 2947 | if interceptor == nil { |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 2948 | return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 2949 | } |
| 2950 | info := &grpc.UnaryServerInfo{ |
| 2951 | Server: srv, |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 2952 | FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication", |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 2953 | } |
| 2954 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 2955 | return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest)) |
| 2956 | } |
| 2957 | return interceptor(ctx, in, info, handler) |
| 2958 | } |
| 2959 | |
| 2960 | func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2961 | in := new(OLTAlarmRequest) |
| 2962 | if err := dec(in); err != nil { |
| 2963 | return nil, err |
| 2964 | } |
| 2965 | if interceptor == nil { |
| 2966 | return srv.(BBSimServer).SetOltAlarmIndication(ctx, in) |
| 2967 | } |
| 2968 | info := &grpc.UnaryServerInfo{ |
| 2969 | Server: srv, |
| 2970 | FullMethod: "/bbsim.BBSim/SetOltAlarmIndication", |
| 2971 | } |
| 2972 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2973 | return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest)) |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 2974 | } |
| 2975 | return interceptor(ctx, in, info, handler) |
| 2976 | } |
| 2977 | |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame] | 2978 | func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2979 | in := new(ONURequest) |
| 2980 | if err := dec(in); err != nil { |
| 2981 | return nil, err |
| 2982 | } |
| 2983 | if interceptor == nil { |
| 2984 | return srv.(BBSimServer).GetFlows(ctx, in) |
| 2985 | } |
| 2986 | info := &grpc.UnaryServerInfo{ |
| 2987 | Server: srv, |
| 2988 | FullMethod: "/bbsim.BBSim/GetFlows", |
| 2989 | } |
| 2990 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2991 | return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest)) |
| 2992 | } |
| 2993 | return interceptor(ctx, in, info, handler) |
| 2994 | } |
| 2995 | |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 2996 | func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2997 | in := new(IgmpRequest) |
| 2998 | if err := dec(in); err != nil { |
| 2999 | return nil, err |
| 3000 | } |
| 3001 | if interceptor == nil { |
| 3002 | return srv.(BBSimServer).ChangeIgmpState(ctx, in) |
| 3003 | } |
| 3004 | info := &grpc.UnaryServerInfo{ |
| 3005 | Server: srv, |
| 3006 | FullMethod: "/bbsim.BBSim/ChangeIgmpState", |
| 3007 | } |
| 3008 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3009 | return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest)) |
| 3010 | } |
| 3011 | return interceptor(ctx, in, info, handler) |
| 3012 | } |
| 3013 | |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 3014 | func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3015 | in := new(ONURequest) |
| 3016 | if err := dec(in); err != nil { |
| 3017 | return nil, err |
| 3018 | } |
| 3019 | if interceptor == nil { |
| 3020 | return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in) |
| 3021 | } |
| 3022 | info := &grpc.UnaryServerInfo{ |
| 3023 | Server: srv, |
| 3024 | FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers", |
| 3025 | } |
| 3026 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3027 | return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest)) |
| 3028 | } |
| 3029 | return interceptor(ctx, in, info, handler) |
| 3030 | } |
| 3031 | |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 3032 | func _BBSim_GetUnis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3033 | in := new(Empty) |
| 3034 | if err := dec(in); err != nil { |
| 3035 | return nil, err |
| 3036 | } |
| 3037 | if interceptor == nil { |
| 3038 | return srv.(BBSimServer).GetUnis(ctx, in) |
| 3039 | } |
| 3040 | info := &grpc.UnaryServerInfo{ |
| 3041 | Server: srv, |
| 3042 | FullMethod: "/bbsim.BBSim/GetUnis", |
| 3043 | } |
| 3044 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3045 | return srv.(BBSimServer).GetUnis(ctx, req.(*Empty)) |
| 3046 | } |
| 3047 | return interceptor(ctx, in, info, handler) |
| 3048 | } |
| 3049 | |
Elia Battiston | fe01766 | 2022-01-05 11:43:16 +0100 | [diff] [blame] | 3050 | func _BBSim_InvalidateMds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3051 | in := new(ONURequest) |
| 3052 | if err := dec(in); err != nil { |
| 3053 | return nil, err |
| 3054 | } |
| 3055 | if interceptor == nil { |
| 3056 | return srv.(BBSimServer).InvalidateMds(ctx, in) |
| 3057 | } |
| 3058 | info := &grpc.UnaryServerInfo{ |
| 3059 | Server: srv, |
| 3060 | FullMethod: "/bbsim.BBSim/InvalidateMds", |
| 3061 | } |
| 3062 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3063 | return srv.(BBSimServer).InvalidateMds(ctx, req.(*ONURequest)) |
| 3064 | } |
| 3065 | return interceptor(ctx, in, info, handler) |
| 3066 | } |
| 3067 | |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 3068 | var _BBSim_serviceDesc = grpc.ServiceDesc{ |
| 3069 | ServiceName: "bbsim.BBSim", |
| 3070 | HandlerType: (*BBSimServer)(nil), |
| 3071 | Methods: []grpc.MethodDesc{ |
| 3072 | { |
| 3073 | MethodName: "Version", |
| 3074 | Handler: _BBSim_Version_Handler, |
| 3075 | }, |
| 3076 | { |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 3077 | MethodName: "SetLogLevel", |
| 3078 | Handler: _BBSim_SetLogLevel_Handler, |
| 3079 | }, |
| 3080 | { |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 3081 | MethodName: "GetOlt", |
| 3082 | Handler: _BBSim_GetOlt_Handler, |
| 3083 | }, |
| 3084 | { |
Matteo Scandolo | 4b077aa | 2021-02-16 17:33:37 -0800 | [diff] [blame] | 3085 | MethodName: "GetOltAllocatedResources", |
| 3086 | Handler: _BBSim_GetOltAllocatedResources_Handler, |
| 3087 | }, |
| 3088 | { |
Zdravko Bozakov | 681364d | 2019-11-10 14:28:46 +0100 | [diff] [blame] | 3089 | MethodName: "PoweronOlt", |
| 3090 | Handler: _BBSim_PoweronOlt_Handler, |
| 3091 | }, |
| 3092 | { |
| 3093 | MethodName: "ShutdownOlt", |
| 3094 | Handler: _BBSim_ShutdownOlt_Handler, |
| 3095 | }, |
| 3096 | { |
| 3097 | MethodName: "RebootOlt", |
| 3098 | Handler: _BBSim_RebootOlt_Handler, |
| 3099 | }, |
| 3100 | { |
Matteo Scandolo | 88c204a | 2020-11-03 10:34:24 -0800 | [diff] [blame] | 3101 | MethodName: "StopgRPCServer", |
| 3102 | Handler: _BBSim_StopgRPCServer_Handler, |
| 3103 | }, |
| 3104 | { |
| 3105 | MethodName: "StartgRPCServer", |
| 3106 | Handler: _BBSim_StartgRPCServer_Handler, |
| 3107 | }, |
| 3108 | { |
| 3109 | MethodName: "RestartgRPCServer", |
| 3110 | Handler: _BBSim_RestartgRPCServer_Handler, |
| 3111 | }, |
| 3112 | { |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 3113 | MethodName: "GetONU", |
| 3114 | Handler: _BBSim_GetONU_Handler, |
| 3115 | }, |
| 3116 | { |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 3117 | MethodName: "GetONUs", |
| 3118 | Handler: _BBSim_GetONUs_Handler, |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 3119 | }, |
| 3120 | { |
Matteo Scandolo | 4a03626 | 2020-08-17 15:56:13 -0700 | [diff] [blame] | 3121 | MethodName: "GetServices", |
| 3122 | Handler: _BBSim_GetServices_Handler, |
| 3123 | }, |
| 3124 | { |
Matteo Scandolo | ef4e8f8 | 2021-05-17 11:20:49 -0700 | [diff] [blame] | 3125 | MethodName: "GetOnuUnis", |
| 3126 | Handler: _BBSim_GetOnuUnis_Handler, |
| 3127 | }, |
| 3128 | { |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 3129 | MethodName: "ShutdownONU", |
| 3130 | Handler: _BBSim_ShutdownONU_Handler, |
| 3131 | }, |
| 3132 | { |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 3133 | MethodName: "ShutdownAllONUs", |
| 3134 | Handler: _BBSim_ShutdownAllONUs_Handler, |
| 3135 | }, |
| 3136 | { |
| 3137 | MethodName: "ShutdownONUsOnPON", |
| 3138 | Handler: _BBSim_ShutdownONUsOnPON_Handler, |
| 3139 | }, |
| 3140 | { |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 3141 | MethodName: "PoweronONU", |
| 3142 | Handler: _BBSim_PoweronONU_Handler, |
| 3143 | }, |
| 3144 | { |
Pragya Arya | bd731ec | 2020-02-11 16:38:17 +0530 | [diff] [blame] | 3145 | MethodName: "PoweronAllONUs", |
| 3146 | Handler: _BBSim_PoweronAllONUs_Handler, |
| 3147 | }, |
| 3148 | { |
| 3149 | MethodName: "PoweronONUsOnPON", |
| 3150 | Handler: _BBSim_PoweronONUsOnPON_Handler, |
| 3151 | }, |
| 3152 | { |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 3153 | MethodName: "RestartEapol", |
| 3154 | Handler: _BBSim_RestartEapol_Handler, |
| 3155 | }, |
| 3156 | { |
| 3157 | MethodName: "RestartDhcp", |
| 3158 | Handler: _BBSim_RestartDhcp_Handler, |
| 3159 | }, |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 3160 | { |
Anand S Katti | 86552f9 | 2020-03-03 21:56:32 +0530 | [diff] [blame] | 3161 | MethodName: "SetOnuAlarmIndication", |
| 3162 | Handler: _BBSim_SetOnuAlarmIndication_Handler, |
| 3163 | }, |
| 3164 | { |
| 3165 | MethodName: "SetOltAlarmIndication", |
| 3166 | Handler: _BBSim_SetOltAlarmIndication_Handler, |
Scott Baker | 41724b8 | 2020-01-21 19:54:53 -0800 | [diff] [blame] | 3167 | }, |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 3168 | { |
Pragya Arya | 8bdb453 | 2020-03-02 17:08:09 +0530 | [diff] [blame] | 3169 | MethodName: "GetFlows", |
| 3170 | Handler: _BBSim_GetFlows_Handler, |
| 3171 | }, |
| 3172 | { |
Arjun E K | 57a7fcb | 2020-01-30 06:44:45 +0000 | [diff] [blame] | 3173 | MethodName: "ChangeIgmpState", |
| 3174 | Handler: _BBSim_ChangeIgmpState_Handler, |
| 3175 | }, |
Anand S Katti | 0954135 | 2020-01-29 15:54:01 +0530 | [diff] [blame] | 3176 | { |
| 3177 | MethodName: "GetOnuTrafficSchedulers", |
| 3178 | Handler: _BBSim_GetOnuTrafficSchedulers_Handler, |
| 3179 | }, |
Nitin Subramanian | b0a333a | 2021-07-08 15:01:41 -0700 | [diff] [blame] | 3180 | { |
| 3181 | MethodName: "GetUnis", |
| 3182 | Handler: _BBSim_GetUnis_Handler, |
| 3183 | }, |
Elia Battiston | fe01766 | 2022-01-05 11:43:16 +0100 | [diff] [blame] | 3184 | { |
| 3185 | MethodName: "InvalidateMds", |
| 3186 | Handler: _BBSim_InvalidateMds_Handler, |
| 3187 | }, |
Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 3188 | }, |
| 3189 | Streams: []grpc.StreamDesc{}, |
| 3190 | Metadata: "api/bbsim/bbsim.proto", |
| 3191 | } |