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