This repository has been archived by the owner on Nov 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
ip_mobileip_oper.go
3679 lines (2919 loc) · 191 KB
/
ip_mobileip_oper.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
// This module contains a collection of YANG definitions
// for Cisco IOS-XR ip-mobileip package operational data.
//
// This module contains definitions
// for the following management objects:
// pmipv6: Proxy Mobile IPv6
//
// Copyright (c) 2013-2018 by Cisco Systems, Inc.
// All rights reserved.
package ip_mobileip_oper
import (
"fmt"
"github.com/CiscoDevNet/ydk-go/ydk"
"github.com/CiscoDevNet/ydk-go/ydk/types"
"github.com/CiscoDevNet/ydk-go/ydk/types/yfilter"
"github.com/CiscoDevNet/ydk-go/ydk/models/cisco_ios_xr"
"reflect"
)
func init() {
ydk.YLogDebug(fmt.Sprintf("Registering top level entities for package ip_mobileip_oper"))
ydk.RegisterEntity("{http://cisco.com/ns/yang/Cisco-IOS-XR-ip-mobileip-oper pmipv6}", reflect.TypeOf(Pmipv6{}))
ydk.RegisterEntity("Cisco-IOS-XR-ip-mobileip-oper:pmipv6", reflect.TypeOf(Pmipv6{}))
}
// Pmipv6Role represents PMIPV6 Role Types
type Pmipv6Role string
const (
// WLAN
Pmipv6Role_wlan Pmipv6Role = "wlan"
// 3GPP
Pmipv6Role_gpp Pmipv6Role = "gpp"
// LTE
Pmipv6Role_lte Pmipv6Role = "lte"
// WiMAX
Pmipv6Role_wi_max Pmipv6Role = "wi-max"
// 3GMA
Pmipv6Role_gma Pmipv6Role = "gma"
// MAX Role
Pmipv6Role_rmax Pmipv6Role = "rmax"
)
// Pmipv6Encap represents ENCAP Types
type Pmipv6Encap string
const (
// None
Pmipv6Encap_none Pmipv6Encap = "none"
// IPV6 Tunnel
Pmipv6Encap_ipv6 Pmipv6Encap = "ipv6"
// IPV6 in IPV4 Tunnel
Pmipv6Encap_ipv6_ipv4 Pmipv6Encap = "ipv6-ipv4"
// IPV6 in IPV4 UDP Tunnel
Pmipv6Encap_ipv6_udp Pmipv6Encap = "ipv6-udp"
// GRE IPV4 Tunnel
Pmipv6Encap_gre_ipv4 Pmipv6Encap = "gre-ipv4"
// GRE IPV6 Tunnel
Pmipv6Encap_gre_ipv6 Pmipv6Encap = "gre-ipv6"
// GRE Tunnel
Pmipv6Encap_gre Pmipv6Encap = "gre"
// MGRE IPV4 Tunnel
Pmipv6Encap_mgre_ipv4 Pmipv6Encap = "mgre-ipv4"
// MGRE IPV6 Tunnel
Pmipv6Encap_mgre_ipv6 Pmipv6Encap = "mgre-ipv6"
// MIP UDP Tunnel
Pmipv6Encap_mip_udp Pmipv6Encap = "mip-udp"
// MIP MUDP Tunnel
Pmipv6Encap_mip_mudp Pmipv6Encap = "mip-mudp"
// MAX Encap Type
Pmipv6Encap_max Pmipv6Encap = "max"
)
// Pmipv6Addr represents Address Types
type Pmipv6Addr string
const (
// None
Pmipv6Addr_none Pmipv6Addr = "none"
// IPV4 Address
Pmipv6Addr_ipv4 Pmipv6Addr = "ipv4"
// IPV6 Address
Pmipv6Addr_ipv6 Pmipv6Addr = "ipv6"
// Both IPV4 and IPV6 Address
Pmipv6Addr_pmipv6_addr_ipv4_ipv6 Pmipv6Addr = "pmipv6-addr-ipv4-ipv6"
)
// Pmipv6
// Proxy Mobile IPv6
type Pmipv6 struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// None.
Lma Pmipv6_Lma
}
func (pmipv6 *Pmipv6) GetEntityData() *types.CommonEntityData {
pmipv6.EntityData.YFilter = pmipv6.YFilter
pmipv6.EntityData.YangName = "pmipv6"
pmipv6.EntityData.BundleName = "cisco_ios_xr"
pmipv6.EntityData.ParentYangName = "Cisco-IOS-XR-ip-mobileip-oper"
pmipv6.EntityData.SegmentPath = "Cisco-IOS-XR-ip-mobileip-oper:pmipv6"
pmipv6.EntityData.AbsolutePath = pmipv6.EntityData.SegmentPath
pmipv6.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
pmipv6.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
pmipv6.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
pmipv6.EntityData.Children = types.NewOrderedMap()
pmipv6.EntityData.Children.Append("lma", types.YChild{"Lma", &pmipv6.Lma})
pmipv6.EntityData.Leafs = types.NewOrderedMap()
pmipv6.EntityData.YListKeys = []string {}
return &(pmipv6.EntityData)
}
// Pmipv6_Lma
// None
type Pmipv6_Lma struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// None.
Statistics Pmipv6_Lma_Statistics
// Table of Binding.
Bindings Pmipv6_Lma_Bindings
// Table of Heartbeat.
Heartbeats Pmipv6_Lma_Heartbeats
// Global Configuration Variables.
ConfigVariables Pmipv6_Lma_ConfigVariables
}
func (lma *Pmipv6_Lma) GetEntityData() *types.CommonEntityData {
lma.EntityData.YFilter = lma.YFilter
lma.EntityData.YangName = "lma"
lma.EntityData.BundleName = "cisco_ios_xr"
lma.EntityData.ParentYangName = "pmipv6"
lma.EntityData.SegmentPath = "lma"
lma.EntityData.AbsolutePath = "Cisco-IOS-XR-ip-mobileip-oper:pmipv6/" + lma.EntityData.SegmentPath
lma.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
lma.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
lma.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
lma.EntityData.Children = types.NewOrderedMap()
lma.EntityData.Children.Append("statistics", types.YChild{"Statistics", &lma.Statistics})
lma.EntityData.Children.Append("bindings", types.YChild{"Bindings", &lma.Bindings})
lma.EntityData.Children.Append("heartbeats", types.YChild{"Heartbeats", &lma.Heartbeats})
lma.EntityData.Children.Append("config-variables", types.YChild{"ConfigVariables", &lma.ConfigVariables})
lma.EntityData.Leafs = types.NewOrderedMap()
lma.EntityData.YListKeys = []string {}
return &(lma.EntityData)
}
// Pmipv6_Lma_Statistics
// None
type Pmipv6_Lma_Statistics struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Table of CustomerStatistics.
CustomerStatistics Pmipv6_Lma_Statistics_CustomerStatistics
// LMA License Statistics.
License Pmipv6_Lma_Statistics_License
// Global Statistics.
Global Pmipv6_Lma_Statistics_Global
// Table of MAGStatistics.
MagStatistics Pmipv6_Lma_Statistics_MagStatistics
}
func (statistics *Pmipv6_Lma_Statistics) GetEntityData() *types.CommonEntityData {
statistics.EntityData.YFilter = statistics.YFilter
statistics.EntityData.YangName = "statistics"
statistics.EntityData.BundleName = "cisco_ios_xr"
statistics.EntityData.ParentYangName = "lma"
statistics.EntityData.SegmentPath = "statistics"
statistics.EntityData.AbsolutePath = "Cisco-IOS-XR-ip-mobileip-oper:pmipv6/lma/" + statistics.EntityData.SegmentPath
statistics.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
statistics.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
statistics.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
statistics.EntityData.Children = types.NewOrderedMap()
statistics.EntityData.Children.Append("customer-statistics", types.YChild{"CustomerStatistics", &statistics.CustomerStatistics})
statistics.EntityData.Children.Append("license", types.YChild{"License", &statistics.License})
statistics.EntityData.Children.Append("global", types.YChild{"Global", &statistics.Global})
statistics.EntityData.Children.Append("mag-statistics", types.YChild{"MagStatistics", &statistics.MagStatistics})
statistics.EntityData.Leafs = types.NewOrderedMap()
statistics.EntityData.YListKeys = []string {}
return &(statistics.EntityData)
}
// Pmipv6_Lma_Statistics_CustomerStatistics
// Table of CustomerStatistics
type Pmipv6_Lma_Statistics_CustomerStatistics struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Customer statistics. The type is slice of
// Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic.
CustomerStatistic []*Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic
}
func (customerStatistics *Pmipv6_Lma_Statistics_CustomerStatistics) GetEntityData() *types.CommonEntityData {
customerStatistics.EntityData.YFilter = customerStatistics.YFilter
customerStatistics.EntityData.YangName = "customer-statistics"
customerStatistics.EntityData.BundleName = "cisco_ios_xr"
customerStatistics.EntityData.ParentYangName = "statistics"
customerStatistics.EntityData.SegmentPath = "customer-statistics"
customerStatistics.EntityData.AbsolutePath = "Cisco-IOS-XR-ip-mobileip-oper:pmipv6/lma/statistics/" + customerStatistics.EntityData.SegmentPath
customerStatistics.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
customerStatistics.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
customerStatistics.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
customerStatistics.EntityData.Children = types.NewOrderedMap()
customerStatistics.EntityData.Children.Append("customer-statistic", types.YChild{"CustomerStatistic", nil})
for i := range customerStatistics.CustomerStatistic {
customerStatistics.EntityData.Children.Append(types.GetSegmentPath(customerStatistics.CustomerStatistic[i]), types.YChild{"CustomerStatistic", customerStatistics.CustomerStatistic[i]})
}
customerStatistics.EntityData.Leafs = types.NewOrderedMap()
customerStatistics.EntityData.YListKeys = []string {}
return &(customerStatistics.EntityData)
}
// Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic
// Customer statistics
type Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. Customer Name. The type is string with pattern:
// [\w\-\.:,_@#%$\+=\|;]+.
CustomerName interface{}
// LMA Identifier. The type is string.
LmaIdentifier interface{}
// Count of Bindings. The type is interface{} with range: 0..4294967295.
BceCount interface{}
// Count of Handoffs. The type is interface{} with range: 0..4294967295.
HandoffCount interface{}
// Count of IPv4 Mobile Node Prefixes. The type is interface{} with range:
// 0..4294967295.
Ipv4MnpCount interface{}
// Count of IPv6 Mobile Node Prefixes. The type is interface{} with range:
// 0..4294967295.
Ipv6MnpCount interface{}
// LMA Protocol Statistics.
ProtocolStatistics Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics
// LMA Accounting Statistics.
AccountingStatistics Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_AccountingStatistics
}
func (customerStatistic *Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic) GetEntityData() *types.CommonEntityData {
customerStatistic.EntityData.YFilter = customerStatistic.YFilter
customerStatistic.EntityData.YangName = "customer-statistic"
customerStatistic.EntityData.BundleName = "cisco_ios_xr"
customerStatistic.EntityData.ParentYangName = "customer-statistics"
customerStatistic.EntityData.SegmentPath = "customer-statistic" + types.AddKeyToken(customerStatistic.CustomerName, "customer-name")
customerStatistic.EntityData.AbsolutePath = "Cisco-IOS-XR-ip-mobileip-oper:pmipv6/lma/statistics/customer-statistics/" + customerStatistic.EntityData.SegmentPath
customerStatistic.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
customerStatistic.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
customerStatistic.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
customerStatistic.EntityData.Children = types.NewOrderedMap()
customerStatistic.EntityData.Children.Append("protocol-statistics", types.YChild{"ProtocolStatistics", &customerStatistic.ProtocolStatistics})
customerStatistic.EntityData.Children.Append("accounting-statistics", types.YChild{"AccountingStatistics", &customerStatistic.AccountingStatistics})
customerStatistic.EntityData.Leafs = types.NewOrderedMap()
customerStatistic.EntityData.Leafs.Append("customer-name", types.YLeaf{"CustomerName", customerStatistic.CustomerName})
customerStatistic.EntityData.Leafs.Append("lma-identifier", types.YLeaf{"LmaIdentifier", customerStatistic.LmaIdentifier})
customerStatistic.EntityData.Leafs.Append("bce-count", types.YLeaf{"BceCount", customerStatistic.BceCount})
customerStatistic.EntityData.Leafs.Append("handoff-count", types.YLeaf{"HandoffCount", customerStatistic.HandoffCount})
customerStatistic.EntityData.Leafs.Append("ipv4-mnp-count", types.YLeaf{"Ipv4MnpCount", customerStatistic.Ipv4MnpCount})
customerStatistic.EntityData.Leafs.Append("ipv6-mnp-count", types.YLeaf{"Ipv6MnpCount", customerStatistic.Ipv6MnpCount})
customerStatistic.EntityData.YListKeys = []string {"CustomerName"}
return &(customerStatistic.EntityData)
}
// Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics
// LMA Protocol Statistics
type Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// PBU Receive Statistics.
PbuReceiveStatistics Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbuReceiveStatistics
// PBA Send Statistics.
PbaSendStatistics Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbaSendStatistics
// PBRI Send Statistics.
PbriSendStatistics Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbriSendStatistics
// PBRI Receive Statistics.
PbriReceiveStatistics Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbriReceiveStatistics
// PBRA Send Statistics.
PbraSendStatistics Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbraSendStatistics
// PBRA Receive Statistics.
PbraReceiveStatistics Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbraReceiveStatistics
}
func (protocolStatistics *Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics) GetEntityData() *types.CommonEntityData {
protocolStatistics.EntityData.YFilter = protocolStatistics.YFilter
protocolStatistics.EntityData.YangName = "protocol-statistics"
protocolStatistics.EntityData.BundleName = "cisco_ios_xr"
protocolStatistics.EntityData.ParentYangName = "customer-statistic"
protocolStatistics.EntityData.SegmentPath = "protocol-statistics"
protocolStatistics.EntityData.AbsolutePath = "Cisco-IOS-XR-ip-mobileip-oper:pmipv6/lma/statistics/customer-statistics/customer-statistic/" + protocolStatistics.EntityData.SegmentPath
protocolStatistics.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
protocolStatistics.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
protocolStatistics.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
protocolStatistics.EntityData.Children = types.NewOrderedMap()
protocolStatistics.EntityData.Children.Append("pbu-receive-statistics", types.YChild{"PbuReceiveStatistics", &protocolStatistics.PbuReceiveStatistics})
protocolStatistics.EntityData.Children.Append("pba-send-statistics", types.YChild{"PbaSendStatistics", &protocolStatistics.PbaSendStatistics})
protocolStatistics.EntityData.Children.Append("pbri-send-statistics", types.YChild{"PbriSendStatistics", &protocolStatistics.PbriSendStatistics})
protocolStatistics.EntityData.Children.Append("pbri-receive-statistics", types.YChild{"PbriReceiveStatistics", &protocolStatistics.PbriReceiveStatistics})
protocolStatistics.EntityData.Children.Append("pbra-send-statistics", types.YChild{"PbraSendStatistics", &protocolStatistics.PbraSendStatistics})
protocolStatistics.EntityData.Children.Append("pbra-receive-statistics", types.YChild{"PbraReceiveStatistics", &protocolStatistics.PbraReceiveStatistics})
protocolStatistics.EntityData.Leafs = types.NewOrderedMap()
protocolStatistics.EntityData.YListKeys = []string {}
return &(protocolStatistics.EntityData)
}
// Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbuReceiveStatistics
// PBU Receive Statistics
type Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbuReceiveStatistics struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Count of PBUs. The type is interface{} with range: 0..18446744073709551615.
PbuCount interface{}
// Count of PBUs Dropped. The type is interface{} with range: 0..4294967295.
PbuDropCount interface{}
}
func (pbuReceiveStatistics *Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbuReceiveStatistics) GetEntityData() *types.CommonEntityData {
pbuReceiveStatistics.EntityData.YFilter = pbuReceiveStatistics.YFilter
pbuReceiveStatistics.EntityData.YangName = "pbu-receive-statistics"
pbuReceiveStatistics.EntityData.BundleName = "cisco_ios_xr"
pbuReceiveStatistics.EntityData.ParentYangName = "protocol-statistics"
pbuReceiveStatistics.EntityData.SegmentPath = "pbu-receive-statistics"
pbuReceiveStatistics.EntityData.AbsolutePath = "Cisco-IOS-XR-ip-mobileip-oper:pmipv6/lma/statistics/customer-statistics/customer-statistic/protocol-statistics/" + pbuReceiveStatistics.EntityData.SegmentPath
pbuReceiveStatistics.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
pbuReceiveStatistics.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
pbuReceiveStatistics.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
pbuReceiveStatistics.EntityData.Children = types.NewOrderedMap()
pbuReceiveStatistics.EntityData.Leafs = types.NewOrderedMap()
pbuReceiveStatistics.EntityData.Leafs.Append("pbu-count", types.YLeaf{"PbuCount", pbuReceiveStatistics.PbuCount})
pbuReceiveStatistics.EntityData.Leafs.Append("pbu-drop-count", types.YLeaf{"PbuDropCount", pbuReceiveStatistics.PbuDropCount})
pbuReceiveStatistics.EntityData.YListKeys = []string {}
return &(pbuReceiveStatistics.EntityData)
}
// Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbaSendStatistics
// PBA Send Statistics
type Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbaSendStatistics struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Count of PBAs. The type is interface{} with range: 0..18446744073709551615.
PbaCount interface{}
// Count of PBAs dropped. The type is interface{} with range: 0..4294967295.
PbaDropCount interface{}
// Count of Status Code - Binding Update accepted. The type is interface{}
// with range: 0..4294967295.
AcceptedCount interface{}
// Count of Status Code - Last BA status code sent. The type is interface{}
// with range: 0..4294967295.
UnknownCount interface{}
// Count of Status Code - Reason unspecified. The type is interface{} with
// range: 0..4294967295.
UnspecifiedFailureCount interface{}
// Count of Status Code - Administratively prohibited. The type is interface{}
// with range: 0..4294967295.
AdminFailureCount interface{}
// Count of Status Code - Insufficient resources. The type is interface{} with
// range: 0..4294967295.
ResourceFailureCount interface{}
// Count of Status Code - Home registration not supported. The type is
// interface{} with range: 0..4294967295.
HomeRegFailureCount interface{}
// Count of Status Code - Not home subnet. The type is interface{} with range:
// 0..4294967295.
HomeSubnetFailureCount interface{}
// Count of Status Code - Sequence number out of window. The type is
// interface{} with range: 0..4294967295.
BadSequenceFailureCount interface{}
// Count of Status Code - Registration type change. The type is interface{}
// with range: 0..4294967295.
RegTypeFailureCount interface{}
// Count of Status Code - Auth Fail. The type is interface{} with range:
// 0..4294967295.
AuthenFailureCount interface{}
// Count of Status Code - Proxy Registration not enabled. The type is
// interface{} with range: 0..4294967295.
ProxyRegNotEnabledCount interface{}
// Count of Status Code - Not LMA for this Mobile Node. The type is
// interface{} with range: 0..4294967295.
NotLmaForThisMnCount interface{}
// Count of Status Code - MAG not auth.for proxyreg. The type is interface{}
// with range: 0..4294967295.
NoAuthorForProxyRegCount interface{}
// Count of Status Code - Not authorized for HNP. The type is interface{} with
// range: 0..4294967295.
NoAuthorForHnpCount interface{}
// Count of Status Code - Invalid timestamp value. The type is interface{}
// with range: 0..4294967295.
TimestampMismatchCount interface{}
// Count of Status Code - Timestamp lower than previous accepted. The type is
// interface{} with range: 0..4294967295.
TimestampLowerThanPreviousAcceptedCount interface{}
// Count of Status Code - Missing Home Network Prefix option. The type is
// interface{} with range: 0..4294967295.
MissingHnpOptCount interface{}
// Count of Status Code - Recevied HNPs do not match with BCE. The type is
// interface{} with range: 0..4294967295.
ReceivedHnpsDoNotMatchBceHnpsCount interface{}
// Count of Status Code - Missing MN identifier option. The type is
// interface{} with range: 0..4294967295.
MissingMnIdOptCount interface{}
// Count of Status Code - Missing Handoff Indicator. The type is interface{}
// with range: 0..4294967295.
MissingHiOptCount interface{}
// Count of Status Code - Missing ATT option. The type is interface{} with
// range: 0..4294967295.
MissingAccessTechTypeOptCount interface{}
// Count of Status Code - Not authorized for IPv4 mobility. The type is
// interface{} with range: 0..4294967295.
NoAuthorForIpv4MobilityCount interface{}
// Count of Status Code - Not authorized for IPv4 HoA. The type is interface{}
// with range: 0..4294967295.
NoAuthorForIpv4HoaCount interface{}
// Count of Status Code - Not authorized for IPv6 mobility. The type is
// interface{} with range: 0..4294967295.
NoAuthorForIpv6MobilityCount interface{}
// Count of Status Code - Multiple IPv4 HoA not supported. The type is
// interface{} with range: 0..4294967295.
MultipleIpv4HoANotSupportedCount interface{}
// Count of Status Code - GRE Key option is required. The type is interface{}
// with range: 0..4294967295.
GreKeyOptRequiredCount interface{}
}
func (pbaSendStatistics *Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbaSendStatistics) GetEntityData() *types.CommonEntityData {
pbaSendStatistics.EntityData.YFilter = pbaSendStatistics.YFilter
pbaSendStatistics.EntityData.YangName = "pba-send-statistics"
pbaSendStatistics.EntityData.BundleName = "cisco_ios_xr"
pbaSendStatistics.EntityData.ParentYangName = "protocol-statistics"
pbaSendStatistics.EntityData.SegmentPath = "pba-send-statistics"
pbaSendStatistics.EntityData.AbsolutePath = "Cisco-IOS-XR-ip-mobileip-oper:pmipv6/lma/statistics/customer-statistics/customer-statistic/protocol-statistics/" + pbaSendStatistics.EntityData.SegmentPath
pbaSendStatistics.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
pbaSendStatistics.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
pbaSendStatistics.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
pbaSendStatistics.EntityData.Children = types.NewOrderedMap()
pbaSendStatistics.EntityData.Leafs = types.NewOrderedMap()
pbaSendStatistics.EntityData.Leafs.Append("pba-count", types.YLeaf{"PbaCount", pbaSendStatistics.PbaCount})
pbaSendStatistics.EntityData.Leafs.Append("pba-drop-count", types.YLeaf{"PbaDropCount", pbaSendStatistics.PbaDropCount})
pbaSendStatistics.EntityData.Leafs.Append("accepted-count", types.YLeaf{"AcceptedCount", pbaSendStatistics.AcceptedCount})
pbaSendStatistics.EntityData.Leafs.Append("unknown-count", types.YLeaf{"UnknownCount", pbaSendStatistics.UnknownCount})
pbaSendStatistics.EntityData.Leafs.Append("unspecified-failure-count", types.YLeaf{"UnspecifiedFailureCount", pbaSendStatistics.UnspecifiedFailureCount})
pbaSendStatistics.EntityData.Leafs.Append("admin-failure-count", types.YLeaf{"AdminFailureCount", pbaSendStatistics.AdminFailureCount})
pbaSendStatistics.EntityData.Leafs.Append("resource-failure-count", types.YLeaf{"ResourceFailureCount", pbaSendStatistics.ResourceFailureCount})
pbaSendStatistics.EntityData.Leafs.Append("home-reg-failure-count", types.YLeaf{"HomeRegFailureCount", pbaSendStatistics.HomeRegFailureCount})
pbaSendStatistics.EntityData.Leafs.Append("home-subnet-failure-count", types.YLeaf{"HomeSubnetFailureCount", pbaSendStatistics.HomeSubnetFailureCount})
pbaSendStatistics.EntityData.Leafs.Append("bad-sequence-failure-count", types.YLeaf{"BadSequenceFailureCount", pbaSendStatistics.BadSequenceFailureCount})
pbaSendStatistics.EntityData.Leafs.Append("reg-type-failure-count", types.YLeaf{"RegTypeFailureCount", pbaSendStatistics.RegTypeFailureCount})
pbaSendStatistics.EntityData.Leafs.Append("authen-failure-count", types.YLeaf{"AuthenFailureCount", pbaSendStatistics.AuthenFailureCount})
pbaSendStatistics.EntityData.Leafs.Append("proxy-reg-not-enabled-count", types.YLeaf{"ProxyRegNotEnabledCount", pbaSendStatistics.ProxyRegNotEnabledCount})
pbaSendStatistics.EntityData.Leafs.Append("not-lma-for-this-mn-count", types.YLeaf{"NotLmaForThisMnCount", pbaSendStatistics.NotLmaForThisMnCount})
pbaSendStatistics.EntityData.Leafs.Append("no-author-for-proxy-reg-count", types.YLeaf{"NoAuthorForProxyRegCount", pbaSendStatistics.NoAuthorForProxyRegCount})
pbaSendStatistics.EntityData.Leafs.Append("no-author-for-hnp-count", types.YLeaf{"NoAuthorForHnpCount", pbaSendStatistics.NoAuthorForHnpCount})
pbaSendStatistics.EntityData.Leafs.Append("timestamp-mismatch-count", types.YLeaf{"TimestampMismatchCount", pbaSendStatistics.TimestampMismatchCount})
pbaSendStatistics.EntityData.Leafs.Append("timestamp-lower-than-previous-accepted-count", types.YLeaf{"TimestampLowerThanPreviousAcceptedCount", pbaSendStatistics.TimestampLowerThanPreviousAcceptedCount})
pbaSendStatistics.EntityData.Leafs.Append("missing-hnp-opt-count", types.YLeaf{"MissingHnpOptCount", pbaSendStatistics.MissingHnpOptCount})
pbaSendStatistics.EntityData.Leafs.Append("received-hnps-do-not-match-bce-hnps-count", types.YLeaf{"ReceivedHnpsDoNotMatchBceHnpsCount", pbaSendStatistics.ReceivedHnpsDoNotMatchBceHnpsCount})
pbaSendStatistics.EntityData.Leafs.Append("missing-mn-id-opt-count", types.YLeaf{"MissingMnIdOptCount", pbaSendStatistics.MissingMnIdOptCount})
pbaSendStatistics.EntityData.Leafs.Append("missing-hi-opt-count", types.YLeaf{"MissingHiOptCount", pbaSendStatistics.MissingHiOptCount})
pbaSendStatistics.EntityData.Leafs.Append("missing-access-tech-type-opt-count", types.YLeaf{"MissingAccessTechTypeOptCount", pbaSendStatistics.MissingAccessTechTypeOptCount})
pbaSendStatistics.EntityData.Leafs.Append("no-author-for-ipv4-mobility-count", types.YLeaf{"NoAuthorForIpv4MobilityCount", pbaSendStatistics.NoAuthorForIpv4MobilityCount})
pbaSendStatistics.EntityData.Leafs.Append("no-author-for-ipv4-hoa-count", types.YLeaf{"NoAuthorForIpv4HoaCount", pbaSendStatistics.NoAuthorForIpv4HoaCount})
pbaSendStatistics.EntityData.Leafs.Append("no-author-for-ipv6-mobility-count", types.YLeaf{"NoAuthorForIpv6MobilityCount", pbaSendStatistics.NoAuthorForIpv6MobilityCount})
pbaSendStatistics.EntityData.Leafs.Append("multiple-ipv4-ho-a-not-supported-count", types.YLeaf{"MultipleIpv4HoANotSupportedCount", pbaSendStatistics.MultipleIpv4HoANotSupportedCount})
pbaSendStatistics.EntityData.Leafs.Append("gre-key-opt-required-count", types.YLeaf{"GreKeyOptRequiredCount", pbaSendStatistics.GreKeyOptRequiredCount})
pbaSendStatistics.EntityData.YListKeys = []string {}
return &(pbaSendStatistics.EntityData)
}
// Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbriSendStatistics
// PBRI Send Statistics
type Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbriSendStatistics struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Count of PBRIs. The type is interface{} with range:
// 0..18446744073709551615.
PbriCount interface{}
// Count of PBRIs dropped. The type is interface{} with range: 0..4294967295.
PbriDropCount interface{}
// Count of Revoc Trigger - Unspecified. The type is interface{} with range:
// 0..4294967295.
UnspecifiedCount interface{}
// Count of Revoc Trigger - Administrative Reason. The type is interface{}
// with range: 0..4294967295.
AdminReasonCount interface{}
// Count of Revoc Trigger - Inter MAG Handover Same ATT. The type is
// interface{} with range: 0..4294967295.
MagHandoverSameAttCount interface{}
// Count of Revoc Trigger - Inter MAG Handover Different ATT. The type is
// interface{} with range: 0..4294967295.
MagHandoverDifferentAttCount interface{}
// Count of Revoc Trigger - Inter MAG Handover Unknown. The type is
// interface{} with range: 0..4294967295.
MagHandoverUnknownCount interface{}
// Count of Revoc Trigger - User Init Session Terminatation. The type is
// interface{} with range: 0..4294967295.
UserSessionTerminationCount interface{}
// Count of Revoc Trigger - Access Network Session Termination. The type is
// interface{} with range: 0..4294967295.
NetworkSessionTerminationCount interface{}
// Count of Revoc Trigger - Possible Out-of-Sync BCE State. The type is
// interface{} with range: 0..4294967295.
OutOfSyncBceStateCount interface{}
// Count of Revoc Trigger - Per-Peer Policy. The type is interface{} with
// range: 0..4294967295.
PerPeerPolicyCount interface{}
// Count of Revoc Trigger - Revoking Mobility Node Local Policy. The type is
// interface{} with range: 0..4294967295.
RevokingMnLocalPolicyCount interface{}
}
func (pbriSendStatistics *Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbriSendStatistics) GetEntityData() *types.CommonEntityData {
pbriSendStatistics.EntityData.YFilter = pbriSendStatistics.YFilter
pbriSendStatistics.EntityData.YangName = "pbri-send-statistics"
pbriSendStatistics.EntityData.BundleName = "cisco_ios_xr"
pbriSendStatistics.EntityData.ParentYangName = "protocol-statistics"
pbriSendStatistics.EntityData.SegmentPath = "pbri-send-statistics"
pbriSendStatistics.EntityData.AbsolutePath = "Cisco-IOS-XR-ip-mobileip-oper:pmipv6/lma/statistics/customer-statistics/customer-statistic/protocol-statistics/" + pbriSendStatistics.EntityData.SegmentPath
pbriSendStatistics.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
pbriSendStatistics.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
pbriSendStatistics.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
pbriSendStatistics.EntityData.Children = types.NewOrderedMap()
pbriSendStatistics.EntityData.Leafs = types.NewOrderedMap()
pbriSendStatistics.EntityData.Leafs.Append("pbri-count", types.YLeaf{"PbriCount", pbriSendStatistics.PbriCount})
pbriSendStatistics.EntityData.Leafs.Append("pbri-drop-count", types.YLeaf{"PbriDropCount", pbriSendStatistics.PbriDropCount})
pbriSendStatistics.EntityData.Leafs.Append("unspecified-count", types.YLeaf{"UnspecifiedCount", pbriSendStatistics.UnspecifiedCount})
pbriSendStatistics.EntityData.Leafs.Append("admin-reason-count", types.YLeaf{"AdminReasonCount", pbriSendStatistics.AdminReasonCount})
pbriSendStatistics.EntityData.Leafs.Append("mag-handover-same-att-count", types.YLeaf{"MagHandoverSameAttCount", pbriSendStatistics.MagHandoverSameAttCount})
pbriSendStatistics.EntityData.Leafs.Append("mag-handover-different-att-count", types.YLeaf{"MagHandoverDifferentAttCount", pbriSendStatistics.MagHandoverDifferentAttCount})
pbriSendStatistics.EntityData.Leafs.Append("mag-handover-unknown-count", types.YLeaf{"MagHandoverUnknownCount", pbriSendStatistics.MagHandoverUnknownCount})
pbriSendStatistics.EntityData.Leafs.Append("user-session-termination-count", types.YLeaf{"UserSessionTerminationCount", pbriSendStatistics.UserSessionTerminationCount})
pbriSendStatistics.EntityData.Leafs.Append("network-session-termination-count", types.YLeaf{"NetworkSessionTerminationCount", pbriSendStatistics.NetworkSessionTerminationCount})
pbriSendStatistics.EntityData.Leafs.Append("out-of-sync-bce-state-count", types.YLeaf{"OutOfSyncBceStateCount", pbriSendStatistics.OutOfSyncBceStateCount})
pbriSendStatistics.EntityData.Leafs.Append("per-peer-policy-count", types.YLeaf{"PerPeerPolicyCount", pbriSendStatistics.PerPeerPolicyCount})
pbriSendStatistics.EntityData.Leafs.Append("revoking-mn-local-policy-count", types.YLeaf{"RevokingMnLocalPolicyCount", pbriSendStatistics.RevokingMnLocalPolicyCount})
pbriSendStatistics.EntityData.YListKeys = []string {}
return &(pbriSendStatistics.EntityData)
}
// Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbriReceiveStatistics
// PBRI Receive Statistics
type Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbriReceiveStatistics struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Count of PBRIs. The type is interface{} with range:
// 0..18446744073709551615.
PbriCount interface{}
// Count of PBRIs dropped. The type is interface{} with range: 0..4294967295.
PbriDropCount interface{}
// Count of Revoc Trigger - Unspecified. The type is interface{} with range:
// 0..4294967295.
UnspecifiedCount interface{}
// Count of Revoc Trigger - Administrative Reason. The type is interface{}
// with range: 0..4294967295.
AdminReasonCount interface{}
// Count of Revoc Trigger - Inter MAG Handover Same ATT. The type is
// interface{} with range: 0..4294967295.
MagHandoverSameAttCount interface{}
// Count of Revoc Trigger - Inter MAG Handover Different ATT. The type is
// interface{} with range: 0..4294967295.
MagHandoverDifferentAttCount interface{}
// Count of Revoc Trigger - Inter MAG Handover Unknown. The type is
// interface{} with range: 0..4294967295.
MagHandoverUnknownCount interface{}
// Count of Revoc Trigger - User Init Session Terminatation. The type is
// interface{} with range: 0..4294967295.
UserSessionTerminationCount interface{}
// Count of Revoc Trigger - Access Network Session Termination. The type is
// interface{} with range: 0..4294967295.
NetworkSessionTerminationCount interface{}
// Count of Revoc Trigger - Possible Out-of-Sync BCE State. The type is
// interface{} with range: 0..4294967295.
OutOfSyncBceStateCount interface{}
// Count of Revoc Trigger - Per-Peer Policy. The type is interface{} with
// range: 0..4294967295.
PerPeerPolicyCount interface{}
// Count of Revoc Trigger - Revoking Mobility Node Local Policy. The type is
// interface{} with range: 0..4294967295.
RevokingMnLocalPolicyCount interface{}
}
func (pbriReceiveStatistics *Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbriReceiveStatistics) GetEntityData() *types.CommonEntityData {
pbriReceiveStatistics.EntityData.YFilter = pbriReceiveStatistics.YFilter
pbriReceiveStatistics.EntityData.YangName = "pbri-receive-statistics"
pbriReceiveStatistics.EntityData.BundleName = "cisco_ios_xr"
pbriReceiveStatistics.EntityData.ParentYangName = "protocol-statistics"
pbriReceiveStatistics.EntityData.SegmentPath = "pbri-receive-statistics"
pbriReceiveStatistics.EntityData.AbsolutePath = "Cisco-IOS-XR-ip-mobileip-oper:pmipv6/lma/statistics/customer-statistics/customer-statistic/protocol-statistics/" + pbriReceiveStatistics.EntityData.SegmentPath
pbriReceiveStatistics.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
pbriReceiveStatistics.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
pbriReceiveStatistics.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
pbriReceiveStatistics.EntityData.Children = types.NewOrderedMap()
pbriReceiveStatistics.EntityData.Leafs = types.NewOrderedMap()
pbriReceiveStatistics.EntityData.Leafs.Append("pbri-count", types.YLeaf{"PbriCount", pbriReceiveStatistics.PbriCount})
pbriReceiveStatistics.EntityData.Leafs.Append("pbri-drop-count", types.YLeaf{"PbriDropCount", pbriReceiveStatistics.PbriDropCount})
pbriReceiveStatistics.EntityData.Leafs.Append("unspecified-count", types.YLeaf{"UnspecifiedCount", pbriReceiveStatistics.UnspecifiedCount})
pbriReceiveStatistics.EntityData.Leafs.Append("admin-reason-count", types.YLeaf{"AdminReasonCount", pbriReceiveStatistics.AdminReasonCount})
pbriReceiveStatistics.EntityData.Leafs.Append("mag-handover-same-att-count", types.YLeaf{"MagHandoverSameAttCount", pbriReceiveStatistics.MagHandoverSameAttCount})
pbriReceiveStatistics.EntityData.Leafs.Append("mag-handover-different-att-count", types.YLeaf{"MagHandoverDifferentAttCount", pbriReceiveStatistics.MagHandoverDifferentAttCount})
pbriReceiveStatistics.EntityData.Leafs.Append("mag-handover-unknown-count", types.YLeaf{"MagHandoverUnknownCount", pbriReceiveStatistics.MagHandoverUnknownCount})
pbriReceiveStatistics.EntityData.Leafs.Append("user-session-termination-count", types.YLeaf{"UserSessionTerminationCount", pbriReceiveStatistics.UserSessionTerminationCount})
pbriReceiveStatistics.EntityData.Leafs.Append("network-session-termination-count", types.YLeaf{"NetworkSessionTerminationCount", pbriReceiveStatistics.NetworkSessionTerminationCount})
pbriReceiveStatistics.EntityData.Leafs.Append("out-of-sync-bce-state-count", types.YLeaf{"OutOfSyncBceStateCount", pbriReceiveStatistics.OutOfSyncBceStateCount})
pbriReceiveStatistics.EntityData.Leafs.Append("per-peer-policy-count", types.YLeaf{"PerPeerPolicyCount", pbriReceiveStatistics.PerPeerPolicyCount})
pbriReceiveStatistics.EntityData.Leafs.Append("revoking-mn-local-policy-count", types.YLeaf{"RevokingMnLocalPolicyCount", pbriReceiveStatistics.RevokingMnLocalPolicyCount})
pbriReceiveStatistics.EntityData.YListKeys = []string {}
return &(pbriReceiveStatistics.EntityData)
}
// Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbraSendStatistics
// PBRA Send Statistics
type Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbraSendStatistics struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Count of PBRAs. The type is interface{} with range:
// 0..18446744073709551615.
PbraCount interface{}
// Count of PBRAs dropped. The type is interface{} with range: 0..4294967295.
PbraDropCount interface{}
// Count of Revoc Status - Success. The type is interface{} with range:
// 0..4294967295.
SuccessCount interface{}
// Count of Revoc Status - Partial Success. The type is interface{} with
// range: 0..4294967295.
PartialSuccessCount interface{}
// Count of Revoc Status - Binding Does Not Exist. The type is interface{}
// with range: 0..4294967295.
NoBindingCount interface{}
// Count of Revoc Status - IPv4 Home Address Option Required. The type is
// interface{} with range: 0..4294967295.
HoaRequiredCount interface{}
// Count of Revoc Status - Global Revocation NOT Authorized. The type is
// interface{} with range: 0..4294967295.
NoAuthorForGlobalRevocCount interface{}
// Count of Revoc Status - Revoked Mobile Node Identity Required. The type is
// interface{} with range: 0..4294967295.
MnIdentityRequiredCount interface{}
// Count of Revoc Status - Revocation Failed - MN is Attached. The type is
// interface{} with range: 0..4294967295.
MnAttachedCount interface{}
// Count of Revoc Status - Revocation Trigger NOT supported. The type is
// interface{} with range: 0..4294967295.
UnknownRevocTriggerCount interface{}
// Count of Revoc Status - Revocation Function NOT Supported. The type is
// interface{} with range: 0..4294967295.
RevocFunctionNotSupportedCount interface{}
// Count of Revoc Status - Proxy Binding Revocation NOT Supported. The type is
// interface{} with range: 0..4294967295.
PbrNotSupportedCount interface{}
}
func (pbraSendStatistics *Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbraSendStatistics) GetEntityData() *types.CommonEntityData {
pbraSendStatistics.EntityData.YFilter = pbraSendStatistics.YFilter
pbraSendStatistics.EntityData.YangName = "pbra-send-statistics"
pbraSendStatistics.EntityData.BundleName = "cisco_ios_xr"
pbraSendStatistics.EntityData.ParentYangName = "protocol-statistics"
pbraSendStatistics.EntityData.SegmentPath = "pbra-send-statistics"
pbraSendStatistics.EntityData.AbsolutePath = "Cisco-IOS-XR-ip-mobileip-oper:pmipv6/lma/statistics/customer-statistics/customer-statistic/protocol-statistics/" + pbraSendStatistics.EntityData.SegmentPath
pbraSendStatistics.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
pbraSendStatistics.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
pbraSendStatistics.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
pbraSendStatistics.EntityData.Children = types.NewOrderedMap()
pbraSendStatistics.EntityData.Leafs = types.NewOrderedMap()
pbraSendStatistics.EntityData.Leafs.Append("pbra-count", types.YLeaf{"PbraCount", pbraSendStatistics.PbraCount})
pbraSendStatistics.EntityData.Leafs.Append("pbra-drop-count", types.YLeaf{"PbraDropCount", pbraSendStatistics.PbraDropCount})
pbraSendStatistics.EntityData.Leafs.Append("success-count", types.YLeaf{"SuccessCount", pbraSendStatistics.SuccessCount})
pbraSendStatistics.EntityData.Leafs.Append("partial-success-count", types.YLeaf{"PartialSuccessCount", pbraSendStatistics.PartialSuccessCount})
pbraSendStatistics.EntityData.Leafs.Append("no-binding-count", types.YLeaf{"NoBindingCount", pbraSendStatistics.NoBindingCount})
pbraSendStatistics.EntityData.Leafs.Append("hoa-required-count", types.YLeaf{"HoaRequiredCount", pbraSendStatistics.HoaRequiredCount})
pbraSendStatistics.EntityData.Leafs.Append("no-author-for-global-revoc-count", types.YLeaf{"NoAuthorForGlobalRevocCount", pbraSendStatistics.NoAuthorForGlobalRevocCount})
pbraSendStatistics.EntityData.Leafs.Append("mn-identity-required-count", types.YLeaf{"MnIdentityRequiredCount", pbraSendStatistics.MnIdentityRequiredCount})
pbraSendStatistics.EntityData.Leafs.Append("mn-attached-count", types.YLeaf{"MnAttachedCount", pbraSendStatistics.MnAttachedCount})
pbraSendStatistics.EntityData.Leafs.Append("unknown-revoc-trigger-count", types.YLeaf{"UnknownRevocTriggerCount", pbraSendStatistics.UnknownRevocTriggerCount})
pbraSendStatistics.EntityData.Leafs.Append("revoc-function-not-supported-count", types.YLeaf{"RevocFunctionNotSupportedCount", pbraSendStatistics.RevocFunctionNotSupportedCount})
pbraSendStatistics.EntityData.Leafs.Append("pbr-not-supported-count", types.YLeaf{"PbrNotSupportedCount", pbraSendStatistics.PbrNotSupportedCount})
pbraSendStatistics.EntityData.YListKeys = []string {}
return &(pbraSendStatistics.EntityData)
}
// Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbraReceiveStatistics
// PBRA Receive Statistics
type Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbraReceiveStatistics struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Count of PBRAs. The type is interface{} with range:
// 0..18446744073709551615.
PbraCount interface{}
// Count of PBRAs dropped. The type is interface{} with range: 0..4294967295.
PbraDropCount interface{}
// Count of Revoc Status - Success. The type is interface{} with range:
// 0..4294967295.
SuccessCount interface{}
// Count of Revoc Status - Partial Success. The type is interface{} with
// range: 0..4294967295.
PartialSuccessCount interface{}
// Count of Revoc Status - Binding Does Not Exist. The type is interface{}
// with range: 0..4294967295.
NoBindingCount interface{}
// Count of Revoc Status - IPv4 Home Address Option Required. The type is
// interface{} with range: 0..4294967295.
HoaRequiredCount interface{}
// Count of Revoc Status - Global Revocation NOT Authorized. The type is
// interface{} with range: 0..4294967295.
NoAuthorForGlobalRevocCount interface{}
// Count of Revoc Status - Revoked Mobile Node Identity Required. The type is
// interface{} with range: 0..4294967295.
MnIdentityRequiredCount interface{}
// Count of Revoc Status - Revocation Failed - MN is Attached. The type is
// interface{} with range: 0..4294967295.
MnAttachedCount interface{}
// Count of Revoc Status - Revocation Trigger NOT supported. The type is
// interface{} with range: 0..4294967295.
UnknownRevocTriggerCount interface{}
// Count of Revoc Status - Revocation Function NOT Supported. The type is
// interface{} with range: 0..4294967295.
RevocFunctionNotSupportedCount interface{}
// Count of Revoc Status - Proxy Binding Revocation NOT Supported. The type is
// interface{} with range: 0..4294967295.
PbrNotSupportedCount interface{}
}
func (pbraReceiveStatistics *Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_ProtocolStatistics_PbraReceiveStatistics) GetEntityData() *types.CommonEntityData {
pbraReceiveStatistics.EntityData.YFilter = pbraReceiveStatistics.YFilter
pbraReceiveStatistics.EntityData.YangName = "pbra-receive-statistics"
pbraReceiveStatistics.EntityData.BundleName = "cisco_ios_xr"
pbraReceiveStatistics.EntityData.ParentYangName = "protocol-statistics"
pbraReceiveStatistics.EntityData.SegmentPath = "pbra-receive-statistics"
pbraReceiveStatistics.EntityData.AbsolutePath = "Cisco-IOS-XR-ip-mobileip-oper:pmipv6/lma/statistics/customer-statistics/customer-statistic/protocol-statistics/" + pbraReceiveStatistics.EntityData.SegmentPath
pbraReceiveStatistics.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
pbraReceiveStatistics.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
pbraReceiveStatistics.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
pbraReceiveStatistics.EntityData.Children = types.NewOrderedMap()
pbraReceiveStatistics.EntityData.Leafs = types.NewOrderedMap()
pbraReceiveStatistics.EntityData.Leafs.Append("pbra-count", types.YLeaf{"PbraCount", pbraReceiveStatistics.PbraCount})
pbraReceiveStatistics.EntityData.Leafs.Append("pbra-drop-count", types.YLeaf{"PbraDropCount", pbraReceiveStatistics.PbraDropCount})
pbraReceiveStatistics.EntityData.Leafs.Append("success-count", types.YLeaf{"SuccessCount", pbraReceiveStatistics.SuccessCount})
pbraReceiveStatistics.EntityData.Leafs.Append("partial-success-count", types.YLeaf{"PartialSuccessCount", pbraReceiveStatistics.PartialSuccessCount})
pbraReceiveStatistics.EntityData.Leafs.Append("no-binding-count", types.YLeaf{"NoBindingCount", pbraReceiveStatistics.NoBindingCount})
pbraReceiveStatistics.EntityData.Leafs.Append("hoa-required-count", types.YLeaf{"HoaRequiredCount", pbraReceiveStatistics.HoaRequiredCount})
pbraReceiveStatistics.EntityData.Leafs.Append("no-author-for-global-revoc-count", types.YLeaf{"NoAuthorForGlobalRevocCount", pbraReceiveStatistics.NoAuthorForGlobalRevocCount})
pbraReceiveStatistics.EntityData.Leafs.Append("mn-identity-required-count", types.YLeaf{"MnIdentityRequiredCount", pbraReceiveStatistics.MnIdentityRequiredCount})
pbraReceiveStatistics.EntityData.Leafs.Append("mn-attached-count", types.YLeaf{"MnAttachedCount", pbraReceiveStatistics.MnAttachedCount})
pbraReceiveStatistics.EntityData.Leafs.Append("unknown-revoc-trigger-count", types.YLeaf{"UnknownRevocTriggerCount", pbraReceiveStatistics.UnknownRevocTriggerCount})
pbraReceiveStatistics.EntityData.Leafs.Append("revoc-function-not-supported-count", types.YLeaf{"RevocFunctionNotSupportedCount", pbraReceiveStatistics.RevocFunctionNotSupportedCount})
pbraReceiveStatistics.EntityData.Leafs.Append("pbr-not-supported-count", types.YLeaf{"PbrNotSupportedCount", pbraReceiveStatistics.PbrNotSupportedCount})
pbraReceiveStatistics.EntityData.YListKeys = []string {}
return &(pbraReceiveStatistics.EntityData)
}
// Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_AccountingStatistics
// LMA Accounting Statistics
type Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_AccountingStatistics struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Count of Accounting Start Records Sent. The type is interface{} with range:
// 0..18446744073709551615.
AccountingStartSentCount interface{}
// Count of Accounting Update Records Sent. The type is interface{} with
// range: 0..18446744073709551615.
AccountingUpdateSentCount interface{}
// Count of Accounting Stop Records Sent. The type is interface{} with range:
// 0..18446744073709551615.
AccountingStopSentCount interface{}
}
func (accountingStatistics *Pmipv6_Lma_Statistics_CustomerStatistics_CustomerStatistic_AccountingStatistics) GetEntityData() *types.CommonEntityData {
accountingStatistics.EntityData.YFilter = accountingStatistics.YFilter
accountingStatistics.EntityData.YangName = "accounting-statistics"
accountingStatistics.EntityData.BundleName = "cisco_ios_xr"
accountingStatistics.EntityData.ParentYangName = "customer-statistic"
accountingStatistics.EntityData.SegmentPath = "accounting-statistics"
accountingStatistics.EntityData.AbsolutePath = "Cisco-IOS-XR-ip-mobileip-oper:pmipv6/lma/statistics/customer-statistics/customer-statistic/" + accountingStatistics.EntityData.SegmentPath
accountingStatistics.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
accountingStatistics.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
accountingStatistics.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
accountingStatistics.EntityData.Children = types.NewOrderedMap()
accountingStatistics.EntityData.Leafs = types.NewOrderedMap()
accountingStatistics.EntityData.Leafs.Append("accounting-start-sent-count", types.YLeaf{"AccountingStartSentCount", accountingStatistics.AccountingStartSentCount})
accountingStatistics.EntityData.Leafs.Append("accounting-update-sent-count", types.YLeaf{"AccountingUpdateSentCount", accountingStatistics.AccountingUpdateSentCount})
accountingStatistics.EntityData.Leafs.Append("accounting-stop-sent-count", types.YLeaf{"AccountingStopSentCount", accountingStatistics.AccountingStopSentCount})
accountingStatistics.EntityData.YListKeys = []string {}
return &(accountingStatistics.EntityData)
}
// Pmipv6_Lma_Statistics_License
// LMA License Statistics
type Pmipv6_Lma_Statistics_License struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// LMA Identifier. The type is string.
LmaIdentifier interface{}
// Instantaneous Count of Bindings. The type is interface{} with range:
// 0..4294967295.
BceCount interface{}
// Peak Count of Bindings. The type is interface{} with range: 0..4294967295.
PeakBceCount interface{}
// Timestamp when the Peak Count of Bindings was reset. The type is
// interface{} with range: 0..4294967295.
PeakBceCountResetTimestamp interface{}
}
func (license *Pmipv6_Lma_Statistics_License) GetEntityData() *types.CommonEntityData {
license.EntityData.YFilter = license.YFilter
license.EntityData.YangName = "license"
license.EntityData.BundleName = "cisco_ios_xr"
license.EntityData.ParentYangName = "statistics"
license.EntityData.SegmentPath = "license"
license.EntityData.AbsolutePath = "Cisco-IOS-XR-ip-mobileip-oper:pmipv6/lma/statistics/" + license.EntityData.SegmentPath
license.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
license.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
license.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
license.EntityData.Children = types.NewOrderedMap()
license.EntityData.Leafs = types.NewOrderedMap()
license.EntityData.Leafs.Append("lma-identifier", types.YLeaf{"LmaIdentifier", license.LmaIdentifier})
license.EntityData.Leafs.Append("bce-count", types.YLeaf{"BceCount", license.BceCount})
license.EntityData.Leafs.Append("peak-bce-count", types.YLeaf{"PeakBceCount", license.PeakBceCount})
license.EntityData.Leafs.Append("peak-bce-count-reset-timestamp", types.YLeaf{"PeakBceCountResetTimestamp", license.PeakBceCountResetTimestamp})
license.EntityData.YListKeys = []string {}
return &(license.EntityData)
}
// Pmipv6_Lma_Statistics_Global
// Global Statistics
type Pmipv6_Lma_Statistics_Global struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// LMA Identifier. The type is string.
LmaIdentifier interface{}
// Count of Bindings. The type is interface{} with range: 0..4294967295.