| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1 | // 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 15 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 16 | // versions: |
| 17 | // protoc-gen-go v1.36.11 |
| 18 | // protoc v4.25.8 |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 19 | // source: voltha_protos/tech_profile.proto |
| 20 | |
| 21 | package tech_profile |
| 22 | |
| 23 | import ( |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 24 | _ "google.golang.org/genproto/googleapis/api/annotations" |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 25 | 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 30 | ) |
| 31 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 32 | const ( |
| 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 38 | |
| 39 | type Direction int32 |
| 40 | |
| 41 | const ( |
| 42 | Direction_UPSTREAM Direction = 0 |
| 43 | Direction_DOWNSTREAM Direction = 1 |
| 44 | Direction_BIDIRECTIONAL Direction = 2 |
| 45 | ) |
| 46 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 47 | // Enum value maps for Direction. |
| 48 | var ( |
| 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 60 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 61 | func (x Direction) Enum() *Direction { |
| 62 | p := new(Direction) |
| 63 | *p = x |
| 64 | return p |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 65 | } |
| 66 | |
| 67 | func (x Direction) String() string { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 68 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 69 | } |
| 70 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 71 | func (Direction) Descriptor() protoreflect.EnumDescriptor { |
| 72 | return file_voltha_protos_tech_profile_proto_enumTypes[0].Descriptor() |
| 73 | } |
| 74 | |
| 75 | func (Direction) Type() protoreflect.EnumType { |
| 76 | return &file_voltha_protos_tech_profile_proto_enumTypes[0] |
| 77 | } |
| 78 | |
| 79 | func (x Direction) Number() protoreflect.EnumNumber { |
| 80 | return protoreflect.EnumNumber(x) |
| 81 | } |
| 82 | |
| 83 | // Deprecated: Use Direction.Descriptor instead. |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 84 | func (Direction) EnumDescriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 85 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{0} |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 86 | } |
| 87 | |
| 88 | type SchedulingPolicy int32 |
| 89 | |
| 90 | const ( |
| 91 | SchedulingPolicy_WRR SchedulingPolicy = 0 |
| 92 | SchedulingPolicy_StrictPriority SchedulingPolicy = 1 |
| 93 | SchedulingPolicy_Hybrid SchedulingPolicy = 2 |
| 94 | ) |
| 95 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 96 | // Enum value maps for SchedulingPolicy. |
| 97 | var ( |
| 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 109 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 110 | func (x SchedulingPolicy) Enum() *SchedulingPolicy { |
| 111 | p := new(SchedulingPolicy) |
| 112 | *p = x |
| 113 | return p |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 114 | } |
| 115 | |
| 116 | func (x SchedulingPolicy) String() string { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 117 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 118 | } |
| 119 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 120 | func (SchedulingPolicy) Descriptor() protoreflect.EnumDescriptor { |
| 121 | return file_voltha_protos_tech_profile_proto_enumTypes[1].Descriptor() |
| 122 | } |
| 123 | |
| 124 | func (SchedulingPolicy) Type() protoreflect.EnumType { |
| 125 | return &file_voltha_protos_tech_profile_proto_enumTypes[1] |
| 126 | } |
| 127 | |
| 128 | func (x SchedulingPolicy) Number() protoreflect.EnumNumber { |
| 129 | return protoreflect.EnumNumber(x) |
| 130 | } |
| 131 | |
| 132 | // Deprecated: Use SchedulingPolicy.Descriptor instead. |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 133 | func (SchedulingPolicy) EnumDescriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 134 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{1} |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 135 | } |
| 136 | |
| 137 | type AdditionalBW int32 |
| 138 | |
| 139 | const ( |
| 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 Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 146 | // Enum value maps for AdditionalBW. |
| 147 | var ( |
| 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 161 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 162 | func (x AdditionalBW) Enum() *AdditionalBW { |
| 163 | p := new(AdditionalBW) |
| 164 | *p = x |
| 165 | return p |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 166 | } |
| 167 | |
| 168 | func (x AdditionalBW) String() string { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 169 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 170 | } |
| 171 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 172 | func (AdditionalBW) Descriptor() protoreflect.EnumDescriptor { |
| 173 | return file_voltha_protos_tech_profile_proto_enumTypes[2].Descriptor() |
| 174 | } |
| 175 | |
| 176 | func (AdditionalBW) Type() protoreflect.EnumType { |
| 177 | return &file_voltha_protos_tech_profile_proto_enumTypes[2] |
| 178 | } |
| 179 | |
| 180 | func (x AdditionalBW) Number() protoreflect.EnumNumber { |
| 181 | return protoreflect.EnumNumber(x) |
| 182 | } |
| 183 | |
| 184 | // Deprecated: Use AdditionalBW.Descriptor instead. |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 185 | func (AdditionalBW) EnumDescriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 186 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{2} |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 187 | } |
| 188 | |
| 189 | type DiscardPolicy int32 |
| 190 | |
| 191 | const ( |
| 192 | DiscardPolicy_TailDrop DiscardPolicy = 0 |
| 193 | DiscardPolicy_WTailDrop DiscardPolicy = 1 |
| 194 | DiscardPolicy_Red DiscardPolicy = 2 |
| 195 | DiscardPolicy_WRed DiscardPolicy = 3 |
| 196 | ) |
| 197 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 198 | // Enum value maps for DiscardPolicy. |
| 199 | var ( |
| 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 213 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 214 | func (x DiscardPolicy) Enum() *DiscardPolicy { |
| 215 | p := new(DiscardPolicy) |
| 216 | *p = x |
| 217 | return p |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 218 | } |
| 219 | |
| 220 | func (x DiscardPolicy) String() string { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 221 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 222 | } |
| 223 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 224 | func (DiscardPolicy) Descriptor() protoreflect.EnumDescriptor { |
| 225 | return file_voltha_protos_tech_profile_proto_enumTypes[3].Descriptor() |
| 226 | } |
| 227 | |
| 228 | func (DiscardPolicy) Type() protoreflect.EnumType { |
| 229 | return &file_voltha_protos_tech_profile_proto_enumTypes[3] |
| 230 | } |
| 231 | |
| 232 | func (x DiscardPolicy) Number() protoreflect.EnumNumber { |
| 233 | return protoreflect.EnumNumber(x) |
| 234 | } |
| 235 | |
| 236 | // Deprecated: Use DiscardPolicy.Descriptor instead. |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 237 | func (DiscardPolicy) EnumDescriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 238 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{3} |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 239 | } |
| 240 | |
| 241 | type InferredAdditionBWIndication int32 |
| 242 | |
| 243 | const ( |
| 244 | InferredAdditionBWIndication_InferredAdditionBWIndication_None InferredAdditionBWIndication = 0 |
| 245 | InferredAdditionBWIndication_InferredAdditionBWIndication_Assured InferredAdditionBWIndication = 1 |
| 246 | InferredAdditionBWIndication_InferredAdditionBWIndication_BestEffort InferredAdditionBWIndication = 2 |
| 247 | ) |
| 248 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 249 | // Enum value maps for InferredAdditionBWIndication. |
| 250 | var ( |
| 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 262 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 263 | func (x InferredAdditionBWIndication) Enum() *InferredAdditionBWIndication { |
| 264 | p := new(InferredAdditionBWIndication) |
| 265 | *p = x |
| 266 | return p |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 267 | } |
| 268 | |
| 269 | func (x InferredAdditionBWIndication) String() string { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 270 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 271 | } |
| 272 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 273 | func (InferredAdditionBWIndication) Descriptor() protoreflect.EnumDescriptor { |
| 274 | return file_voltha_protos_tech_profile_proto_enumTypes[4].Descriptor() |
| 275 | } |
| 276 | |
| 277 | func (InferredAdditionBWIndication) Type() protoreflect.EnumType { |
| 278 | return &file_voltha_protos_tech_profile_proto_enumTypes[4] |
| 279 | } |
| 280 | |
| 281 | func (x InferredAdditionBWIndication) Number() protoreflect.EnumNumber { |
| 282 | return protoreflect.EnumNumber(x) |
| 283 | } |
| 284 | |
| 285 | // Deprecated: Use InferredAdditionBWIndication.Descriptor instead. |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 286 | func (InferredAdditionBWIndication) EnumDescriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 287 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{4} |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 288 | } |
| 289 | |
| 290 | type SchedulerConfig struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 291 | 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 299 | } |
| 300 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 301 | func (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 | |
| 308 | func (x *SchedulerConfig) String() string { |
| 309 | return protoimpl.X.MessageStringOf(x) |
| 310 | } |
| 311 | |
| 312 | func (*SchedulerConfig) ProtoMessage() {} |
| 313 | |
| 314 | func (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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 327 | func (*SchedulerConfig) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 328 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{0} |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 329 | } |
| 330 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 331 | func (x *SchedulerConfig) GetDirection() Direction { |
| 332 | if x != nil { |
| 333 | return x.Direction |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 334 | } |
| 335 | return Direction_UPSTREAM |
| 336 | } |
| 337 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 338 | func (x *SchedulerConfig) GetAdditionalBw() AdditionalBW { |
| 339 | if x != nil { |
| 340 | return x.AdditionalBw |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 341 | } |
| 342 | return AdditionalBW_AdditionalBW_None |
| 343 | } |
| 344 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 345 | func (x *SchedulerConfig) GetPriority() uint32 { |
| 346 | if x != nil { |
| 347 | return x.Priority |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 348 | } |
| 349 | return 0 |
| 350 | } |
| 351 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 352 | func (x *SchedulerConfig) GetWeight() uint32 { |
| 353 | if x != nil { |
| 354 | return x.Weight |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 355 | } |
| 356 | return 0 |
| 357 | } |
| 358 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 359 | func (x *SchedulerConfig) GetSchedPolicy() SchedulingPolicy { |
| 360 | if x != nil { |
| 361 | return x.SchedPolicy |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 362 | } |
| 363 | return SchedulingPolicy_WRR |
| 364 | } |
| 365 | |
| 366 | type TrafficShapingInfo struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 367 | 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 376 | } |
| 377 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 378 | func (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 | |
| 385 | func (x *TrafficShapingInfo) String() string { |
| 386 | return protoimpl.X.MessageStringOf(x) |
| 387 | } |
| 388 | |
| 389 | func (*TrafficShapingInfo) ProtoMessage() {} |
| 390 | |
| 391 | func (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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 404 | func (*TrafficShapingInfo) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 405 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{1} |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 406 | } |
| 407 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 408 | func (x *TrafficShapingInfo) GetCir() uint32 { |
| 409 | if x != nil { |
| 410 | return x.Cir |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 411 | } |
| 412 | return 0 |
| 413 | } |
| 414 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 415 | func (x *TrafficShapingInfo) GetCbs() uint32 { |
| 416 | if x != nil { |
| 417 | return x.Cbs |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 418 | } |
| 419 | return 0 |
| 420 | } |
| 421 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 422 | func (x *TrafficShapingInfo) GetPir() uint32 { |
| 423 | if x != nil { |
| 424 | return x.Pir |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 425 | } |
| 426 | return 0 |
| 427 | } |
| 428 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 429 | func (x *TrafficShapingInfo) GetPbs() uint32 { |
| 430 | if x != nil { |
| 431 | return x.Pbs |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 432 | } |
| 433 | return 0 |
| 434 | } |
| 435 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 436 | func (x *TrafficShapingInfo) GetGir() uint32 { |
| 437 | if x != nil { |
| 438 | return x.Gir |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 439 | } |
| 440 | return 0 |
| 441 | } |
| 442 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 443 | func (x *TrafficShapingInfo) GetAddBwInd() InferredAdditionBWIndication { |
| 444 | if x != nil { |
| 445 | return x.AddBwInd |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 446 | } |
| 447 | return InferredAdditionBWIndication_InferredAdditionBWIndication_None |
| 448 | } |
| 449 | |
| 450 | type TrafficScheduler struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 451 | 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 459 | } |
| 460 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 461 | func (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 | |
| 468 | func (x *TrafficScheduler) String() string { |
| 469 | return protoimpl.X.MessageStringOf(x) |
| 470 | } |
| 471 | |
| 472 | func (*TrafficScheduler) ProtoMessage() {} |
| 473 | |
| 474 | func (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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 487 | func (*TrafficScheduler) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 488 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{2} |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 489 | } |
| 490 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 491 | func (x *TrafficScheduler) GetDirection() Direction { |
| 492 | if x != nil { |
| 493 | return x.Direction |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 494 | } |
| 495 | return Direction_UPSTREAM |
| 496 | } |
| 497 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 498 | func (x *TrafficScheduler) GetAllocId() uint32 { |
| 499 | if x != nil { |
| 500 | return x.AllocId |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 501 | } |
| 502 | return 0 |
| 503 | } |
| 504 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 505 | func (x *TrafficScheduler) GetScheduler() *SchedulerConfig { |
| 506 | if x != nil { |
| 507 | return x.Scheduler |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 508 | } |
| 509 | return nil |
| 510 | } |
| 511 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 512 | func (x *TrafficScheduler) GetTrafficShapingInfo() *TrafficShapingInfo { |
| 513 | if x != nil { |
| 514 | return x.TrafficShapingInfo |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 515 | } |
| 516 | return nil |
| 517 | } |
| 518 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 519 | func (x *TrafficScheduler) GetTechProfileId() uint32 { |
| 520 | if x != nil { |
| 521 | return x.TechProfileId |
| Burak Gurdag | ce06435 | 2020-04-20 20:11:18 +0000 | [diff] [blame] | 522 | } |
| 523 | return 0 |
| 524 | } |
| 525 | |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 526 | type TrafficSchedulers struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 527 | 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 535 | } |
| 536 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 537 | func (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 | |
| 544 | func (x *TrafficSchedulers) String() string { |
| 545 | return protoimpl.X.MessageStringOf(x) |
| 546 | } |
| 547 | |
| 548 | func (*TrafficSchedulers) ProtoMessage() {} |
| 549 | |
| 550 | func (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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 563 | func (*TrafficSchedulers) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 564 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{3} |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 565 | } |
| 566 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 567 | func (x *TrafficSchedulers) GetIntfId() uint32 { |
| 568 | if x != nil { |
| 569 | return x.IntfId |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 570 | } |
| 571 | return 0 |
| 572 | } |
| 573 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 574 | func (x *TrafficSchedulers) GetOnuId() uint32 { |
| 575 | if x != nil { |
| 576 | return x.OnuId |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 577 | } |
| 578 | return 0 |
| 579 | } |
| 580 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 581 | func (x *TrafficSchedulers) GetUniId() uint32 { |
| 582 | if x != nil { |
| 583 | return x.UniId |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 584 | } |
| 585 | return 0 |
| 586 | } |
| 587 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 588 | func (x *TrafficSchedulers) GetPortNo() uint32 { |
| 589 | if x != nil { |
| 590 | return x.PortNo |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 591 | } |
| 592 | return 0 |
| 593 | } |
| 594 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 595 | func (x *TrafficSchedulers) GetTrafficScheds() []*TrafficScheduler { |
| 596 | if x != nil { |
| 597 | return x.TrafficScheds |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 598 | } |
| 599 | return nil |
| 600 | } |
| 601 | |
| 602 | type TailDropDiscardConfig struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 603 | 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 607 | } |
| 608 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 609 | func (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 | |
| 616 | func (x *TailDropDiscardConfig) String() string { |
| 617 | return protoimpl.X.MessageStringOf(x) |
| 618 | } |
| 619 | |
| 620 | func (*TailDropDiscardConfig) ProtoMessage() {} |
| 621 | |
| 622 | func (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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 635 | func (*TailDropDiscardConfig) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 636 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{4} |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 637 | } |
| 638 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 639 | func (x *TailDropDiscardConfig) GetQueueSize() uint32 { |
| 640 | if x != nil { |
| 641 | return x.QueueSize |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 642 | } |
| 643 | return 0 |
| 644 | } |
| 645 | |
| 646 | type RedDiscardConfig struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 647 | 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 653 | } |
| 654 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 655 | func (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 | |
| 662 | func (x *RedDiscardConfig) String() string { |
| 663 | return protoimpl.X.MessageStringOf(x) |
| 664 | } |
| 665 | |
| 666 | func (*RedDiscardConfig) ProtoMessage() {} |
| 667 | |
| 668 | func (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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 681 | func (*RedDiscardConfig) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 682 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{5} |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 683 | } |
| 684 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 685 | func (x *RedDiscardConfig) GetMinThreshold() uint32 { |
| 686 | if x != nil { |
| 687 | return x.MinThreshold |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 688 | } |
| 689 | return 0 |
| 690 | } |
| 691 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 692 | func (x *RedDiscardConfig) GetMaxThreshold() uint32 { |
| 693 | if x != nil { |
| 694 | return x.MaxThreshold |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 695 | } |
| 696 | return 0 |
| 697 | } |
| 698 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 699 | func (x *RedDiscardConfig) GetMaxProbability() uint32 { |
| 700 | if x != nil { |
| 701 | return x.MaxProbability |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 702 | } |
| 703 | return 0 |
| 704 | } |
| 705 | |
| 706 | type WRedDiscardConfig struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 707 | 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 713 | } |
| 714 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 715 | func (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 | |
| 722 | func (x *WRedDiscardConfig) String() string { |
| 723 | return protoimpl.X.MessageStringOf(x) |
| 724 | } |
| 725 | |
| 726 | func (*WRedDiscardConfig) ProtoMessage() {} |
| 727 | |
| 728 | func (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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 741 | func (*WRedDiscardConfig) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 742 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{6} |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 743 | } |
| 744 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 745 | func (x *WRedDiscardConfig) GetGreen() *RedDiscardConfig { |
| 746 | if x != nil { |
| 747 | return x.Green |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 748 | } |
| 749 | return nil |
| 750 | } |
| 751 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 752 | func (x *WRedDiscardConfig) GetYellow() *RedDiscardConfig { |
| 753 | if x != nil { |
| 754 | return x.Yellow |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 755 | } |
| 756 | return nil |
| 757 | } |
| 758 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 759 | func (x *WRedDiscardConfig) GetRed() *RedDiscardConfig { |
| 760 | if x != nil { |
| 761 | return x.Red |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 762 | } |
| 763 | return nil |
| 764 | } |
| 765 | |
| 766 | type DiscardConfig struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 767 | 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 769 | // Types that are valid to be assigned to DiscardConfig: |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 770 | // |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 771 | // *DiscardConfig_TailDropDiscardConfig |
| 772 | // *DiscardConfig_RedDiscardConfig |
| 773 | // *DiscardConfig_WredDiscardConfig |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 774 | DiscardConfig isDiscardConfig_DiscardConfig `protobuf_oneof:"discard_config"` |
| 775 | unknownFields protoimpl.UnknownFields |
| 776 | sizeCache protoimpl.SizeCache |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 777 | } |
| 778 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 779 | func (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 | |
| 786 | func (x *DiscardConfig) String() string { |
| 787 | return protoimpl.X.MessageStringOf(x) |
| 788 | } |
| 789 | |
| 790 | func (*DiscardConfig) ProtoMessage() {} |
| 791 | |
| 792 | func (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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 805 | func (*DiscardConfig) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 806 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{7} |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 807 | } |
| 808 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 809 | func (x *DiscardConfig) GetDiscardPolicy() DiscardPolicy { |
| 810 | if x != nil { |
| 811 | return x.DiscardPolicy |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 812 | } |
| 813 | return DiscardPolicy_TailDrop |
| 814 | } |
| 815 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 816 | func (x *DiscardConfig) GetDiscardConfig() isDiscardConfig_DiscardConfig { |
| 817 | if x != nil { |
| 818 | return x.DiscardConfig |
| 819 | } |
| 820 | return nil |
| 821 | } |
| 822 | |
| 823 | func (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 | |
| 832 | func (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 | |
| 841 | func (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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 850 | type isDiscardConfig_DiscardConfig interface { |
| 851 | isDiscardConfig_DiscardConfig() |
| 852 | } |
| 853 | |
| 854 | type DiscardConfig_TailDropDiscardConfig struct { |
| 855 | TailDropDiscardConfig *TailDropDiscardConfig `protobuf:"bytes,2,opt,name=tail_drop_discard_config,json=tailDropDiscardConfig,proto3,oneof"` |
| 856 | } |
| 857 | |
| 858 | type DiscardConfig_RedDiscardConfig struct { |
| 859 | RedDiscardConfig *RedDiscardConfig `protobuf:"bytes,3,opt,name=red_discard_config,json=redDiscardConfig,proto3,oneof"` |
| 860 | } |
| 861 | |
| 862 | type DiscardConfig_WredDiscardConfig struct { |
| 863 | WredDiscardConfig *WRedDiscardConfig `protobuf:"bytes,4,opt,name=wred_discard_config,json=wredDiscardConfig,proto3,oneof"` |
| 864 | } |
| 865 | |
| 866 | func (*DiscardConfig_TailDropDiscardConfig) isDiscardConfig_DiscardConfig() {} |
| 867 | |
| 868 | func (*DiscardConfig_RedDiscardConfig) isDiscardConfig_DiscardConfig() {} |
| 869 | |
| 870 | func (*DiscardConfig_WredDiscardConfig) isDiscardConfig_DiscardConfig() {} |
| 871 | |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 872 | type TrafficQueue struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 873 | 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 885 | } |
| 886 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 887 | func (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 | |
| 894 | func (x *TrafficQueue) String() string { |
| 895 | return protoimpl.X.MessageStringOf(x) |
| 896 | } |
| 897 | |
| 898 | func (*TrafficQueue) ProtoMessage() {} |
| 899 | |
| 900 | func (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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 913 | func (*TrafficQueue) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 914 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{8} |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 915 | } |
| 916 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 917 | func (x *TrafficQueue) GetDirection() Direction { |
| 918 | if x != nil { |
| 919 | return x.Direction |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 920 | } |
| 921 | return Direction_UPSTREAM |
| 922 | } |
| 923 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 924 | func (x *TrafficQueue) GetGemportId() uint32 { |
| 925 | if x != nil { |
| 926 | return x.GemportId |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 927 | } |
| 928 | return 0 |
| 929 | } |
| 930 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 931 | func (x *TrafficQueue) GetPbitMap() string { |
| 932 | if x != nil { |
| 933 | return x.PbitMap |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 934 | } |
| 935 | return "" |
| 936 | } |
| 937 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 938 | func (x *TrafficQueue) GetAesEncryption() bool { |
| 939 | if x != nil { |
| 940 | return x.AesEncryption |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 941 | } |
| 942 | return false |
| 943 | } |
| 944 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 945 | func (x *TrafficQueue) GetSchedPolicy() SchedulingPolicy { |
| 946 | if x != nil { |
| 947 | return x.SchedPolicy |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 948 | } |
| 949 | return SchedulingPolicy_WRR |
| 950 | } |
| 951 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 952 | func (x *TrafficQueue) GetPriority() uint32 { |
| 953 | if x != nil { |
| 954 | return x.Priority |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 955 | } |
| 956 | return 0 |
| 957 | } |
| 958 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 959 | func (x *TrafficQueue) GetWeight() uint32 { |
| 960 | if x != nil { |
| 961 | return x.Weight |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 962 | } |
| 963 | return 0 |
| 964 | } |
| 965 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 966 | func (x *TrafficQueue) GetDiscardPolicy() DiscardPolicy { |
| 967 | if x != nil { |
| 968 | return x.DiscardPolicy |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 969 | } |
| 970 | return DiscardPolicy_TailDrop |
| 971 | } |
| 972 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 973 | func (x *TrafficQueue) GetDiscardConfig() *DiscardConfig { |
| 974 | if x != nil { |
| 975 | return x.DiscardConfig |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 976 | } |
| 977 | return nil |
| 978 | } |
| 979 | |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 980 | type TrafficQueues struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 981 | 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 991 | } |
| 992 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 993 | func (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 | |
| 1000 | func (x *TrafficQueues) String() string { |
| 1001 | return protoimpl.X.MessageStringOf(x) |
| 1002 | } |
| 1003 | |
| 1004 | func (*TrafficQueues) ProtoMessage() {} |
| 1005 | |
| 1006 | func (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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 1019 | func (*TrafficQueues) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1020 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{9} |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 1021 | } |
| 1022 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1023 | func (x *TrafficQueues) GetIntfId() uint32 { |
| 1024 | if x != nil { |
| 1025 | return x.IntfId |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 1026 | } |
| 1027 | return 0 |
| 1028 | } |
| 1029 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1030 | func (x *TrafficQueues) GetOnuId() uint32 { |
| 1031 | if x != nil { |
| 1032 | return x.OnuId |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 1033 | } |
| 1034 | return 0 |
| 1035 | } |
| 1036 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1037 | func (x *TrafficQueues) GetUniId() uint32 { |
| 1038 | if x != nil { |
| 1039 | return x.UniId |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 1040 | } |
| 1041 | return 0 |
| 1042 | } |
| 1043 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1044 | func (x *TrafficQueues) GetPortNo() uint32 { |
| 1045 | if x != nil { |
| 1046 | return x.PortNo |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 1047 | } |
| 1048 | return 0 |
| 1049 | } |
| 1050 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1051 | func (x *TrafficQueues) GetTrafficQueues() []*TrafficQueue { |
| 1052 | if x != nil { |
| 1053 | return x.TrafficQueues |
| Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 1054 | } |
| 1055 | return nil |
| 1056 | } |
| 1057 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1058 | func (x *TrafficQueues) GetTechProfileId() uint32 { |
| 1059 | if x != nil { |
| 1060 | return x.TechProfileId |
| Burak Gurdag | ce06435 | 2020-04-20 20:11:18 +0000 | [diff] [blame] | 1061 | } |
| 1062 | return 0 |
| 1063 | } |
| 1064 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1065 | func (x *TrafficQueues) GetNetworkIntfId() uint32 { |
| 1066 | if x != nil { |
| 1067 | return x.NetworkIntfId |
| Sridhar Ravindra | 8859b3e | 2025-05-28 13:02:27 +0530 | [diff] [blame] | 1068 | } |
| 1069 | return 0 |
| 1070 | } |
| 1071 | |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1072 | type InstanceControl struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1073 | 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 Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1079 | } |
| 1080 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1081 | func (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 | |
| 1088 | func (x *InstanceControl) String() string { |
| 1089 | return protoimpl.X.MessageStringOf(x) |
| 1090 | } |
| 1091 | |
| 1092 | func (*InstanceControl) ProtoMessage() {} |
| 1093 | |
| 1094 | func (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 Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1107 | func (*InstanceControl) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1108 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{10} |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1109 | } |
| 1110 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1111 | func (x *InstanceControl) GetOnu() string { |
| 1112 | if x != nil { |
| 1113 | return x.Onu |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1114 | } |
| 1115 | return "" |
| 1116 | } |
| 1117 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1118 | func (x *InstanceControl) GetUni() string { |
| 1119 | if x != nil { |
| 1120 | return x.Uni |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1121 | } |
| 1122 | return "" |
| 1123 | } |
| 1124 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1125 | func (x *InstanceControl) GetMaxGemPayloadSize() string { |
| 1126 | if x != nil { |
| 1127 | return x.MaxGemPayloadSize |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1128 | } |
| 1129 | return "" |
| 1130 | } |
| 1131 | |
| 1132 | type QThresholds struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1133 | 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 Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1143 | } |
| 1144 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1145 | func (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 | |
| 1152 | func (x *QThresholds) String() string { |
| 1153 | return protoimpl.X.MessageStringOf(x) |
| 1154 | } |
| 1155 | |
| 1156 | func (*QThresholds) ProtoMessage() {} |
| 1157 | |
| 1158 | func (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 Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1171 | func (*QThresholds) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1172 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{11} |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1173 | } |
| 1174 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1175 | func (x *QThresholds) GetQThreshold1() uint32 { |
| 1176 | if x != nil { |
| 1177 | return x.QThreshold1 |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1178 | } |
| 1179 | return 0 |
| 1180 | } |
| 1181 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1182 | func (x *QThresholds) GetQThreshold2() uint32 { |
| 1183 | if x != nil { |
| 1184 | return x.QThreshold2 |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1185 | } |
| 1186 | return 0 |
| 1187 | } |
| 1188 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1189 | func (x *QThresholds) GetQThreshold3() uint32 { |
| 1190 | if x != nil { |
| 1191 | return x.QThreshold3 |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1192 | } |
| 1193 | return 0 |
| 1194 | } |
| 1195 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1196 | func (x *QThresholds) GetQThreshold4() uint32 { |
| 1197 | if x != nil { |
| 1198 | return x.QThreshold4 |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1199 | } |
| 1200 | return 0 |
| 1201 | } |
| 1202 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1203 | func (x *QThresholds) GetQThreshold5() uint32 { |
| 1204 | if x != nil { |
| 1205 | return x.QThreshold5 |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1206 | } |
| 1207 | return 0 |
| 1208 | } |
| 1209 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1210 | func (x *QThresholds) GetQThreshold6() uint32 { |
| 1211 | if x != nil { |
| 1212 | return x.QThreshold6 |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1213 | } |
| 1214 | return 0 |
| 1215 | } |
| 1216 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1217 | func (x *QThresholds) GetQThreshold7() uint32 { |
| 1218 | if x != nil { |
| 1219 | return x.QThreshold7 |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1220 | } |
| 1221 | return 0 |
| 1222 | } |
| 1223 | |
| 1224 | type GemPortAttributes struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1225 | 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 Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1242 | } |
| 1243 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1244 | func (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 | |
| 1251 | func (x *GemPortAttributes) String() string { |
| 1252 | return protoimpl.X.MessageStringOf(x) |
| 1253 | } |
| 1254 | |
| 1255 | func (*GemPortAttributes) ProtoMessage() {} |
| 1256 | |
| 1257 | func (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 Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1270 | func (*GemPortAttributes) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1271 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{12} |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1272 | } |
| 1273 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1274 | func (x *GemPortAttributes) GetGemportId() uint32 { |
| 1275 | if x != nil { |
| 1276 | return x.GemportId |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1277 | } |
| 1278 | return 0 |
| 1279 | } |
| 1280 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1281 | func (x *GemPortAttributes) GetMaxQSize() string { |
| 1282 | if x != nil { |
| 1283 | return x.MaxQSize |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1284 | } |
| 1285 | return "" |
| 1286 | } |
| 1287 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1288 | func (x *GemPortAttributes) GetPbitMap() string { |
| 1289 | if x != nil { |
| 1290 | return x.PbitMap |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1291 | } |
| 1292 | return "" |
| 1293 | } |
| 1294 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1295 | func (x *GemPortAttributes) GetAesEncryption() string { |
| 1296 | if x != nil { |
| 1297 | return x.AesEncryption |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1298 | } |
| 1299 | return "" |
| 1300 | } |
| 1301 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1302 | func (x *GemPortAttributes) GetSchedulingPolicy() SchedulingPolicy { |
| 1303 | if x != nil { |
| 1304 | return x.SchedulingPolicy |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1305 | } |
| 1306 | return SchedulingPolicy_WRR |
| 1307 | } |
| 1308 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1309 | func (x *GemPortAttributes) GetPriorityQ() uint32 { |
| 1310 | if x != nil { |
| 1311 | return x.PriorityQ |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1312 | } |
| 1313 | return 0 |
| 1314 | } |
| 1315 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1316 | func (x *GemPortAttributes) GetWeight() uint32 { |
| 1317 | if x != nil { |
| 1318 | return x.Weight |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1319 | } |
| 1320 | return 0 |
| 1321 | } |
| 1322 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1323 | func (x *GemPortAttributes) GetDiscardPolicy() DiscardPolicy { |
| 1324 | if x != nil { |
| 1325 | return x.DiscardPolicy |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1326 | } |
| 1327 | return DiscardPolicy_TailDrop |
| 1328 | } |
| 1329 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1330 | func (x *GemPortAttributes) GetDiscardConfig() *RedDiscardConfig { |
| 1331 | if x != nil { |
| 1332 | return x.DiscardConfig |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1333 | } |
| 1334 | return nil |
| 1335 | } |
| 1336 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1337 | func (x *GemPortAttributes) GetDiscardConfigV2() *DiscardConfig { |
| 1338 | if x != nil { |
| 1339 | return x.DiscardConfigV2 |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1340 | } |
| 1341 | return nil |
| 1342 | } |
| 1343 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1344 | func (x *GemPortAttributes) GetIsMulticast() string { |
| 1345 | if x != nil { |
| 1346 | return x.IsMulticast |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1347 | } |
| 1348 | return "" |
| 1349 | } |
| 1350 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1351 | func (x *GemPortAttributes) GetMulticastGemId() uint32 { |
| 1352 | if x != nil { |
| 1353 | return x.MulticastGemId |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1354 | } |
| 1355 | return 0 |
| 1356 | } |
| 1357 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1358 | func (x *GemPortAttributes) GetDynamicAccessControlList() string { |
| 1359 | if x != nil { |
| 1360 | return x.DynamicAccessControlList |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1361 | } |
| 1362 | return "" |
| 1363 | } |
| 1364 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1365 | func (x *GemPortAttributes) GetStaticAccessControlList() string { |
| 1366 | if x != nil { |
| 1367 | return x.StaticAccessControlList |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1368 | } |
| 1369 | return "" |
| 1370 | } |
| 1371 | |
| 1372 | type SchedulerAttributes struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1373 | 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 Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1382 | } |
| 1383 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1384 | func (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 | |
| 1391 | func (x *SchedulerAttributes) String() string { |
| 1392 | return protoimpl.X.MessageStringOf(x) |
| 1393 | } |
| 1394 | |
| 1395 | func (*SchedulerAttributes) ProtoMessage() {} |
| 1396 | |
| 1397 | func (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 Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1410 | func (*SchedulerAttributes) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1411 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{13} |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1412 | } |
| 1413 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1414 | func (x *SchedulerAttributes) GetDirection() Direction { |
| 1415 | if x != nil { |
| 1416 | return x.Direction |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1417 | } |
| 1418 | return Direction_UPSTREAM |
| 1419 | } |
| 1420 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1421 | func (x *SchedulerAttributes) GetAllocId() uint32 { |
| 1422 | if x != nil { |
| 1423 | return x.AllocId |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1424 | } |
| 1425 | return 0 |
| 1426 | } |
| 1427 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1428 | func (x *SchedulerAttributes) GetAdditionalBw() AdditionalBW { |
| 1429 | if x != nil { |
| 1430 | return x.AdditionalBw |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1431 | } |
| 1432 | return AdditionalBW_AdditionalBW_None |
| 1433 | } |
| 1434 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1435 | func (x *SchedulerAttributes) GetPriority() uint32 { |
| 1436 | if x != nil { |
| 1437 | return x.Priority |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1438 | } |
| 1439 | return 0 |
| 1440 | } |
| 1441 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1442 | func (x *SchedulerAttributes) GetWeight() uint32 { |
| 1443 | if x != nil { |
| 1444 | return x.Weight |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1445 | } |
| 1446 | return 0 |
| 1447 | } |
| 1448 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1449 | func (x *SchedulerAttributes) GetQSchedPolicy() SchedulingPolicy { |
| 1450 | if x != nil { |
| 1451 | return x.QSchedPolicy |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1452 | } |
| 1453 | return SchedulingPolicy_WRR |
| 1454 | } |
| 1455 | |
| 1456 | type EPONQueueAttributes struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1457 | 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 Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1477 | } |
| 1478 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1479 | func (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 | |
| 1486 | func (x *EPONQueueAttributes) String() string { |
| 1487 | return protoimpl.X.MessageStringOf(x) |
| 1488 | } |
| 1489 | |
| 1490 | func (*EPONQueueAttributes) ProtoMessage() {} |
| 1491 | |
| 1492 | func (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 Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1505 | func (*EPONQueueAttributes) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1506 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{14} |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1507 | } |
| 1508 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1509 | func (x *EPONQueueAttributes) GetMaxQSize() string { |
| 1510 | if x != nil { |
| 1511 | return x.MaxQSize |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1512 | } |
| 1513 | return "" |
| 1514 | } |
| 1515 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1516 | func (x *EPONQueueAttributes) GetPbitMap() string { |
| 1517 | if x != nil { |
| 1518 | return x.PbitMap |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1519 | } |
| 1520 | return "" |
| 1521 | } |
| 1522 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1523 | func (x *EPONQueueAttributes) GetGemportId() uint32 { |
| 1524 | if x != nil { |
| 1525 | return x.GemportId |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1526 | } |
| 1527 | return 0 |
| 1528 | } |
| 1529 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1530 | func (x *EPONQueueAttributes) GetAesEncryption() string { |
| 1531 | if x != nil { |
| 1532 | return x.AesEncryption |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1533 | } |
| 1534 | return "" |
| 1535 | } |
| 1536 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1537 | func (x *EPONQueueAttributes) GetTrafficType() string { |
| 1538 | if x != nil { |
| 1539 | return x.TrafficType |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1540 | } |
| 1541 | return "" |
| 1542 | } |
| 1543 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1544 | func (x *EPONQueueAttributes) GetUnsolicitedGrantSize() uint32 { |
| 1545 | if x != nil { |
| 1546 | return x.UnsolicitedGrantSize |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1547 | } |
| 1548 | return 0 |
| 1549 | } |
| 1550 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1551 | func (x *EPONQueueAttributes) GetNominalInterval() uint32 { |
| 1552 | if x != nil { |
| 1553 | return x.NominalInterval |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1554 | } |
| 1555 | return 0 |
| 1556 | } |
| 1557 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1558 | func (x *EPONQueueAttributes) GetToleratedPollJitter() uint32 { |
| 1559 | if x != nil { |
| 1560 | return x.ToleratedPollJitter |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1561 | } |
| 1562 | return 0 |
| 1563 | } |
| 1564 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1565 | func (x *EPONQueueAttributes) GetRequestTransmissionPolicy() uint32 { |
| 1566 | if x != nil { |
| 1567 | return x.RequestTransmissionPolicy |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1568 | } |
| 1569 | return 0 |
| 1570 | } |
| 1571 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1572 | func (x *EPONQueueAttributes) GetNumQSets() uint32 { |
| 1573 | if x != nil { |
| 1574 | return x.NumQSets |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1575 | } |
| 1576 | return 0 |
| 1577 | } |
| 1578 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1579 | func (x *EPONQueueAttributes) GetQThresholds() *QThresholds { |
| 1580 | if x != nil { |
| 1581 | return x.QThresholds |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1582 | } |
| 1583 | return nil |
| 1584 | } |
| 1585 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1586 | func (x *EPONQueueAttributes) GetSchedulingPolicy() SchedulingPolicy { |
| 1587 | if x != nil { |
| 1588 | return x.SchedulingPolicy |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1589 | } |
| 1590 | return SchedulingPolicy_WRR |
| 1591 | } |
| 1592 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1593 | func (x *EPONQueueAttributes) GetPriorityQ() uint32 { |
| 1594 | if x != nil { |
| 1595 | return x.PriorityQ |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1596 | } |
| 1597 | return 0 |
| 1598 | } |
| 1599 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1600 | func (x *EPONQueueAttributes) GetWeight() uint32 { |
| 1601 | if x != nil { |
| 1602 | return x.Weight |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1603 | } |
| 1604 | return 0 |
| 1605 | } |
| 1606 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1607 | func (x *EPONQueueAttributes) GetDiscardPolicy() DiscardPolicy { |
| 1608 | if x != nil { |
| 1609 | return x.DiscardPolicy |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1610 | } |
| 1611 | return DiscardPolicy_TailDrop |
| 1612 | } |
| 1613 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1614 | func (x *EPONQueueAttributes) GetDiscardConfig() *RedDiscardConfig { |
| 1615 | if x != nil { |
| 1616 | return x.DiscardConfig |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1617 | } |
| 1618 | return nil |
| 1619 | } |
| 1620 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1621 | func (x *EPONQueueAttributes) GetDiscardConfigV2() *DiscardConfig { |
| 1622 | if x != nil { |
| 1623 | return x.DiscardConfigV2 |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1624 | } |
| 1625 | return nil |
| 1626 | } |
| 1627 | |
| 1628 | // TechProfile definition (relevant for GPON, XGPON and XGS-PON technologies) |
| 1629 | type TechProfile struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1630 | 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 Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1642 | } |
| 1643 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1644 | func (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 | |
| 1651 | func (x *TechProfile) String() string { |
| 1652 | return protoimpl.X.MessageStringOf(x) |
| 1653 | } |
| 1654 | |
| 1655 | func (*TechProfile) ProtoMessage() {} |
| 1656 | |
| 1657 | func (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 Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1670 | func (*TechProfile) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1671 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{15} |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1672 | } |
| 1673 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1674 | func (x *TechProfile) GetName() string { |
| 1675 | if x != nil { |
| 1676 | return x.Name |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1677 | } |
| 1678 | return "" |
| 1679 | } |
| 1680 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1681 | func (x *TechProfile) GetVersion() uint32 { |
| 1682 | if x != nil { |
| 1683 | return x.Version |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1684 | } |
| 1685 | return 0 |
| 1686 | } |
| 1687 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1688 | func (x *TechProfile) GetProfileType() string { |
| 1689 | if x != nil { |
| 1690 | return x.ProfileType |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1691 | } |
| 1692 | return "" |
| 1693 | } |
| 1694 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1695 | func (x *TechProfile) GetNumGemPorts() uint32 { |
| 1696 | if x != nil { |
| 1697 | return x.NumGemPorts |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1698 | } |
| 1699 | return 0 |
| 1700 | } |
| 1701 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1702 | func (x *TechProfile) GetInstanceControl() *InstanceControl { |
| 1703 | if x != nil { |
| 1704 | return x.InstanceControl |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1705 | } |
| 1706 | return nil |
| 1707 | } |
| 1708 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1709 | func (x *TechProfile) GetUsScheduler() *SchedulerAttributes { |
| 1710 | if x != nil { |
| 1711 | return x.UsScheduler |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1712 | } |
| 1713 | return nil |
| 1714 | } |
| 1715 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1716 | func (x *TechProfile) GetDsScheduler() *SchedulerAttributes { |
| 1717 | if x != nil { |
| 1718 | return x.DsScheduler |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1719 | } |
| 1720 | return nil |
| 1721 | } |
| 1722 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1723 | func (x *TechProfile) GetUpstreamGemPortAttributeList() []*GemPortAttributes { |
| 1724 | if x != nil { |
| 1725 | return x.UpstreamGemPortAttributeList |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1726 | } |
| 1727 | return nil |
| 1728 | } |
| 1729 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1730 | func (x *TechProfile) GetDownstreamGemPortAttributeList() []*GemPortAttributes { |
| 1731 | if x != nil { |
| 1732 | return x.DownstreamGemPortAttributeList |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1733 | } |
| 1734 | return nil |
| 1735 | } |
| 1736 | |
| 1737 | // EPON TechProfile definition |
| 1738 | type EponTechProfile struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1739 | state protoimpl.MessageState `protogen:"open.v1"` |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1740 | 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 Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1748 | unknownFields protoimpl.UnknownFields |
| 1749 | sizeCache protoimpl.SizeCache |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1750 | } |
| 1751 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1752 | func (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 | |
| 1759 | func (x *EponTechProfile) String() string { |
| 1760 | return protoimpl.X.MessageStringOf(x) |
| 1761 | } |
| 1762 | |
| 1763 | func (*EponTechProfile) ProtoMessage() {} |
| 1764 | |
| 1765 | func (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 Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1778 | func (*EponTechProfile) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1779 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{16} |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1780 | } |
| 1781 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1782 | func (x *EponTechProfile) GetName() string { |
| 1783 | if x != nil { |
| 1784 | return x.Name |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1785 | } |
| 1786 | return "" |
| 1787 | } |
| 1788 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1789 | func (x *EponTechProfile) GetVersion() uint32 { |
| 1790 | if x != nil { |
| 1791 | return x.Version |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1792 | } |
| 1793 | return 0 |
| 1794 | } |
| 1795 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1796 | func (x *EponTechProfile) GetProfileType() string { |
| 1797 | if x != nil { |
| 1798 | return x.ProfileType |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1799 | } |
| 1800 | return "" |
| 1801 | } |
| 1802 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1803 | func (x *EponTechProfile) GetNumGemPorts() uint32 { |
| 1804 | if x != nil { |
| 1805 | return x.NumGemPorts |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1806 | } |
| 1807 | return 0 |
| 1808 | } |
| 1809 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1810 | func (x *EponTechProfile) GetInstanceControl() *InstanceControl { |
| 1811 | if x != nil { |
| 1812 | return x.InstanceControl |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1813 | } |
| 1814 | return nil |
| 1815 | } |
| 1816 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1817 | func (x *EponTechProfile) GetPackageType() string { |
| 1818 | if x != nil { |
| 1819 | return x.PackageType |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1820 | } |
| 1821 | return "" |
| 1822 | } |
| 1823 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1824 | func (x *EponTechProfile) GetUpstreamQueueAttributeList() []*EPONQueueAttributes { |
| 1825 | if x != nil { |
| 1826 | return x.UpstreamQueueAttributeList |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1827 | } |
| 1828 | return nil |
| 1829 | } |
| 1830 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1831 | func (x *EponTechProfile) GetDownstreamQueueAttributeList() []*EPONQueueAttributes { |
| 1832 | if x != nil { |
| 1833 | return x.DownstreamQueueAttributeList |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1834 | } |
| 1835 | return nil |
| 1836 | } |
| 1837 | |
| 1838 | // TechProfile Instance definition (relevant for GPON, XGPON and XGS-PON technologies) |
| 1839 | type TechProfileInstance struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1840 | 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 Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1853 | } |
| 1854 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1855 | func (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 | |
| 1862 | func (x *TechProfileInstance) String() string { |
| 1863 | return protoimpl.X.MessageStringOf(x) |
| 1864 | } |
| 1865 | |
| 1866 | func (*TechProfileInstance) ProtoMessage() {} |
| 1867 | |
| 1868 | func (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 Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1881 | func (*TechProfileInstance) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1882 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{17} |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1883 | } |
| 1884 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1885 | func (x *TechProfileInstance) GetName() string { |
| 1886 | if x != nil { |
| 1887 | return x.Name |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1888 | } |
| 1889 | return "" |
| 1890 | } |
| 1891 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1892 | func (x *TechProfileInstance) GetVersion() uint32 { |
| 1893 | if x != nil { |
| 1894 | return x.Version |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1895 | } |
| 1896 | return 0 |
| 1897 | } |
| 1898 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1899 | func (x *TechProfileInstance) GetSubscriberIdentifier() string { |
| 1900 | if x != nil { |
| 1901 | return x.SubscriberIdentifier |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1902 | } |
| 1903 | return "" |
| 1904 | } |
| 1905 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1906 | func (x *TechProfileInstance) GetProfileType() string { |
| 1907 | if x != nil { |
| 1908 | return x.ProfileType |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1909 | } |
| 1910 | return "" |
| 1911 | } |
| 1912 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1913 | func (x *TechProfileInstance) GetNumGemPorts() uint32 { |
| 1914 | if x != nil { |
| 1915 | return x.NumGemPorts |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1916 | } |
| 1917 | return 0 |
| 1918 | } |
| 1919 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1920 | func (x *TechProfileInstance) GetInstanceControl() *InstanceControl { |
| 1921 | if x != nil { |
| 1922 | return x.InstanceControl |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1923 | } |
| 1924 | return nil |
| 1925 | } |
| 1926 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1927 | func (x *TechProfileInstance) GetUsScheduler() *SchedulerAttributes { |
| 1928 | if x != nil { |
| 1929 | return x.UsScheduler |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1930 | } |
| 1931 | return nil |
| 1932 | } |
| 1933 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1934 | func (x *TechProfileInstance) GetDsScheduler() *SchedulerAttributes { |
| 1935 | if x != nil { |
| 1936 | return x.DsScheduler |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1937 | } |
| 1938 | return nil |
| 1939 | } |
| 1940 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1941 | func (x *TechProfileInstance) GetUpstreamGemPortAttributeList() []*GemPortAttributes { |
| 1942 | if x != nil { |
| 1943 | return x.UpstreamGemPortAttributeList |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1944 | } |
| 1945 | return nil |
| 1946 | } |
| 1947 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1948 | func (x *TechProfileInstance) GetDownstreamGemPortAttributeList() []*GemPortAttributes { |
| 1949 | if x != nil { |
| 1950 | return x.DownstreamGemPortAttributeList |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1951 | } |
| 1952 | return nil |
| 1953 | } |
| 1954 | |
| 1955 | // EPON TechProfile Instance definition. |
| 1956 | type EponTechProfileInstance struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1957 | state protoimpl.MessageState `protogen:"open.v1"` |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1958 | 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 Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1968 | unknownFields protoimpl.UnknownFields |
| 1969 | sizeCache protoimpl.SizeCache |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1970 | } |
| 1971 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1972 | func (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 | |
| 1979 | func (x *EponTechProfileInstance) String() string { |
| 1980 | return protoimpl.X.MessageStringOf(x) |
| 1981 | } |
| 1982 | |
| 1983 | func (*EponTechProfileInstance) ProtoMessage() {} |
| 1984 | |
| 1985 | func (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 Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 1998 | func (*EponTechProfileInstance) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1999 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{18} |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 2000 | } |
| 2001 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2002 | func (x *EponTechProfileInstance) GetName() string { |
| 2003 | if x != nil { |
| 2004 | return x.Name |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 2005 | } |
| 2006 | return "" |
| 2007 | } |
| 2008 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2009 | func (x *EponTechProfileInstance) GetVersion() uint32 { |
| 2010 | if x != nil { |
| 2011 | return x.Version |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 2012 | } |
| 2013 | return 0 |
| 2014 | } |
| 2015 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2016 | func (x *EponTechProfileInstance) GetSubscriberIdentifier() string { |
| 2017 | if x != nil { |
| 2018 | return x.SubscriberIdentifier |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 2019 | } |
| 2020 | return "" |
| 2021 | } |
| 2022 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2023 | func (x *EponTechProfileInstance) GetProfileType() string { |
| 2024 | if x != nil { |
| 2025 | return x.ProfileType |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 2026 | } |
| 2027 | return "" |
| 2028 | } |
| 2029 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2030 | func (x *EponTechProfileInstance) GetNumGemPorts() uint32 { |
| 2031 | if x != nil { |
| 2032 | return x.NumGemPorts |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 2033 | } |
| 2034 | return 0 |
| 2035 | } |
| 2036 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2037 | func (x *EponTechProfileInstance) GetAllocId() uint32 { |
| 2038 | if x != nil { |
| 2039 | return x.AllocId |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 2040 | } |
| 2041 | return 0 |
| 2042 | } |
| 2043 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2044 | func (x *EponTechProfileInstance) GetInstanceControl() *InstanceControl { |
| 2045 | if x != nil { |
| 2046 | return x.InstanceControl |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 2047 | } |
| 2048 | return nil |
| 2049 | } |
| 2050 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2051 | func (x *EponTechProfileInstance) GetPackageType() string { |
| 2052 | if x != nil { |
| 2053 | return x.PackageType |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 2054 | } |
| 2055 | return "" |
| 2056 | } |
| 2057 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2058 | func (x *EponTechProfileInstance) GetUpstreamQueueAttributeList() []*EPONQueueAttributes { |
| 2059 | if x != nil { |
| 2060 | return x.UpstreamQueueAttributeList |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 2061 | } |
| 2062 | return nil |
| 2063 | } |
| 2064 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2065 | func (x *EponTechProfileInstance) GetDownstreamQueueAttributeList() []*EPONQueueAttributes { |
| 2066 | if x != nil { |
| 2067 | return x.DownstreamQueueAttributeList |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 2068 | } |
| 2069 | return nil |
| 2070 | } |
| 2071 | |
| 2072 | // Resource Instance definition |
| 2073 | type ResourceInstance struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2074 | 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 Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 2082 | } |
| 2083 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2084 | func (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 | |
| 2091 | func (x *ResourceInstance) String() string { |
| 2092 | return protoimpl.X.MessageStringOf(x) |
| 2093 | } |
| 2094 | |
| 2095 | func (*ResourceInstance) ProtoMessage() {} |
| 2096 | |
| 2097 | func (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 Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 2110 | func (*ResourceInstance) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2111 | return file_voltha_protos_tech_profile_proto_rawDescGZIP(), []int{19} |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 2112 | } |
| 2113 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2114 | func (x *ResourceInstance) GetTpId() uint32 { |
| 2115 | if x != nil { |
| 2116 | return x.TpId |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 2117 | } |
| 2118 | return 0 |
| 2119 | } |
| 2120 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2121 | func (x *ResourceInstance) GetProfileType() string { |
| 2122 | if x != nil { |
| 2123 | return x.ProfileType |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 2124 | } |
| 2125 | return "" |
| 2126 | } |
| 2127 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2128 | func (x *ResourceInstance) GetSubscriberIdentifier() string { |
| 2129 | if x != nil { |
| 2130 | return x.SubscriberIdentifier |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 2131 | } |
| 2132 | return "" |
| 2133 | } |
| 2134 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2135 | func (x *ResourceInstance) GetAllocId() uint32 { |
| 2136 | if x != nil { |
| 2137 | return x.AllocId |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 2138 | } |
| 2139 | return 0 |
| 2140 | } |
| 2141 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2142 | func (x *ResourceInstance) GetGemportIds() []uint32 { |
| 2143 | if x != nil { |
| 2144 | return x.GemportIds |
| Girish Gowdra | 9c3e1c8 | 2021-06-01 14:29:34 -0700 | [diff] [blame] | 2145 | } |
| 2146 | return nil |
| 2147 | } |
| 2148 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2149 | var File_voltha_protos_tech_profile_proto protoreflect.FileDescriptor |
| 2150 | |
| 2151 | const 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 | |
| 2353 | var ( |
| 2354 | file_voltha_protos_tech_profile_proto_rawDescOnce sync.Once |
| 2355 | file_voltha_protos_tech_profile_proto_rawDescData []byte |
| 2356 | ) |
| 2357 | |
| 2358 | func 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 2363 | } |
| 2364 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2365 | var file_voltha_protos_tech_profile_proto_enumTypes = make([]protoimpl.EnumInfo, 5) |
| 2366 | var file_voltha_protos_tech_profile_proto_msgTypes = make([]protoimpl.MessageInfo, 20) |
| 2367 | var 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 | } |
| 2394 | var 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 2449 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2450 | func init() { file_voltha_protos_tech_profile_proto_init() } |
| 2451 | func 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 Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 2478 | } |