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
/
docs_ietf_bpi2_mib.go
2420 lines (1967 loc) · 174 KB
/
docs_ietf_bpi2_mib.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 is the MIB module for the DOCSIS Baseline
// Privacy Plus Interface (BPI+) at cable modems (CMs)
// and cable modem termination systems (CMTSs).
//
// Copyright (C) The Internet Society (2004). This
// version of this MIB module is part of RFC XXXX; see
// the RFC itself for full legal notices.
package docs_ietf_bpi2_mib
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_xe"
"reflect"
)
func init() {
ydk.YLogDebug(fmt.Sprintf("Registering top level entities for package docs_ietf_bpi2_mib"))
ydk.RegisterEntity("{urn:ietf:params:xml:ns:yang:smiv2:DOCS-IETF-BPI2-MIB DOCS-IETF-BPI2-MIB}", reflect.TypeOf(DOCSIETFBPI2MIB{}))
ydk.RegisterEntity("DOCS-IETF-BPI2-MIB:DOCS-IETF-BPI2-MIB", reflect.TypeOf(DOCSIETFBPI2MIB{}))
}
// DocsBpkmDataEncryptAlg represents being referenced has no data encryption.
type DocsBpkmDataEncryptAlg string
const (
DocsBpkmDataEncryptAlg_none DocsBpkmDataEncryptAlg = "none"
DocsBpkmDataEncryptAlg_des56CbcMode DocsBpkmDataEncryptAlg = "des56CbcMode"
DocsBpkmDataEncryptAlg_des40CbcMode DocsBpkmDataEncryptAlg = "des40CbcMode"
DocsBpkmDataEncryptAlg_t3Des128CbcMode DocsBpkmDataEncryptAlg = "t3Des128CbcMode"
DocsBpkmDataEncryptAlg_aes128CbcMode DocsBpkmDataEncryptAlg = "aes128CbcMode"
DocsBpkmDataEncryptAlg_aes256CbcMode DocsBpkmDataEncryptAlg = "aes256CbcMode"
)
// DocsBpkmDataAuthentAlg represents the SAID being referenced.
type DocsBpkmDataAuthentAlg string
const (
DocsBpkmDataAuthentAlg_none DocsBpkmDataAuthentAlg = "none"
DocsBpkmDataAuthentAlg_hmacSha196 DocsBpkmDataAuthentAlg = "hmacSha196"
)
// DocsBpkmSAType represents to be determined.
type DocsBpkmSAType string
const (
DocsBpkmSAType_none DocsBpkmSAType = "none"
DocsBpkmSAType_primary DocsBpkmSAType = "primary"
DocsBpkmSAType_static DocsBpkmSAType = "static"
DocsBpkmSAType_dynamic DocsBpkmSAType = "dynamic"
)
// DOCSIETFBPI2MIB
type DOCSIETFBPI2MIB struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
DocsIetfBpi2CodeDownloadControl DOCSIETFBPI2MIB_DocsIetfBpi2CodeDownloadControl
// This table describes the basic and authorization related Baseline Privacy
// Plus attributes of each CM MAC interface.
DocsIetfBpi2CmBaseTable DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable
// This table describes the attributes of each CM Traffic Encryption Key (TEK)
// association. The CM maintains (no more than) one TEK association per SAID
// per CM MAC interface.
DocsIetfBpi2CmTEKTable DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable
// This table maps multicast IP addresses to SAIDs per CM MAC Interface. It is
// intended to map multicast IP addresses associated with SA MAP Request
// messages.
DocsIetfBpi2CmIpMulticastMapTable DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable
// This table describes the Baseline Privacy Plus device certificates for each
// CM MAC interface.
DocsIetfBpi2CmDeviceCertTable DOCSIETFBPI2MIB_DocsIetfBpi2CmDeviceCertTable
// This table describes the Baseline Privacy Plus cryptographic suite
// capabilities for each CM MAC interface.
DocsIetfBpi2CmCryptoSuiteTable DOCSIETFBPI2MIB_DocsIetfBpi2CmCryptoSuiteTable
// This table describes the basic Baseline Privacy attributes of each CMTS MAC
// interface.
DocsIetfBpi2CmtsBaseTable DOCSIETFBPI2MIB_DocsIetfBpi2CmtsBaseTable
// This table describes the attributes of each CM authorization association.
// The CMTS maintains one authorization association with each Baseline
// Privacy- enabled CM, registered on each CMTS MAC interface, regardless of
// whether the CM is authorized or rejected.
DocsIetfBpi2CmtsAuthTable DOCSIETFBPI2MIB_DocsIetfBpi2CmtsAuthTable
// This table describes the attributes of each Traffic Encryption Key (TEK)
// association. The CMTS Maintains one TEK association per SAID on each CMTS
// MAC interface.
DocsIetfBpi2CmtsTEKTable DOCSIETFBPI2MIB_DocsIetfBpi2CmtsTEKTable
// This table maps multicast IP addresses to SAIDs. If a multicast IP address
// is mapped by multiple rows in the table, the row with the lowest
// docsIetfBpi2CmtsIpMulticastIndex must be utilized for the mapping.
DocsIetfBpi2CmtsIpMulticastMapTable DOCSIETFBPI2MIB_DocsIetfBpi2CmtsIpMulticastMapTable
// This table describes the multicast SAID authorization for each CM on each
// CMTS MAC interface.
DocsIetfBpi2CmtsMulticastAuthTable DOCSIETFBPI2MIB_DocsIetfBpi2CmtsMulticastAuthTable
// A table of CM certificate trust entries provisioned to the CMTS. The trust
// object for a certificate in this table has an overriding effect on the
// validity object of a certificate in the authorization table, as long as the
// entire contents of the two certificates are identical.
DocsIetfBpi2CmtsProvisionedCmCertTable DOCSIETFBPI2MIB_DocsIetfBpi2CmtsProvisionedCmCertTable
// The table of known Certificate Authority certificates acquired by this
// device.
DocsIetfBpi2CmtsCACertTable DOCSIETFBPI2MIB_DocsIetfBpi2CmtsCACertTable
}
func (dOCSIETFBPI2MIB *DOCSIETFBPI2MIB) GetEntityData() *types.CommonEntityData {
dOCSIETFBPI2MIB.EntityData.YFilter = dOCSIETFBPI2MIB.YFilter
dOCSIETFBPI2MIB.EntityData.YangName = "DOCS-IETF-BPI2-MIB"
dOCSIETFBPI2MIB.EntityData.BundleName = "cisco_ios_xe"
dOCSIETFBPI2MIB.EntityData.ParentYangName = "DOCS-IETF-BPI2-MIB"
dOCSIETFBPI2MIB.EntityData.SegmentPath = "DOCS-IETF-BPI2-MIB:DOCS-IETF-BPI2-MIB"
dOCSIETFBPI2MIB.EntityData.AbsolutePath = dOCSIETFBPI2MIB.EntityData.SegmentPath
dOCSIETFBPI2MIB.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
dOCSIETFBPI2MIB.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
dOCSIETFBPI2MIB.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
dOCSIETFBPI2MIB.EntityData.Children = types.NewOrderedMap()
dOCSIETFBPI2MIB.EntityData.Children.Append("docsIetfBpi2CodeDownloadControl", types.YChild{"DocsIetfBpi2CodeDownloadControl", &dOCSIETFBPI2MIB.DocsIetfBpi2CodeDownloadControl})
dOCSIETFBPI2MIB.EntityData.Children.Append("docsIetfBpi2CmBaseTable", types.YChild{"DocsIetfBpi2CmBaseTable", &dOCSIETFBPI2MIB.DocsIetfBpi2CmBaseTable})
dOCSIETFBPI2MIB.EntityData.Children.Append("docsIetfBpi2CmTEKTable", types.YChild{"DocsIetfBpi2CmTEKTable", &dOCSIETFBPI2MIB.DocsIetfBpi2CmTEKTable})
dOCSIETFBPI2MIB.EntityData.Children.Append("docsIetfBpi2CmIpMulticastMapTable", types.YChild{"DocsIetfBpi2CmIpMulticastMapTable", &dOCSIETFBPI2MIB.DocsIetfBpi2CmIpMulticastMapTable})
dOCSIETFBPI2MIB.EntityData.Children.Append("docsIetfBpi2CmDeviceCertTable", types.YChild{"DocsIetfBpi2CmDeviceCertTable", &dOCSIETFBPI2MIB.DocsIetfBpi2CmDeviceCertTable})
dOCSIETFBPI2MIB.EntityData.Children.Append("docsIetfBpi2CmCryptoSuiteTable", types.YChild{"DocsIetfBpi2CmCryptoSuiteTable", &dOCSIETFBPI2MIB.DocsIetfBpi2CmCryptoSuiteTable})
dOCSIETFBPI2MIB.EntityData.Children.Append("docsIetfBpi2CmtsBaseTable", types.YChild{"DocsIetfBpi2CmtsBaseTable", &dOCSIETFBPI2MIB.DocsIetfBpi2CmtsBaseTable})
dOCSIETFBPI2MIB.EntityData.Children.Append("docsIetfBpi2CmtsAuthTable", types.YChild{"DocsIetfBpi2CmtsAuthTable", &dOCSIETFBPI2MIB.DocsIetfBpi2CmtsAuthTable})
dOCSIETFBPI2MIB.EntityData.Children.Append("docsIetfBpi2CmtsTEKTable", types.YChild{"DocsIetfBpi2CmtsTEKTable", &dOCSIETFBPI2MIB.DocsIetfBpi2CmtsTEKTable})
dOCSIETFBPI2MIB.EntityData.Children.Append("docsIetfBpi2CmtsIpMulticastMapTable", types.YChild{"DocsIetfBpi2CmtsIpMulticastMapTable", &dOCSIETFBPI2MIB.DocsIetfBpi2CmtsIpMulticastMapTable})
dOCSIETFBPI2MIB.EntityData.Children.Append("docsIetfBpi2CmtsMulticastAuthTable", types.YChild{"DocsIetfBpi2CmtsMulticastAuthTable", &dOCSIETFBPI2MIB.DocsIetfBpi2CmtsMulticastAuthTable})
dOCSIETFBPI2MIB.EntityData.Children.Append("docsIetfBpi2CmtsProvisionedCmCertTable", types.YChild{"DocsIetfBpi2CmtsProvisionedCmCertTable", &dOCSIETFBPI2MIB.DocsIetfBpi2CmtsProvisionedCmCertTable})
dOCSIETFBPI2MIB.EntityData.Children.Append("docsIetfBpi2CmtsCACertTable", types.YChild{"DocsIetfBpi2CmtsCACertTable", &dOCSIETFBPI2MIB.DocsIetfBpi2CmtsCACertTable})
dOCSIETFBPI2MIB.EntityData.Leafs = types.NewOrderedMap()
dOCSIETFBPI2MIB.EntityData.YListKeys = []string {}
return &(dOCSIETFBPI2MIB.EntityData)
}
// DOCSIETFBPI2MIB_DocsIetfBpi2CodeDownloadControl
type DOCSIETFBPI2MIB_DocsIetfBpi2CodeDownloadControl struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// The value indicates the result of the latest config file CVC verification,
// SNMP CVC verification, or code file verification. The type is
// DocsIetfBpi2CodeDownloadStatusCode.
DocsIetfBpi2CodeDownloadStatusCode interface{}
// The value of this object indicates the additional information to the status
// code. The value will include the error code and error description which
// will be defined separately. The type is string.
DocsIetfBpi2CodeDownloadStatusString interface{}
// The value of this object is the device manufacturer's organizationName. The
// type is string.
DocsIetfBpi2CodeMfgOrgName interface{}
// The value of this object is the device manufacturer's current
// codeAccessStart value. This value always be referenced to Greenwich Mean
// Time (GMT) and the value format must contain TimeZone information (fields
// 8-10). The type is string with length: 11..11.
DocsIetfBpi2CodeMfgCodeAccessStart interface{}
// The value of this object is the device manufacturer's current
// cvcAccessStart value. This value always be referenced to Greenwich Mean
// Time (GMT) and the value format must contain TimeZone information (fields
// 8-10). The type is string with length: 11..11.
DocsIetfBpi2CodeMfgCvcAccessStart interface{}
// The value of this object is the Co-Signer's organizationName. The value is
// a zero length string if the co-signer is not specified. The type is string.
DocsIetfBpi2CodeCoSignerOrgName interface{}
// The value of this object is the Co-Signer's current codeAccessStart value.
// This value always be referenced to Greenwich Mean Time (GMT) and the value
// format must contain TimeZone information (fields 8-10). If
// docsIetfBpi2CodeCoSignerOrgName is a zero length string, the value of this
// object is meaningless. The type is string with length: 11..11.
DocsIetfBpi2CodeCoSignerCodeAccessStart interface{}
// The value of this object is the Co-Signer's current cvcAccessStart value.
// This value always be referenced to Greenwich Mean Time (GMT) and the value
// format must contain TimeZone information (fields 8-10). If
// docsIetfBpi2CodeCoSignerOrgName is a zero length string, the value of this
// object is meaningless. The type is string with length: 11..11.
DocsIetfBpi2CodeCoSignerCvcAccessStart interface{}
// Setting a CVC to this object triggers the device to verify the CVC and
// update the cvcAccessStart values, then the content of this object is
// discarded.. If the device is not enabled to upgrade codefiles, or the CVC
// verification fails, the CVC will be rejected. Reading this object always
// returns the zero-length OCTET STRING. The type is string with length:
// 0..4096.
DocsIetfBpi2CodeCvcUpdate interface{}
}
func (docsIetfBpi2CodeDownloadControl *DOCSIETFBPI2MIB_DocsIetfBpi2CodeDownloadControl) GetEntityData() *types.CommonEntityData {
docsIetfBpi2CodeDownloadControl.EntityData.YFilter = docsIetfBpi2CodeDownloadControl.YFilter
docsIetfBpi2CodeDownloadControl.EntityData.YangName = "docsIetfBpi2CodeDownloadControl"
docsIetfBpi2CodeDownloadControl.EntityData.BundleName = "cisco_ios_xe"
docsIetfBpi2CodeDownloadControl.EntityData.ParentYangName = "DOCS-IETF-BPI2-MIB"
docsIetfBpi2CodeDownloadControl.EntityData.SegmentPath = "docsIetfBpi2CodeDownloadControl"
docsIetfBpi2CodeDownloadControl.EntityData.AbsolutePath = "DOCS-IETF-BPI2-MIB:DOCS-IETF-BPI2-MIB/" + docsIetfBpi2CodeDownloadControl.EntityData.SegmentPath
docsIetfBpi2CodeDownloadControl.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
docsIetfBpi2CodeDownloadControl.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
docsIetfBpi2CodeDownloadControl.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
docsIetfBpi2CodeDownloadControl.EntityData.Children = types.NewOrderedMap()
docsIetfBpi2CodeDownloadControl.EntityData.Leafs = types.NewOrderedMap()
docsIetfBpi2CodeDownloadControl.EntityData.Leafs.Append("docsIetfBpi2CodeDownloadStatusCode", types.YLeaf{"DocsIetfBpi2CodeDownloadStatusCode", docsIetfBpi2CodeDownloadControl.DocsIetfBpi2CodeDownloadStatusCode})
docsIetfBpi2CodeDownloadControl.EntityData.Leafs.Append("docsIetfBpi2CodeDownloadStatusString", types.YLeaf{"DocsIetfBpi2CodeDownloadStatusString", docsIetfBpi2CodeDownloadControl.DocsIetfBpi2CodeDownloadStatusString})
docsIetfBpi2CodeDownloadControl.EntityData.Leafs.Append("docsIetfBpi2CodeMfgOrgName", types.YLeaf{"DocsIetfBpi2CodeMfgOrgName", docsIetfBpi2CodeDownloadControl.DocsIetfBpi2CodeMfgOrgName})
docsIetfBpi2CodeDownloadControl.EntityData.Leafs.Append("docsIetfBpi2CodeMfgCodeAccessStart", types.YLeaf{"DocsIetfBpi2CodeMfgCodeAccessStart", docsIetfBpi2CodeDownloadControl.DocsIetfBpi2CodeMfgCodeAccessStart})
docsIetfBpi2CodeDownloadControl.EntityData.Leafs.Append("docsIetfBpi2CodeMfgCvcAccessStart", types.YLeaf{"DocsIetfBpi2CodeMfgCvcAccessStart", docsIetfBpi2CodeDownloadControl.DocsIetfBpi2CodeMfgCvcAccessStart})
docsIetfBpi2CodeDownloadControl.EntityData.Leafs.Append("docsIetfBpi2CodeCoSignerOrgName", types.YLeaf{"DocsIetfBpi2CodeCoSignerOrgName", docsIetfBpi2CodeDownloadControl.DocsIetfBpi2CodeCoSignerOrgName})
docsIetfBpi2CodeDownloadControl.EntityData.Leafs.Append("docsIetfBpi2CodeCoSignerCodeAccessStart", types.YLeaf{"DocsIetfBpi2CodeCoSignerCodeAccessStart", docsIetfBpi2CodeDownloadControl.DocsIetfBpi2CodeCoSignerCodeAccessStart})
docsIetfBpi2CodeDownloadControl.EntityData.Leafs.Append("docsIetfBpi2CodeCoSignerCvcAccessStart", types.YLeaf{"DocsIetfBpi2CodeCoSignerCvcAccessStart", docsIetfBpi2CodeDownloadControl.DocsIetfBpi2CodeCoSignerCvcAccessStart})
docsIetfBpi2CodeDownloadControl.EntityData.Leafs.Append("docsIetfBpi2CodeCvcUpdate", types.YLeaf{"DocsIetfBpi2CodeCvcUpdate", docsIetfBpi2CodeDownloadControl.DocsIetfBpi2CodeCvcUpdate})
docsIetfBpi2CodeDownloadControl.EntityData.YListKeys = []string {}
return &(docsIetfBpi2CodeDownloadControl.EntityData)
}
// DOCSIETFBPI2MIB_DocsIetfBpi2CodeDownloadControl_DocsIetfBpi2CodeDownloadStatusCode represents verification.
type DOCSIETFBPI2MIB_DocsIetfBpi2CodeDownloadControl_DocsIetfBpi2CodeDownloadStatusCode string
const (
DOCSIETFBPI2MIB_DocsIetfBpi2CodeDownloadControl_DocsIetfBpi2CodeDownloadStatusCode_configFileCvcVerified DOCSIETFBPI2MIB_DocsIetfBpi2CodeDownloadControl_DocsIetfBpi2CodeDownloadStatusCode = "configFileCvcVerified"
DOCSIETFBPI2MIB_DocsIetfBpi2CodeDownloadControl_DocsIetfBpi2CodeDownloadStatusCode_configFileCvcRejected DOCSIETFBPI2MIB_DocsIetfBpi2CodeDownloadControl_DocsIetfBpi2CodeDownloadStatusCode = "configFileCvcRejected"
DOCSIETFBPI2MIB_DocsIetfBpi2CodeDownloadControl_DocsIetfBpi2CodeDownloadStatusCode_snmpCvcVerified DOCSIETFBPI2MIB_DocsIetfBpi2CodeDownloadControl_DocsIetfBpi2CodeDownloadStatusCode = "snmpCvcVerified"
DOCSIETFBPI2MIB_DocsIetfBpi2CodeDownloadControl_DocsIetfBpi2CodeDownloadStatusCode_snmpCvcRejected DOCSIETFBPI2MIB_DocsIetfBpi2CodeDownloadControl_DocsIetfBpi2CodeDownloadStatusCode = "snmpCvcRejected"
DOCSIETFBPI2MIB_DocsIetfBpi2CodeDownloadControl_DocsIetfBpi2CodeDownloadStatusCode_codeFileVerified DOCSIETFBPI2MIB_DocsIetfBpi2CodeDownloadControl_DocsIetfBpi2CodeDownloadStatusCode = "codeFileVerified"
DOCSIETFBPI2MIB_DocsIetfBpi2CodeDownloadControl_DocsIetfBpi2CodeDownloadStatusCode_codeFileRejected DOCSIETFBPI2MIB_DocsIetfBpi2CodeDownloadControl_DocsIetfBpi2CodeDownloadStatusCode = "codeFileRejected"
DOCSIETFBPI2MIB_DocsIetfBpi2CodeDownloadControl_DocsIetfBpi2CodeDownloadStatusCode_other DOCSIETFBPI2MIB_DocsIetfBpi2CodeDownloadControl_DocsIetfBpi2CodeDownloadStatusCode = "other"
)
// DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable
// This table describes the basic and authorization
// related Baseline Privacy Plus attributes of each CM MAC
// interface.
type DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Each entry contains objects describing attributes of one CM MAC interface.
// An entry in this table exists for each ifEntry with an ifType of
// docsCableMaclayer(127). The type is slice of
// DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry.
DocsIetfBpi2CmBaseEntry []*DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry
}
func (docsIetfBpi2CmBaseTable *DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable) GetEntityData() *types.CommonEntityData {
docsIetfBpi2CmBaseTable.EntityData.YFilter = docsIetfBpi2CmBaseTable.YFilter
docsIetfBpi2CmBaseTable.EntityData.YangName = "docsIetfBpi2CmBaseTable"
docsIetfBpi2CmBaseTable.EntityData.BundleName = "cisco_ios_xe"
docsIetfBpi2CmBaseTable.EntityData.ParentYangName = "DOCS-IETF-BPI2-MIB"
docsIetfBpi2CmBaseTable.EntityData.SegmentPath = "docsIetfBpi2CmBaseTable"
docsIetfBpi2CmBaseTable.EntityData.AbsolutePath = "DOCS-IETF-BPI2-MIB:DOCS-IETF-BPI2-MIB/" + docsIetfBpi2CmBaseTable.EntityData.SegmentPath
docsIetfBpi2CmBaseTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
docsIetfBpi2CmBaseTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
docsIetfBpi2CmBaseTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
docsIetfBpi2CmBaseTable.EntityData.Children = types.NewOrderedMap()
docsIetfBpi2CmBaseTable.EntityData.Children.Append("docsIetfBpi2CmBaseEntry", types.YChild{"DocsIetfBpi2CmBaseEntry", nil})
for i := range docsIetfBpi2CmBaseTable.DocsIetfBpi2CmBaseEntry {
docsIetfBpi2CmBaseTable.EntityData.Children.Append(types.GetSegmentPath(docsIetfBpi2CmBaseTable.DocsIetfBpi2CmBaseEntry[i]), types.YChild{"DocsIetfBpi2CmBaseEntry", docsIetfBpi2CmBaseTable.DocsIetfBpi2CmBaseEntry[i]})
}
docsIetfBpi2CmBaseTable.EntityData.Leafs = types.NewOrderedMap()
docsIetfBpi2CmBaseTable.EntityData.YListKeys = []string {}
return &(docsIetfBpi2CmBaseTable.EntityData)
}
// DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry
// Each entry contains objects describing attributes of
// one CM MAC interface. An entry in this table exists for
// each ifEntry with an ifType of docsCableMaclayer(127).
type DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The type is string with range: 1..2147483647.
// Refers to if_mib.IFMIB_IfTable_IfEntry_IfIndex
IfIndex interface{}
// This object identifies whether this CM is provisioned to run Baseline
// Privacy Plus. The type is bool.
DocsIetfBpi2CmPrivacyEnable interface{}
// The value of this object is a DER-encoded RSAPublicKey ASN.1 type string,
// as defined in the RSA Encryption Standard (PKCS #1), corresponding to the
// public key of the CM. The type is string with length: 0..524.
DocsIetfBpi2CmPublicKey interface{}
// The value of this object is the state of the CM authorization FSM. The
// start state indicates that FSM is in its initial state. The type is
// DocsIetfBpi2CmAuthState.
DocsIetfBpi2CmAuthState interface{}
// The value of this object is the most recent authorization key sequence
// number for this FSM. The type is interface{} with range: 0..15.
DocsIetfBpi2CmAuthKeySequenceNumber interface{}
// The value of this object is the actual clock time for expiration of the
// immediate predecessor of the most recent authorization key for this FSM.
// If this FSM has only one authorization key, then the value is the time of
// activation of this FSM. The type is string.
DocsIetfBpi2CmAuthExpiresOld interface{}
// The value of this object is the actual clock time for expiration of the
// most recent authorization key for this FSM. The type is string.
DocsIetfBpi2CmAuthExpiresNew interface{}
// Setting this object to 'true' generates a Reauthorize event in the
// authorization FSM. Reading this object always returns FALSE. This object is
// for testing purposes only and therefore it does not require to be
// associated with a last reset object. The type is bool.
DocsIetfBpi2CmAuthReset interface{}
// The value of this object is the grace time for an authorization key in
// seconds. A CM is expected to start trying to get a new authorization key
// beginning AuthGraceTime seconds before the most recent authorization key
// actually expires. The type is interface{} with range: 1..6047999. Units are
// seconds.
DocsIetfBpi2CmAuthGraceTime interface{}
// The value of this object is the grace time for the TEK in seconds. The CM
// is expected to start trying to acquire a new TEK beginning TEK GraceTime
// seconds before the expiration of the most recent TEK. The type is
// interface{} with range: 1..302399. Units are seconds.
DocsIetfBpi2CmTEKGraceTime interface{}
// The value of this object is the Authorize Wait Timeout in second. The type
// is interface{} with range: 1..30. Units are seconds.
DocsIetfBpi2CmAuthWaitTimeout interface{}
// The value of this object is the Reauthorize Wait Timeout in seconds. The
// type is interface{} with range: 1..30. Units are seconds.
DocsIetfBpi2CmReauthWaitTimeout interface{}
// The value of this object is the Operational Wait Timeout in seconds. The
// type is interface{} with range: 1..10. Units are seconds.
DocsIetfBpi2CmOpWaitTimeout interface{}
// The value of this object is the Rekey Wait Timeout in seconds. The type is
// interface{} with range: 1..10. Units are seconds.
DocsIetfBpi2CmRekeyWaitTimeout interface{}
// The value of this object is the Authorization Reject Wait Timeout in
// seconds. The type is interface{} with range: 1..600. Units are seconds.
DocsIetfBpi2CmAuthRejectWaitTimeout interface{}
// The value of this object is the retransmission interval, in seconds, of SA
// Map Requests from the MAP Wait state. The type is interface{} with range:
// 1..10. Units are seconds.
DocsIetfBpi2CmSAMapWaitTimeout interface{}
// The value of this object is the maximum number of Map Request retries
// allowed. The type is interface{} with range: 0..10. Units are count.
DocsIetfBpi2CmSAMapMaxRetries interface{}
// The value of this object is the count of times the CM has transmitted an
// Authentication Information message. Discontinuities in the value of this
// counter can occur at re-initialization of the management system, and at
// other times as indicated by the value of ifCounterDiscontinuityTime. The
// type is interface{} with range: 0..4294967295.
DocsIetfBpi2CmAuthentInfos interface{}
// The value of this object is the count of times the CM has transmitted an
// Authorization Request message. Discontinuities in the value of this counter
// can occur at re-initialization of the management system, and at other times
// as indicated by the value of ifCounterDiscontinuityTime. The type is
// interface{} with range: 0..4294967295.
DocsIetfBpi2CmAuthRequests interface{}
// The value of this object is the count of times the CM has received an
// Authorization Reply message. Discontinuities in the value of this counter
// can occur at re-initialization of the management system, and at other times
// as indicated by the value of ifCounterDiscontinuityTime. The type is
// interface{} with range: 0..4294967295.
DocsIetfBpi2CmAuthReplies interface{}
// The value of this object is the count of times the CM has received an
// Authorization Reject message. Discontinuities in the value of this counter
// can occur at re-initialization of the management system, and at other times
// as indicated by the value of ifCounterDiscontinuityTime. The type is
// interface{} with range: 0..4294967295.
DocsIetfBpi2CmAuthRejects interface{}
// The value of this object is the count of times the CM has received an
// Authorization Invalid message. Discontinuities in the value of this counter
// can occur at re-initialization of the management system, and at other times
// as indicated by the value of ifCounterDiscontinuityTime. The type is
// interface{} with range: 0..4294967295.
DocsIetfBpi2CmAuthInvalids interface{}
// The value of this object is the enumerated description of the Error-Code in
// most recent Authorization Reject message received by the CM. This has
// value unknown(2) if the last Error-Code value was 0, and none(1) if no
// Authorization Reject message has been received since reboot. The type is
// DocsIetfBpi2CmAuthRejectErrorCode.
DocsIetfBpi2CmAuthRejectErrorCode interface{}
// The value of this object is the text string in most recent Authorization
// Reject message received by the CM. This is a zero length string if no
// Authorization Reject message has been received since reboot. The type is
// string with length: 0..128.
DocsIetfBpi2CmAuthRejectErrorString interface{}
// The value of this object is the enumerated description of the Error-Code in
// most recent Authorization Invalid message received by the CM. This has
// value unknown(2) if the last Error-Code value was 0, and none(1) if no
// Authorization Invalid message has been received since reboot. The type is
// DocsIetfBpi2CmAuthInvalidErrorCode.
DocsIetfBpi2CmAuthInvalidErrorCode interface{}
// The value of this object is the text string in most recent Authorization
// Invalid message received by the CM. This is a zero length string if no
// Authorization Invalid message has been received since reboot. The type is
// string with length: 0..128.
DocsIetfBpi2CmAuthInvalidErrorString interface{}
}
func (docsIetfBpi2CmBaseEntry *DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry) GetEntityData() *types.CommonEntityData {
docsIetfBpi2CmBaseEntry.EntityData.YFilter = docsIetfBpi2CmBaseEntry.YFilter
docsIetfBpi2CmBaseEntry.EntityData.YangName = "docsIetfBpi2CmBaseEntry"
docsIetfBpi2CmBaseEntry.EntityData.BundleName = "cisco_ios_xe"
docsIetfBpi2CmBaseEntry.EntityData.ParentYangName = "docsIetfBpi2CmBaseTable"
docsIetfBpi2CmBaseEntry.EntityData.SegmentPath = "docsIetfBpi2CmBaseEntry" + types.AddKeyToken(docsIetfBpi2CmBaseEntry.IfIndex, "ifIndex")
docsIetfBpi2CmBaseEntry.EntityData.AbsolutePath = "DOCS-IETF-BPI2-MIB:DOCS-IETF-BPI2-MIB/docsIetfBpi2CmBaseTable/" + docsIetfBpi2CmBaseEntry.EntityData.SegmentPath
docsIetfBpi2CmBaseEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
docsIetfBpi2CmBaseEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
docsIetfBpi2CmBaseEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
docsIetfBpi2CmBaseEntry.EntityData.Children = types.NewOrderedMap()
docsIetfBpi2CmBaseEntry.EntityData.Leafs = types.NewOrderedMap()
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("ifIndex", types.YLeaf{"IfIndex", docsIetfBpi2CmBaseEntry.IfIndex})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmPrivacyEnable", types.YLeaf{"DocsIetfBpi2CmPrivacyEnable", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmPrivacyEnable})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmPublicKey", types.YLeaf{"DocsIetfBpi2CmPublicKey", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmPublicKey})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmAuthState", types.YLeaf{"DocsIetfBpi2CmAuthState", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmAuthState})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmAuthKeySequenceNumber", types.YLeaf{"DocsIetfBpi2CmAuthKeySequenceNumber", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmAuthKeySequenceNumber})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmAuthExpiresOld", types.YLeaf{"DocsIetfBpi2CmAuthExpiresOld", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmAuthExpiresOld})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmAuthExpiresNew", types.YLeaf{"DocsIetfBpi2CmAuthExpiresNew", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmAuthExpiresNew})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmAuthReset", types.YLeaf{"DocsIetfBpi2CmAuthReset", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmAuthReset})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmAuthGraceTime", types.YLeaf{"DocsIetfBpi2CmAuthGraceTime", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmAuthGraceTime})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmTEKGraceTime", types.YLeaf{"DocsIetfBpi2CmTEKGraceTime", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmTEKGraceTime})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmAuthWaitTimeout", types.YLeaf{"DocsIetfBpi2CmAuthWaitTimeout", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmAuthWaitTimeout})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmReauthWaitTimeout", types.YLeaf{"DocsIetfBpi2CmReauthWaitTimeout", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmReauthWaitTimeout})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmOpWaitTimeout", types.YLeaf{"DocsIetfBpi2CmOpWaitTimeout", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmOpWaitTimeout})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmRekeyWaitTimeout", types.YLeaf{"DocsIetfBpi2CmRekeyWaitTimeout", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmRekeyWaitTimeout})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmAuthRejectWaitTimeout", types.YLeaf{"DocsIetfBpi2CmAuthRejectWaitTimeout", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmAuthRejectWaitTimeout})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmSAMapWaitTimeout", types.YLeaf{"DocsIetfBpi2CmSAMapWaitTimeout", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmSAMapWaitTimeout})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmSAMapMaxRetries", types.YLeaf{"DocsIetfBpi2CmSAMapMaxRetries", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmSAMapMaxRetries})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmAuthentInfos", types.YLeaf{"DocsIetfBpi2CmAuthentInfos", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmAuthentInfos})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmAuthRequests", types.YLeaf{"DocsIetfBpi2CmAuthRequests", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmAuthRequests})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmAuthReplies", types.YLeaf{"DocsIetfBpi2CmAuthReplies", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmAuthReplies})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmAuthRejects", types.YLeaf{"DocsIetfBpi2CmAuthRejects", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmAuthRejects})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmAuthInvalids", types.YLeaf{"DocsIetfBpi2CmAuthInvalids", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmAuthInvalids})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmAuthRejectErrorCode", types.YLeaf{"DocsIetfBpi2CmAuthRejectErrorCode", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmAuthRejectErrorCode})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmAuthRejectErrorString", types.YLeaf{"DocsIetfBpi2CmAuthRejectErrorString", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmAuthRejectErrorString})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmAuthInvalidErrorCode", types.YLeaf{"DocsIetfBpi2CmAuthInvalidErrorCode", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmAuthInvalidErrorCode})
docsIetfBpi2CmBaseEntry.EntityData.Leafs.Append("docsIetfBpi2CmAuthInvalidErrorString", types.YLeaf{"DocsIetfBpi2CmAuthInvalidErrorString", docsIetfBpi2CmBaseEntry.DocsIetfBpi2CmAuthInvalidErrorString})
docsIetfBpi2CmBaseEntry.EntityData.YListKeys = []string {"IfIndex"}
return &(docsIetfBpi2CmBaseEntry.EntityData)
}
// DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthInvalidErrorCode represents reboot.
type DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthInvalidErrorCode string
const (
DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthInvalidErrorCode_none DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthInvalidErrorCode = "none"
DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthInvalidErrorCode_unknown DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthInvalidErrorCode = "unknown"
DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthInvalidErrorCode_unauthorizedCm DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthInvalidErrorCode = "unauthorizedCm"
DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthInvalidErrorCode_unsolicited DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthInvalidErrorCode = "unsolicited"
DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthInvalidErrorCode_invalidKeySequence DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthInvalidErrorCode = "invalidKeySequence"
DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthInvalidErrorCode_keyRequestAuthenticationFailure DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthInvalidErrorCode = "keyRequestAuthenticationFailure"
)
// DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthRejectErrorCode represents reboot.
type DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthRejectErrorCode string
const (
DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthRejectErrorCode_none DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthRejectErrorCode = "none"
DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthRejectErrorCode_unknown DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthRejectErrorCode = "unknown"
DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthRejectErrorCode_unauthorizedCm DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthRejectErrorCode = "unauthorizedCm"
DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthRejectErrorCode_unauthorizedSaid DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthRejectErrorCode = "unauthorizedSaid"
DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthRejectErrorCode_permanentAuthorizationFailure DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthRejectErrorCode = "permanentAuthorizationFailure"
DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthRejectErrorCode_timeOfDayNotAcquired DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthRejectErrorCode = "timeOfDayNotAcquired"
)
// DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthState represents in its initial state.
type DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthState string
const (
DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthState_start DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthState = "start"
DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthState_authWait DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthState = "authWait"
DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthState_authorized DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthState = "authorized"
DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthState_reauthWait DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthState = "reauthWait"
DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthState_authRejectWait DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthState = "authRejectWait"
DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthState_silent DOCSIETFBPI2MIB_DocsIetfBpi2CmBaseTable_DocsIetfBpi2CmBaseEntry_DocsIetfBpi2CmAuthState = "silent"
)
// DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable
// This table describes the attributes of each CM
// Traffic Encryption Key (TEK) association. The CM maintains
// (no more than) one TEK association per SAID per CM MAC
// interface.
type DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Each entry contains objects describing the TEK association attributes of
// one SAID. The CM MUST create one entry per SAID, regardless of whether the
// SAID was obtained from a Registration Response message, from an
// Authorization Reply message, or from any dynamic SAID establishment
// mechanisms. The type is slice of
// DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry.
DocsIetfBpi2CmTEKEntry []*DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry
}
func (docsIetfBpi2CmTEKTable *DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable) GetEntityData() *types.CommonEntityData {
docsIetfBpi2CmTEKTable.EntityData.YFilter = docsIetfBpi2CmTEKTable.YFilter
docsIetfBpi2CmTEKTable.EntityData.YangName = "docsIetfBpi2CmTEKTable"
docsIetfBpi2CmTEKTable.EntityData.BundleName = "cisco_ios_xe"
docsIetfBpi2CmTEKTable.EntityData.ParentYangName = "DOCS-IETF-BPI2-MIB"
docsIetfBpi2CmTEKTable.EntityData.SegmentPath = "docsIetfBpi2CmTEKTable"
docsIetfBpi2CmTEKTable.EntityData.AbsolutePath = "DOCS-IETF-BPI2-MIB:DOCS-IETF-BPI2-MIB/" + docsIetfBpi2CmTEKTable.EntityData.SegmentPath
docsIetfBpi2CmTEKTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
docsIetfBpi2CmTEKTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
docsIetfBpi2CmTEKTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
docsIetfBpi2CmTEKTable.EntityData.Children = types.NewOrderedMap()
docsIetfBpi2CmTEKTable.EntityData.Children.Append("docsIetfBpi2CmTEKEntry", types.YChild{"DocsIetfBpi2CmTEKEntry", nil})
for i := range docsIetfBpi2CmTEKTable.DocsIetfBpi2CmTEKEntry {
docsIetfBpi2CmTEKTable.EntityData.Children.Append(types.GetSegmentPath(docsIetfBpi2CmTEKTable.DocsIetfBpi2CmTEKEntry[i]), types.YChild{"DocsIetfBpi2CmTEKEntry", docsIetfBpi2CmTEKTable.DocsIetfBpi2CmTEKEntry[i]})
}
docsIetfBpi2CmTEKTable.EntityData.Leafs = types.NewOrderedMap()
docsIetfBpi2CmTEKTable.EntityData.YListKeys = []string {}
return &(docsIetfBpi2CmTEKTable.EntityData)
}
// DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry
// Each entry contains objects describing the TEK
// association attributes of one SAID. The CM MUST create one
// entry per SAID, regardless of whether the SAID was obtained
// from a Registration Response message, from an Authorization
// Reply message, or from any dynamic SAID establishment
// mechanisms.
type DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The type is string with range: 1..2147483647.
// Refers to if_mib.IFMIB_IfTable_IfEntry_IfIndex
IfIndex interface{}
// This attribute is a key. The value of this object is the DOCSIS Security
// Association ID (SAID). The type is interface{} with range: 1..16383.
DocsIetfBpi2CmTEKSAId interface{}
// The value of this object is the type of security association. The type is
// DocsBpkmSAType.
DocsIetfBpi2CmTEKSAType interface{}
// The value of this object is the data encryption algorithm for this SAID.
// The type is DocsBpkmDataEncryptAlg.
DocsIetfBpi2CmTEKDataEncryptAlg interface{}
// The value of this object is the data authentication algorithm for this
// SAID. The type is DocsBpkmDataAuthentAlg.
DocsIetfBpi2CmTEKDataAuthentAlg interface{}
// The value of this object is the state of the indicated TEK FSM. The
// start(1) state indicates that FSM is in its initial state. The type is
// DocsIetfBpi2CmTEKState.
DocsIetfBpi2CmTEKState interface{}
// The value of this object is the most recent TEK key sequence number for
// this TEK FSM. The type is interface{} with range: 0..15.
DocsIetfBpi2CmTEKKeySequenceNumber interface{}
// The value of this object is the actual clock time for expiration of the
// immediate predecessor of the most recent TEK for this FSM. If this FSM has
// only one TEK, then the value is the time of activation of this FSM. The
// type is string.
DocsIetfBpi2CmTEKExpiresOld interface{}
// The value of this object is the actual clock time for expiration of the
// most recent TEK for this FSM. The type is string.
DocsIetfBpi2CmTEKExpiresNew interface{}
// The value of this object is the count of times the CM has transmitted a Key
// Request message. Discontinuities in the value of this counter can occur at
// re-initialization of the management system, and at other times as indicated
// by the value of ifCounterDiscontinuityTime. The type is interface{} with
// range: 0..4294967295.
DocsIetfBpi2CmTEKKeyRequests interface{}
// The value of this object is the count of times the CM has received a Key
// Reply message, including a message whose authentication failed.
// Discontinuities in the value of this counter can occur at re-initialization
// of the management system, and at other times as indicated by the value of
// ifCounterDiscontinuityTime. The type is interface{} with range:
// 0..4294967295.
DocsIetfBpi2CmTEKKeyReplies interface{}
// The value of this object is the count of times the CM has received a Key
// Reject message, including a message whose authentication failed.
// Discontinuities in the value of this counter can occur at re-initialization
// of the management system, and at other times as indicated by the value of
// ifCounterDiscontinuityTime. The type is interface{} with range:
// 0..4294967295.
DocsIetfBpi2CmTEKKeyRejects interface{}
// The value of this object is the count of times the CM has received a TEK
// Invalid message, including a message whose authentication failed.
// Discontinuities in the value of this counter can occur at re-initialization
// of the management system, and at other times as indicated by the value of
// ifCounterDiscontinuityTime. The type is interface{} with range:
// 0..4294967295.
DocsIetfBpi2CmTEKInvalids interface{}
// The value of this object is the count of times an Authorization Pending
// (Auth Pend) event occurred in this FSM. Discontinuities in the value of
// this counter can occur at re-initialization of the management system, and
// at other times as indicated by the value of ifCounterDiscontinuityTime. The
// type is interface{} with range: 0..4294967295.
DocsIetfBpi2CmTEKAuthPends interface{}
// The value of this object is the enumerated description of the Error-Code in
// most recent Key Reject message received by the CM. This has value
// unknown(2) if the last Error-Code value was 0, and none(1) if no Key Reject
// message has been received since registration. The type is
// DocsIetfBpi2CmTEKKeyRejectErrorCode.
DocsIetfBpi2CmTEKKeyRejectErrorCode interface{}
// The value of this object is the text string in most recent Key Reject
// message received by the CM. This is a zero length string if no Key Reject
// message has been received since registration. The type is string with
// length: 0..128.
DocsIetfBpi2CmTEKKeyRejectErrorString interface{}
// The value of this object is the enumerated description of the Error-Code in
// most recent TEK Invalid message received by the CM. This has value
// unknown(2) if the last Error-Code value was 0, and none(1) if no TEK
// Invalid message has been received since registration. The type is
// DocsIetfBpi2CmTEKInvalidErrorCode.
DocsIetfBpi2CmTEKInvalidErrorCode interface{}
// The value of this object is the text string in most recent TEK Invalid
// message received by the CM. This is a zero length string if no TEK Invalid
// message has been received since registration. The type is string with
// length: 0..128.
DocsIetfBpi2CmTEKInvalidErrorString interface{}
}
func (docsIetfBpi2CmTEKEntry *DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry) GetEntityData() *types.CommonEntityData {
docsIetfBpi2CmTEKEntry.EntityData.YFilter = docsIetfBpi2CmTEKEntry.YFilter
docsIetfBpi2CmTEKEntry.EntityData.YangName = "docsIetfBpi2CmTEKEntry"
docsIetfBpi2CmTEKEntry.EntityData.BundleName = "cisco_ios_xe"
docsIetfBpi2CmTEKEntry.EntityData.ParentYangName = "docsIetfBpi2CmTEKTable"
docsIetfBpi2CmTEKEntry.EntityData.SegmentPath = "docsIetfBpi2CmTEKEntry" + types.AddKeyToken(docsIetfBpi2CmTEKEntry.IfIndex, "ifIndex") + types.AddKeyToken(docsIetfBpi2CmTEKEntry.DocsIetfBpi2CmTEKSAId, "docsIetfBpi2CmTEKSAId")
docsIetfBpi2CmTEKEntry.EntityData.AbsolutePath = "DOCS-IETF-BPI2-MIB:DOCS-IETF-BPI2-MIB/docsIetfBpi2CmTEKTable/" + docsIetfBpi2CmTEKEntry.EntityData.SegmentPath
docsIetfBpi2CmTEKEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
docsIetfBpi2CmTEKEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
docsIetfBpi2CmTEKEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
docsIetfBpi2CmTEKEntry.EntityData.Children = types.NewOrderedMap()
docsIetfBpi2CmTEKEntry.EntityData.Leafs = types.NewOrderedMap()
docsIetfBpi2CmTEKEntry.EntityData.Leafs.Append("ifIndex", types.YLeaf{"IfIndex", docsIetfBpi2CmTEKEntry.IfIndex})
docsIetfBpi2CmTEKEntry.EntityData.Leafs.Append("docsIetfBpi2CmTEKSAId", types.YLeaf{"DocsIetfBpi2CmTEKSAId", docsIetfBpi2CmTEKEntry.DocsIetfBpi2CmTEKSAId})
docsIetfBpi2CmTEKEntry.EntityData.Leafs.Append("docsIetfBpi2CmTEKSAType", types.YLeaf{"DocsIetfBpi2CmTEKSAType", docsIetfBpi2CmTEKEntry.DocsIetfBpi2CmTEKSAType})
docsIetfBpi2CmTEKEntry.EntityData.Leafs.Append("docsIetfBpi2CmTEKDataEncryptAlg", types.YLeaf{"DocsIetfBpi2CmTEKDataEncryptAlg", docsIetfBpi2CmTEKEntry.DocsIetfBpi2CmTEKDataEncryptAlg})
docsIetfBpi2CmTEKEntry.EntityData.Leafs.Append("docsIetfBpi2CmTEKDataAuthentAlg", types.YLeaf{"DocsIetfBpi2CmTEKDataAuthentAlg", docsIetfBpi2CmTEKEntry.DocsIetfBpi2CmTEKDataAuthentAlg})
docsIetfBpi2CmTEKEntry.EntityData.Leafs.Append("docsIetfBpi2CmTEKState", types.YLeaf{"DocsIetfBpi2CmTEKState", docsIetfBpi2CmTEKEntry.DocsIetfBpi2CmTEKState})
docsIetfBpi2CmTEKEntry.EntityData.Leafs.Append("docsIetfBpi2CmTEKKeySequenceNumber", types.YLeaf{"DocsIetfBpi2CmTEKKeySequenceNumber", docsIetfBpi2CmTEKEntry.DocsIetfBpi2CmTEKKeySequenceNumber})
docsIetfBpi2CmTEKEntry.EntityData.Leafs.Append("docsIetfBpi2CmTEKExpiresOld", types.YLeaf{"DocsIetfBpi2CmTEKExpiresOld", docsIetfBpi2CmTEKEntry.DocsIetfBpi2CmTEKExpiresOld})
docsIetfBpi2CmTEKEntry.EntityData.Leafs.Append("docsIetfBpi2CmTEKExpiresNew", types.YLeaf{"DocsIetfBpi2CmTEKExpiresNew", docsIetfBpi2CmTEKEntry.DocsIetfBpi2CmTEKExpiresNew})
docsIetfBpi2CmTEKEntry.EntityData.Leafs.Append("docsIetfBpi2CmTEKKeyRequests", types.YLeaf{"DocsIetfBpi2CmTEKKeyRequests", docsIetfBpi2CmTEKEntry.DocsIetfBpi2CmTEKKeyRequests})
docsIetfBpi2CmTEKEntry.EntityData.Leafs.Append("docsIetfBpi2CmTEKKeyReplies", types.YLeaf{"DocsIetfBpi2CmTEKKeyReplies", docsIetfBpi2CmTEKEntry.DocsIetfBpi2CmTEKKeyReplies})
docsIetfBpi2CmTEKEntry.EntityData.Leafs.Append("docsIetfBpi2CmTEKKeyRejects", types.YLeaf{"DocsIetfBpi2CmTEKKeyRejects", docsIetfBpi2CmTEKEntry.DocsIetfBpi2CmTEKKeyRejects})
docsIetfBpi2CmTEKEntry.EntityData.Leafs.Append("docsIetfBpi2CmTEKInvalids", types.YLeaf{"DocsIetfBpi2CmTEKInvalids", docsIetfBpi2CmTEKEntry.DocsIetfBpi2CmTEKInvalids})
docsIetfBpi2CmTEKEntry.EntityData.Leafs.Append("docsIetfBpi2CmTEKAuthPends", types.YLeaf{"DocsIetfBpi2CmTEKAuthPends", docsIetfBpi2CmTEKEntry.DocsIetfBpi2CmTEKAuthPends})
docsIetfBpi2CmTEKEntry.EntityData.Leafs.Append("docsIetfBpi2CmTEKKeyRejectErrorCode", types.YLeaf{"DocsIetfBpi2CmTEKKeyRejectErrorCode", docsIetfBpi2CmTEKEntry.DocsIetfBpi2CmTEKKeyRejectErrorCode})
docsIetfBpi2CmTEKEntry.EntityData.Leafs.Append("docsIetfBpi2CmTEKKeyRejectErrorString", types.YLeaf{"DocsIetfBpi2CmTEKKeyRejectErrorString", docsIetfBpi2CmTEKEntry.DocsIetfBpi2CmTEKKeyRejectErrorString})
docsIetfBpi2CmTEKEntry.EntityData.Leafs.Append("docsIetfBpi2CmTEKInvalidErrorCode", types.YLeaf{"DocsIetfBpi2CmTEKInvalidErrorCode", docsIetfBpi2CmTEKEntry.DocsIetfBpi2CmTEKInvalidErrorCode})
docsIetfBpi2CmTEKEntry.EntityData.Leafs.Append("docsIetfBpi2CmTEKInvalidErrorString", types.YLeaf{"DocsIetfBpi2CmTEKInvalidErrorString", docsIetfBpi2CmTEKEntry.DocsIetfBpi2CmTEKInvalidErrorString})
docsIetfBpi2CmTEKEntry.EntityData.YListKeys = []string {"IfIndex", "DocsIetfBpi2CmTEKSAId"}
return &(docsIetfBpi2CmTEKEntry.EntityData)
}
// DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKInvalidErrorCode represents Invalid message has been received since registration.
type DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKInvalidErrorCode string
const (
DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKInvalidErrorCode_none DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKInvalidErrorCode = "none"
DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKInvalidErrorCode_unknown DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKInvalidErrorCode = "unknown"
DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKInvalidErrorCode_invalidKeySequence DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKInvalidErrorCode = "invalidKeySequence"
)
// DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKKeyRejectErrorCode represents Reject message has been received since registration.
type DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKKeyRejectErrorCode string
const (
DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKKeyRejectErrorCode_none DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKKeyRejectErrorCode = "none"
DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKKeyRejectErrorCode_unknown DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKKeyRejectErrorCode = "unknown"
DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKKeyRejectErrorCode_unauthorizedSaid DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKKeyRejectErrorCode = "unauthorizedSaid"
)
// DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKState represents is in its initial state.
type DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKState string
const (
DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKState_start DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKState = "start"
DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKState_opWait DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKState = "opWait"
DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKState_opReauthWait DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKState = "opReauthWait"
DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKState_operational DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKState = "operational"
DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKState_rekeyWait DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKState = "rekeyWait"
DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKState_rekeyReauthWait DOCSIETFBPI2MIB_DocsIetfBpi2CmTEKTable_DocsIetfBpi2CmTEKEntry_DocsIetfBpi2CmTEKState = "rekeyReauthWait"
)
// DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable
// This table maps multicast IP addresses to SAIDs per
// CM MAC Interface.
// It is intended to map multicast IP addresses associated
// with SA MAP Request messages.
type DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Each entry contains objects describing the mapping of one multicast IP
// address to one SAID, as well as associated state, message counters, and
// error information. An entry may be removed from this table upon the
// reception of an SA Map Reject. The type is slice of
// DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry.
DocsIetfBpi2CmIpMulticastMapEntry []*DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry
}
func (docsIetfBpi2CmIpMulticastMapTable *DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable) GetEntityData() *types.CommonEntityData {
docsIetfBpi2CmIpMulticastMapTable.EntityData.YFilter = docsIetfBpi2CmIpMulticastMapTable.YFilter
docsIetfBpi2CmIpMulticastMapTable.EntityData.YangName = "docsIetfBpi2CmIpMulticastMapTable"
docsIetfBpi2CmIpMulticastMapTable.EntityData.BundleName = "cisco_ios_xe"
docsIetfBpi2CmIpMulticastMapTable.EntityData.ParentYangName = "DOCS-IETF-BPI2-MIB"
docsIetfBpi2CmIpMulticastMapTable.EntityData.SegmentPath = "docsIetfBpi2CmIpMulticastMapTable"
docsIetfBpi2CmIpMulticastMapTable.EntityData.AbsolutePath = "DOCS-IETF-BPI2-MIB:DOCS-IETF-BPI2-MIB/" + docsIetfBpi2CmIpMulticastMapTable.EntityData.SegmentPath
docsIetfBpi2CmIpMulticastMapTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
docsIetfBpi2CmIpMulticastMapTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
docsIetfBpi2CmIpMulticastMapTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
docsIetfBpi2CmIpMulticastMapTable.EntityData.Children = types.NewOrderedMap()
docsIetfBpi2CmIpMulticastMapTable.EntityData.Children.Append("docsIetfBpi2CmIpMulticastMapEntry", types.YChild{"DocsIetfBpi2CmIpMulticastMapEntry", nil})
for i := range docsIetfBpi2CmIpMulticastMapTable.DocsIetfBpi2CmIpMulticastMapEntry {
docsIetfBpi2CmIpMulticastMapTable.EntityData.Children.Append(types.GetSegmentPath(docsIetfBpi2CmIpMulticastMapTable.DocsIetfBpi2CmIpMulticastMapEntry[i]), types.YChild{"DocsIetfBpi2CmIpMulticastMapEntry", docsIetfBpi2CmIpMulticastMapTable.DocsIetfBpi2CmIpMulticastMapEntry[i]})
}
docsIetfBpi2CmIpMulticastMapTable.EntityData.Leafs = types.NewOrderedMap()
docsIetfBpi2CmIpMulticastMapTable.EntityData.YListKeys = []string {}
return &(docsIetfBpi2CmIpMulticastMapTable.EntityData)
}
// DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry
// Each entry contains objects describing the mapping of
// one multicast IP address to one SAID, as well as
// associated state, message counters, and error information.
//
// An entry may be removed from this table upon the reception
// of an SA Map Reject.
type DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The type is string with range: 1..2147483647.
// Refers to if_mib.IFMIB_IfTable_IfEntry_IfIndex
IfIndex interface{}
// This attribute is a key. The index of this row. The type is interface{}
// with range: 1..4294967295.
DocsIetfBpi2CmIpMulticastIndex interface{}
// The type of internet address for docsIetfBpi2CmIpMulticastAddress. The type
// is InetAddressType.
DocsIetfBpi2CmIpMulticastAddressType interface{}
// This object represents the IP multicast address to be mapped. The type of
// this address is determined by the value of the
// docsIetfBpi2CmIpMulticastAddressType object. The type is string with
// length: 0..255.
DocsIetfBpi2CmIpMulticastAddress interface{}
// This object represents the SAID to which the IP multicast address has been
// mapped. If no SA Map Reply has been received for the IP address, this
// object should have the value 0. The type is interface{} with range:
// 0..16383.
DocsIetfBpi2CmIpMulticastSAId interface{}
// The value of this object is the state of the SA Mapping FSM for this IP.
// The type is DocsIetfBpi2CmIpMulticastSAMapState.
DocsIetfBpi2CmIpMulticastSAMapState interface{}
// The value of this object is the count of times the CM has transmitted an SA
// Map Request message for this IP. Discontinuities in the value of this
// counter can occur at re-initialization of the management system, and at
// other times as indicated by the value of ifCounterDiscontinuityTime. The
// type is interface{} with range: 0..4294967295.
DocsIetfBpi2CmIpMulticastSAMapRequests interface{}
// The value of this object is the count of times the CM has received an SA
// Map Reply message for this IP. Discontinuities in the value of this counter
// can occur at re-initialization of the management system, and at other times
// as indicated by the value of ifCounterDiscontinuityTime. The type is
// interface{} with range: 0..4294967295.
DocsIetfBpi2CmIpMulticastSAMapReplies interface{}
// The value of this object is the count of times the CM has received an SA
// MAP Reject message for this IP. Discontinuities in the value of this
// counter can occur at re-initialization of the management system, and at
// other times as indicated by the value of ifCounterDiscontinuityTime. The
// type is interface{} with range: 0..4294967295.
DocsIetfBpi2CmIpMulticastSAMapRejects interface{}
// The value of this object is the enumerated description of the Error-Code in
// the most recent SA Map Reject message sent in response to an SA Map Request
// for This IP. It has the value none(1) if no SA MAP Reject message has been
// received since entry creation. The type is
// DocsIetfBpi2CmIpMulticastSAMapRejectErrorCode.
DocsIetfBpi2CmIpMulticastSAMapRejectErrorCode interface{}
// The value of this object is the text string in the most recent SA Map
// Reject message sent in response to an SA Map Request for this IP. It is a
// zero length string if no SA Map Reject message has been received since
// entry creation. The type is string with length: 0..128.
DocsIetfBpi2CmIpMulticastSAMapRejectErrorString interface{}
}
func (docsIetfBpi2CmIpMulticastMapEntry *DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry) GetEntityData() *types.CommonEntityData {
docsIetfBpi2CmIpMulticastMapEntry.EntityData.YFilter = docsIetfBpi2CmIpMulticastMapEntry.YFilter
docsIetfBpi2CmIpMulticastMapEntry.EntityData.YangName = "docsIetfBpi2CmIpMulticastMapEntry"
docsIetfBpi2CmIpMulticastMapEntry.EntityData.BundleName = "cisco_ios_xe"
docsIetfBpi2CmIpMulticastMapEntry.EntityData.ParentYangName = "docsIetfBpi2CmIpMulticastMapTable"
docsIetfBpi2CmIpMulticastMapEntry.EntityData.SegmentPath = "docsIetfBpi2CmIpMulticastMapEntry" + types.AddKeyToken(docsIetfBpi2CmIpMulticastMapEntry.IfIndex, "ifIndex") + types.AddKeyToken(docsIetfBpi2CmIpMulticastMapEntry.DocsIetfBpi2CmIpMulticastIndex, "docsIetfBpi2CmIpMulticastIndex")
docsIetfBpi2CmIpMulticastMapEntry.EntityData.AbsolutePath = "DOCS-IETF-BPI2-MIB:DOCS-IETF-BPI2-MIB/docsIetfBpi2CmIpMulticastMapTable/" + docsIetfBpi2CmIpMulticastMapEntry.EntityData.SegmentPath
docsIetfBpi2CmIpMulticastMapEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
docsIetfBpi2CmIpMulticastMapEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
docsIetfBpi2CmIpMulticastMapEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
docsIetfBpi2CmIpMulticastMapEntry.EntityData.Children = types.NewOrderedMap()
docsIetfBpi2CmIpMulticastMapEntry.EntityData.Leafs = types.NewOrderedMap()
docsIetfBpi2CmIpMulticastMapEntry.EntityData.Leafs.Append("ifIndex", types.YLeaf{"IfIndex", docsIetfBpi2CmIpMulticastMapEntry.IfIndex})
docsIetfBpi2CmIpMulticastMapEntry.EntityData.Leafs.Append("docsIetfBpi2CmIpMulticastIndex", types.YLeaf{"DocsIetfBpi2CmIpMulticastIndex", docsIetfBpi2CmIpMulticastMapEntry.DocsIetfBpi2CmIpMulticastIndex})
docsIetfBpi2CmIpMulticastMapEntry.EntityData.Leafs.Append("docsIetfBpi2CmIpMulticastAddressType", types.YLeaf{"DocsIetfBpi2CmIpMulticastAddressType", docsIetfBpi2CmIpMulticastMapEntry.DocsIetfBpi2CmIpMulticastAddressType})
docsIetfBpi2CmIpMulticastMapEntry.EntityData.Leafs.Append("docsIetfBpi2CmIpMulticastAddress", types.YLeaf{"DocsIetfBpi2CmIpMulticastAddress", docsIetfBpi2CmIpMulticastMapEntry.DocsIetfBpi2CmIpMulticastAddress})
docsIetfBpi2CmIpMulticastMapEntry.EntityData.Leafs.Append("docsIetfBpi2CmIpMulticastSAId", types.YLeaf{"DocsIetfBpi2CmIpMulticastSAId", docsIetfBpi2CmIpMulticastMapEntry.DocsIetfBpi2CmIpMulticastSAId})
docsIetfBpi2CmIpMulticastMapEntry.EntityData.Leafs.Append("docsIetfBpi2CmIpMulticastSAMapState", types.YLeaf{"DocsIetfBpi2CmIpMulticastSAMapState", docsIetfBpi2CmIpMulticastMapEntry.DocsIetfBpi2CmIpMulticastSAMapState})
docsIetfBpi2CmIpMulticastMapEntry.EntityData.Leafs.Append("docsIetfBpi2CmIpMulticastSAMapRequests", types.YLeaf{"DocsIetfBpi2CmIpMulticastSAMapRequests", docsIetfBpi2CmIpMulticastMapEntry.DocsIetfBpi2CmIpMulticastSAMapRequests})
docsIetfBpi2CmIpMulticastMapEntry.EntityData.Leafs.Append("docsIetfBpi2CmIpMulticastSAMapReplies", types.YLeaf{"DocsIetfBpi2CmIpMulticastSAMapReplies", docsIetfBpi2CmIpMulticastMapEntry.DocsIetfBpi2CmIpMulticastSAMapReplies})
docsIetfBpi2CmIpMulticastMapEntry.EntityData.Leafs.Append("docsIetfBpi2CmIpMulticastSAMapRejects", types.YLeaf{"DocsIetfBpi2CmIpMulticastSAMapRejects", docsIetfBpi2CmIpMulticastMapEntry.DocsIetfBpi2CmIpMulticastSAMapRejects})
docsIetfBpi2CmIpMulticastMapEntry.EntityData.Leafs.Append("docsIetfBpi2CmIpMulticastSAMapRejectErrorCode", types.YLeaf{"DocsIetfBpi2CmIpMulticastSAMapRejectErrorCode", docsIetfBpi2CmIpMulticastMapEntry.DocsIetfBpi2CmIpMulticastSAMapRejectErrorCode})
docsIetfBpi2CmIpMulticastMapEntry.EntityData.Leafs.Append("docsIetfBpi2CmIpMulticastSAMapRejectErrorString", types.YLeaf{"DocsIetfBpi2CmIpMulticastSAMapRejectErrorString", docsIetfBpi2CmIpMulticastMapEntry.DocsIetfBpi2CmIpMulticastSAMapRejectErrorString})
docsIetfBpi2CmIpMulticastMapEntry.EntityData.YListKeys = []string {"IfIndex", "DocsIetfBpi2CmIpMulticastIndex"}
return &(docsIetfBpi2CmIpMulticastMapEntry.EntityData)
}
// DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry_DocsIetfBpi2CmIpMulticastSAMapRejectErrorCode represents message has been received since entry creation.
type DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry_DocsIetfBpi2CmIpMulticastSAMapRejectErrorCode string
const (
DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry_DocsIetfBpi2CmIpMulticastSAMapRejectErrorCode_none DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry_DocsIetfBpi2CmIpMulticastSAMapRejectErrorCode = "none"
DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry_DocsIetfBpi2CmIpMulticastSAMapRejectErrorCode_unknown DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry_DocsIetfBpi2CmIpMulticastSAMapRejectErrorCode = "unknown"
DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry_DocsIetfBpi2CmIpMulticastSAMapRejectErrorCode_noAuthForRequestedDSFlow DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry_DocsIetfBpi2CmIpMulticastSAMapRejectErrorCode = "noAuthForRequestedDSFlow"
DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry_DocsIetfBpi2CmIpMulticastSAMapRejectErrorCode_dsFlowNotMappedToSA DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry_DocsIetfBpi2CmIpMulticastSAMapRejectErrorCode = "dsFlowNotMappedToSA"
)
// DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry_DocsIetfBpi2CmIpMulticastSAMapState represents Mapping FSM for this IP.
type DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry_DocsIetfBpi2CmIpMulticastSAMapState string
const (
DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry_DocsIetfBpi2CmIpMulticastSAMapState_start DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry_DocsIetfBpi2CmIpMulticastSAMapState = "start"
DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry_DocsIetfBpi2CmIpMulticastSAMapState_mapWait DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry_DocsIetfBpi2CmIpMulticastSAMapState = "mapWait"
DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry_DocsIetfBpi2CmIpMulticastSAMapState_mapped DOCSIETFBPI2MIB_DocsIetfBpi2CmIpMulticastMapTable_DocsIetfBpi2CmIpMulticastMapEntry_DocsIetfBpi2CmIpMulticastSAMapState = "mapped"
)
// DOCSIETFBPI2MIB_DocsIetfBpi2CmDeviceCertTable
// This table describes the Baseline Privacy Plus
// device certificates for each CM MAC interface.
type DOCSIETFBPI2MIB_DocsIetfBpi2CmDeviceCertTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Each entry contains the device certificates of one CM MAC interface. An
// entry in this table exists for each ifEntry with an ifType of
// docsCableMaclayer(127). The type is slice of
// DOCSIETFBPI2MIB_DocsIetfBpi2CmDeviceCertTable_DocsIetfBpi2CmDeviceCertEntry.
DocsIetfBpi2CmDeviceCertEntry []*DOCSIETFBPI2MIB_DocsIetfBpi2CmDeviceCertTable_DocsIetfBpi2CmDeviceCertEntry
}
func (docsIetfBpi2CmDeviceCertTable *DOCSIETFBPI2MIB_DocsIetfBpi2CmDeviceCertTable) GetEntityData() *types.CommonEntityData {
docsIetfBpi2CmDeviceCertTable.EntityData.YFilter = docsIetfBpi2CmDeviceCertTable.YFilter
docsIetfBpi2CmDeviceCertTable.EntityData.YangName = "docsIetfBpi2CmDeviceCertTable"
docsIetfBpi2CmDeviceCertTable.EntityData.BundleName = "cisco_ios_xe"
docsIetfBpi2CmDeviceCertTable.EntityData.ParentYangName = "DOCS-IETF-BPI2-MIB"
docsIetfBpi2CmDeviceCertTable.EntityData.SegmentPath = "docsIetfBpi2CmDeviceCertTable"
docsIetfBpi2CmDeviceCertTable.EntityData.AbsolutePath = "DOCS-IETF-BPI2-MIB:DOCS-IETF-BPI2-MIB/" + docsIetfBpi2CmDeviceCertTable.EntityData.SegmentPath
docsIetfBpi2CmDeviceCertTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
docsIetfBpi2CmDeviceCertTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
docsIetfBpi2CmDeviceCertTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
docsIetfBpi2CmDeviceCertTable.EntityData.Children = types.NewOrderedMap()
docsIetfBpi2CmDeviceCertTable.EntityData.Children.Append("docsIetfBpi2CmDeviceCertEntry", types.YChild{"DocsIetfBpi2CmDeviceCertEntry", nil})
for i := range docsIetfBpi2CmDeviceCertTable.DocsIetfBpi2CmDeviceCertEntry {
docsIetfBpi2CmDeviceCertTable.EntityData.Children.Append(types.GetSegmentPath(docsIetfBpi2CmDeviceCertTable.DocsIetfBpi2CmDeviceCertEntry[i]), types.YChild{"DocsIetfBpi2CmDeviceCertEntry", docsIetfBpi2CmDeviceCertTable.DocsIetfBpi2CmDeviceCertEntry[i]})
}
docsIetfBpi2CmDeviceCertTable.EntityData.Leafs = types.NewOrderedMap()
docsIetfBpi2CmDeviceCertTable.EntityData.YListKeys = []string {}
return &(docsIetfBpi2CmDeviceCertTable.EntityData)
}
// DOCSIETFBPI2MIB_DocsIetfBpi2CmDeviceCertTable_DocsIetfBpi2CmDeviceCertEntry
// Each entry contains the device certificates of
// one CM MAC interface. An entry in this table exists for
// each ifEntry with an ifType of docsCableMaclayer(127).
type DOCSIETFBPI2MIB_DocsIetfBpi2CmDeviceCertTable_DocsIetfBpi2CmDeviceCertEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The type is string with range: 1..2147483647.
// Refers to if_mib.IFMIB_IfTable_IfEntry_IfIndex