blob: 5f497b1acc494b219d123c366bd79c032fc9d431 [file] [log] [blame]
Abhay Kumar03713392025-12-30 05:20:58 +00001// Copyright 2018-2024 Open Networking Foundation (ONF) and the ONF Contributors
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at:
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -040015// Code generated by protoc-gen-go. DO NOT EDIT.
Abhay Kumar03713392025-12-30 05:20:58 +000016// versions:
17// protoc-gen-go v1.36.11
18// protoc v4.25.8
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -040019// source: voltha_protos/tech_profile.proto
20
21package tech_profile
22
23import (
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -040024 _ "google.golang.org/genproto/googleapis/api/annotations"
Abhay Kumar03713392025-12-30 05:20:58 +000025 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 reflect "reflect"
28 sync "sync"
29 unsafe "unsafe"
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -040030)
31
Abhay Kumar03713392025-12-30 05:20:58 +000032const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -040038
39type Direction int32
40
41const (
42 Direction_UPSTREAM Direction = 0
43 Direction_DOWNSTREAM Direction = 1
44 Direction_BIDIRECTIONAL Direction = 2
45)
46
Abhay Kumar03713392025-12-30 05:20:58 +000047// Enum value maps for Direction.
48var (
49 Direction_name = map[int32]string{
50 0: "UPSTREAM",
51 1: "DOWNSTREAM",
52 2: "BIDIRECTIONAL",
53 }
54 Direction_value = map[string]int32{
55 "UPSTREAM": 0,
56 "DOWNSTREAM": 1,
57 "BIDIRECTIONAL": 2,
58 }
59)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -040060
Abhay Kumar03713392025-12-30 05:20:58 +000061func (x Direction) Enum() *Direction {
62 p := new(Direction)
63 *p = x
64 return p
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -040065}
66
67func (x Direction) String() string {
Abhay Kumar03713392025-12-30 05:20:58 +000068 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -040069}
70
Abhay Kumar03713392025-12-30 05:20:58 +000071func (Direction) Descriptor() protoreflect.EnumDescriptor {
72 return file_voltha_protos_tech_profile_proto_enumTypes[0].Descriptor()
73}
74
75func (Direction) Type() protoreflect.EnumType {
76 return &file_voltha_protos_tech_profile_proto_enumTypes[0]
77}
78
79func (x Direction) Number() protoreflect.EnumNumber {
80 return protoreflect.EnumNumber(x)
81}
82
83// Deprecated: Use Direction.Descriptor instead.
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -040084func (Direction) EnumDescriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +000085 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{0}
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -040086}
87
88type SchedulingPolicy int32
89
90const (
91 SchedulingPolicy_WRR SchedulingPolicy = 0
92 SchedulingPolicy_StrictPriority SchedulingPolicy = 1
93 SchedulingPolicy_Hybrid SchedulingPolicy = 2
94)
95
Abhay Kumar03713392025-12-30 05:20:58 +000096// Enum value maps for SchedulingPolicy.
97var (
98 SchedulingPolicy_name = map[int32]string{
99 0: "WRR",
100 1: "StrictPriority",
101 2: "Hybrid",
102 }
103 SchedulingPolicy_value = map[string]int32{
104 "WRR": 0,
105 "StrictPriority": 1,
106 "Hybrid": 2,
107 }
108)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400109
Abhay Kumar03713392025-12-30 05:20:58 +0000110func (x SchedulingPolicy) Enum() *SchedulingPolicy {
111 p := new(SchedulingPolicy)
112 *p = x
113 return p
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400114}
115
116func (x SchedulingPolicy) String() string {
Abhay Kumar03713392025-12-30 05:20:58 +0000117 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400118}
119
Abhay Kumar03713392025-12-30 05:20:58 +0000120func (SchedulingPolicy) Descriptor() protoreflect.EnumDescriptor {
121 return file_voltha_protos_tech_profile_proto_enumTypes[1].Descriptor()
122}
123
124func (SchedulingPolicy) Type() protoreflect.EnumType {
125 return &file_voltha_protos_tech_profile_proto_enumTypes[1]
126}
127
128func (x SchedulingPolicy) Number() protoreflect.EnumNumber {
129 return protoreflect.EnumNumber(x)
130}
131
132// Deprecated: Use SchedulingPolicy.Descriptor instead.
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400133func (SchedulingPolicy) EnumDescriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000134 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{1}
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400135}
136
137type AdditionalBW int32
138
139const (
140 AdditionalBW_AdditionalBW_None AdditionalBW = 0
141 AdditionalBW_AdditionalBW_NA AdditionalBW = 1
142 AdditionalBW_AdditionalBW_BestEffort AdditionalBW = 2
143 AdditionalBW_AdditionalBW_Auto AdditionalBW = 3
144)
145
Abhay Kumar03713392025-12-30 05:20:58 +0000146// Enum value maps for AdditionalBW.
147var (
148 AdditionalBW_name = map[int32]string{
149 0: "AdditionalBW_None",
150 1: "AdditionalBW_NA",
151 2: "AdditionalBW_BestEffort",
152 3: "AdditionalBW_Auto",
153 }
154 AdditionalBW_value = map[string]int32{
155 "AdditionalBW_None": 0,
156 "AdditionalBW_NA": 1,
157 "AdditionalBW_BestEffort": 2,
158 "AdditionalBW_Auto": 3,
159 }
160)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400161
Abhay Kumar03713392025-12-30 05:20:58 +0000162func (x AdditionalBW) Enum() *AdditionalBW {
163 p := new(AdditionalBW)
164 *p = x
165 return p
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400166}
167
168func (x AdditionalBW) String() string {
Abhay Kumar03713392025-12-30 05:20:58 +0000169 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400170}
171
Abhay Kumar03713392025-12-30 05:20:58 +0000172func (AdditionalBW) Descriptor() protoreflect.EnumDescriptor {
173 return file_voltha_protos_tech_profile_proto_enumTypes[2].Descriptor()
174}
175
176func (AdditionalBW) Type() protoreflect.EnumType {
177 return &file_voltha_protos_tech_profile_proto_enumTypes[2]
178}
179
180func (x AdditionalBW) Number() protoreflect.EnumNumber {
181 return protoreflect.EnumNumber(x)
182}
183
184// Deprecated: Use AdditionalBW.Descriptor instead.
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400185func (AdditionalBW) EnumDescriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000186 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{2}
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400187}
188
189type DiscardPolicy int32
190
191const (
192 DiscardPolicy_TailDrop DiscardPolicy = 0
193 DiscardPolicy_WTailDrop DiscardPolicy = 1
194 DiscardPolicy_Red DiscardPolicy = 2
195 DiscardPolicy_WRed DiscardPolicy = 3
196)
197
Abhay Kumar03713392025-12-30 05:20:58 +0000198// Enum value maps for DiscardPolicy.
199var (
200 DiscardPolicy_name = map[int32]string{
201 0: "TailDrop",
202 1: "WTailDrop",
203 2: "Red",
204 3: "WRed",
205 }
206 DiscardPolicy_value = map[string]int32{
207 "TailDrop": 0,
208 "WTailDrop": 1,
209 "Red": 2,
210 "WRed": 3,
211 }
212)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400213
Abhay Kumar03713392025-12-30 05:20:58 +0000214func (x DiscardPolicy) Enum() *DiscardPolicy {
215 p := new(DiscardPolicy)
216 *p = x
217 return p
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400218}
219
220func (x DiscardPolicy) String() string {
Abhay Kumar03713392025-12-30 05:20:58 +0000221 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400222}
223
Abhay Kumar03713392025-12-30 05:20:58 +0000224func (DiscardPolicy) Descriptor() protoreflect.EnumDescriptor {
225 return file_voltha_protos_tech_profile_proto_enumTypes[3].Descriptor()
226}
227
228func (DiscardPolicy) Type() protoreflect.EnumType {
229 return &file_voltha_protos_tech_profile_proto_enumTypes[3]
230}
231
232func (x DiscardPolicy) Number() protoreflect.EnumNumber {
233 return protoreflect.EnumNumber(x)
234}
235
236// Deprecated: Use DiscardPolicy.Descriptor instead.
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400237func (DiscardPolicy) EnumDescriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000238 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{3}
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400239}
240
241type InferredAdditionBWIndication int32
242
243const (
244 InferredAdditionBWIndication_InferredAdditionBWIndication_None InferredAdditionBWIndication = 0
245 InferredAdditionBWIndication_InferredAdditionBWIndication_Assured InferredAdditionBWIndication = 1
246 InferredAdditionBWIndication_InferredAdditionBWIndication_BestEffort InferredAdditionBWIndication = 2
247)
248
Abhay Kumar03713392025-12-30 05:20:58 +0000249// Enum value maps for InferredAdditionBWIndication.
250var (
251 InferredAdditionBWIndication_name = map[int32]string{
252 0: "InferredAdditionBWIndication_None",
253 1: "InferredAdditionBWIndication_Assured",
254 2: "InferredAdditionBWIndication_BestEffort",
255 }
256 InferredAdditionBWIndication_value = map[string]int32{
257 "InferredAdditionBWIndication_None": 0,
258 "InferredAdditionBWIndication_Assured": 1,
259 "InferredAdditionBWIndication_BestEffort": 2,
260 }
261)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400262
Abhay Kumar03713392025-12-30 05:20:58 +0000263func (x InferredAdditionBWIndication) Enum() *InferredAdditionBWIndication {
264 p := new(InferredAdditionBWIndication)
265 *p = x
266 return p
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400267}
268
269func (x InferredAdditionBWIndication) String() string {
Abhay Kumar03713392025-12-30 05:20:58 +0000270 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400271}
272
Abhay Kumar03713392025-12-30 05:20:58 +0000273func (InferredAdditionBWIndication) Descriptor() protoreflect.EnumDescriptor {
274 return file_voltha_protos_tech_profile_proto_enumTypes[4].Descriptor()
275}
276
277func (InferredAdditionBWIndication) Type() protoreflect.EnumType {
278 return &file_voltha_protos_tech_profile_proto_enumTypes[4]
279}
280
281func (x InferredAdditionBWIndication) Number() protoreflect.EnumNumber {
282 return protoreflect.EnumNumber(x)
283}
284
285// Deprecated: Use InferredAdditionBWIndication.Descriptor instead.
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400286func (InferredAdditionBWIndication) EnumDescriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000287 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{4}
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400288}
289
290type SchedulerConfig struct {
Abhay Kumar03713392025-12-30 05:20:58 +0000291 state protoimpl.MessageState `protogen:"open.v1"`
292 Direction Direction `protobuf:"varint,1,opt,name=direction,proto3,enum=tech_profile.Direction" json:"direction,omitempty"`
293 AdditionalBw AdditionalBW `protobuf:"varint,2,opt,name=additional_bw,json=additionalBw,proto3,enum=tech_profile.AdditionalBW" json:"additional_bw,omitempty"` // Valid on for “direction == Upstream”.
294 Priority uint32 `protobuf:"fixed32,3,opt,name=priority,proto3" json:"priority,omitempty"`
295 Weight uint32 `protobuf:"fixed32,4,opt,name=weight,proto3" json:"weight,omitempty"`
296 SchedPolicy SchedulingPolicy `protobuf:"varint,5,opt,name=sched_policy,json=schedPolicy,proto3,enum=tech_profile.SchedulingPolicy" json:"sched_policy,omitempty"`
297 unknownFields protoimpl.UnknownFields
298 sizeCache protoimpl.SizeCache
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400299}
300
Abhay Kumar03713392025-12-30 05:20:58 +0000301func (x *SchedulerConfig) Reset() {
302 *x = SchedulerConfig{}
303 mi := &file_voltha_protos_tech_profile_proto_msgTypes[0]
304 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
305 ms.StoreMessageInfo(mi)
306}
307
308func (x *SchedulerConfig) String() string {
309 return protoimpl.X.MessageStringOf(x)
310}
311
312func (*SchedulerConfig) ProtoMessage() {}
313
314func (x *SchedulerConfig) ProtoReflect() protoreflect.Message {
315 mi := &file_voltha_protos_tech_profile_proto_msgTypes[0]
316 if x != nil {
317 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
318 if ms.LoadMessageInfo() == nil {
319 ms.StoreMessageInfo(mi)
320 }
321 return ms
322 }
323 return mi.MessageOf(x)
324}
325
326// Deprecated: Use SchedulerConfig.ProtoReflect.Descriptor instead.
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400327func (*SchedulerConfig) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000328 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{0}
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400329}
330
Abhay Kumar03713392025-12-30 05:20:58 +0000331func (x *SchedulerConfig) GetDirection() Direction {
332 if x != nil {
333 return x.Direction
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400334 }
335 return Direction_UPSTREAM
336}
337
Abhay Kumar03713392025-12-30 05:20:58 +0000338func (x *SchedulerConfig) GetAdditionalBw() AdditionalBW {
339 if x != nil {
340 return x.AdditionalBw
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400341 }
342 return AdditionalBW_AdditionalBW_None
343}
344
Abhay Kumar03713392025-12-30 05:20:58 +0000345func (x *SchedulerConfig) GetPriority() uint32 {
346 if x != nil {
347 return x.Priority
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400348 }
349 return 0
350}
351
Abhay Kumar03713392025-12-30 05:20:58 +0000352func (x *SchedulerConfig) GetWeight() uint32 {
353 if x != nil {
354 return x.Weight
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400355 }
356 return 0
357}
358
Abhay Kumar03713392025-12-30 05:20:58 +0000359func (x *SchedulerConfig) GetSchedPolicy() SchedulingPolicy {
360 if x != nil {
361 return x.SchedPolicy
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400362 }
363 return SchedulingPolicy_WRR
364}
365
366type TrafficShapingInfo struct {
Abhay Kumar03713392025-12-30 05:20:58 +0000367 state protoimpl.MessageState `protogen:"open.v1"`
368 Cir uint32 `protobuf:"fixed32,1,opt,name=cir,proto3" json:"cir,omitempty"`
369 Cbs uint32 `protobuf:"fixed32,2,opt,name=cbs,proto3" json:"cbs,omitempty"`
370 Pir uint32 `protobuf:"fixed32,3,opt,name=pir,proto3" json:"pir,omitempty"`
371 Pbs uint32 `protobuf:"fixed32,4,opt,name=pbs,proto3" json:"pbs,omitempty"`
372 Gir uint32 `protobuf:"fixed32,5,opt,name=gir,proto3" json:"gir,omitempty"` // only if “direction == Upstream ”
373 AddBwInd InferredAdditionBWIndication `protobuf:"varint,6,opt,name=add_bw_ind,json=addBwInd,proto3,enum=tech_profile.InferredAdditionBWIndication" json:"add_bw_ind,omitempty"` // only if “direction == Upstream”
374 unknownFields protoimpl.UnknownFields
375 sizeCache protoimpl.SizeCache
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400376}
377
Abhay Kumar03713392025-12-30 05:20:58 +0000378func (x *TrafficShapingInfo) Reset() {
379 *x = TrafficShapingInfo{}
380 mi := &file_voltha_protos_tech_profile_proto_msgTypes[1]
381 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
382 ms.StoreMessageInfo(mi)
383}
384
385func (x *TrafficShapingInfo) String() string {
386 return protoimpl.X.MessageStringOf(x)
387}
388
389func (*TrafficShapingInfo) ProtoMessage() {}
390
391func (x *TrafficShapingInfo) ProtoReflect() protoreflect.Message {
392 mi := &file_voltha_protos_tech_profile_proto_msgTypes[1]
393 if x != nil {
394 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
395 if ms.LoadMessageInfo() == nil {
396 ms.StoreMessageInfo(mi)
397 }
398 return ms
399 }
400 return mi.MessageOf(x)
401}
402
403// Deprecated: Use TrafficShapingInfo.ProtoReflect.Descriptor instead.
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400404func (*TrafficShapingInfo) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000405 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{1}
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400406}
407
Abhay Kumar03713392025-12-30 05:20:58 +0000408func (x *TrafficShapingInfo) GetCir() uint32 {
409 if x != nil {
410 return x.Cir
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400411 }
412 return 0
413}
414
Abhay Kumar03713392025-12-30 05:20:58 +0000415func (x *TrafficShapingInfo) GetCbs() uint32 {
416 if x != nil {
417 return x.Cbs
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400418 }
419 return 0
420}
421
Abhay Kumar03713392025-12-30 05:20:58 +0000422func (x *TrafficShapingInfo) GetPir() uint32 {
423 if x != nil {
424 return x.Pir
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400425 }
426 return 0
427}
428
Abhay Kumar03713392025-12-30 05:20:58 +0000429func (x *TrafficShapingInfo) GetPbs() uint32 {
430 if x != nil {
431 return x.Pbs
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400432 }
433 return 0
434}
435
Abhay Kumar03713392025-12-30 05:20:58 +0000436func (x *TrafficShapingInfo) GetGir() uint32 {
437 if x != nil {
438 return x.Gir
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400439 }
440 return 0
441}
442
Abhay Kumar03713392025-12-30 05:20:58 +0000443func (x *TrafficShapingInfo) GetAddBwInd() InferredAdditionBWIndication {
444 if x != nil {
445 return x.AddBwInd
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400446 }
447 return InferredAdditionBWIndication_InferredAdditionBWIndication_None
448}
449
450type TrafficScheduler struct {
Abhay Kumar03713392025-12-30 05:20:58 +0000451 state protoimpl.MessageState `protogen:"open.v1"`
452 Direction Direction `protobuf:"varint,1,opt,name=direction,proto3,enum=tech_profile.Direction" json:"direction,omitempty"`
453 AllocId uint32 `protobuf:"fixed32,2,opt,name=alloc_id,json=allocId,proto3" json:"alloc_id,omitempty"` // valid only if “direction == Upstream ”
454 Scheduler *SchedulerConfig `protobuf:"bytes,3,opt,name=scheduler,proto3" json:"scheduler,omitempty"`
455 TrafficShapingInfo *TrafficShapingInfo `protobuf:"bytes,4,opt,name=traffic_shaping_info,json=trafficShapingInfo,proto3" json:"traffic_shaping_info,omitempty"`
456 TechProfileId uint32 `protobuf:"fixed32,5,opt,name=tech_profile_id,json=techProfileId,proto3" json:"tech_profile_id,omitempty"`
457 unknownFields protoimpl.UnknownFields
458 sizeCache protoimpl.SizeCache
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400459}
460
Abhay Kumar03713392025-12-30 05:20:58 +0000461func (x *TrafficScheduler) Reset() {
462 *x = TrafficScheduler{}
463 mi := &file_voltha_protos_tech_profile_proto_msgTypes[2]
464 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
465 ms.StoreMessageInfo(mi)
466}
467
468func (x *TrafficScheduler) String() string {
469 return protoimpl.X.MessageStringOf(x)
470}
471
472func (*TrafficScheduler) ProtoMessage() {}
473
474func (x *TrafficScheduler) ProtoReflect() protoreflect.Message {
475 mi := &file_voltha_protos_tech_profile_proto_msgTypes[2]
476 if x != nil {
477 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
478 if ms.LoadMessageInfo() == nil {
479 ms.StoreMessageInfo(mi)
480 }
481 return ms
482 }
483 return mi.MessageOf(x)
484}
485
486// Deprecated: Use TrafficScheduler.ProtoReflect.Descriptor instead.
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400487func (*TrafficScheduler) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000488 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{2}
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400489}
490
Abhay Kumar03713392025-12-30 05:20:58 +0000491func (x *TrafficScheduler) GetDirection() Direction {
492 if x != nil {
493 return x.Direction
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400494 }
495 return Direction_UPSTREAM
496}
497
Abhay Kumar03713392025-12-30 05:20:58 +0000498func (x *TrafficScheduler) GetAllocId() uint32 {
499 if x != nil {
500 return x.AllocId
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400501 }
502 return 0
503}
504
Abhay Kumar03713392025-12-30 05:20:58 +0000505func (x *TrafficScheduler) GetScheduler() *SchedulerConfig {
506 if x != nil {
507 return x.Scheduler
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400508 }
509 return nil
510}
511
Abhay Kumar03713392025-12-30 05:20:58 +0000512func (x *TrafficScheduler) GetTrafficShapingInfo() *TrafficShapingInfo {
513 if x != nil {
514 return x.TrafficShapingInfo
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400515 }
516 return nil
517}
518
Abhay Kumar03713392025-12-30 05:20:58 +0000519func (x *TrafficScheduler) GetTechProfileId() uint32 {
520 if x != nil {
521 return x.TechProfileId
Burak Gurdagce064352020-04-20 20:11:18 +0000522 }
523 return 0
524}
525
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400526type TrafficSchedulers struct {
Abhay Kumar03713392025-12-30 05:20:58 +0000527 state protoimpl.MessageState `protogen:"open.v1"`
528 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
529 OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"`
530 UniId uint32 `protobuf:"fixed32,4,opt,name=uni_id,json=uniId,proto3" json:"uni_id,omitempty"`
531 PortNo uint32 `protobuf:"fixed32,5,opt,name=port_no,json=portNo,proto3" json:"port_no,omitempty"`
532 TrafficScheds []*TrafficScheduler `protobuf:"bytes,3,rep,name=traffic_scheds,json=trafficScheds,proto3" json:"traffic_scheds,omitempty"`
533 unknownFields protoimpl.UnknownFields
534 sizeCache protoimpl.SizeCache
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400535}
536
Abhay Kumar03713392025-12-30 05:20:58 +0000537func (x *TrafficSchedulers) Reset() {
538 *x = TrafficSchedulers{}
539 mi := &file_voltha_protos_tech_profile_proto_msgTypes[3]
540 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
541 ms.StoreMessageInfo(mi)
542}
543
544func (x *TrafficSchedulers) String() string {
545 return protoimpl.X.MessageStringOf(x)
546}
547
548func (*TrafficSchedulers) ProtoMessage() {}
549
550func (x *TrafficSchedulers) ProtoReflect() protoreflect.Message {
551 mi := &file_voltha_protos_tech_profile_proto_msgTypes[3]
552 if x != nil {
553 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
554 if ms.LoadMessageInfo() == nil {
555 ms.StoreMessageInfo(mi)
556 }
557 return ms
558 }
559 return mi.MessageOf(x)
560}
561
562// Deprecated: Use TrafficSchedulers.ProtoReflect.Descriptor instead.
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400563func (*TrafficSchedulers) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000564 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{3}
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400565}
566
Abhay Kumar03713392025-12-30 05:20:58 +0000567func (x *TrafficSchedulers) GetIntfId() uint32 {
568 if x != nil {
569 return x.IntfId
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400570 }
571 return 0
572}
573
Abhay Kumar03713392025-12-30 05:20:58 +0000574func (x *TrafficSchedulers) GetOnuId() uint32 {
575 if x != nil {
576 return x.OnuId
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400577 }
578 return 0
579}
580
Abhay Kumar03713392025-12-30 05:20:58 +0000581func (x *TrafficSchedulers) GetUniId() uint32 {
582 if x != nil {
583 return x.UniId
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400584 }
585 return 0
586}
587
Abhay Kumar03713392025-12-30 05:20:58 +0000588func (x *TrafficSchedulers) GetPortNo() uint32 {
589 if x != nil {
590 return x.PortNo
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400591 }
592 return 0
593}
594
Abhay Kumar03713392025-12-30 05:20:58 +0000595func (x *TrafficSchedulers) GetTrafficScheds() []*TrafficScheduler {
596 if x != nil {
597 return x.TrafficScheds
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400598 }
599 return nil
600}
601
602type TailDropDiscardConfig struct {
Abhay Kumar03713392025-12-30 05:20:58 +0000603 state protoimpl.MessageState `protogen:"open.v1"`
604 QueueSize uint32 `protobuf:"fixed32,1,opt,name=queue_size,json=queueSize,proto3" json:"queue_size,omitempty"`
605 unknownFields protoimpl.UnknownFields
606 sizeCache protoimpl.SizeCache
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400607}
608
Abhay Kumar03713392025-12-30 05:20:58 +0000609func (x *TailDropDiscardConfig) Reset() {
610 *x = TailDropDiscardConfig{}
611 mi := &file_voltha_protos_tech_profile_proto_msgTypes[4]
612 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
613 ms.StoreMessageInfo(mi)
614}
615
616func (x *TailDropDiscardConfig) String() string {
617 return protoimpl.X.MessageStringOf(x)
618}
619
620func (*TailDropDiscardConfig) ProtoMessage() {}
621
622func (x *TailDropDiscardConfig) ProtoReflect() protoreflect.Message {
623 mi := &file_voltha_protos_tech_profile_proto_msgTypes[4]
624 if x != nil {
625 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
626 if ms.LoadMessageInfo() == nil {
627 ms.StoreMessageInfo(mi)
628 }
629 return ms
630 }
631 return mi.MessageOf(x)
632}
633
634// Deprecated: Use TailDropDiscardConfig.ProtoReflect.Descriptor instead.
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400635func (*TailDropDiscardConfig) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000636 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{4}
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400637}
638
Abhay Kumar03713392025-12-30 05:20:58 +0000639func (x *TailDropDiscardConfig) GetQueueSize() uint32 {
640 if x != nil {
641 return x.QueueSize
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400642 }
643 return 0
644}
645
646type RedDiscardConfig struct {
Abhay Kumar03713392025-12-30 05:20:58 +0000647 state protoimpl.MessageState `protogen:"open.v1"`
648 MinThreshold uint32 `protobuf:"fixed32,1,opt,name=min_threshold,json=minThreshold,proto3" json:"min_threshold,omitempty"`
649 MaxThreshold uint32 `protobuf:"fixed32,2,opt,name=max_threshold,json=maxThreshold,proto3" json:"max_threshold,omitempty"`
650 MaxProbability uint32 `protobuf:"fixed32,3,opt,name=max_probability,json=maxProbability,proto3" json:"max_probability,omitempty"`
651 unknownFields protoimpl.UnknownFields
652 sizeCache protoimpl.SizeCache
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400653}
654
Abhay Kumar03713392025-12-30 05:20:58 +0000655func (x *RedDiscardConfig) Reset() {
656 *x = RedDiscardConfig{}
657 mi := &file_voltha_protos_tech_profile_proto_msgTypes[5]
658 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
659 ms.StoreMessageInfo(mi)
660}
661
662func (x *RedDiscardConfig) String() string {
663 return protoimpl.X.MessageStringOf(x)
664}
665
666func (*RedDiscardConfig) ProtoMessage() {}
667
668func (x *RedDiscardConfig) ProtoReflect() protoreflect.Message {
669 mi := &file_voltha_protos_tech_profile_proto_msgTypes[5]
670 if x != nil {
671 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
672 if ms.LoadMessageInfo() == nil {
673 ms.StoreMessageInfo(mi)
674 }
675 return ms
676 }
677 return mi.MessageOf(x)
678}
679
680// Deprecated: Use RedDiscardConfig.ProtoReflect.Descriptor instead.
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400681func (*RedDiscardConfig) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000682 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{5}
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400683}
684
Abhay Kumar03713392025-12-30 05:20:58 +0000685func (x *RedDiscardConfig) GetMinThreshold() uint32 {
686 if x != nil {
687 return x.MinThreshold
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400688 }
689 return 0
690}
691
Abhay Kumar03713392025-12-30 05:20:58 +0000692func (x *RedDiscardConfig) GetMaxThreshold() uint32 {
693 if x != nil {
694 return x.MaxThreshold
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400695 }
696 return 0
697}
698
Abhay Kumar03713392025-12-30 05:20:58 +0000699func (x *RedDiscardConfig) GetMaxProbability() uint32 {
700 if x != nil {
701 return x.MaxProbability
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400702 }
703 return 0
704}
705
706type WRedDiscardConfig struct {
Abhay Kumar03713392025-12-30 05:20:58 +0000707 state protoimpl.MessageState `protogen:"open.v1"`
708 Green *RedDiscardConfig `protobuf:"bytes,1,opt,name=green,proto3" json:"green,omitempty"`
709 Yellow *RedDiscardConfig `protobuf:"bytes,2,opt,name=yellow,proto3" json:"yellow,omitempty"`
710 Red *RedDiscardConfig `protobuf:"bytes,3,opt,name=red,proto3" json:"red,omitempty"`
711 unknownFields protoimpl.UnknownFields
712 sizeCache protoimpl.SizeCache
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400713}
714
Abhay Kumar03713392025-12-30 05:20:58 +0000715func (x *WRedDiscardConfig) Reset() {
716 *x = WRedDiscardConfig{}
717 mi := &file_voltha_protos_tech_profile_proto_msgTypes[6]
718 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
719 ms.StoreMessageInfo(mi)
720}
721
722func (x *WRedDiscardConfig) String() string {
723 return protoimpl.X.MessageStringOf(x)
724}
725
726func (*WRedDiscardConfig) ProtoMessage() {}
727
728func (x *WRedDiscardConfig) ProtoReflect() protoreflect.Message {
729 mi := &file_voltha_protos_tech_profile_proto_msgTypes[6]
730 if x != nil {
731 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
732 if ms.LoadMessageInfo() == nil {
733 ms.StoreMessageInfo(mi)
734 }
735 return ms
736 }
737 return mi.MessageOf(x)
738}
739
740// Deprecated: Use WRedDiscardConfig.ProtoReflect.Descriptor instead.
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400741func (*WRedDiscardConfig) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000742 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{6}
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400743}
744
Abhay Kumar03713392025-12-30 05:20:58 +0000745func (x *WRedDiscardConfig) GetGreen() *RedDiscardConfig {
746 if x != nil {
747 return x.Green
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400748 }
749 return nil
750}
751
Abhay Kumar03713392025-12-30 05:20:58 +0000752func (x *WRedDiscardConfig) GetYellow() *RedDiscardConfig {
753 if x != nil {
754 return x.Yellow
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400755 }
756 return nil
757}
758
Abhay Kumar03713392025-12-30 05:20:58 +0000759func (x *WRedDiscardConfig) GetRed() *RedDiscardConfig {
760 if x != nil {
761 return x.Red
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400762 }
763 return nil
764}
765
766type DiscardConfig struct {
Abhay Kumar03713392025-12-30 05:20:58 +0000767 state protoimpl.MessageState `protogen:"open.v1"`
768 DiscardPolicy DiscardPolicy `protobuf:"varint,1,opt,name=discard_policy,json=discardPolicy,proto3,enum=tech_profile.DiscardPolicy" json:"discard_policy,omitempty"`
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400769 // Types that are valid to be assigned to DiscardConfig:
Abhay Kumar03713392025-12-30 05:20:58 +0000770 //
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400771 // *DiscardConfig_TailDropDiscardConfig
772 // *DiscardConfig_RedDiscardConfig
773 // *DiscardConfig_WredDiscardConfig
Abhay Kumar03713392025-12-30 05:20:58 +0000774 DiscardConfig isDiscardConfig_DiscardConfig `protobuf_oneof:"discard_config"`
775 unknownFields protoimpl.UnknownFields
776 sizeCache protoimpl.SizeCache
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400777}
778
Abhay Kumar03713392025-12-30 05:20:58 +0000779func (x *DiscardConfig) Reset() {
780 *x = DiscardConfig{}
781 mi := &file_voltha_protos_tech_profile_proto_msgTypes[7]
782 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
783 ms.StoreMessageInfo(mi)
784}
785
786func (x *DiscardConfig) String() string {
787 return protoimpl.X.MessageStringOf(x)
788}
789
790func (*DiscardConfig) ProtoMessage() {}
791
792func (x *DiscardConfig) ProtoReflect() protoreflect.Message {
793 mi := &file_voltha_protos_tech_profile_proto_msgTypes[7]
794 if x != nil {
795 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
796 if ms.LoadMessageInfo() == nil {
797 ms.StoreMessageInfo(mi)
798 }
799 return ms
800 }
801 return mi.MessageOf(x)
802}
803
804// Deprecated: Use DiscardConfig.ProtoReflect.Descriptor instead.
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400805func (*DiscardConfig) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000806 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{7}
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400807}
808
Abhay Kumar03713392025-12-30 05:20:58 +0000809func (x *DiscardConfig) GetDiscardPolicy() DiscardPolicy {
810 if x != nil {
811 return x.DiscardPolicy
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400812 }
813 return DiscardPolicy_TailDrop
814}
815
Abhay Kumar03713392025-12-30 05:20:58 +0000816func (x *DiscardConfig) GetDiscardConfig() isDiscardConfig_DiscardConfig {
817 if x != nil {
818 return x.DiscardConfig
819 }
820 return nil
821}
822
823func (x *DiscardConfig) GetTailDropDiscardConfig() *TailDropDiscardConfig {
824 if x != nil {
825 if x, ok := x.DiscardConfig.(*DiscardConfig_TailDropDiscardConfig); ok {
826 return x.TailDropDiscardConfig
827 }
828 }
829 return nil
830}
831
832func (x *DiscardConfig) GetRedDiscardConfig() *RedDiscardConfig {
833 if x != nil {
834 if x, ok := x.DiscardConfig.(*DiscardConfig_RedDiscardConfig); ok {
835 return x.RedDiscardConfig
836 }
837 }
838 return nil
839}
840
841func (x *DiscardConfig) GetWredDiscardConfig() *WRedDiscardConfig {
842 if x != nil {
843 if x, ok := x.DiscardConfig.(*DiscardConfig_WredDiscardConfig); ok {
844 return x.WredDiscardConfig
845 }
846 }
847 return nil
848}
849
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400850type isDiscardConfig_DiscardConfig interface {
851 isDiscardConfig_DiscardConfig()
852}
853
854type DiscardConfig_TailDropDiscardConfig struct {
855 TailDropDiscardConfig *TailDropDiscardConfig `protobuf:"bytes,2,opt,name=tail_drop_discard_config,json=tailDropDiscardConfig,proto3,oneof"`
856}
857
858type DiscardConfig_RedDiscardConfig struct {
859 RedDiscardConfig *RedDiscardConfig `protobuf:"bytes,3,opt,name=red_discard_config,json=redDiscardConfig,proto3,oneof"`
860}
861
862type DiscardConfig_WredDiscardConfig struct {
863 WredDiscardConfig *WRedDiscardConfig `protobuf:"bytes,4,opt,name=wred_discard_config,json=wredDiscardConfig,proto3,oneof"`
864}
865
866func (*DiscardConfig_TailDropDiscardConfig) isDiscardConfig_DiscardConfig() {}
867
868func (*DiscardConfig_RedDiscardConfig) isDiscardConfig_DiscardConfig() {}
869
870func (*DiscardConfig_WredDiscardConfig) isDiscardConfig_DiscardConfig() {}
871
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400872type TrafficQueue struct {
Abhay Kumar03713392025-12-30 05:20:58 +0000873 state protoimpl.MessageState `protogen:"open.v1"`
874 Direction Direction `protobuf:"varint,1,opt,name=direction,proto3,enum=tech_profile.Direction" json:"direction,omitempty"`
875 GemportId uint32 `protobuf:"fixed32,2,opt,name=gemport_id,json=gemportId,proto3" json:"gemport_id,omitempty"`
876 PbitMap string `protobuf:"bytes,3,opt,name=pbit_map,json=pbitMap,proto3" json:"pbit_map,omitempty"`
877 AesEncryption bool `protobuf:"varint,4,opt,name=aes_encryption,json=aesEncryption,proto3" json:"aes_encryption,omitempty"`
878 SchedPolicy SchedulingPolicy `protobuf:"varint,5,opt,name=sched_policy,json=schedPolicy,proto3,enum=tech_profile.SchedulingPolicy" json:"sched_policy,omitempty"` // This can be SP or WRR
879 Priority uint32 `protobuf:"fixed32,6,opt,name=priority,proto3" json:"priority,omitempty"`
880 Weight uint32 `protobuf:"fixed32,7,opt,name=weight,proto3" json:"weight,omitempty"`
881 DiscardPolicy DiscardPolicy `protobuf:"varint,8,opt,name=discard_policy,json=discardPolicy,proto3,enum=tech_profile.DiscardPolicy" json:"discard_policy,omitempty"`
882 DiscardConfig *DiscardConfig `protobuf:"bytes,9,opt,name=discard_config,json=discardConfig,proto3" json:"discard_config,omitempty"`
883 unknownFields protoimpl.UnknownFields
884 sizeCache protoimpl.SizeCache
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400885}
886
Abhay Kumar03713392025-12-30 05:20:58 +0000887func (x *TrafficQueue) Reset() {
888 *x = TrafficQueue{}
889 mi := &file_voltha_protos_tech_profile_proto_msgTypes[8]
890 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
891 ms.StoreMessageInfo(mi)
892}
893
894func (x *TrafficQueue) String() string {
895 return protoimpl.X.MessageStringOf(x)
896}
897
898func (*TrafficQueue) ProtoMessage() {}
899
900func (x *TrafficQueue) ProtoReflect() protoreflect.Message {
901 mi := &file_voltha_protos_tech_profile_proto_msgTypes[8]
902 if x != nil {
903 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
904 if ms.LoadMessageInfo() == nil {
905 ms.StoreMessageInfo(mi)
906 }
907 return ms
908 }
909 return mi.MessageOf(x)
910}
911
912// Deprecated: Use TrafficQueue.ProtoReflect.Descriptor instead.
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400913func (*TrafficQueue) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000914 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{8}
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400915}
916
Abhay Kumar03713392025-12-30 05:20:58 +0000917func (x *TrafficQueue) GetDirection() Direction {
918 if x != nil {
919 return x.Direction
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400920 }
921 return Direction_UPSTREAM
922}
923
Abhay Kumar03713392025-12-30 05:20:58 +0000924func (x *TrafficQueue) GetGemportId() uint32 {
925 if x != nil {
926 return x.GemportId
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400927 }
928 return 0
929}
930
Abhay Kumar03713392025-12-30 05:20:58 +0000931func (x *TrafficQueue) GetPbitMap() string {
932 if x != nil {
933 return x.PbitMap
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400934 }
935 return ""
936}
937
Abhay Kumar03713392025-12-30 05:20:58 +0000938func (x *TrafficQueue) GetAesEncryption() bool {
939 if x != nil {
940 return x.AesEncryption
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400941 }
942 return false
943}
944
Abhay Kumar03713392025-12-30 05:20:58 +0000945func (x *TrafficQueue) GetSchedPolicy() SchedulingPolicy {
946 if x != nil {
947 return x.SchedPolicy
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400948 }
949 return SchedulingPolicy_WRR
950}
951
Abhay Kumar03713392025-12-30 05:20:58 +0000952func (x *TrafficQueue) GetPriority() uint32 {
953 if x != nil {
954 return x.Priority
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400955 }
956 return 0
957}
958
Abhay Kumar03713392025-12-30 05:20:58 +0000959func (x *TrafficQueue) GetWeight() uint32 {
960 if x != nil {
961 return x.Weight
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400962 }
963 return 0
964}
965
Abhay Kumar03713392025-12-30 05:20:58 +0000966func (x *TrafficQueue) GetDiscardPolicy() DiscardPolicy {
967 if x != nil {
968 return x.DiscardPolicy
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400969 }
970 return DiscardPolicy_TailDrop
971}
972
Abhay Kumar03713392025-12-30 05:20:58 +0000973func (x *TrafficQueue) GetDiscardConfig() *DiscardConfig {
974 if x != nil {
975 return x.DiscardConfig
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400976 }
977 return nil
978}
979
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400980type TrafficQueues struct {
Abhay Kumar03713392025-12-30 05:20:58 +0000981 state protoimpl.MessageState `protogen:"open.v1"`
982 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
983 OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"`
984 UniId uint32 `protobuf:"fixed32,4,opt,name=uni_id,json=uniId,proto3" json:"uni_id,omitempty"`
985 PortNo uint32 `protobuf:"fixed32,5,opt,name=port_no,json=portNo,proto3" json:"port_no,omitempty"`
986 TrafficQueues []*TrafficQueue `protobuf:"bytes,6,rep,name=traffic_queues,json=trafficQueues,proto3" json:"traffic_queues,omitempty"`
987 TechProfileId uint32 `protobuf:"fixed32,7,opt,name=tech_profile_id,json=techProfileId,proto3" json:"tech_profile_id,omitempty"`
988 NetworkIntfId uint32 `protobuf:"fixed32,8,opt,name=network_intf_id,json=networkIntfId,proto3" json:"network_intf_id,omitempty"`
989 unknownFields protoimpl.UnknownFields
990 sizeCache protoimpl.SizeCache
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400991}
992
Abhay Kumar03713392025-12-30 05:20:58 +0000993func (x *TrafficQueues) Reset() {
994 *x = TrafficQueues{}
995 mi := &file_voltha_protos_tech_profile_proto_msgTypes[9]
996 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
997 ms.StoreMessageInfo(mi)
998}
999
1000func (x *TrafficQueues) String() string {
1001 return protoimpl.X.MessageStringOf(x)
1002}
1003
1004func (*TrafficQueues) ProtoMessage() {}
1005
1006func (x *TrafficQueues) ProtoReflect() protoreflect.Message {
1007 mi := &file_voltha_protos_tech_profile_proto_msgTypes[9]
1008 if x != nil {
1009 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1010 if ms.LoadMessageInfo() == nil {
1011 ms.StoreMessageInfo(mi)
1012 }
1013 return ms
1014 }
1015 return mi.MessageOf(x)
1016}
1017
1018// Deprecated: Use TrafficQueues.ProtoReflect.Descriptor instead.
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04001019func (*TrafficQueues) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +00001020 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{9}
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04001021}
1022
Abhay Kumar03713392025-12-30 05:20:58 +00001023func (x *TrafficQueues) GetIntfId() uint32 {
1024 if x != nil {
1025 return x.IntfId
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04001026 }
1027 return 0
1028}
1029
Abhay Kumar03713392025-12-30 05:20:58 +00001030func (x *TrafficQueues) GetOnuId() uint32 {
1031 if x != nil {
1032 return x.OnuId
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04001033 }
1034 return 0
1035}
1036
Abhay Kumar03713392025-12-30 05:20:58 +00001037func (x *TrafficQueues) GetUniId() uint32 {
1038 if x != nil {
1039 return x.UniId
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04001040 }
1041 return 0
1042}
1043
Abhay Kumar03713392025-12-30 05:20:58 +00001044func (x *TrafficQueues) GetPortNo() uint32 {
1045 if x != nil {
1046 return x.PortNo
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04001047 }
1048 return 0
1049}
1050
Abhay Kumar03713392025-12-30 05:20:58 +00001051func (x *TrafficQueues) GetTrafficQueues() []*TrafficQueue {
1052 if x != nil {
1053 return x.TrafficQueues
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04001054 }
1055 return nil
1056}
1057
Abhay Kumar03713392025-12-30 05:20:58 +00001058func (x *TrafficQueues) GetTechProfileId() uint32 {
1059 if x != nil {
1060 return x.TechProfileId
Burak Gurdagce064352020-04-20 20:11:18 +00001061 }
1062 return 0
1063}
1064
Abhay Kumar03713392025-12-30 05:20:58 +00001065func (x *TrafficQueues) GetNetworkIntfId() uint32 {
1066 if x != nil {
1067 return x.NetworkIntfId
Sridhar Ravindra8859b3e2025-05-28 13:02:27 +05301068 }
1069 return 0
1070}
1071
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001072type InstanceControl struct {
Abhay Kumar03713392025-12-30 05:20:58 +00001073 state protoimpl.MessageState `protogen:"open.v1"`
1074 Onu string `protobuf:"bytes,1,opt,name=onu,proto3" json:"onu,omitempty"`
1075 Uni string `protobuf:"bytes,2,opt,name=uni,proto3" json:"uni,omitempty"`
1076 MaxGemPayloadSize string `protobuf:"bytes,3,opt,name=max_gem_payload_size,json=maxGemPayloadSize,proto3" json:"max_gem_payload_size,omitempty"`
1077 unknownFields protoimpl.UnknownFields
1078 sizeCache protoimpl.SizeCache
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001079}
1080
Abhay Kumar03713392025-12-30 05:20:58 +00001081func (x *InstanceControl) Reset() {
1082 *x = InstanceControl{}
1083 mi := &file_voltha_protos_tech_profile_proto_msgTypes[10]
1084 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1085 ms.StoreMessageInfo(mi)
1086}
1087
1088func (x *InstanceControl) String() string {
1089 return protoimpl.X.MessageStringOf(x)
1090}
1091
1092func (*InstanceControl) ProtoMessage() {}
1093
1094func (x *InstanceControl) ProtoReflect() protoreflect.Message {
1095 mi := &file_voltha_protos_tech_profile_proto_msgTypes[10]
1096 if x != nil {
1097 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1098 if ms.LoadMessageInfo() == nil {
1099 ms.StoreMessageInfo(mi)
1100 }
1101 return ms
1102 }
1103 return mi.MessageOf(x)
1104}
1105
1106// Deprecated: Use InstanceControl.ProtoReflect.Descriptor instead.
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001107func (*InstanceControl) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +00001108 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{10}
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001109}
1110
Abhay Kumar03713392025-12-30 05:20:58 +00001111func (x *InstanceControl) GetOnu() string {
1112 if x != nil {
1113 return x.Onu
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001114 }
1115 return ""
1116}
1117
Abhay Kumar03713392025-12-30 05:20:58 +00001118func (x *InstanceControl) GetUni() string {
1119 if x != nil {
1120 return x.Uni
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001121 }
1122 return ""
1123}
1124
Abhay Kumar03713392025-12-30 05:20:58 +00001125func (x *InstanceControl) GetMaxGemPayloadSize() string {
1126 if x != nil {
1127 return x.MaxGemPayloadSize
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001128 }
1129 return ""
1130}
1131
1132type QThresholds struct {
Abhay Kumar03713392025-12-30 05:20:58 +00001133 state protoimpl.MessageState `protogen:"open.v1"`
1134 QThreshold1 uint32 `protobuf:"varint,1,opt,name=q_threshold1,json=qThreshold1,proto3" json:"q_threshold1,omitempty"`
1135 QThreshold2 uint32 `protobuf:"varint,2,opt,name=q_threshold2,json=qThreshold2,proto3" json:"q_threshold2,omitempty"`
1136 QThreshold3 uint32 `protobuf:"varint,3,opt,name=q_threshold3,json=qThreshold3,proto3" json:"q_threshold3,omitempty"`
1137 QThreshold4 uint32 `protobuf:"varint,4,opt,name=q_threshold4,json=qThreshold4,proto3" json:"q_threshold4,omitempty"`
1138 QThreshold5 uint32 `protobuf:"varint,5,opt,name=q_threshold5,json=qThreshold5,proto3" json:"q_threshold5,omitempty"`
1139 QThreshold6 uint32 `protobuf:"varint,6,opt,name=q_threshold6,json=qThreshold6,proto3" json:"q_threshold6,omitempty"`
1140 QThreshold7 uint32 `protobuf:"varint,7,opt,name=q_threshold7,json=qThreshold7,proto3" json:"q_threshold7,omitempty"`
1141 unknownFields protoimpl.UnknownFields
1142 sizeCache protoimpl.SizeCache
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001143}
1144
Abhay Kumar03713392025-12-30 05:20:58 +00001145func (x *QThresholds) Reset() {
1146 *x = QThresholds{}
1147 mi := &file_voltha_protos_tech_profile_proto_msgTypes[11]
1148 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1149 ms.StoreMessageInfo(mi)
1150}
1151
1152func (x *QThresholds) String() string {
1153 return protoimpl.X.MessageStringOf(x)
1154}
1155
1156func (*QThresholds) ProtoMessage() {}
1157
1158func (x *QThresholds) ProtoReflect() protoreflect.Message {
1159 mi := &file_voltha_protos_tech_profile_proto_msgTypes[11]
1160 if x != nil {
1161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1162 if ms.LoadMessageInfo() == nil {
1163 ms.StoreMessageInfo(mi)
1164 }
1165 return ms
1166 }
1167 return mi.MessageOf(x)
1168}
1169
1170// Deprecated: Use QThresholds.ProtoReflect.Descriptor instead.
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001171func (*QThresholds) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +00001172 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{11}
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001173}
1174
Abhay Kumar03713392025-12-30 05:20:58 +00001175func (x *QThresholds) GetQThreshold1() uint32 {
1176 if x != nil {
1177 return x.QThreshold1
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001178 }
1179 return 0
1180}
1181
Abhay Kumar03713392025-12-30 05:20:58 +00001182func (x *QThresholds) GetQThreshold2() uint32 {
1183 if x != nil {
1184 return x.QThreshold2
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001185 }
1186 return 0
1187}
1188
Abhay Kumar03713392025-12-30 05:20:58 +00001189func (x *QThresholds) GetQThreshold3() uint32 {
1190 if x != nil {
1191 return x.QThreshold3
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001192 }
1193 return 0
1194}
1195
Abhay Kumar03713392025-12-30 05:20:58 +00001196func (x *QThresholds) GetQThreshold4() uint32 {
1197 if x != nil {
1198 return x.QThreshold4
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001199 }
1200 return 0
1201}
1202
Abhay Kumar03713392025-12-30 05:20:58 +00001203func (x *QThresholds) GetQThreshold5() uint32 {
1204 if x != nil {
1205 return x.QThreshold5
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001206 }
1207 return 0
1208}
1209
Abhay Kumar03713392025-12-30 05:20:58 +00001210func (x *QThresholds) GetQThreshold6() uint32 {
1211 if x != nil {
1212 return x.QThreshold6
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001213 }
1214 return 0
1215}
1216
Abhay Kumar03713392025-12-30 05:20:58 +00001217func (x *QThresholds) GetQThreshold7() uint32 {
1218 if x != nil {
1219 return x.QThreshold7
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001220 }
1221 return 0
1222}
1223
1224type GemPortAttributes struct {
Abhay Kumar03713392025-12-30 05:20:58 +00001225 state protoimpl.MessageState `protogen:"open.v1"`
1226 GemportId uint32 `protobuf:"fixed32,1,opt,name=gemport_id,json=gemportId,proto3" json:"gemport_id,omitempty"` // valid only when referenced in the tech profile instance
1227 MaxQSize string `protobuf:"bytes,2,opt,name=max_q_size,json=maxQSize,proto3" json:"max_q_size,omitempty"`
1228 PbitMap string `protobuf:"bytes,3,opt,name=pbit_map,json=pbitMap,proto3" json:"pbit_map,omitempty"`
1229 AesEncryption string `protobuf:"bytes,4,opt,name=aes_encryption,json=aesEncryption,proto3" json:"aes_encryption,omitempty"`
1230 SchedulingPolicy SchedulingPolicy `protobuf:"varint,5,opt,name=scheduling_policy,json=schedulingPolicy,proto3,enum=tech_profile.SchedulingPolicy" json:"scheduling_policy,omitempty"` // This can be SP or WRR
1231 PriorityQ uint32 `protobuf:"fixed32,6,opt,name=priority_q,json=priorityQ,proto3" json:"priority_q,omitempty"`
1232 Weight uint32 `protobuf:"fixed32,7,opt,name=weight,proto3" json:"weight,omitempty"`
1233 DiscardPolicy DiscardPolicy `protobuf:"varint,8,opt,name=discard_policy,json=discardPolicy,proto3,enum=tech_profile.DiscardPolicy" json:"discard_policy,omitempty"`
1234 DiscardConfig *RedDiscardConfig `protobuf:"bytes,9,opt,name=discard_config,json=discardConfig,proto3" json:"discard_config,omitempty"` // used with version 1 of tech profile
1235 DiscardConfigV2 *DiscardConfig `protobuf:"bytes,14,opt,name=discard_config_v2,json=discardConfigV2,proto3" json:"discard_config_v2,omitempty"` // used with version 2 of tech profile
1236 IsMulticast string `protobuf:"bytes,10,opt,name=is_multicast,json=isMulticast,proto3" json:"is_multicast,omitempty"`
1237 MulticastGemId uint32 `protobuf:"fixed32,11,opt,name=multicast_gem_id,json=multicastGemId,proto3" json:"multicast_gem_id,omitempty"`
1238 DynamicAccessControlList string `protobuf:"bytes,12,opt,name=dynamic_access_control_list,json=dynamicAccessControlList,proto3" json:"dynamic_access_control_list,omitempty"`
1239 StaticAccessControlList string `protobuf:"bytes,13,opt,name=static_access_control_list,json=staticAccessControlList,proto3" json:"static_access_control_list,omitempty"`
1240 unknownFields protoimpl.UnknownFields
1241 sizeCache protoimpl.SizeCache
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001242}
1243
Abhay Kumar03713392025-12-30 05:20:58 +00001244func (x *GemPortAttributes) Reset() {
1245 *x = GemPortAttributes{}
1246 mi := &file_voltha_protos_tech_profile_proto_msgTypes[12]
1247 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1248 ms.StoreMessageInfo(mi)
1249}
1250
1251func (x *GemPortAttributes) String() string {
1252 return protoimpl.X.MessageStringOf(x)
1253}
1254
1255func (*GemPortAttributes) ProtoMessage() {}
1256
1257func (x *GemPortAttributes) ProtoReflect() protoreflect.Message {
1258 mi := &file_voltha_protos_tech_profile_proto_msgTypes[12]
1259 if x != nil {
1260 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1261 if ms.LoadMessageInfo() == nil {
1262 ms.StoreMessageInfo(mi)
1263 }
1264 return ms
1265 }
1266 return mi.MessageOf(x)
1267}
1268
1269// Deprecated: Use GemPortAttributes.ProtoReflect.Descriptor instead.
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001270func (*GemPortAttributes) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +00001271 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{12}
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001272}
1273
Abhay Kumar03713392025-12-30 05:20:58 +00001274func (x *GemPortAttributes) GetGemportId() uint32 {
1275 if x != nil {
1276 return x.GemportId
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001277 }
1278 return 0
1279}
1280
Abhay Kumar03713392025-12-30 05:20:58 +00001281func (x *GemPortAttributes) GetMaxQSize() string {
1282 if x != nil {
1283 return x.MaxQSize
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001284 }
1285 return ""
1286}
1287
Abhay Kumar03713392025-12-30 05:20:58 +00001288func (x *GemPortAttributes) GetPbitMap() string {
1289 if x != nil {
1290 return x.PbitMap
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001291 }
1292 return ""
1293}
1294
Abhay Kumar03713392025-12-30 05:20:58 +00001295func (x *GemPortAttributes) GetAesEncryption() string {
1296 if x != nil {
1297 return x.AesEncryption
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001298 }
1299 return ""
1300}
1301
Abhay Kumar03713392025-12-30 05:20:58 +00001302func (x *GemPortAttributes) GetSchedulingPolicy() SchedulingPolicy {
1303 if x != nil {
1304 return x.SchedulingPolicy
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001305 }
1306 return SchedulingPolicy_WRR
1307}
1308
Abhay Kumar03713392025-12-30 05:20:58 +00001309func (x *GemPortAttributes) GetPriorityQ() uint32 {
1310 if x != nil {
1311 return x.PriorityQ
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001312 }
1313 return 0
1314}
1315
Abhay Kumar03713392025-12-30 05:20:58 +00001316func (x *GemPortAttributes) GetWeight() uint32 {
1317 if x != nil {
1318 return x.Weight
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001319 }
1320 return 0
1321}
1322
Abhay Kumar03713392025-12-30 05:20:58 +00001323func (x *GemPortAttributes) GetDiscardPolicy() DiscardPolicy {
1324 if x != nil {
1325 return x.DiscardPolicy
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001326 }
1327 return DiscardPolicy_TailDrop
1328}
1329
Abhay Kumar03713392025-12-30 05:20:58 +00001330func (x *GemPortAttributes) GetDiscardConfig() *RedDiscardConfig {
1331 if x != nil {
1332 return x.DiscardConfig
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001333 }
1334 return nil
1335}
1336
Abhay Kumar03713392025-12-30 05:20:58 +00001337func (x *GemPortAttributes) GetDiscardConfigV2() *DiscardConfig {
1338 if x != nil {
1339 return x.DiscardConfigV2
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001340 }
1341 return nil
1342}
1343
Abhay Kumar03713392025-12-30 05:20:58 +00001344func (x *GemPortAttributes) GetIsMulticast() string {
1345 if x != nil {
1346 return x.IsMulticast
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001347 }
1348 return ""
1349}
1350
Abhay Kumar03713392025-12-30 05:20:58 +00001351func (x *GemPortAttributes) GetMulticastGemId() uint32 {
1352 if x != nil {
1353 return x.MulticastGemId
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001354 }
1355 return 0
1356}
1357
Abhay Kumar03713392025-12-30 05:20:58 +00001358func (x *GemPortAttributes) GetDynamicAccessControlList() string {
1359 if x != nil {
1360 return x.DynamicAccessControlList
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001361 }
1362 return ""
1363}
1364
Abhay Kumar03713392025-12-30 05:20:58 +00001365func (x *GemPortAttributes) GetStaticAccessControlList() string {
1366 if x != nil {
1367 return x.StaticAccessControlList
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001368 }
1369 return ""
1370}
1371
1372type SchedulerAttributes struct {
Abhay Kumar03713392025-12-30 05:20:58 +00001373 state protoimpl.MessageState `protogen:"open.v1"`
1374 Direction Direction `protobuf:"varint,1,opt,name=direction,proto3,enum=tech_profile.Direction" json:"direction,omitempty"`
1375 AllocId uint32 `protobuf:"varint,2,opt,name=alloc_id,json=allocId,proto3" json:"alloc_id,omitempty"` // Valid on for “direction == Upstream” and when referenced in the tech profile instance
1376 AdditionalBw AdditionalBW `protobuf:"varint,3,opt,name=additional_bw,json=additionalBw,proto3,enum=tech_profile.AdditionalBW" json:"additional_bw,omitempty"` // Valid on for “direction == Upstream”.
1377 Priority uint32 `protobuf:"fixed32,4,opt,name=priority,proto3" json:"priority,omitempty"`
1378 Weight uint32 `protobuf:"fixed32,5,opt,name=weight,proto3" json:"weight,omitempty"`
1379 QSchedPolicy SchedulingPolicy `protobuf:"varint,6,opt,name=q_sched_policy,json=qSchedPolicy,proto3,enum=tech_profile.SchedulingPolicy" json:"q_sched_policy,omitempty"`
1380 unknownFields protoimpl.UnknownFields
1381 sizeCache protoimpl.SizeCache
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001382}
1383
Abhay Kumar03713392025-12-30 05:20:58 +00001384func (x *SchedulerAttributes) Reset() {
1385 *x = SchedulerAttributes{}
1386 mi := &file_voltha_protos_tech_profile_proto_msgTypes[13]
1387 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1388 ms.StoreMessageInfo(mi)
1389}
1390
1391func (x *SchedulerAttributes) String() string {
1392 return protoimpl.X.MessageStringOf(x)
1393}
1394
1395func (*SchedulerAttributes) ProtoMessage() {}
1396
1397func (x *SchedulerAttributes) ProtoReflect() protoreflect.Message {
1398 mi := &file_voltha_protos_tech_profile_proto_msgTypes[13]
1399 if x != nil {
1400 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1401 if ms.LoadMessageInfo() == nil {
1402 ms.StoreMessageInfo(mi)
1403 }
1404 return ms
1405 }
1406 return mi.MessageOf(x)
1407}
1408
1409// Deprecated: Use SchedulerAttributes.ProtoReflect.Descriptor instead.
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001410func (*SchedulerAttributes) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +00001411 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{13}
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001412}
1413
Abhay Kumar03713392025-12-30 05:20:58 +00001414func (x *SchedulerAttributes) GetDirection() Direction {
1415 if x != nil {
1416 return x.Direction
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001417 }
1418 return Direction_UPSTREAM
1419}
1420
Abhay Kumar03713392025-12-30 05:20:58 +00001421func (x *SchedulerAttributes) GetAllocId() uint32 {
1422 if x != nil {
1423 return x.AllocId
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001424 }
1425 return 0
1426}
1427
Abhay Kumar03713392025-12-30 05:20:58 +00001428func (x *SchedulerAttributes) GetAdditionalBw() AdditionalBW {
1429 if x != nil {
1430 return x.AdditionalBw
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001431 }
1432 return AdditionalBW_AdditionalBW_None
1433}
1434
Abhay Kumar03713392025-12-30 05:20:58 +00001435func (x *SchedulerAttributes) GetPriority() uint32 {
1436 if x != nil {
1437 return x.Priority
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001438 }
1439 return 0
1440}
1441
Abhay Kumar03713392025-12-30 05:20:58 +00001442func (x *SchedulerAttributes) GetWeight() uint32 {
1443 if x != nil {
1444 return x.Weight
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001445 }
1446 return 0
1447}
1448
Abhay Kumar03713392025-12-30 05:20:58 +00001449func (x *SchedulerAttributes) GetQSchedPolicy() SchedulingPolicy {
1450 if x != nil {
1451 return x.QSchedPolicy
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001452 }
1453 return SchedulingPolicy_WRR
1454}
1455
1456type EPONQueueAttributes struct {
Abhay Kumar03713392025-12-30 05:20:58 +00001457 state protoimpl.MessageState `protogen:"open.v1"`
1458 MaxQSize string `protobuf:"bytes,1,opt,name=max_q_size,json=maxQSize,proto3" json:"max_q_size,omitempty"`
1459 PbitMap string `protobuf:"bytes,2,opt,name=pbit_map,json=pbitMap,proto3" json:"pbit_map,omitempty"`
1460 GemportId uint32 `protobuf:"varint,3,opt,name=gemport_id,json=gemportId,proto3" json:"gemport_id,omitempty"`
1461 AesEncryption string `protobuf:"bytes,4,opt,name=aes_encryption,json=aesEncryption,proto3" json:"aes_encryption,omitempty"`
1462 TrafficType string `protobuf:"bytes,5,opt,name=traffic_type,json=trafficType,proto3" json:"traffic_type,omitempty"`
1463 UnsolicitedGrantSize uint32 `protobuf:"varint,6,opt,name=unsolicited_grant_size,json=unsolicitedGrantSize,proto3" json:"unsolicited_grant_size,omitempty"`
1464 NominalInterval uint32 `protobuf:"varint,7,opt,name=nominal_interval,json=nominalInterval,proto3" json:"nominal_interval,omitempty"`
1465 ToleratedPollJitter uint32 `protobuf:"varint,8,opt,name=tolerated_poll_jitter,json=toleratedPollJitter,proto3" json:"tolerated_poll_jitter,omitempty"`
1466 RequestTransmissionPolicy uint32 `protobuf:"varint,9,opt,name=request_transmission_policy,json=requestTransmissionPolicy,proto3" json:"request_transmission_policy,omitempty"`
1467 NumQSets uint32 `protobuf:"varint,10,opt,name=num_q_sets,json=numQSets,proto3" json:"num_q_sets,omitempty"`
1468 QThresholds *QThresholds `protobuf:"bytes,11,opt,name=q_thresholds,json=qThresholds,proto3" json:"q_thresholds,omitempty"`
1469 SchedulingPolicy SchedulingPolicy `protobuf:"varint,12,opt,name=scheduling_policy,json=schedulingPolicy,proto3,enum=tech_profile.SchedulingPolicy" json:"scheduling_policy,omitempty"`
1470 PriorityQ uint32 `protobuf:"varint,13,opt,name=priority_q,json=priorityQ,proto3" json:"priority_q,omitempty"`
1471 Weight uint32 `protobuf:"varint,14,opt,name=weight,proto3" json:"weight,omitempty"`
1472 DiscardPolicy DiscardPolicy `protobuf:"varint,15,opt,name=discard_policy,json=discardPolicy,proto3,enum=tech_profile.DiscardPolicy" json:"discard_policy,omitempty"`
1473 DiscardConfig *RedDiscardConfig `protobuf:"bytes,16,opt,name=discard_config,json=discardConfig,proto3" json:"discard_config,omitempty"` // used with version 1 of tech profile
1474 DiscardConfigV2 *DiscardConfig `protobuf:"bytes,17,opt,name=discard_config_v2,json=discardConfigV2,proto3" json:"discard_config_v2,omitempty"` // used with version 2 of tech profile
1475 unknownFields protoimpl.UnknownFields
1476 sizeCache protoimpl.SizeCache
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001477}
1478
Abhay Kumar03713392025-12-30 05:20:58 +00001479func (x *EPONQueueAttributes) Reset() {
1480 *x = EPONQueueAttributes{}
1481 mi := &file_voltha_protos_tech_profile_proto_msgTypes[14]
1482 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1483 ms.StoreMessageInfo(mi)
1484}
1485
1486func (x *EPONQueueAttributes) String() string {
1487 return protoimpl.X.MessageStringOf(x)
1488}
1489
1490func (*EPONQueueAttributes) ProtoMessage() {}
1491
1492func (x *EPONQueueAttributes) ProtoReflect() protoreflect.Message {
1493 mi := &file_voltha_protos_tech_profile_proto_msgTypes[14]
1494 if x != nil {
1495 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1496 if ms.LoadMessageInfo() == nil {
1497 ms.StoreMessageInfo(mi)
1498 }
1499 return ms
1500 }
1501 return mi.MessageOf(x)
1502}
1503
1504// Deprecated: Use EPONQueueAttributes.ProtoReflect.Descriptor instead.
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001505func (*EPONQueueAttributes) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +00001506 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{14}
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001507}
1508
Abhay Kumar03713392025-12-30 05:20:58 +00001509func (x *EPONQueueAttributes) GetMaxQSize() string {
1510 if x != nil {
1511 return x.MaxQSize
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001512 }
1513 return ""
1514}
1515
Abhay Kumar03713392025-12-30 05:20:58 +00001516func (x *EPONQueueAttributes) GetPbitMap() string {
1517 if x != nil {
1518 return x.PbitMap
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001519 }
1520 return ""
1521}
1522
Abhay Kumar03713392025-12-30 05:20:58 +00001523func (x *EPONQueueAttributes) GetGemportId() uint32 {
1524 if x != nil {
1525 return x.GemportId
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001526 }
1527 return 0
1528}
1529
Abhay Kumar03713392025-12-30 05:20:58 +00001530func (x *EPONQueueAttributes) GetAesEncryption() string {
1531 if x != nil {
1532 return x.AesEncryption
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001533 }
1534 return ""
1535}
1536
Abhay Kumar03713392025-12-30 05:20:58 +00001537func (x *EPONQueueAttributes) GetTrafficType() string {
1538 if x != nil {
1539 return x.TrafficType
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001540 }
1541 return ""
1542}
1543
Abhay Kumar03713392025-12-30 05:20:58 +00001544func (x *EPONQueueAttributes) GetUnsolicitedGrantSize() uint32 {
1545 if x != nil {
1546 return x.UnsolicitedGrantSize
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001547 }
1548 return 0
1549}
1550
Abhay Kumar03713392025-12-30 05:20:58 +00001551func (x *EPONQueueAttributes) GetNominalInterval() uint32 {
1552 if x != nil {
1553 return x.NominalInterval
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001554 }
1555 return 0
1556}
1557
Abhay Kumar03713392025-12-30 05:20:58 +00001558func (x *EPONQueueAttributes) GetToleratedPollJitter() uint32 {
1559 if x != nil {
1560 return x.ToleratedPollJitter
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001561 }
1562 return 0
1563}
1564
Abhay Kumar03713392025-12-30 05:20:58 +00001565func (x *EPONQueueAttributes) GetRequestTransmissionPolicy() uint32 {
1566 if x != nil {
1567 return x.RequestTransmissionPolicy
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001568 }
1569 return 0
1570}
1571
Abhay Kumar03713392025-12-30 05:20:58 +00001572func (x *EPONQueueAttributes) GetNumQSets() uint32 {
1573 if x != nil {
1574 return x.NumQSets
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001575 }
1576 return 0
1577}
1578
Abhay Kumar03713392025-12-30 05:20:58 +00001579func (x *EPONQueueAttributes) GetQThresholds() *QThresholds {
1580 if x != nil {
1581 return x.QThresholds
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001582 }
1583 return nil
1584}
1585
Abhay Kumar03713392025-12-30 05:20:58 +00001586func (x *EPONQueueAttributes) GetSchedulingPolicy() SchedulingPolicy {
1587 if x != nil {
1588 return x.SchedulingPolicy
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001589 }
1590 return SchedulingPolicy_WRR
1591}
1592
Abhay Kumar03713392025-12-30 05:20:58 +00001593func (x *EPONQueueAttributes) GetPriorityQ() uint32 {
1594 if x != nil {
1595 return x.PriorityQ
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001596 }
1597 return 0
1598}
1599
Abhay Kumar03713392025-12-30 05:20:58 +00001600func (x *EPONQueueAttributes) GetWeight() uint32 {
1601 if x != nil {
1602 return x.Weight
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001603 }
1604 return 0
1605}
1606
Abhay Kumar03713392025-12-30 05:20:58 +00001607func (x *EPONQueueAttributes) GetDiscardPolicy() DiscardPolicy {
1608 if x != nil {
1609 return x.DiscardPolicy
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001610 }
1611 return DiscardPolicy_TailDrop
1612}
1613
Abhay Kumar03713392025-12-30 05:20:58 +00001614func (x *EPONQueueAttributes) GetDiscardConfig() *RedDiscardConfig {
1615 if x != nil {
1616 return x.DiscardConfig
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001617 }
1618 return nil
1619}
1620
Abhay Kumar03713392025-12-30 05:20:58 +00001621func (x *EPONQueueAttributes) GetDiscardConfigV2() *DiscardConfig {
1622 if x != nil {
1623 return x.DiscardConfigV2
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001624 }
1625 return nil
1626}
1627
1628// TechProfile definition (relevant for GPON, XGPON and XGS-PON technologies)
1629type TechProfile struct {
Abhay Kumar03713392025-12-30 05:20:58 +00001630 state protoimpl.MessageState `protogen:"open.v1"`
1631 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1632 Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
1633 ProfileType string `protobuf:"bytes,3,opt,name=profile_type,json=profileType,proto3" json:"profile_type,omitempty"`
1634 NumGemPorts uint32 `protobuf:"varint,4,opt,name=num_gem_ports,json=numGemPorts,proto3" json:"num_gem_ports,omitempty"`
1635 InstanceControl *InstanceControl `protobuf:"bytes,5,opt,name=instance_control,json=instanceControl,proto3" json:"instance_control,omitempty"`
1636 UsScheduler *SchedulerAttributes `protobuf:"bytes,6,opt,name=us_scheduler,json=usScheduler,proto3" json:"us_scheduler,omitempty"`
1637 DsScheduler *SchedulerAttributes `protobuf:"bytes,7,opt,name=ds_scheduler,json=dsScheduler,proto3" json:"ds_scheduler,omitempty"`
1638 UpstreamGemPortAttributeList []*GemPortAttributes `protobuf:"bytes,8,rep,name=upstream_gem_port_attribute_list,json=upstreamGemPortAttributeList,proto3" json:"upstream_gem_port_attribute_list,omitempty"`
1639 DownstreamGemPortAttributeList []*GemPortAttributes `protobuf:"bytes,9,rep,name=downstream_gem_port_attribute_list,json=downstreamGemPortAttributeList,proto3" json:"downstream_gem_port_attribute_list,omitempty"`
1640 unknownFields protoimpl.UnknownFields
1641 sizeCache protoimpl.SizeCache
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001642}
1643
Abhay Kumar03713392025-12-30 05:20:58 +00001644func (x *TechProfile) Reset() {
1645 *x = TechProfile{}
1646 mi := &file_voltha_protos_tech_profile_proto_msgTypes[15]
1647 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1648 ms.StoreMessageInfo(mi)
1649}
1650
1651func (x *TechProfile) String() string {
1652 return protoimpl.X.MessageStringOf(x)
1653}
1654
1655func (*TechProfile) ProtoMessage() {}
1656
1657func (x *TechProfile) ProtoReflect() protoreflect.Message {
1658 mi := &file_voltha_protos_tech_profile_proto_msgTypes[15]
1659 if x != nil {
1660 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1661 if ms.LoadMessageInfo() == nil {
1662 ms.StoreMessageInfo(mi)
1663 }
1664 return ms
1665 }
1666 return mi.MessageOf(x)
1667}
1668
1669// Deprecated: Use TechProfile.ProtoReflect.Descriptor instead.
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001670func (*TechProfile) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +00001671 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{15}
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001672}
1673
Abhay Kumar03713392025-12-30 05:20:58 +00001674func (x *TechProfile) GetName() string {
1675 if x != nil {
1676 return x.Name
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001677 }
1678 return ""
1679}
1680
Abhay Kumar03713392025-12-30 05:20:58 +00001681func (x *TechProfile) GetVersion() uint32 {
1682 if x != nil {
1683 return x.Version
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001684 }
1685 return 0
1686}
1687
Abhay Kumar03713392025-12-30 05:20:58 +00001688func (x *TechProfile) GetProfileType() string {
1689 if x != nil {
1690 return x.ProfileType
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001691 }
1692 return ""
1693}
1694
Abhay Kumar03713392025-12-30 05:20:58 +00001695func (x *TechProfile) GetNumGemPorts() uint32 {
1696 if x != nil {
1697 return x.NumGemPorts
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001698 }
1699 return 0
1700}
1701
Abhay Kumar03713392025-12-30 05:20:58 +00001702func (x *TechProfile) GetInstanceControl() *InstanceControl {
1703 if x != nil {
1704 return x.InstanceControl
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001705 }
1706 return nil
1707}
1708
Abhay Kumar03713392025-12-30 05:20:58 +00001709func (x *TechProfile) GetUsScheduler() *SchedulerAttributes {
1710 if x != nil {
1711 return x.UsScheduler
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001712 }
1713 return nil
1714}
1715
Abhay Kumar03713392025-12-30 05:20:58 +00001716func (x *TechProfile) GetDsScheduler() *SchedulerAttributes {
1717 if x != nil {
1718 return x.DsScheduler
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001719 }
1720 return nil
1721}
1722
Abhay Kumar03713392025-12-30 05:20:58 +00001723func (x *TechProfile) GetUpstreamGemPortAttributeList() []*GemPortAttributes {
1724 if x != nil {
1725 return x.UpstreamGemPortAttributeList
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001726 }
1727 return nil
1728}
1729
Abhay Kumar03713392025-12-30 05:20:58 +00001730func (x *TechProfile) GetDownstreamGemPortAttributeList() []*GemPortAttributes {
1731 if x != nil {
1732 return x.DownstreamGemPortAttributeList
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001733 }
1734 return nil
1735}
1736
1737// EPON TechProfile definition
1738type EponTechProfile struct {
Abhay Kumar03713392025-12-30 05:20:58 +00001739 state protoimpl.MessageState `protogen:"open.v1"`
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001740 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1741 Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
1742 ProfileType string `protobuf:"bytes,3,opt,name=profile_type,json=profileType,proto3" json:"profile_type,omitempty"`
1743 NumGemPorts uint32 `protobuf:"varint,4,opt,name=num_gem_ports,json=numGemPorts,proto3" json:"num_gem_ports,omitempty"`
1744 InstanceControl *InstanceControl `protobuf:"bytes,5,opt,name=instance_control,json=instanceControl,proto3" json:"instance_control,omitempty"`
1745 PackageType string `protobuf:"bytes,6,opt,name=package_type,json=packageType,proto3" json:"package_type,omitempty"`
1746 UpstreamQueueAttributeList []*EPONQueueAttributes `protobuf:"bytes,7,rep,name=upstream_queue_attribute_list,json=upstreamQueueAttributeList,proto3" json:"upstream_queue_attribute_list,omitempty"`
1747 DownstreamQueueAttributeList []*EPONQueueAttributes `protobuf:"bytes,8,rep,name=downstream_queue_attribute_list,json=downstreamQueueAttributeList,proto3" json:"downstream_queue_attribute_list,omitempty"`
Abhay Kumar03713392025-12-30 05:20:58 +00001748 unknownFields protoimpl.UnknownFields
1749 sizeCache protoimpl.SizeCache
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001750}
1751
Abhay Kumar03713392025-12-30 05:20:58 +00001752func (x *EponTechProfile) Reset() {
1753 *x = EponTechProfile{}
1754 mi := &file_voltha_protos_tech_profile_proto_msgTypes[16]
1755 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1756 ms.StoreMessageInfo(mi)
1757}
1758
1759func (x *EponTechProfile) String() string {
1760 return protoimpl.X.MessageStringOf(x)
1761}
1762
1763func (*EponTechProfile) ProtoMessage() {}
1764
1765func (x *EponTechProfile) ProtoReflect() protoreflect.Message {
1766 mi := &file_voltha_protos_tech_profile_proto_msgTypes[16]
1767 if x != nil {
1768 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1769 if ms.LoadMessageInfo() == nil {
1770 ms.StoreMessageInfo(mi)
1771 }
1772 return ms
1773 }
1774 return mi.MessageOf(x)
1775}
1776
1777// Deprecated: Use EponTechProfile.ProtoReflect.Descriptor instead.
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001778func (*EponTechProfile) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +00001779 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{16}
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001780}
1781
Abhay Kumar03713392025-12-30 05:20:58 +00001782func (x *EponTechProfile) GetName() string {
1783 if x != nil {
1784 return x.Name
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001785 }
1786 return ""
1787}
1788
Abhay Kumar03713392025-12-30 05:20:58 +00001789func (x *EponTechProfile) GetVersion() uint32 {
1790 if x != nil {
1791 return x.Version
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001792 }
1793 return 0
1794}
1795
Abhay Kumar03713392025-12-30 05:20:58 +00001796func (x *EponTechProfile) GetProfileType() string {
1797 if x != nil {
1798 return x.ProfileType
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001799 }
1800 return ""
1801}
1802
Abhay Kumar03713392025-12-30 05:20:58 +00001803func (x *EponTechProfile) GetNumGemPorts() uint32 {
1804 if x != nil {
1805 return x.NumGemPorts
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001806 }
1807 return 0
1808}
1809
Abhay Kumar03713392025-12-30 05:20:58 +00001810func (x *EponTechProfile) GetInstanceControl() *InstanceControl {
1811 if x != nil {
1812 return x.InstanceControl
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001813 }
1814 return nil
1815}
1816
Abhay Kumar03713392025-12-30 05:20:58 +00001817func (x *EponTechProfile) GetPackageType() string {
1818 if x != nil {
1819 return x.PackageType
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001820 }
1821 return ""
1822}
1823
Abhay Kumar03713392025-12-30 05:20:58 +00001824func (x *EponTechProfile) GetUpstreamQueueAttributeList() []*EPONQueueAttributes {
1825 if x != nil {
1826 return x.UpstreamQueueAttributeList
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001827 }
1828 return nil
1829}
1830
Abhay Kumar03713392025-12-30 05:20:58 +00001831func (x *EponTechProfile) GetDownstreamQueueAttributeList() []*EPONQueueAttributes {
1832 if x != nil {
1833 return x.DownstreamQueueAttributeList
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001834 }
1835 return nil
1836}
1837
1838// TechProfile Instance definition (relevant for GPON, XGPON and XGS-PON technologies)
1839type TechProfileInstance struct {
Abhay Kumar03713392025-12-30 05:20:58 +00001840 state protoimpl.MessageState `protogen:"open.v1"`
1841 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1842 Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
1843 SubscriberIdentifier string `protobuf:"bytes,3,opt,name=subscriber_identifier,json=subscriberIdentifier,proto3" json:"subscriber_identifier,omitempty"`
1844 ProfileType string `protobuf:"bytes,4,opt,name=profile_type,json=profileType,proto3" json:"profile_type,omitempty"`
1845 NumGemPorts uint32 `protobuf:"varint,5,opt,name=num_gem_ports,json=numGemPorts,proto3" json:"num_gem_ports,omitempty"`
1846 InstanceControl *InstanceControl `protobuf:"bytes,6,opt,name=instance_control,json=instanceControl,proto3" json:"instance_control,omitempty"`
1847 UsScheduler *SchedulerAttributes `protobuf:"bytes,7,opt,name=us_scheduler,json=usScheduler,proto3" json:"us_scheduler,omitempty"`
1848 DsScheduler *SchedulerAttributes `protobuf:"bytes,8,opt,name=ds_scheduler,json=dsScheduler,proto3" json:"ds_scheduler,omitempty"`
1849 UpstreamGemPortAttributeList []*GemPortAttributes `protobuf:"bytes,9,rep,name=upstream_gem_port_attribute_list,json=upstreamGemPortAttributeList,proto3" json:"upstream_gem_port_attribute_list,omitempty"`
1850 DownstreamGemPortAttributeList []*GemPortAttributes `protobuf:"bytes,10,rep,name=downstream_gem_port_attribute_list,json=downstreamGemPortAttributeList,proto3" json:"downstream_gem_port_attribute_list,omitempty"`
1851 unknownFields protoimpl.UnknownFields
1852 sizeCache protoimpl.SizeCache
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001853}
1854
Abhay Kumar03713392025-12-30 05:20:58 +00001855func (x *TechProfileInstance) Reset() {
1856 *x = TechProfileInstance{}
1857 mi := &file_voltha_protos_tech_profile_proto_msgTypes[17]
1858 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1859 ms.StoreMessageInfo(mi)
1860}
1861
1862func (x *TechProfileInstance) String() string {
1863 return protoimpl.X.MessageStringOf(x)
1864}
1865
1866func (*TechProfileInstance) ProtoMessage() {}
1867
1868func (x *TechProfileInstance) ProtoReflect() protoreflect.Message {
1869 mi := &file_voltha_protos_tech_profile_proto_msgTypes[17]
1870 if x != nil {
1871 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1872 if ms.LoadMessageInfo() == nil {
1873 ms.StoreMessageInfo(mi)
1874 }
1875 return ms
1876 }
1877 return mi.MessageOf(x)
1878}
1879
1880// Deprecated: Use TechProfileInstance.ProtoReflect.Descriptor instead.
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001881func (*TechProfileInstance) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +00001882 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{17}
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001883}
1884
Abhay Kumar03713392025-12-30 05:20:58 +00001885func (x *TechProfileInstance) GetName() string {
1886 if x != nil {
1887 return x.Name
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001888 }
1889 return ""
1890}
1891
Abhay Kumar03713392025-12-30 05:20:58 +00001892func (x *TechProfileInstance) GetVersion() uint32 {
1893 if x != nil {
1894 return x.Version
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001895 }
1896 return 0
1897}
1898
Abhay Kumar03713392025-12-30 05:20:58 +00001899func (x *TechProfileInstance) GetSubscriberIdentifier() string {
1900 if x != nil {
1901 return x.SubscriberIdentifier
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001902 }
1903 return ""
1904}
1905
Abhay Kumar03713392025-12-30 05:20:58 +00001906func (x *TechProfileInstance) GetProfileType() string {
1907 if x != nil {
1908 return x.ProfileType
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001909 }
1910 return ""
1911}
1912
Abhay Kumar03713392025-12-30 05:20:58 +00001913func (x *TechProfileInstance) GetNumGemPorts() uint32 {
1914 if x != nil {
1915 return x.NumGemPorts
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001916 }
1917 return 0
1918}
1919
Abhay Kumar03713392025-12-30 05:20:58 +00001920func (x *TechProfileInstance) GetInstanceControl() *InstanceControl {
1921 if x != nil {
1922 return x.InstanceControl
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001923 }
1924 return nil
1925}
1926
Abhay Kumar03713392025-12-30 05:20:58 +00001927func (x *TechProfileInstance) GetUsScheduler() *SchedulerAttributes {
1928 if x != nil {
1929 return x.UsScheduler
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001930 }
1931 return nil
1932}
1933
Abhay Kumar03713392025-12-30 05:20:58 +00001934func (x *TechProfileInstance) GetDsScheduler() *SchedulerAttributes {
1935 if x != nil {
1936 return x.DsScheduler
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001937 }
1938 return nil
1939}
1940
Abhay Kumar03713392025-12-30 05:20:58 +00001941func (x *TechProfileInstance) GetUpstreamGemPortAttributeList() []*GemPortAttributes {
1942 if x != nil {
1943 return x.UpstreamGemPortAttributeList
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001944 }
1945 return nil
1946}
1947
Abhay Kumar03713392025-12-30 05:20:58 +00001948func (x *TechProfileInstance) GetDownstreamGemPortAttributeList() []*GemPortAttributes {
1949 if x != nil {
1950 return x.DownstreamGemPortAttributeList
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001951 }
1952 return nil
1953}
1954
1955// EPON TechProfile Instance definition.
1956type EponTechProfileInstance struct {
Abhay Kumar03713392025-12-30 05:20:58 +00001957 state protoimpl.MessageState `protogen:"open.v1"`
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001958 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1959 Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
1960 SubscriberIdentifier string `protobuf:"bytes,3,opt,name=subscriber_identifier,json=subscriberIdentifier,proto3" json:"subscriber_identifier,omitempty"`
1961 ProfileType string `protobuf:"bytes,4,opt,name=profile_type,json=profileType,proto3" json:"profile_type,omitempty"`
1962 NumGemPorts uint32 `protobuf:"varint,5,opt,name=num_gem_ports,json=numGemPorts,proto3" json:"num_gem_ports,omitempty"`
1963 AllocId uint32 `protobuf:"varint,6,opt,name=alloc_id,json=allocId,proto3" json:"alloc_id,omitempty"`
1964 InstanceControl *InstanceControl `protobuf:"bytes,7,opt,name=instance_control,json=instanceControl,proto3" json:"instance_control,omitempty"`
1965 PackageType string `protobuf:"bytes,8,opt,name=package_type,json=packageType,proto3" json:"package_type,omitempty"`
1966 UpstreamQueueAttributeList []*EPONQueueAttributes `protobuf:"bytes,9,rep,name=upstream_queue_attribute_list,json=upstreamQueueAttributeList,proto3" json:"upstream_queue_attribute_list,omitempty"`
1967 DownstreamQueueAttributeList []*EPONQueueAttributes `protobuf:"bytes,10,rep,name=downstream_queue_attribute_list,json=downstreamQueueAttributeList,proto3" json:"downstream_queue_attribute_list,omitempty"`
Abhay Kumar03713392025-12-30 05:20:58 +00001968 unknownFields protoimpl.UnknownFields
1969 sizeCache protoimpl.SizeCache
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001970}
1971
Abhay Kumar03713392025-12-30 05:20:58 +00001972func (x *EponTechProfileInstance) Reset() {
1973 *x = EponTechProfileInstance{}
1974 mi := &file_voltha_protos_tech_profile_proto_msgTypes[18]
1975 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1976 ms.StoreMessageInfo(mi)
1977}
1978
1979func (x *EponTechProfileInstance) String() string {
1980 return protoimpl.X.MessageStringOf(x)
1981}
1982
1983func (*EponTechProfileInstance) ProtoMessage() {}
1984
1985func (x *EponTechProfileInstance) ProtoReflect() protoreflect.Message {
1986 mi := &file_voltha_protos_tech_profile_proto_msgTypes[18]
1987 if x != nil {
1988 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1989 if ms.LoadMessageInfo() == nil {
1990 ms.StoreMessageInfo(mi)
1991 }
1992 return ms
1993 }
1994 return mi.MessageOf(x)
1995}
1996
1997// Deprecated: Use EponTechProfileInstance.ProtoReflect.Descriptor instead.
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07001998func (*EponTechProfileInstance) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +00001999 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{18}
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07002000}
2001
Abhay Kumar03713392025-12-30 05:20:58 +00002002func (x *EponTechProfileInstance) GetName() string {
2003 if x != nil {
2004 return x.Name
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07002005 }
2006 return ""
2007}
2008
Abhay Kumar03713392025-12-30 05:20:58 +00002009func (x *EponTechProfileInstance) GetVersion() uint32 {
2010 if x != nil {
2011 return x.Version
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07002012 }
2013 return 0
2014}
2015
Abhay Kumar03713392025-12-30 05:20:58 +00002016func (x *EponTechProfileInstance) GetSubscriberIdentifier() string {
2017 if x != nil {
2018 return x.SubscriberIdentifier
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07002019 }
2020 return ""
2021}
2022
Abhay Kumar03713392025-12-30 05:20:58 +00002023func (x *EponTechProfileInstance) GetProfileType() string {
2024 if x != nil {
2025 return x.ProfileType
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07002026 }
2027 return ""
2028}
2029
Abhay Kumar03713392025-12-30 05:20:58 +00002030func (x *EponTechProfileInstance) GetNumGemPorts() uint32 {
2031 if x != nil {
2032 return x.NumGemPorts
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07002033 }
2034 return 0
2035}
2036
Abhay Kumar03713392025-12-30 05:20:58 +00002037func (x *EponTechProfileInstance) GetAllocId() uint32 {
2038 if x != nil {
2039 return x.AllocId
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07002040 }
2041 return 0
2042}
2043
Abhay Kumar03713392025-12-30 05:20:58 +00002044func (x *EponTechProfileInstance) GetInstanceControl() *InstanceControl {
2045 if x != nil {
2046 return x.InstanceControl
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07002047 }
2048 return nil
2049}
2050
Abhay Kumar03713392025-12-30 05:20:58 +00002051func (x *EponTechProfileInstance) GetPackageType() string {
2052 if x != nil {
2053 return x.PackageType
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07002054 }
2055 return ""
2056}
2057
Abhay Kumar03713392025-12-30 05:20:58 +00002058func (x *EponTechProfileInstance) GetUpstreamQueueAttributeList() []*EPONQueueAttributes {
2059 if x != nil {
2060 return x.UpstreamQueueAttributeList
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07002061 }
2062 return nil
2063}
2064
Abhay Kumar03713392025-12-30 05:20:58 +00002065func (x *EponTechProfileInstance) GetDownstreamQueueAttributeList() []*EPONQueueAttributes {
2066 if x != nil {
2067 return x.DownstreamQueueAttributeList
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07002068 }
2069 return nil
2070}
2071
2072// Resource Instance definition
2073type ResourceInstance struct {
Abhay Kumar03713392025-12-30 05:20:58 +00002074 state protoimpl.MessageState `protogen:"open.v1"`
2075 TpId uint32 `protobuf:"varint,1,opt,name=tp_id,json=tpId,proto3" json:"tp_id,omitempty"`
2076 ProfileType string `protobuf:"bytes,2,opt,name=profile_type,json=profileType,proto3" json:"profile_type,omitempty"`
2077 SubscriberIdentifier string `protobuf:"bytes,3,opt,name=subscriber_identifier,json=subscriberIdentifier,proto3" json:"subscriber_identifier,omitempty"`
2078 AllocId uint32 `protobuf:"varint,4,opt,name=alloc_id,json=allocId,proto3" json:"alloc_id,omitempty"`
2079 GemportIds []uint32 `protobuf:"varint,5,rep,packed,name=gemport_ids,json=gemportIds,proto3" json:"gemport_ids,omitempty"`
2080 unknownFields protoimpl.UnknownFields
2081 sizeCache protoimpl.SizeCache
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07002082}
2083
Abhay Kumar03713392025-12-30 05:20:58 +00002084func (x *ResourceInstance) Reset() {
2085 *x = ResourceInstance{}
2086 mi := &file_voltha_protos_tech_profile_proto_msgTypes[19]
2087 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2088 ms.StoreMessageInfo(mi)
2089}
2090
2091func (x *ResourceInstance) String() string {
2092 return protoimpl.X.MessageStringOf(x)
2093}
2094
2095func (*ResourceInstance) ProtoMessage() {}
2096
2097func (x *ResourceInstance) ProtoReflect() protoreflect.Message {
2098 mi := &file_voltha_protos_tech_profile_proto_msgTypes[19]
2099 if x != nil {
2100 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2101 if ms.LoadMessageInfo() == nil {
2102 ms.StoreMessageInfo(mi)
2103 }
2104 return ms
2105 }
2106 return mi.MessageOf(x)
2107}
2108
2109// Deprecated: Use ResourceInstance.ProtoReflect.Descriptor instead.
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07002110func (*ResourceInstance) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +00002111 return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{19}
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07002112}
2113
Abhay Kumar03713392025-12-30 05:20:58 +00002114func (x *ResourceInstance) GetTpId() uint32 {
2115 if x != nil {
2116 return x.TpId
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07002117 }
2118 return 0
2119}
2120
Abhay Kumar03713392025-12-30 05:20:58 +00002121func (x *ResourceInstance) GetProfileType() string {
2122 if x != nil {
2123 return x.ProfileType
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07002124 }
2125 return ""
2126}
2127
Abhay Kumar03713392025-12-30 05:20:58 +00002128func (x *ResourceInstance) GetSubscriberIdentifier() string {
2129 if x != nil {
2130 return x.SubscriberIdentifier
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07002131 }
2132 return ""
2133}
2134
Abhay Kumar03713392025-12-30 05:20:58 +00002135func (x *ResourceInstance) GetAllocId() uint32 {
2136 if x != nil {
2137 return x.AllocId
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07002138 }
2139 return 0
2140}
2141
Abhay Kumar03713392025-12-30 05:20:58 +00002142func (x *ResourceInstance) GetGemportIds() []uint32 {
2143 if x != nil {
2144 return x.GemportIds
Girish Gowdra9c3e1c82021-06-01 14:29:34 -07002145 }
2146 return nil
2147}
2148
Abhay Kumar03713392025-12-30 05:20:58 +00002149var File_voltha_protos_tech_profile_proto protoreflect.FileDescriptor
2150
2151const file_voltha_protos_tech_profile_proto_rawDesc = "" +
2152 "\n" +
2153 " voltha_protos/tech_profile.proto\x12\ftech_profile\x1a\x1cgoogle/api/annotations.proto\"\x80\x02\n" +
2154 "\x0fSchedulerConfig\x125\n" +
2155 "\tdirection\x18\x01 \x01(\x0e2\x17.tech_profile.DirectionR\tdirection\x12?\n" +
2156 "\radditional_bw\x18\x02 \x01(\x0e2\x1a.tech_profile.AdditionalBWR\fadditionalBw\x12\x1a\n" +
2157 "\bpriority\x18\x03 \x01(\aR\bpriority\x12\x16\n" +
2158 "\x06weight\x18\x04 \x01(\aR\x06weight\x12A\n" +
2159 "\fsched_policy\x18\x05 \x01(\x0e2\x1e.tech_profile.SchedulingPolicyR\vschedPolicy\"\xb8\x01\n" +
2160 "\x12TrafficShapingInfo\x12\x10\n" +
2161 "\x03cir\x18\x01 \x01(\aR\x03cir\x12\x10\n" +
2162 "\x03cbs\x18\x02 \x01(\aR\x03cbs\x12\x10\n" +
2163 "\x03pir\x18\x03 \x01(\aR\x03pir\x12\x10\n" +
2164 "\x03pbs\x18\x04 \x01(\aR\x03pbs\x12\x10\n" +
2165 "\x03gir\x18\x05 \x01(\aR\x03gir\x12H\n" +
2166 "\n" +
2167 "add_bw_ind\x18\x06 \x01(\x0e2*.tech_profile.InferredAdditionBWIndicationR\baddBwInd\"\x9d\x02\n" +
2168 "\x10TrafficScheduler\x125\n" +
2169 "\tdirection\x18\x01 \x01(\x0e2\x17.tech_profile.DirectionR\tdirection\x12\x19\n" +
2170 "\balloc_id\x18\x02 \x01(\aR\aallocId\x12;\n" +
2171 "\tscheduler\x18\x03 \x01(\v2\x1d.tech_profile.SchedulerConfigR\tscheduler\x12R\n" +
2172 "\x14traffic_shaping_info\x18\x04 \x01(\v2 .tech_profile.TrafficShapingInfoR\x12trafficShapingInfo\x12&\n" +
2173 "\x0ftech_profile_id\x18\x05 \x01(\aR\rtechProfileId\"\xba\x01\n" +
2174 "\x11TrafficSchedulers\x12\x17\n" +
2175 "\aintf_id\x18\x01 \x01(\aR\x06intfId\x12\x15\n" +
2176 "\x06onu_id\x18\x02 \x01(\aR\x05onuId\x12\x15\n" +
2177 "\x06uni_id\x18\x04 \x01(\aR\x05uniId\x12\x17\n" +
2178 "\aport_no\x18\x05 \x01(\aR\x06portNo\x12E\n" +
2179 "\x0etraffic_scheds\x18\x03 \x03(\v2\x1e.tech_profile.TrafficSchedulerR\rtrafficScheds\"6\n" +
2180 "\x15TailDropDiscardConfig\x12\x1d\n" +
2181 "\n" +
2182 "queue_size\x18\x01 \x01(\aR\tqueueSize\"\x85\x01\n" +
2183 "\x10RedDiscardConfig\x12#\n" +
2184 "\rmin_threshold\x18\x01 \x01(\aR\fminThreshold\x12#\n" +
2185 "\rmax_threshold\x18\x02 \x01(\aR\fmaxThreshold\x12'\n" +
2186 "\x0fmax_probability\x18\x03 \x01(\aR\x0emaxProbability\"\xb3\x01\n" +
2187 "\x11WRedDiscardConfig\x124\n" +
2188 "\x05green\x18\x01 \x01(\v2\x1e.tech_profile.RedDiscardConfigR\x05green\x126\n" +
2189 "\x06yellow\x18\x02 \x01(\v2\x1e.tech_profile.RedDiscardConfigR\x06yellow\x120\n" +
2190 "\x03red\x18\x03 \x01(\v2\x1e.tech_profile.RedDiscardConfigR\x03red\"\xe8\x02\n" +
2191 "\rDiscardConfig\x12B\n" +
2192 "\x0ediscard_policy\x18\x01 \x01(\x0e2\x1b.tech_profile.DiscardPolicyR\rdiscardPolicy\x12^\n" +
2193 "\x18tail_drop_discard_config\x18\x02 \x01(\v2#.tech_profile.TailDropDiscardConfigH\x00R\x15tailDropDiscardConfig\x12N\n" +
2194 "\x12red_discard_config\x18\x03 \x01(\v2\x1e.tech_profile.RedDiscardConfigH\x00R\x10redDiscardConfig\x12Q\n" +
2195 "\x13wred_discard_config\x18\x04 \x01(\v2\x1f.tech_profile.WRedDiscardConfigH\x00R\x11wredDiscardConfigB\x10\n" +
2196 "\x0ediscard_config\"\xa5\x03\n" +
2197 "\fTrafficQueue\x125\n" +
2198 "\tdirection\x18\x01 \x01(\x0e2\x17.tech_profile.DirectionR\tdirection\x12\x1d\n" +
2199 "\n" +
2200 "gemport_id\x18\x02 \x01(\aR\tgemportId\x12\x19\n" +
2201 "\bpbit_map\x18\x03 \x01(\tR\apbitMap\x12%\n" +
2202 "\x0eaes_encryption\x18\x04 \x01(\bR\raesEncryption\x12A\n" +
2203 "\fsched_policy\x18\x05 \x01(\x0e2\x1e.tech_profile.SchedulingPolicyR\vschedPolicy\x12\x1a\n" +
2204 "\bpriority\x18\x06 \x01(\aR\bpriority\x12\x16\n" +
2205 "\x06weight\x18\a \x01(\aR\x06weight\x12B\n" +
2206 "\x0ediscard_policy\x18\b \x01(\x0e2\x1b.tech_profile.DiscardPolicyR\rdiscardPolicy\x12B\n" +
2207 "\x0ediscard_config\x18\t \x01(\v2\x1b.tech_profile.DiscardConfigR\rdiscardConfig\"\x82\x02\n" +
2208 "\rTrafficQueues\x12\x17\n" +
2209 "\aintf_id\x18\x01 \x01(\aR\x06intfId\x12\x15\n" +
2210 "\x06onu_id\x18\x02 \x01(\aR\x05onuId\x12\x15\n" +
2211 "\x06uni_id\x18\x04 \x01(\aR\x05uniId\x12\x17\n" +
2212 "\aport_no\x18\x05 \x01(\aR\x06portNo\x12A\n" +
2213 "\x0etraffic_queues\x18\x06 \x03(\v2\x1a.tech_profile.TrafficQueueR\rtrafficQueues\x12&\n" +
2214 "\x0ftech_profile_id\x18\a \x01(\aR\rtechProfileId\x12&\n" +
2215 "\x0fnetwork_intf_id\x18\b \x01(\aR\rnetworkIntfId\"f\n" +
2216 "\x0fInstanceControl\x12\x10\n" +
2217 "\x03onu\x18\x01 \x01(\tR\x03onu\x12\x10\n" +
2218 "\x03uni\x18\x02 \x01(\tR\x03uni\x12/\n" +
2219 "\x14max_gem_payload_size\x18\x03 \x01(\tR\x11maxGemPayloadSize\"\x82\x02\n" +
2220 "\vQThresholds\x12!\n" +
2221 "\fq_threshold1\x18\x01 \x01(\rR\vqThreshold1\x12!\n" +
2222 "\fq_threshold2\x18\x02 \x01(\rR\vqThreshold2\x12!\n" +
2223 "\fq_threshold3\x18\x03 \x01(\rR\vqThreshold3\x12!\n" +
2224 "\fq_threshold4\x18\x04 \x01(\rR\vqThreshold4\x12!\n" +
2225 "\fq_threshold5\x18\x05 \x01(\rR\vqThreshold5\x12!\n" +
2226 "\fq_threshold6\x18\x06 \x01(\rR\vqThreshold6\x12!\n" +
2227 "\fq_threshold7\x18\a \x01(\rR\vqThreshold7\"\xb3\x05\n" +
2228 "\x11GemPortAttributes\x12\x1d\n" +
2229 "\n" +
2230 "gemport_id\x18\x01 \x01(\aR\tgemportId\x12\x1c\n" +
2231 "\n" +
2232 "max_q_size\x18\x02 \x01(\tR\bmaxQSize\x12\x19\n" +
2233 "\bpbit_map\x18\x03 \x01(\tR\apbitMap\x12%\n" +
2234 "\x0eaes_encryption\x18\x04 \x01(\tR\raesEncryption\x12K\n" +
2235 "\x11scheduling_policy\x18\x05 \x01(\x0e2\x1e.tech_profile.SchedulingPolicyR\x10schedulingPolicy\x12\x1d\n" +
2236 "\n" +
2237 "priority_q\x18\x06 \x01(\aR\tpriorityQ\x12\x16\n" +
2238 "\x06weight\x18\a \x01(\aR\x06weight\x12B\n" +
2239 "\x0ediscard_policy\x18\b \x01(\x0e2\x1b.tech_profile.DiscardPolicyR\rdiscardPolicy\x12E\n" +
2240 "\x0ediscard_config\x18\t \x01(\v2\x1e.tech_profile.RedDiscardConfigR\rdiscardConfig\x12G\n" +
2241 "\x11discard_config_v2\x18\x0e \x01(\v2\x1b.tech_profile.DiscardConfigR\x0fdiscardConfigV2\x12!\n" +
2242 "\fis_multicast\x18\n" +
2243 " \x01(\tR\visMulticast\x12(\n" +
2244 "\x10multicast_gem_id\x18\v \x01(\aR\x0emulticastGemId\x12=\n" +
2245 "\x1bdynamic_access_control_list\x18\f \x01(\tR\x18dynamicAccessControlList\x12;\n" +
2246 "\x1astatic_access_control_list\x18\r \x01(\tR\x17staticAccessControlList\"\xa2\x02\n" +
2247 "\x13SchedulerAttributes\x125\n" +
2248 "\tdirection\x18\x01 \x01(\x0e2\x17.tech_profile.DirectionR\tdirection\x12\x19\n" +
2249 "\balloc_id\x18\x02 \x01(\rR\aallocId\x12?\n" +
2250 "\radditional_bw\x18\x03 \x01(\x0e2\x1a.tech_profile.AdditionalBWR\fadditionalBw\x12\x1a\n" +
2251 "\bpriority\x18\x04 \x01(\aR\bpriority\x12\x16\n" +
2252 "\x06weight\x18\x05 \x01(\aR\x06weight\x12D\n" +
2253 "\x0eq_sched_policy\x18\x06 \x01(\x0e2\x1e.tech_profile.SchedulingPolicyR\fqSchedPolicy\"\xc0\x06\n" +
2254 "\x13EPONQueueAttributes\x12\x1c\n" +
2255 "\n" +
2256 "max_q_size\x18\x01 \x01(\tR\bmaxQSize\x12\x19\n" +
2257 "\bpbit_map\x18\x02 \x01(\tR\apbitMap\x12\x1d\n" +
2258 "\n" +
2259 "gemport_id\x18\x03 \x01(\rR\tgemportId\x12%\n" +
2260 "\x0eaes_encryption\x18\x04 \x01(\tR\raesEncryption\x12!\n" +
2261 "\ftraffic_type\x18\x05 \x01(\tR\vtrafficType\x124\n" +
2262 "\x16unsolicited_grant_size\x18\x06 \x01(\rR\x14unsolicitedGrantSize\x12)\n" +
2263 "\x10nominal_interval\x18\a \x01(\rR\x0fnominalInterval\x122\n" +
2264 "\x15tolerated_poll_jitter\x18\b \x01(\rR\x13toleratedPollJitter\x12>\n" +
2265 "\x1brequest_transmission_policy\x18\t \x01(\rR\x19requestTransmissionPolicy\x12\x1c\n" +
2266 "\n" +
2267 "num_q_sets\x18\n" +
2268 " \x01(\rR\bnumQSets\x12<\n" +
2269 "\fq_thresholds\x18\v \x01(\v2\x19.tech_profile.QThresholdsR\vqThresholds\x12K\n" +
2270 "\x11scheduling_policy\x18\f \x01(\x0e2\x1e.tech_profile.SchedulingPolicyR\x10schedulingPolicy\x12\x1d\n" +
2271 "\n" +
2272 "priority_q\x18\r \x01(\rR\tpriorityQ\x12\x16\n" +
2273 "\x06weight\x18\x0e \x01(\rR\x06weight\x12B\n" +
2274 "\x0ediscard_policy\x18\x0f \x01(\x0e2\x1b.tech_profile.DiscardPolicyR\rdiscardPolicy\x12E\n" +
2275 "\x0ediscard_config\x18\x10 \x01(\v2\x1e.tech_profile.RedDiscardConfigR\rdiscardConfig\x12G\n" +
2276 "\x11discard_config_v2\x18\x11 \x01(\v2\x1b.tech_profile.DiscardConfigR\x0fdiscardConfigV2\"\xae\x04\n" +
2277 "\vTechProfile\x12\x12\n" +
2278 "\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" +
2279 "\aversion\x18\x02 \x01(\rR\aversion\x12!\n" +
2280 "\fprofile_type\x18\x03 \x01(\tR\vprofileType\x12\"\n" +
2281 "\rnum_gem_ports\x18\x04 \x01(\rR\vnumGemPorts\x12H\n" +
2282 "\x10instance_control\x18\x05 \x01(\v2\x1d.tech_profile.InstanceControlR\x0finstanceControl\x12D\n" +
2283 "\fus_scheduler\x18\x06 \x01(\v2!.tech_profile.SchedulerAttributesR\vusScheduler\x12D\n" +
2284 "\fds_scheduler\x18\a \x01(\v2!.tech_profile.SchedulerAttributesR\vdsScheduler\x12g\n" +
2285 " upstream_gem_port_attribute_list\x18\b \x03(\v2\x1f.tech_profile.GemPortAttributesR\x1cupstreamGemPortAttributeList\x12k\n" +
2286 "\"downstream_gem_port_attribute_list\x18\t \x03(\v2\x1f.tech_profile.GemPortAttributesR\x1edownstreamGemPortAttributeList\"\xc3\x03\n" +
2287 "\x0fEponTechProfile\x12\x12\n" +
2288 "\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" +
2289 "\aversion\x18\x02 \x01(\rR\aversion\x12!\n" +
2290 "\fprofile_type\x18\x03 \x01(\tR\vprofileType\x12\"\n" +
2291 "\rnum_gem_ports\x18\x04 \x01(\rR\vnumGemPorts\x12H\n" +
2292 "\x10instance_control\x18\x05 \x01(\v2\x1d.tech_profile.InstanceControlR\x0finstanceControl\x12!\n" +
2293 "\fpackage_type\x18\x06 \x01(\tR\vpackageType\x12d\n" +
2294 "\x1dupstream_queue_attribute_list\x18\a \x03(\v2!.tech_profile.EPONQueueAttributesR\x1aupstreamQueueAttributeList\x12h\n" +
2295 "\x1fdownstream_queue_attribute_list\x18\b \x03(\v2!.tech_profile.EPONQueueAttributesR\x1cdownstreamQueueAttributeList\"\xeb\x04\n" +
2296 "\x13TechProfileInstance\x12\x12\n" +
2297 "\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" +
2298 "\aversion\x18\x02 \x01(\rR\aversion\x123\n" +
2299 "\x15subscriber_identifier\x18\x03 \x01(\tR\x14subscriberIdentifier\x12!\n" +
2300 "\fprofile_type\x18\x04 \x01(\tR\vprofileType\x12\"\n" +
2301 "\rnum_gem_ports\x18\x05 \x01(\rR\vnumGemPorts\x12H\n" +
2302 "\x10instance_control\x18\x06 \x01(\v2\x1d.tech_profile.InstanceControlR\x0finstanceControl\x12D\n" +
2303 "\fus_scheduler\x18\a \x01(\v2!.tech_profile.SchedulerAttributesR\vusScheduler\x12D\n" +
2304 "\fds_scheduler\x18\b \x01(\v2!.tech_profile.SchedulerAttributesR\vdsScheduler\x12g\n" +
2305 " upstream_gem_port_attribute_list\x18\t \x03(\v2\x1f.tech_profile.GemPortAttributesR\x1cupstreamGemPortAttributeList\x12k\n" +
2306 "\"downstream_gem_port_attribute_list\x18\n" +
2307 " \x03(\v2\x1f.tech_profile.GemPortAttributesR\x1edownstreamGemPortAttributeList\"\x9b\x04\n" +
2308 "\x17EponTechProfileInstance\x12\x12\n" +
2309 "\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" +
2310 "\aversion\x18\x02 \x01(\rR\aversion\x123\n" +
2311 "\x15subscriber_identifier\x18\x03 \x01(\tR\x14subscriberIdentifier\x12!\n" +
2312 "\fprofile_type\x18\x04 \x01(\tR\vprofileType\x12\"\n" +
2313 "\rnum_gem_ports\x18\x05 \x01(\rR\vnumGemPorts\x12\x19\n" +
2314 "\balloc_id\x18\x06 \x01(\rR\aallocId\x12H\n" +
2315 "\x10instance_control\x18\a \x01(\v2\x1d.tech_profile.InstanceControlR\x0finstanceControl\x12!\n" +
2316 "\fpackage_type\x18\b \x01(\tR\vpackageType\x12d\n" +
2317 "\x1dupstream_queue_attribute_list\x18\t \x03(\v2!.tech_profile.EPONQueueAttributesR\x1aupstreamQueueAttributeList\x12h\n" +
2318 "\x1fdownstream_queue_attribute_list\x18\n" +
2319 " \x03(\v2!.tech_profile.EPONQueueAttributesR\x1cdownstreamQueueAttributeList\"\xbb\x01\n" +
2320 "\x10ResourceInstance\x12\x13\n" +
2321 "\x05tp_id\x18\x01 \x01(\rR\x04tpId\x12!\n" +
2322 "\fprofile_type\x18\x02 \x01(\tR\vprofileType\x123\n" +
2323 "\x15subscriber_identifier\x18\x03 \x01(\tR\x14subscriberIdentifier\x12\x19\n" +
2324 "\balloc_id\x18\x04 \x01(\rR\aallocId\x12\x1f\n" +
2325 "\vgemport_ids\x18\x05 \x03(\rR\n" +
2326 "gemportIds*<\n" +
2327 "\tDirection\x12\f\n" +
2328 "\bUPSTREAM\x10\x00\x12\x0e\n" +
2329 "\n" +
2330 "DOWNSTREAM\x10\x01\x12\x11\n" +
2331 "\rBIDIRECTIONAL\x10\x02*;\n" +
2332 "\x10SchedulingPolicy\x12\a\n" +
2333 "\x03WRR\x10\x00\x12\x12\n" +
2334 "\x0eStrictPriority\x10\x01\x12\n" +
2335 "\n" +
2336 "\x06Hybrid\x10\x02*n\n" +
2337 "\fAdditionalBW\x12\x15\n" +
2338 "\x11AdditionalBW_None\x10\x00\x12\x13\n" +
2339 "\x0fAdditionalBW_NA\x10\x01\x12\x1b\n" +
2340 "\x17AdditionalBW_BestEffort\x10\x02\x12\x15\n" +
2341 "\x11AdditionalBW_Auto\x10\x03*?\n" +
2342 "\rDiscardPolicy\x12\f\n" +
2343 "\bTailDrop\x10\x00\x12\r\n" +
2344 "\tWTailDrop\x10\x01\x12\a\n" +
2345 "\x03Red\x10\x02\x12\b\n" +
2346 "\x04WRed\x10\x03*\x9c\x01\n" +
2347 "\x1cInferredAdditionBWIndication\x12%\n" +
2348 "!InferredAdditionBWIndication_None\x10\x00\x12(\n" +
2349 "$InferredAdditionBWIndication_Assured\x10\x01\x12+\n" +
2350 "'InferredAdditionBWIndication_BestEffort\x10\x02BX\n" +
2351 " org.opencord.voltha.tech_profileZ4github.com/opencord/voltha-protos/v5/go/tech_profileb\x06proto3"
2352
2353var (
2354 file_voltha_protos_tech_profile_proto_rawDescOnce sync.Once
2355 file_voltha_protos_tech_profile_proto_rawDescData []byte
2356)
2357
2358func file_voltha_protos_tech_profile_proto_rawDescGZIP() []byte {
2359 file_voltha_protos_tech_profile_proto_rawDescOnce.Do(func() {
2360 file_voltha_protos_tech_profile_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_voltha_protos_tech_profile_proto_rawDesc), len(file_voltha_protos_tech_profile_proto_rawDesc)))
2361 })
2362 return file_voltha_protos_tech_profile_proto_rawDescData
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002363}
2364
Abhay Kumar03713392025-12-30 05:20:58 +00002365var file_voltha_protos_tech_profile_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
2366var file_voltha_protos_tech_profile_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
2367var file_voltha_protos_tech_profile_proto_goTypes = []any{
2368 (Direction)(0), // 0: tech_profile.Direction
2369 (SchedulingPolicy)(0), // 1: tech_profile.SchedulingPolicy
2370 (AdditionalBW)(0), // 2: tech_profile.AdditionalBW
2371 (DiscardPolicy)(0), // 3: tech_profile.DiscardPolicy
2372 (InferredAdditionBWIndication)(0), // 4: tech_profile.InferredAdditionBWIndication
2373 (*SchedulerConfig)(nil), // 5: tech_profile.SchedulerConfig
2374 (*TrafficShapingInfo)(nil), // 6: tech_profile.TrafficShapingInfo
2375 (*TrafficScheduler)(nil), // 7: tech_profile.TrafficScheduler
2376 (*TrafficSchedulers)(nil), // 8: tech_profile.TrafficSchedulers
2377 (*TailDropDiscardConfig)(nil), // 9: tech_profile.TailDropDiscardConfig
2378 (*RedDiscardConfig)(nil), // 10: tech_profile.RedDiscardConfig
2379 (*WRedDiscardConfig)(nil), // 11: tech_profile.WRedDiscardConfig
2380 (*DiscardConfig)(nil), // 12: tech_profile.DiscardConfig
2381 (*TrafficQueue)(nil), // 13: tech_profile.TrafficQueue
2382 (*TrafficQueues)(nil), // 14: tech_profile.TrafficQueues
2383 (*InstanceControl)(nil), // 15: tech_profile.InstanceControl
2384 (*QThresholds)(nil), // 16: tech_profile.QThresholds
2385 (*GemPortAttributes)(nil), // 17: tech_profile.GemPortAttributes
2386 (*SchedulerAttributes)(nil), // 18: tech_profile.SchedulerAttributes
2387 (*EPONQueueAttributes)(nil), // 19: tech_profile.EPONQueueAttributes
2388 (*TechProfile)(nil), // 20: tech_profile.TechProfile
2389 (*EponTechProfile)(nil), // 21: tech_profile.EponTechProfile
2390 (*TechProfileInstance)(nil), // 22: tech_profile.TechProfileInstance
2391 (*EponTechProfileInstance)(nil), // 23: tech_profile.EponTechProfileInstance
2392 (*ResourceInstance)(nil), // 24: tech_profile.ResourceInstance
2393}
2394var file_voltha_protos_tech_profile_proto_depIdxs = []int32{
2395 0, // 0: tech_profile.SchedulerConfig.direction:type_name -> tech_profile.Direction
2396 2, // 1: tech_profile.SchedulerConfig.additional_bw:type_name -> tech_profile.AdditionalBW
2397 1, // 2: tech_profile.SchedulerConfig.sched_policy:type_name -> tech_profile.SchedulingPolicy
2398 4, // 3: tech_profile.TrafficShapingInfo.add_bw_ind:type_name -> tech_profile.InferredAdditionBWIndication
2399 0, // 4: tech_profile.TrafficScheduler.direction:type_name -> tech_profile.Direction
2400 5, // 5: tech_profile.TrafficScheduler.scheduler:type_name -> tech_profile.SchedulerConfig
2401 6, // 6: tech_profile.TrafficScheduler.traffic_shaping_info:type_name -> tech_profile.TrafficShapingInfo
2402 7, // 7: tech_profile.TrafficSchedulers.traffic_scheds:type_name -> tech_profile.TrafficScheduler
2403 10, // 8: tech_profile.WRedDiscardConfig.green:type_name -> tech_profile.RedDiscardConfig
2404 10, // 9: tech_profile.WRedDiscardConfig.yellow:type_name -> tech_profile.RedDiscardConfig
2405 10, // 10: tech_profile.WRedDiscardConfig.red:type_name -> tech_profile.RedDiscardConfig
2406 3, // 11: tech_profile.DiscardConfig.discard_policy:type_name -> tech_profile.DiscardPolicy
2407 9, // 12: tech_profile.DiscardConfig.tail_drop_discard_config:type_name -> tech_profile.TailDropDiscardConfig
2408 10, // 13: tech_profile.DiscardConfig.red_discard_config:type_name -> tech_profile.RedDiscardConfig
2409 11, // 14: tech_profile.DiscardConfig.wred_discard_config:type_name -> tech_profile.WRedDiscardConfig
2410 0, // 15: tech_profile.TrafficQueue.direction:type_name -> tech_profile.Direction
2411 1, // 16: tech_profile.TrafficQueue.sched_policy:type_name -> tech_profile.SchedulingPolicy
2412 3, // 17: tech_profile.TrafficQueue.discard_policy:type_name -> tech_profile.DiscardPolicy
2413 12, // 18: tech_profile.TrafficQueue.discard_config:type_name -> tech_profile.DiscardConfig
2414 13, // 19: tech_profile.TrafficQueues.traffic_queues:type_name -> tech_profile.TrafficQueue
2415 1, // 20: tech_profile.GemPortAttributes.scheduling_policy:type_name -> tech_profile.SchedulingPolicy
2416 3, // 21: tech_profile.GemPortAttributes.discard_policy:type_name -> tech_profile.DiscardPolicy
2417 10, // 22: tech_profile.GemPortAttributes.discard_config:type_name -> tech_profile.RedDiscardConfig
2418 12, // 23: tech_profile.GemPortAttributes.discard_config_v2:type_name -> tech_profile.DiscardConfig
2419 0, // 24: tech_profile.SchedulerAttributes.direction:type_name -> tech_profile.Direction
2420 2, // 25: tech_profile.SchedulerAttributes.additional_bw:type_name -> tech_profile.AdditionalBW
2421 1, // 26: tech_profile.SchedulerAttributes.q_sched_policy:type_name -> tech_profile.SchedulingPolicy
2422 16, // 27: tech_profile.EPONQueueAttributes.q_thresholds:type_name -> tech_profile.QThresholds
2423 1, // 28: tech_profile.EPONQueueAttributes.scheduling_policy:type_name -> tech_profile.SchedulingPolicy
2424 3, // 29: tech_profile.EPONQueueAttributes.discard_policy:type_name -> tech_profile.DiscardPolicy
2425 10, // 30: tech_profile.EPONQueueAttributes.discard_config:type_name -> tech_profile.RedDiscardConfig
2426 12, // 31: tech_profile.EPONQueueAttributes.discard_config_v2:type_name -> tech_profile.DiscardConfig
2427 15, // 32: tech_profile.TechProfile.instance_control:type_name -> tech_profile.InstanceControl
2428 18, // 33: tech_profile.TechProfile.us_scheduler:type_name -> tech_profile.SchedulerAttributes
2429 18, // 34: tech_profile.TechProfile.ds_scheduler:type_name -> tech_profile.SchedulerAttributes
2430 17, // 35: tech_profile.TechProfile.upstream_gem_port_attribute_list:type_name -> tech_profile.GemPortAttributes
2431 17, // 36: tech_profile.TechProfile.downstream_gem_port_attribute_list:type_name -> tech_profile.GemPortAttributes
2432 15, // 37: tech_profile.EponTechProfile.instance_control:type_name -> tech_profile.InstanceControl
2433 19, // 38: tech_profile.EponTechProfile.upstream_queue_attribute_list:type_name -> tech_profile.EPONQueueAttributes
2434 19, // 39: tech_profile.EponTechProfile.downstream_queue_attribute_list:type_name -> tech_profile.EPONQueueAttributes
2435 15, // 40: tech_profile.TechProfileInstance.instance_control:type_name -> tech_profile.InstanceControl
2436 18, // 41: tech_profile.TechProfileInstance.us_scheduler:type_name -> tech_profile.SchedulerAttributes
2437 18, // 42: tech_profile.TechProfileInstance.ds_scheduler:type_name -> tech_profile.SchedulerAttributes
2438 17, // 43: tech_profile.TechProfileInstance.upstream_gem_port_attribute_list:type_name -> tech_profile.GemPortAttributes
2439 17, // 44: tech_profile.TechProfileInstance.downstream_gem_port_attribute_list:type_name -> tech_profile.GemPortAttributes
2440 15, // 45: tech_profile.EponTechProfileInstance.instance_control:type_name -> tech_profile.InstanceControl
2441 19, // 46: tech_profile.EponTechProfileInstance.upstream_queue_attribute_list:type_name -> tech_profile.EPONQueueAttributes
2442 19, // 47: tech_profile.EponTechProfileInstance.downstream_queue_attribute_list:type_name -> tech_profile.EPONQueueAttributes
2443 48, // [48:48] is the sub-list for method output_type
2444 48, // [48:48] is the sub-list for method input_type
2445 48, // [48:48] is the sub-list for extension type_name
2446 48, // [48:48] is the sub-list for extension extendee
2447 0, // [0:48] is the sub-list for field type_name
2448}
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002449
Abhay Kumar03713392025-12-30 05:20:58 +00002450func init() { file_voltha_protos_tech_profile_proto_init() }
2451func file_voltha_protos_tech_profile_proto_init() {
2452 if File_voltha_protos_tech_profile_proto != nil {
2453 return
2454 }
2455 file_voltha_protos_tech_profile_proto_msgTypes[7].OneofWrappers = []any{
2456 (*DiscardConfig_TailDropDiscardConfig)(nil),
2457 (*DiscardConfig_RedDiscardConfig)(nil),
2458 (*DiscardConfig_WredDiscardConfig)(nil),
2459 }
2460 type x struct{}
2461 out := protoimpl.TypeBuilder{
2462 File: protoimpl.DescBuilder{
2463 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2464 RawDescriptor: unsafe.Slice(unsafe.StringData(file_voltha_protos_tech_profile_proto_rawDesc), len(file_voltha_protos_tech_profile_proto_rawDesc)),
2465 NumEnums: 5,
2466 NumMessages: 20,
2467 NumExtensions: 0,
2468 NumServices: 0,
2469 },
2470 GoTypes: file_voltha_protos_tech_profile_proto_goTypes,
2471 DependencyIndexes: file_voltha_protos_tech_profile_proto_depIdxs,
2472 EnumInfos: file_voltha_protos_tech_profile_proto_enumTypes,
2473 MessageInfos: file_voltha_protos_tech_profile_proto_msgTypes,
2474 }.Build()
2475 File_voltha_protos_tech_profile_proto = out.File
2476 file_voltha_protos_tech_profile_proto_goTypes = nil
2477 file_voltha_protos_tech_profile_proto_depIdxs = nil
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002478}