forked from CiscoDevNet/bigmuddy-network-telemetry-proto
/
qos_stats.pb.go
1556 lines (1398 loc) · 62.2 KB
/
qos_stats.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: qos_stats.proto
package cisco_ios_xr_qos_ma_oper_qos_nodes_node_policy_map_shared_policy_instances_shared_policy_instance_member_interfaces_member_interface_input_statistics
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// policy map statistics
type QosStats_KEYS struct {
NodeName string `protobuf:"bytes,1,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
SpiName string `protobuf:"bytes,2,opt,name=spi_name,json=spiName,proto3" json:"spi_name,omitempty"`
InterfaceName string `protobuf:"bytes,3,opt,name=interface_name,json=interfaceName,proto3" json:"interface_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *QosStats_KEYS) Reset() { *m = QosStats_KEYS{} }
func (m *QosStats_KEYS) String() string { return proto.CompactTextString(m) }
func (*QosStats_KEYS) ProtoMessage() {}
func (*QosStats_KEYS) Descriptor() ([]byte, []int) {
return fileDescriptor_qos_stats_36e04e8782890772, []int{0}
}
func (m *QosStats_KEYS) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_QosStats_KEYS.Unmarshal(m, b)
}
func (m *QosStats_KEYS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_QosStats_KEYS.Marshal(b, m, deterministic)
}
func (dst *QosStats_KEYS) XXX_Merge(src proto.Message) {
xxx_messageInfo_QosStats_KEYS.Merge(dst, src)
}
func (m *QosStats_KEYS) XXX_Size() int {
return xxx_messageInfo_QosStats_KEYS.Size(m)
}
func (m *QosStats_KEYS) XXX_DiscardUnknown() {
xxx_messageInfo_QosStats_KEYS.DiscardUnknown(m)
}
var xxx_messageInfo_QosStats_KEYS proto.InternalMessageInfo
func (m *QosStats_KEYS) GetNodeName() string {
if m != nil {
return m.NodeName
}
return ""
}
func (m *QosStats_KEYS) GetSpiName() string {
if m != nil {
return m.SpiName
}
return ""
}
func (m *QosStats_KEYS) GetInterfaceName() string {
if m != nil {
return m.InterfaceName
}
return ""
}
type QosStats struct {
PolicyName string `protobuf:"bytes,50,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"`
State string `protobuf:"bytes,51,opt,name=state,proto3" json:"state,omitempty"`
StateDescription string `protobuf:"bytes,52,opt,name=state_description,json=stateDescription,proto3" json:"state_description,omitempty"`
// array of classes contained in policy
ClassStats []*ClassStats `protobuf:"bytes,53,rep,name=class_stats,json=classStats,proto3" json:"class_stats,omitempty"`
// to maintain satellite id
Satid uint32 `protobuf:"varint,54,opt,name=satid,proto3" json:"satid,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *QosStats) Reset() { *m = QosStats{} }
func (m *QosStats) String() string { return proto.CompactTextString(m) }
func (*QosStats) ProtoMessage() {}
func (*QosStats) Descriptor() ([]byte, []int) {
return fileDescriptor_qos_stats_36e04e8782890772, []int{1}
}
func (m *QosStats) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_QosStats.Unmarshal(m, b)
}
func (m *QosStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_QosStats.Marshal(b, m, deterministic)
}
func (dst *QosStats) XXX_Merge(src proto.Message) {
xxx_messageInfo_QosStats.Merge(dst, src)
}
func (m *QosStats) XXX_Size() int {
return xxx_messageInfo_QosStats.Size(m)
}
func (m *QosStats) XXX_DiscardUnknown() {
xxx_messageInfo_QosStats.DiscardUnknown(m)
}
var xxx_messageInfo_QosStats proto.InternalMessageInfo
func (m *QosStats) GetPolicyName() string {
if m != nil {
return m.PolicyName
}
return ""
}
func (m *QosStats) GetState() string {
if m != nil {
return m.State
}
return ""
}
func (m *QosStats) GetStateDescription() string {
if m != nil {
return m.StateDescription
}
return ""
}
func (m *QosStats) GetClassStats() []*ClassStats {
if m != nil {
return m.ClassStats
}
return nil
}
func (m *QosStats) GetSatid() uint32 {
if m != nil {
return m.Satid
}
return 0
}
type PolicyParamUint32St_ struct {
Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PolicyParamUint32St_) Reset() { *m = PolicyParamUint32St_{} }
func (m *PolicyParamUint32St_) String() string { return proto.CompactTextString(m) }
func (*PolicyParamUint32St_) ProtoMessage() {}
func (*PolicyParamUint32St_) Descriptor() ([]byte, []int) {
return fileDescriptor_qos_stats_36e04e8782890772, []int{2}
}
func (m *PolicyParamUint32St_) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PolicyParamUint32St_.Unmarshal(m, b)
}
func (m *PolicyParamUint32St_) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PolicyParamUint32St_.Marshal(b, m, deterministic)
}
func (dst *PolicyParamUint32St_) XXX_Merge(src proto.Message) {
xxx_messageInfo_PolicyParamUint32St_.Merge(dst, src)
}
func (m *PolicyParamUint32St_) XXX_Size() int {
return xxx_messageInfo_PolicyParamUint32St_.Size(m)
}
func (m *PolicyParamUint32St_) XXX_DiscardUnknown() {
xxx_messageInfo_PolicyParamUint32St_.DiscardUnknown(m)
}
var xxx_messageInfo_PolicyParamUint32St_ proto.InternalMessageInfo
func (m *PolicyParamUint32St_) GetValue() uint32 {
if m != nil {
return m.Value
}
return 0
}
func (m *PolicyParamUint32St_) GetUnit() string {
if m != nil {
return m.Unit
}
return ""
}
// Counters common to all features
type GenStatsSt struct {
// Transmitted packets (packets/bytes)
TransmitPackets uint64 `protobuf:"varint,1,opt,name=transmit_packets,json=transmitPackets,proto3" json:"transmit_packets,omitempty"`
// Transmitted bytes (packets/bytes)
TransmitBytes uint64 `protobuf:"varint,2,opt,name=transmit_bytes,json=transmitBytes,proto3" json:"transmit_bytes,omitempty"`
// Dropped packets (packets/bytes)
TotalDropPackets uint64 `protobuf:"varint,3,opt,name=total_drop_packets,json=totalDropPackets,proto3" json:"total_drop_packets,omitempty"`
// Dropped bytes (packets/bytes)
TotalDropBytes uint64 `protobuf:"varint,4,opt,name=total_drop_bytes,json=totalDropBytes,proto3" json:"total_drop_bytes,omitempty"`
// Total drop rate (packets/bytes)
TotalDropRate uint32 `protobuf:"varint,5,opt,name=total_drop_rate,json=totalDropRate,proto3" json:"total_drop_rate,omitempty"`
// Incoming matched data rate in kbps
MatchDataRate uint32 `protobuf:"varint,6,opt,name=match_data_rate,json=matchDataRate,proto3" json:"match_data_rate,omitempty"`
// Total transmit rate in kbps
TotalTransmitRate uint32 `protobuf:"varint,7,opt,name=total_transmit_rate,json=totalTransmitRate,proto3" json:"total_transmit_rate,omitempty"`
// Matched pkts before applying policy
PrePolicyMatchedPackets uint64 `protobuf:"varint,8,opt,name=pre_policy_matched_packets,json=prePolicyMatchedPackets,proto3" json:"pre_policy_matched_packets,omitempty"`
// Matched bytes before applying policy
PrePolicyMatchedBytes uint64 `protobuf:"varint,9,opt,name=pre_policy_matched_bytes,json=prePolicyMatchedBytes,proto3" json:"pre_policy_matched_bytes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GenStatsSt) Reset() { *m = GenStatsSt{} }
func (m *GenStatsSt) String() string { return proto.CompactTextString(m) }
func (*GenStatsSt) ProtoMessage() {}
func (*GenStatsSt) Descriptor() ([]byte, []int) {
return fileDescriptor_qos_stats_36e04e8782890772, []int{3}
}
func (m *GenStatsSt) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GenStatsSt.Unmarshal(m, b)
}
func (m *GenStatsSt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GenStatsSt.Marshal(b, m, deterministic)
}
func (dst *GenStatsSt) XXX_Merge(src proto.Message) {
xxx_messageInfo_GenStatsSt.Merge(dst, src)
}
func (m *GenStatsSt) XXX_Size() int {
return xxx_messageInfo_GenStatsSt.Size(m)
}
func (m *GenStatsSt) XXX_DiscardUnknown() {
xxx_messageInfo_GenStatsSt.DiscardUnknown(m)
}
var xxx_messageInfo_GenStatsSt proto.InternalMessageInfo
func (m *GenStatsSt) GetTransmitPackets() uint64 {
if m != nil {
return m.TransmitPackets
}
return 0
}
func (m *GenStatsSt) GetTransmitBytes() uint64 {
if m != nil {
return m.TransmitBytes
}
return 0
}
func (m *GenStatsSt) GetTotalDropPackets() uint64 {
if m != nil {
return m.TotalDropPackets
}
return 0
}
func (m *GenStatsSt) GetTotalDropBytes() uint64 {
if m != nil {
return m.TotalDropBytes
}
return 0
}
func (m *GenStatsSt) GetTotalDropRate() uint32 {
if m != nil {
return m.TotalDropRate
}
return 0
}
func (m *GenStatsSt) GetMatchDataRate() uint32 {
if m != nil {
return m.MatchDataRate
}
return 0
}
func (m *GenStatsSt) GetTotalTransmitRate() uint32 {
if m != nil {
return m.TotalTransmitRate
}
return 0
}
func (m *GenStatsSt) GetPrePolicyMatchedPackets() uint64 {
if m != nil {
return m.PrePolicyMatchedPackets
}
return 0
}
func (m *GenStatsSt) GetPrePolicyMatchedBytes() uint64 {
if m != nil {
return m.PrePolicyMatchedBytes
}
return 0
}
// Color Aware Policer statistics
type PlcColorClassStatsSt struct {
// Packets with classification result conform and policer result conform
ConformClassConformPackets uint64 `protobuf:"varint,1,opt,name=conform_class_conform_packets,json=conformClassConformPackets,proto3" json:"conform_class_conform_packets,omitempty"`
// Bytes with classification result conform and policer result conform
ConformClassConformBytes uint64 `protobuf:"varint,2,opt,name=conform_class_conform_bytes,json=conformClassConformBytes,proto3" json:"conform_class_conform_bytes,omitempty"`
// Conform Class Conform rate in kbps
ConformClassConformRate uint32 `protobuf:"varint,3,opt,name=conform_class_conform_rate,json=conformClassConformRate,proto3" json:"conform_class_conform_rate,omitempty"`
// Packets with classification result conform and policer result exceed
ConformClassExceedPackets uint64 `protobuf:"varint,4,opt,name=conform_class_exceed_packets,json=conformClassExceedPackets,proto3" json:"conform_class_exceed_packets,omitempty"`
// Bytes with classification result conform and policer result exceed
ConformClassExceedBytes uint64 `protobuf:"varint,5,opt,name=conform_class_exceed_bytes,json=conformClassExceedBytes,proto3" json:"conform_class_exceed_bytes,omitempty"`
// Conform Class Exceed rate in kbps
ConformClassExceedRate uint32 `protobuf:"varint,6,opt,name=conform_class_exceed_rate,json=conformClassExceedRate,proto3" json:"conform_class_exceed_rate,omitempty"`
// Packets with classification result conform and policer result violate
ConformClassViolatePackets uint64 `protobuf:"varint,7,opt,name=conform_class_violate_packets,json=conformClassViolatePackets,proto3" json:"conform_class_violate_packets,omitempty"`
// Bytes with classification result conform and policer result violate
ConformClassViolateBytes uint64 `protobuf:"varint,8,opt,name=conform_class_violate_bytes,json=conformClassViolateBytes,proto3" json:"conform_class_violate_bytes,omitempty"`
// Conform Class Violate rate in kbps
ConformClassViolateRate uint32 `protobuf:"varint,9,opt,name=conform_class_violate_rate,json=conformClassViolateRate,proto3" json:"conform_class_violate_rate,omitempty"`
// Packets with classification result exceed and policer result exceed
ExceedClassExceedPackets uint64 `protobuf:"varint,10,opt,name=exceed_class_exceed_packets,json=exceedClassExceedPackets,proto3" json:"exceed_class_exceed_packets,omitempty"`
// Bytes with classification result exceed and policer result exceed
ExceedClassExceedBytes uint64 `protobuf:"varint,11,opt,name=exceed_class_exceed_bytes,json=exceedClassExceedBytes,proto3" json:"exceed_class_exceed_bytes,omitempty"`
// Exceed Class Exceed rate in kbps
ExceedClassExceedRate uint32 `protobuf:"varint,12,opt,name=exceed_class_exceed_rate,json=exceedClassExceedRate,proto3" json:"exceed_class_exceed_rate,omitempty"`
// Packets with classification result exceed and policer result violate
ExceedClassViolatePackets uint64 `protobuf:"varint,13,opt,name=exceed_class_violate_packets,json=exceedClassViolatePackets,proto3" json:"exceed_class_violate_packets,omitempty"`
// Bytes with classification result exceed and policer result violate
ExceedClassViolateBytes uint64 `protobuf:"varint,14,opt,name=exceed_class_violate_bytes,json=exceedClassViolateBytes,proto3" json:"exceed_class_violate_bytes,omitempty"`
// Exceed Class Violate rate in kbps
ExceedClassViolateRate uint32 `protobuf:"varint,15,opt,name=exceed_class_violate_rate,json=exceedClassViolateRate,proto3" json:"exceed_class_violate_rate,omitempty"`
// Packets with classification result violate and policer result violate
ViolateClassViolatePackets uint64 `protobuf:"varint,16,opt,name=violate_class_violate_packets,json=violateClassViolatePackets,proto3" json:"violate_class_violate_packets,omitempty"`
// Bytes with classification result violate and policer result violate
ViolateClassViolateBytes uint64 `protobuf:"varint,17,opt,name=violate_class_violate_bytes,json=violateClassViolateBytes,proto3" json:"violate_class_violate_bytes,omitempty"`
// Violate Class Violate rate in kbps
ViolateClassViolateRate uint32 `protobuf:"varint,18,opt,name=violate_class_violate_rate,json=violateClassViolateRate,proto3" json:"violate_class_violate_rate,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PlcColorClassStatsSt) Reset() { *m = PlcColorClassStatsSt{} }
func (m *PlcColorClassStatsSt) String() string { return proto.CompactTextString(m) }
func (*PlcColorClassStatsSt) ProtoMessage() {}
func (*PlcColorClassStatsSt) Descriptor() ([]byte, []int) {
return fileDescriptor_qos_stats_36e04e8782890772, []int{4}
}
func (m *PlcColorClassStatsSt) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PlcColorClassStatsSt.Unmarshal(m, b)
}
func (m *PlcColorClassStatsSt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PlcColorClassStatsSt.Marshal(b, m, deterministic)
}
func (dst *PlcColorClassStatsSt) XXX_Merge(src proto.Message) {
xxx_messageInfo_PlcColorClassStatsSt.Merge(dst, src)
}
func (m *PlcColorClassStatsSt) XXX_Size() int {
return xxx_messageInfo_PlcColorClassStatsSt.Size(m)
}
func (m *PlcColorClassStatsSt) XXX_DiscardUnknown() {
xxx_messageInfo_PlcColorClassStatsSt.DiscardUnknown(m)
}
var xxx_messageInfo_PlcColorClassStatsSt proto.InternalMessageInfo
func (m *PlcColorClassStatsSt) GetConformClassConformPackets() uint64 {
if m != nil {
return m.ConformClassConformPackets
}
return 0
}
func (m *PlcColorClassStatsSt) GetConformClassConformBytes() uint64 {
if m != nil {
return m.ConformClassConformBytes
}
return 0
}
func (m *PlcColorClassStatsSt) GetConformClassConformRate() uint32 {
if m != nil {
return m.ConformClassConformRate
}
return 0
}
func (m *PlcColorClassStatsSt) GetConformClassExceedPackets() uint64 {
if m != nil {
return m.ConformClassExceedPackets
}
return 0
}
func (m *PlcColorClassStatsSt) GetConformClassExceedBytes() uint64 {
if m != nil {
return m.ConformClassExceedBytes
}
return 0
}
func (m *PlcColorClassStatsSt) GetConformClassExceedRate() uint32 {
if m != nil {
return m.ConformClassExceedRate
}
return 0
}
func (m *PlcColorClassStatsSt) GetConformClassViolatePackets() uint64 {
if m != nil {
return m.ConformClassViolatePackets
}
return 0
}
func (m *PlcColorClassStatsSt) GetConformClassViolateBytes() uint64 {
if m != nil {
return m.ConformClassViolateBytes
}
return 0
}
func (m *PlcColorClassStatsSt) GetConformClassViolateRate() uint32 {
if m != nil {
return m.ConformClassViolateRate
}
return 0
}
func (m *PlcColorClassStatsSt) GetExceedClassExceedPackets() uint64 {
if m != nil {
return m.ExceedClassExceedPackets
}
return 0
}
func (m *PlcColorClassStatsSt) GetExceedClassExceedBytes() uint64 {
if m != nil {
return m.ExceedClassExceedBytes
}
return 0
}
func (m *PlcColorClassStatsSt) GetExceedClassExceedRate() uint32 {
if m != nil {
return m.ExceedClassExceedRate
}
return 0
}
func (m *PlcColorClassStatsSt) GetExceedClassViolatePackets() uint64 {
if m != nil {
return m.ExceedClassViolatePackets
}
return 0
}
func (m *PlcColorClassStatsSt) GetExceedClassViolateBytes() uint64 {
if m != nil {
return m.ExceedClassViolateBytes
}
return 0
}
func (m *PlcColorClassStatsSt) GetExceedClassViolateRate() uint32 {
if m != nil {
return m.ExceedClassViolateRate
}
return 0
}
func (m *PlcColorClassStatsSt) GetViolateClassViolatePackets() uint64 {
if m != nil {
return m.ViolateClassViolatePackets
}
return 0
}
func (m *PlcColorClassStatsSt) GetViolateClassViolateBytes() uint64 {
if m != nil {
return m.ViolateClassViolateBytes
}
return 0
}
func (m *PlcColorClassStatsSt) GetViolateClassViolateRate() uint32 {
if m != nil {
return m.ViolateClassViolateRate
}
return 0
}
// Policer statistics
type PlcStatsSt struct {
// Police dropped packets
DropPackets uint64 `protobuf:"varint,1,opt,name=drop_packets,json=dropPackets,proto3" json:"drop_packets,omitempty"`
// Police dropped bytes
DropBytes uint64 `protobuf:"varint,2,opt,name=drop_bytes,json=dropBytes,proto3" json:"drop_bytes,omitempty"`
// Packets that conform to the policed rate
ConformPackets uint64 `protobuf:"varint,3,opt,name=conform_packets,json=conformPackets,proto3" json:"conform_packets,omitempty"`
// Bytes that conform to the policed rate
ConformBytes uint64 `protobuf:"varint,4,opt,name=conform_bytes,json=conformBytes,proto3" json:"conform_bytes,omitempty"`
// Packets that exceed the policed rate
ExceedPackets uint64 `protobuf:"varint,5,opt,name=exceed_packets,json=exceedPackets,proto3" json:"exceed_packets,omitempty"`
// Bytes that exceed the policed rate
ExceedBytes uint64 `protobuf:"varint,6,opt,name=exceed_bytes,json=exceedBytes,proto3" json:"exceed_bytes,omitempty"`
// Packets violating the policed rate
ViolatePackets uint64 `protobuf:"varint,7,opt,name=violate_packets,json=violatePackets,proto3" json:"violate_packets,omitempty"`
// Bytes that violate the policed rate
ViolateBytes uint64 `protobuf:"varint,8,opt,name=violate_bytes,json=violateBytes,proto3" json:"violate_bytes,omitempty"`
// Dropped pkts by the parent policer
ParentDropPackets uint64 `protobuf:"varint,9,opt,name=parent_drop_packets,json=parentDropPackets,proto3" json:"parent_drop_packets,omitempty"`
// Dropped bytes by the parent policer
ParentDropBytes uint64 `protobuf:"varint,10,opt,name=parent_drop_bytes,json=parentDropBytes,proto3" json:"parent_drop_bytes,omitempty"`
// Conform rate in kbps
ConformRate uint32 `protobuf:"varint,11,opt,name=conform_rate,json=conformRate,proto3" json:"conform_rate,omitempty"`
// Exceed rate in kbps
ExceedRate uint32 `protobuf:"varint,12,opt,name=exceed_rate,json=exceedRate,proto3" json:"exceed_rate,omitempty"`
// Violate rate in kbps
ViolateRate uint32 `protobuf:"varint,13,opt,name=violate_rate,json=violateRate,proto3" json:"violate_rate,omitempty"`
ColorClassStats *PlcColorClassStatsSt `protobuf:"bytes,14,opt,name=color_class_stats,json=colorClassStats,proto3" json:"color_class_stats,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PlcStatsSt) Reset() { *m = PlcStatsSt{} }
func (m *PlcStatsSt) String() string { return proto.CompactTextString(m) }
func (*PlcStatsSt) ProtoMessage() {}
func (*PlcStatsSt) Descriptor() ([]byte, []int) {
return fileDescriptor_qos_stats_36e04e8782890772, []int{5}
}
func (m *PlcStatsSt) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PlcStatsSt.Unmarshal(m, b)
}
func (m *PlcStatsSt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PlcStatsSt.Marshal(b, m, deterministic)
}
func (dst *PlcStatsSt) XXX_Merge(src proto.Message) {
xxx_messageInfo_PlcStatsSt.Merge(dst, src)
}
func (m *PlcStatsSt) XXX_Size() int {
return xxx_messageInfo_PlcStatsSt.Size(m)
}
func (m *PlcStatsSt) XXX_DiscardUnknown() {
xxx_messageInfo_PlcStatsSt.DiscardUnknown(m)
}
var xxx_messageInfo_PlcStatsSt proto.InternalMessageInfo
func (m *PlcStatsSt) GetDropPackets() uint64 {
if m != nil {
return m.DropPackets
}
return 0
}
func (m *PlcStatsSt) GetDropBytes() uint64 {
if m != nil {
return m.DropBytes
}
return 0
}
func (m *PlcStatsSt) GetConformPackets() uint64 {
if m != nil {
return m.ConformPackets
}
return 0
}
func (m *PlcStatsSt) GetConformBytes() uint64 {
if m != nil {
return m.ConformBytes
}
return 0
}
func (m *PlcStatsSt) GetExceedPackets() uint64 {
if m != nil {
return m.ExceedPackets
}
return 0
}
func (m *PlcStatsSt) GetExceedBytes() uint64 {
if m != nil {
return m.ExceedBytes
}
return 0
}
func (m *PlcStatsSt) GetViolatePackets() uint64 {
if m != nil {
return m.ViolatePackets
}
return 0
}
func (m *PlcStatsSt) GetViolateBytes() uint64 {
if m != nil {
return m.ViolateBytes
}
return 0
}
func (m *PlcStatsSt) GetParentDropPackets() uint64 {
if m != nil {
return m.ParentDropPackets
}
return 0
}
func (m *PlcStatsSt) GetParentDropBytes() uint64 {
if m != nil {
return m.ParentDropBytes
}
return 0
}
func (m *PlcStatsSt) GetConformRate() uint32 {
if m != nil {
return m.ConformRate
}
return 0
}
func (m *PlcStatsSt) GetExceedRate() uint32 {
if m != nil {
return m.ExceedRate
}
return 0
}
func (m *PlcStatsSt) GetViolateRate() uint32 {
if m != nil {
return m.ViolateRate
}
return 0
}
func (m *PlcStatsSt) GetColorClassStats() *PlcColorClassStatsSt {
if m != nil {
return m.ColorClassStats
}
return nil
}
// CAC statistics
type CacStatsSt struct {
// CAC dropped packets
DropPackets uint64 `protobuf:"varint,1,opt,name=drop_packets,json=dropPackets,proto3" json:"drop_packets,omitempty"`
// CAC dropped bytes
DropBytes uint64 `protobuf:"varint,2,opt,name=drop_bytes,json=dropBytes,proto3" json:"drop_bytes,omitempty"`
// CAC dropped rate
DropRates uint32 `protobuf:"varint,3,opt,name=drop_rates,json=dropRates,proto3" json:"drop_rates,omitempty"`
// Admitted packets (pkts/bytes)
Admitpackets uint64 `protobuf:"varint,4,opt,name=admitpackets,proto3" json:"admitpackets,omitempty"`
// Admitted bytes (pkts/bytes)
AdmitBytes uint64 `protobuf:"varint,5,opt,name=admit_bytes,json=admitBytes,proto3" json:"admit_bytes,omitempty"`
// CAC admit rate
AdmitRates uint32 `protobuf:"varint,6,opt,name=admit_rates,json=admitRates,proto3" json:"admit_rates,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CacStatsSt) Reset() { *m = CacStatsSt{} }
func (m *CacStatsSt) String() string { return proto.CompactTextString(m) }
func (*CacStatsSt) ProtoMessage() {}
func (*CacStatsSt) Descriptor() ([]byte, []int) {
return fileDescriptor_qos_stats_36e04e8782890772, []int{6}
}
func (m *CacStatsSt) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CacStatsSt.Unmarshal(m, b)
}
func (m *CacStatsSt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CacStatsSt.Marshal(b, m, deterministic)
}
func (dst *CacStatsSt) XXX_Merge(src proto.Message) {
xxx_messageInfo_CacStatsSt.Merge(dst, src)
}
func (m *CacStatsSt) XXX_Size() int {
return xxx_messageInfo_CacStatsSt.Size(m)
}
func (m *CacStatsSt) XXX_DiscardUnknown() {
xxx_messageInfo_CacStatsSt.DiscardUnknown(m)
}
var xxx_messageInfo_CacStatsSt proto.InternalMessageInfo
func (m *CacStatsSt) GetDropPackets() uint64 {
if m != nil {
return m.DropPackets
}
return 0
}
func (m *CacStatsSt) GetDropBytes() uint64 {
if m != nil {
return m.DropBytes
}
return 0
}
func (m *CacStatsSt) GetDropRates() uint32 {
if m != nil {
return m.DropRates
}
return 0
}
func (m *CacStatsSt) GetAdmitpackets() uint64 {
if m != nil {
return m.Admitpackets
}
return 0
}
func (m *CacStatsSt) GetAdmitBytes() uint64 {
if m != nil {
return m.AdmitBytes
}
return 0
}
func (m *CacStatsSt) GetAdmitRates() uint32 {
if m != nil {
return m.AdmitRates
}
return 0
}
// IPHC Stats
type IphcStatsSt struct {
// TotalNum of Non tcp pkts sent
NonTcpTotalOutPackets uint64 `protobuf:"varint,1,opt,name=non_tcp_total_out_packets,json=nonTcpTotalOutPackets,proto3" json:"non_tcp_total_out_packets,omitempty"`
// TotalNum of Non Tcp Bytes sent
NonTcpTotalOutBytes uint64 `protobuf:"varint,2,opt,name=non_tcp_total_out_bytes,json=nonTcpTotalOutBytes,proto3" json:"non_tcp_total_out_bytes,omitempty"`
// Non Tcp Bytes saved due to compression
NonTcpBytesSaved uint64 `protobuf:"varint,3,opt,name=non_tcp_bytes_saved,json=nonTcpBytesSaved,proto3" json:"non_tcp_bytes_saved,omitempty"`
// Num of non tcp compressed pkts sent
NonTcpCompressedPacketsOut uint64 `protobuf:"varint,4,opt,name=non_tcp_compressed_packets_out,json=nonTcpCompressedPacketsOut,proto3" json:"non_tcp_compressed_packets_out,omitempty"`
// Compressed Non Tcp Bytes sent rate
NonTcpBytesSentRate uint32 `protobuf:"varint,5,opt,name=non_tcp_bytes_sent_rate,json=nonTcpBytesSentRate,proto3" json:"non_tcp_bytes_sent_rate,omitempty"`
// Num of non tcp fullheader pkts sent
NonTcpFullHeaderPacketsOut uint64 `protobuf:"varint,6,opt,name=non_tcp_full_header_packets_out,json=nonTcpFullHeaderPacketsOut,proto3" json:"non_tcp_full_header_packets_out,omitempty"`
// Total Num of tcp pkts sent
TcpTotalOutPackets uint64 `protobuf:"varint,7,opt,name=tcp_total_out_packets,json=tcpTotalOutPackets,proto3" json:"tcp_total_out_packets,omitempty"`
// TotalNum of Tcp Bytes sent
TcpTotalOutBytes uint64 `protobuf:"varint,8,opt,name=tcp_total_out_bytes,json=tcpTotalOutBytes,proto3" json:"tcp_total_out_bytes,omitempty"`
// Tcp Bytes saved due to compression
TcpBytesSaved uint64 `protobuf:"varint,9,opt,name=tcp_bytes_saved,json=tcpBytesSaved,proto3" json:"tcp_bytes_saved,omitempty"`
// Num of tcp compressed pkts sent
TcpCompressedPacketsOut uint64 `protobuf:"varint,10,opt,name=tcp_compressed_packets_out,json=tcpCompressedPacketsOut,proto3" json:"tcp_compressed_packets_out,omitempty"`
// Compressed Tcp Bytes sent rate
TcpBytesSentRate uint32 `protobuf:"varint,11,opt,name=tcp_bytes_sent_rate,json=tcpBytesSentRate,proto3" json:"tcp_bytes_sent_rate,omitempty"`
// Num of tcp fullheader pkts sent
TcpFullHeaderPacketsOut uint64 `protobuf:"varint,12,opt,name=tcp_full_header_packets_out,json=tcpFullHeaderPacketsOut,proto3" json:"tcp_full_header_packets_out,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *IphcStatsSt) Reset() { *m = IphcStatsSt{} }
func (m *IphcStatsSt) String() string { return proto.CompactTextString(m) }
func (*IphcStatsSt) ProtoMessage() {}
func (*IphcStatsSt) Descriptor() ([]byte, []int) {
return fileDescriptor_qos_stats_36e04e8782890772, []int{7}
}
func (m *IphcStatsSt) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IphcStatsSt.Unmarshal(m, b)
}
func (m *IphcStatsSt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IphcStatsSt.Marshal(b, m, deterministic)
}
func (dst *IphcStatsSt) XXX_Merge(src proto.Message) {
xxx_messageInfo_IphcStatsSt.Merge(dst, src)
}
func (m *IphcStatsSt) XXX_Size() int {
return xxx_messageInfo_IphcStatsSt.Size(m)
}
func (m *IphcStatsSt) XXX_DiscardUnknown() {
xxx_messageInfo_IphcStatsSt.DiscardUnknown(m)
}
var xxx_messageInfo_IphcStatsSt proto.InternalMessageInfo
func (m *IphcStatsSt) GetNonTcpTotalOutPackets() uint64 {
if m != nil {
return m.NonTcpTotalOutPackets
}
return 0
}
func (m *IphcStatsSt) GetNonTcpTotalOutBytes() uint64 {
if m != nil {
return m.NonTcpTotalOutBytes
}
return 0
}
func (m *IphcStatsSt) GetNonTcpBytesSaved() uint64 {
if m != nil {
return m.NonTcpBytesSaved
}
return 0
}
func (m *IphcStatsSt) GetNonTcpCompressedPacketsOut() uint64 {
if m != nil {
return m.NonTcpCompressedPacketsOut
}
return 0
}
func (m *IphcStatsSt) GetNonTcpBytesSentRate() uint32 {
if m != nil {
return m.NonTcpBytesSentRate
}
return 0
}
func (m *IphcStatsSt) GetNonTcpFullHeaderPacketsOut() uint64 {
if m != nil {
return m.NonTcpFullHeaderPacketsOut
}
return 0
}
func (m *IphcStatsSt) GetTcpTotalOutPackets() uint64 {
if m != nil {
return m.TcpTotalOutPackets
}
return 0
}
func (m *IphcStatsSt) GetTcpTotalOutBytes() uint64 {
if m != nil {
return m.TcpTotalOutBytes
}
return 0
}
func (m *IphcStatsSt) GetTcpBytesSaved() uint64 {
if m != nil {
return m.TcpBytesSaved
}
return 0
}
func (m *IphcStatsSt) GetTcpCompressedPacketsOut() uint64 {
if m != nil {
return m.TcpCompressedPacketsOut
}
return 0
}
func (m *IphcStatsSt) GetTcpBytesSentRate() uint32 {
if m != nil {
return m.TcpBytesSentRate
}
return 0
}
func (m *IphcStatsSt) GetTcpFullHeaderPacketsOut() uint64 {
if m != nil {
return m.TcpFullHeaderPacketsOut
}
return 0
}
// Queue limit statistics
type QStatsSt struct {
// Queue Id used for Fabric Stats
QueueId uint32 `protobuf:"varint,1,opt,name=queue_id,json=queueId,proto3" json:"queue_id,omitempty"`
// Packets tail dropped
TailDropPackets uint64 `protobuf:"varint,2,opt,name=tail_drop_packets,json=tailDropPackets,proto3" json:"tail_drop_packets,omitempty"`
// Bytes tail dropped
TailDropBytes uint64 `protobuf:"varint,3,opt,name=tail_drop_bytes,json=tailDropBytes,proto3" json:"tail_drop_bytes,omitempty"`
// ATP CLP 0 matched packets dropped
AtmClp0DropPackets uint64 `protobuf:"varint,4,opt,name=atm_clp0_drop_packets,json=atmClp0DropPackets,proto3" json:"atm_clp0_drop_packets,omitempty"`
// ATP CLP 0 matched bytes dropped
AtmClp0DropBytes uint64 `protobuf:"varint,5,opt,name=atm_clp0_drop_bytes,json=atmClp0DropBytes,proto3" json:"atm_clp0_drop_bytes,omitempty"`
// ATP CLP 0 matched packets dropped
AtmClp1DropPackets uint64 `protobuf:"varint,6,opt,name=atm_clp1_drop_packets,json=atmClp1DropPackets,proto3" json:"atm_clp1_drop_packets,omitempty"`
// ATP CLP 0 matched bytes dropped
AtmClp1DropBytes uint64 `protobuf:"varint,7,opt,name=atm_clp1_drop_bytes,json=atmClp1DropBytes,proto3" json:"atm_clp1_drop_bytes,omitempty"`
// Queue instance length
QueueInstanceLength []*PolicyParamUint32St_ `protobuf:"bytes,8,rep,name=queue_instance_length,json=queueInstanceLength,proto3" json:"queue_instance_length,omitempty"`
// Queue average length
QueueAverageLength []*PolicyParamUint32St_ `protobuf:"bytes,9,rep,name=queue_average_length,json=queueAverageLength,proto3" json:"queue_average_length,omitempty"`
// Queue maximum length
QueueMaxLength []*PolicyParamUint32St_ `protobuf:"bytes,10,rep,name=queue_max_length,json=queueMaxLength,proto3" json:"queue_max_length,omitempty"`
// tail drop threshold of the queue in bytes
QueueDropThreshold uint32 `protobuf:"varint,11,opt,name=queue_drop_threshold,json=queueDropThreshold,proto3" json:"queue_drop_threshold,omitempty"`
// flag to forcedisplay of WRED even when per WredWRED profile stats is not available
ForcedWredStatsDisplay bool `protobuf:"varint,12,opt,name=forced_wred_stats_display,json=forcedWredStatsDisplay,proto3" json:"forced_wred_stats_display,omitempty"`
// Packets probabilistically dropped
RandomDropPackets uint64 `protobuf:"varint,13,opt,name=random_drop_packets,json=randomDropPackets,proto3" json:"random_drop_packets,omitempty"`
// Bytes probabilistically dropped
RandomDropBytes uint64 `protobuf:"varint,14,opt,name=random_drop_bytes,json=randomDropBytes,proto3" json:"random_drop_bytes,omitempty"`
// Dropped packets with the average queue size at the max-threshold
MaxThresholdPackets uint64 `protobuf:"varint,15,opt,name=max_threshold_packets,json=maxThresholdPackets,proto3" json:"max_threshold_packets,omitempty"`
// Dropped bytes with the average queue size at the max-threshold
MaxThresholdBytes uint64 `protobuf:"varint,16,opt,name=max_threshold_bytes,json=maxThresholdBytes,proto3" json:"max_threshold_bytes,omitempty"`
// Packets that conform to the queue rate
ConformPackets uint64 `protobuf:"varint,17,opt,name=conform_packets,json=conformPackets,proto3" json:"conform_packets,omitempty"`
// Bytes that conform to the queue rate
ConformBytes uint64 `protobuf:"varint,18,opt,name=conform_bytes,json=conformBytes,proto3" json:"conform_bytes,omitempty"`
// Packets that exceed the queue rate
ExceedPackets uint64 `protobuf:"varint,19,opt,name=exceed_packets,json=exceedPackets,proto3" json:"exceed_packets,omitempty"`
// Bytes that exceed the queue rate
ExceedBytes uint64 `protobuf:"varint,20,opt,name=exceed_bytes,json=exceedBytes,proto3" json:"exceed_bytes,omitempty"`
// Conform rate
ConformRate uint32 `protobuf:"varint,21,opt,name=conform_rate,json=conformRate,proto3" json:"conform_rate,omitempty"`
// Exceed rate
ExceedRate uint32 `protobuf:"varint,22,opt,name=exceed_rate,json=exceedRate,proto3" json:"exceed_rate,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *QStatsSt) Reset() { *m = QStatsSt{} }
func (m *QStatsSt) String() string { return proto.CompactTextString(m) }
func (*QStatsSt) ProtoMessage() {}
func (*QStatsSt) Descriptor() ([]byte, []int) {
return fileDescriptor_qos_stats_36e04e8782890772, []int{8}
}
func (m *QStatsSt) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_QStatsSt.Unmarshal(m, b)
}
func (m *QStatsSt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_QStatsSt.Marshal(b, m, deterministic)
}
func (dst *QStatsSt) XXX_Merge(src proto.Message) {
xxx_messageInfo_QStatsSt.Merge(dst, src)
}
func (m *QStatsSt) XXX_Size() int {
return xxx_messageInfo_QStatsSt.Size(m)
}
func (m *QStatsSt) XXX_DiscardUnknown() {
xxx_messageInfo_QStatsSt.DiscardUnknown(m)
}
var xxx_messageInfo_QStatsSt proto.InternalMessageInfo
func (m *QStatsSt) GetQueueId() uint32 {
if m != nil {
return m.QueueId
}
return 0
}
func (m *QStatsSt) GetTailDropPackets() uint64 {
if m != nil {
return m.TailDropPackets
}
return 0
}
func (m *QStatsSt) GetTailDropBytes() uint64 {
if m != nil {
return m.TailDropBytes
}
return 0
}
func (m *QStatsSt) GetAtmClp0DropPackets() uint64 {
if m != nil {
return m.AtmClp0DropPackets
}
return 0
}
func (m *QStatsSt) GetAtmClp0DropBytes() uint64 {
if m != nil {
return m.AtmClp0DropBytes
}
return 0
}
func (m *QStatsSt) GetAtmClp1DropPackets() uint64 {
if m != nil {
return m.AtmClp1DropPackets
}
return 0
}
func (m *QStatsSt) GetAtmClp1DropBytes() uint64 {
if m != nil {
return m.AtmClp1DropBytes
}
return 0