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
/
cisco_stp_extensions_mib.go
3087 lines (2556 loc) · 196 KB
/
cisco_stp_extensions_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
// The MIB module for managing Cisco extensions to
// the 802.1D Spanning Tree Protocol (STP).
package cisco_stp_extensions_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 cisco_stp_extensions_mib"))
ydk.RegisterEntity("{urn:ietf:params:xml:ns:yang:smiv2:CISCO-STP-EXTENSIONS-MIB CISCO-STP-EXTENSIONS-MIB}", reflect.TypeOf(CISCOSTPEXTENSIONSMIB{}))
ydk.RegisterEntity("CISCO-STP-EXTENSIONS-MIB:CISCO-STP-EXTENSIONS-MIB", reflect.TypeOf(CISCOSTPEXTENSIONSMIB{}))
}
// CISCOSTPEXTENSIONSMIB
type CISCOSTPEXTENSIONSMIB struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
StpxUplinkFastObjects CISCOSTPEXTENSIONSMIB_StpxUplinkFastObjects
StpxBackboneFastObjects CISCOSTPEXTENSIONSMIB_StpxBackboneFastObjects
StpxSpanningTreeObjects CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects
StpxMISTPObjects CISCOSTPEXTENSIONSMIB_StpxMISTPObjects
StpxLoopGuardObjects CISCOSTPEXTENSIONSMIB_StpxLoopGuardObjects
StpxFastStartObjects CISCOSTPEXTENSIONSMIB_StpxFastStartObjects
StpxBpduSkewingObjects CISCOSTPEXTENSIONSMIB_StpxBpduSkewingObjects
StpxMSTObjects CISCOSTPEXTENSIONSMIB_StpxMSTObjects
StpxRSTPObjects CISCOSTPEXTENSIONSMIB_StpxRSTPObjects
StpxSMSTObjects CISCOSTPEXTENSIONSMIB_StpxSMSTObjects
// A list of Virtual LAN entries containing information for Spanning Tree
// PVST+ protocol. An entry will exist for each VLAN existing on the device.
StpxPVSTVlanTable CISCOSTPEXTENSIONSMIB_StpxPVSTVlanTable
// A table containing a list of the ports for which a particular VLAN's
// Spanning Tree has been found to have an inconsistency. Two types of
// inconsistency are discovered: 1) an inconsistency where two different port
// types have been plugged together; and 2) an inconsistency where different
// switches have different PVIDs for the same link.
StpxInconsistencyTable CISCOSTPEXTENSIONSMIB_StpxInconsistencyTable
// A table containing a list of the bridge ports for which Spanning Tree
// RootGuard capability can be configured.
StpxRootGuardConfigTable CISCOSTPEXTENSIONSMIB_StpxRootGuardConfigTable
// A table containing a list of the bridge ports for which a particular
// Spanning Tree instance has been found to have an root-inconsistency. The
// agent creates a new entry in this table whenever it detects a new
// root-inconsistency, and deletes entries when/soon after the inconsistency
// is no longer present.
StpxRootInconsistencyTable CISCOSTPEXTENSIONSMIB_StpxRootInconsistencyTable
// This table contains one entry for each instance of MISTP and it contains
// stpxMISTPInstanceNumber entries, numbered from 1 to
// stpxMISTPInstanceNumber. This table is only instantiated when the value of
// stpxSpanningTreeType is mistp(2) or mistpPvstPlus(3).
StpxMISTPInstanceTable CISCOSTPEXTENSIONSMIB_StpxMISTPInstanceTable
// A table containing a list of the bridge ports for which Spanning Tree
// LoopGuard capability can be configured.
StpxLoopGuardConfigTable CISCOSTPEXTENSIONSMIB_StpxLoopGuardConfigTable
// A table containing a list of the bridge ports for which a particular
// Spanning Tree instance has been found to have a loop-inconsistency. The
// agent creates a new entry in this table whenever it detects a new
// loop-inconsistency, and deletes entries when/soon after the inconsistency
// is no longer present.
StpxLoopInconsistencyTable CISCOSTPEXTENSIONSMIB_StpxLoopInconsistencyTable
// A table containing a list of the bridge ports for which Spanning Tree Port
// Fast Start can be configured.
StpxFastStartPortTable CISCOSTPEXTENSIONSMIB_StpxFastStartPortTable
// A table containing a list of the bridge ports for a particular Spanning
// Tree Instance.
StpxFastStartOperModeTable CISCOSTPEXTENSIONSMIB_StpxFastStartOperModeTable
// A table containing a list of the bridge ports for which a particular
// Spanning Tree instance has been detected to have BPDU skewing occurred
// since the object value of stpxBpduSkewingDetectionEnable was last changed
// to true(1). The agent creates a new entry in this table whenever a port in
// a particular Spanning Tree instance is detected to be BPDU skewed since
// the object value of stpxBpduSkewingDetectionEnable object is changed to
// true(1). The agent deletes all the entries in this table when the object
// value of stpxBpduSkewingDetectionEnable is changed to false(2) or the
// object value of stpxSpanningTreeType is changed.
StpxBpduSkewingTable CISCOSTPEXTENSIONSMIB_StpxBpduSkewingTable
// This table contains MST instance information with one entry for an MST
// instance within the range of 0 to the object value of
// stpxMSTMaxInstanceNumber. This table is deprecated and replaced by
// stpxSMSTInstanceTable.
StpxMSTInstanceTable CISCOSTPEXTENSIONSMIB_StpxMSTInstanceTable
// This table contains MST instance information in the Edit Buffer with one
// entry for each MST instance numbered from 0 to stpxMSTMaxInstanceNumber.
// This table is only instantiated when the stpxMSTRegionEditBufferStatus has
// the value of acquiredBySnmp(2). This table is deprecated and replaced by
// stpxSMSTInstanceEditTable.
StpxMSTInstanceEditTable CISCOSTPEXTENSIONSMIB_StpxMSTInstanceEditTable
// A table containing port information for the MST Protocol on all the bridge
// ports existing on the system.
StpxMSTPortTable CISCOSTPEXTENSIONSMIB_StpxMSTPortTable
// A table containing a list of the bridge ports for a particular MST
// instance. This table is only instantiated when the stpxSpanningTreeType
// is mst(4). This table is deprecated and replaced with
// stpxRSTPPortRoleTable.
StpxMSTPortRoleTable CISCOSTPEXTENSIONSMIB_StpxMSTPortRoleTable
// A table containing port information for the RSTP Protocol on all the
// bridge ports existing in the system.
StpxRSTPPortTable CISCOSTPEXTENSIONSMIB_StpxRSTPPortTable
// A table containing a list of the bridge ports for a particular Spanning
// Tree instance. This table is only instantiated when the
// stpxSpanningTreeType is mst(4) or rapidPvstPlus(5).
StpxRSTPPortRoleTable CISCOSTPEXTENSIONSMIB_StpxRSTPPortRoleTable
// A table containing a list of the bridge ports for a particular Spanning
// Tree Instance. This table is only instantiated when the object value of
// stpxSpanningTreeType is rapidPvstPlus(5).
StpxRPVSTPortTable CISCOSTPEXTENSIONSMIB_StpxRPVSTPortTable
// This table contains MST instance information for IEEE MST.
StpxSMSTInstanceTable CISCOSTPEXTENSIONSMIB_StpxSMSTInstanceTable
// This table contains MST instance information in the Edit Buffer. This
// table is only instantiated when the object value of
// stpxMSTRegionEditBufferStatus has the value of acquiredBySnmp(2).
StpxSMSTInstanceEditTable CISCOSTPEXTENSIONSMIB_StpxSMSTInstanceEditTable
// A table containing port information for the MST Protocol on all the bridge
// ports existing on the system. This table is only instantiated when the
// object value of stpxSpanningTreeType is mst(4).
StpxSMSTPortTable CISCOSTPEXTENSIONSMIB_StpxSMSTPortTable
}
func (cISCOSTPEXTENSIONSMIB *CISCOSTPEXTENSIONSMIB) GetEntityData() *types.CommonEntityData {
cISCOSTPEXTENSIONSMIB.EntityData.YFilter = cISCOSTPEXTENSIONSMIB.YFilter
cISCOSTPEXTENSIONSMIB.EntityData.YangName = "CISCO-STP-EXTENSIONS-MIB"
cISCOSTPEXTENSIONSMIB.EntityData.BundleName = "cisco_ios_xe"
cISCOSTPEXTENSIONSMIB.EntityData.ParentYangName = "CISCO-STP-EXTENSIONS-MIB"
cISCOSTPEXTENSIONSMIB.EntityData.SegmentPath = "CISCO-STP-EXTENSIONS-MIB:CISCO-STP-EXTENSIONS-MIB"
cISCOSTPEXTENSIONSMIB.EntityData.AbsolutePath = cISCOSTPEXTENSIONSMIB.EntityData.SegmentPath
cISCOSTPEXTENSIONSMIB.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cISCOSTPEXTENSIONSMIB.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cISCOSTPEXTENSIONSMIB.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cISCOSTPEXTENSIONSMIB.EntityData.Children = types.NewOrderedMap()
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxUplinkFastObjects", types.YChild{"StpxUplinkFastObjects", &cISCOSTPEXTENSIONSMIB.StpxUplinkFastObjects})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxBackboneFastObjects", types.YChild{"StpxBackboneFastObjects", &cISCOSTPEXTENSIONSMIB.StpxBackboneFastObjects})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxSpanningTreeObjects", types.YChild{"StpxSpanningTreeObjects", &cISCOSTPEXTENSIONSMIB.StpxSpanningTreeObjects})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxMISTPObjects", types.YChild{"StpxMISTPObjects", &cISCOSTPEXTENSIONSMIB.StpxMISTPObjects})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxLoopGuardObjects", types.YChild{"StpxLoopGuardObjects", &cISCOSTPEXTENSIONSMIB.StpxLoopGuardObjects})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxFastStartObjects", types.YChild{"StpxFastStartObjects", &cISCOSTPEXTENSIONSMIB.StpxFastStartObjects})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxBpduSkewingObjects", types.YChild{"StpxBpduSkewingObjects", &cISCOSTPEXTENSIONSMIB.StpxBpduSkewingObjects})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxMSTObjects", types.YChild{"StpxMSTObjects", &cISCOSTPEXTENSIONSMIB.StpxMSTObjects})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxRSTPObjects", types.YChild{"StpxRSTPObjects", &cISCOSTPEXTENSIONSMIB.StpxRSTPObjects})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxSMSTObjects", types.YChild{"StpxSMSTObjects", &cISCOSTPEXTENSIONSMIB.StpxSMSTObjects})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxPVSTVlanTable", types.YChild{"StpxPVSTVlanTable", &cISCOSTPEXTENSIONSMIB.StpxPVSTVlanTable})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxInconsistencyTable", types.YChild{"StpxInconsistencyTable", &cISCOSTPEXTENSIONSMIB.StpxInconsistencyTable})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxRootGuardConfigTable", types.YChild{"StpxRootGuardConfigTable", &cISCOSTPEXTENSIONSMIB.StpxRootGuardConfigTable})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxRootInconsistencyTable", types.YChild{"StpxRootInconsistencyTable", &cISCOSTPEXTENSIONSMIB.StpxRootInconsistencyTable})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxMISTPInstanceTable", types.YChild{"StpxMISTPInstanceTable", &cISCOSTPEXTENSIONSMIB.StpxMISTPInstanceTable})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxLoopGuardConfigTable", types.YChild{"StpxLoopGuardConfigTable", &cISCOSTPEXTENSIONSMIB.StpxLoopGuardConfigTable})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxLoopInconsistencyTable", types.YChild{"StpxLoopInconsistencyTable", &cISCOSTPEXTENSIONSMIB.StpxLoopInconsistencyTable})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxFastStartPortTable", types.YChild{"StpxFastStartPortTable", &cISCOSTPEXTENSIONSMIB.StpxFastStartPortTable})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxFastStartOperModeTable", types.YChild{"StpxFastStartOperModeTable", &cISCOSTPEXTENSIONSMIB.StpxFastStartOperModeTable})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxBpduSkewingTable", types.YChild{"StpxBpduSkewingTable", &cISCOSTPEXTENSIONSMIB.StpxBpduSkewingTable})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxMSTInstanceTable", types.YChild{"StpxMSTInstanceTable", &cISCOSTPEXTENSIONSMIB.StpxMSTInstanceTable})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxMSTInstanceEditTable", types.YChild{"StpxMSTInstanceEditTable", &cISCOSTPEXTENSIONSMIB.StpxMSTInstanceEditTable})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxMSTPortTable", types.YChild{"StpxMSTPortTable", &cISCOSTPEXTENSIONSMIB.StpxMSTPortTable})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxMSTPortRoleTable", types.YChild{"StpxMSTPortRoleTable", &cISCOSTPEXTENSIONSMIB.StpxMSTPortRoleTable})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxRSTPPortTable", types.YChild{"StpxRSTPPortTable", &cISCOSTPEXTENSIONSMIB.StpxRSTPPortTable})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxRSTPPortRoleTable", types.YChild{"StpxRSTPPortRoleTable", &cISCOSTPEXTENSIONSMIB.StpxRSTPPortRoleTable})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxRPVSTPortTable", types.YChild{"StpxRPVSTPortTable", &cISCOSTPEXTENSIONSMIB.StpxRPVSTPortTable})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxSMSTInstanceTable", types.YChild{"StpxSMSTInstanceTable", &cISCOSTPEXTENSIONSMIB.StpxSMSTInstanceTable})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxSMSTInstanceEditTable", types.YChild{"StpxSMSTInstanceEditTable", &cISCOSTPEXTENSIONSMIB.StpxSMSTInstanceEditTable})
cISCOSTPEXTENSIONSMIB.EntityData.Children.Append("stpxSMSTPortTable", types.YChild{"StpxSMSTPortTable", &cISCOSTPEXTENSIONSMIB.StpxSMSTPortTable})
cISCOSTPEXTENSIONSMIB.EntityData.Leafs = types.NewOrderedMap()
cISCOSTPEXTENSIONSMIB.EntityData.YListKeys = []string {}
return &(cISCOSTPEXTENSIONSMIB.EntityData)
}
// CISCOSTPEXTENSIONSMIB_StpxUplinkFastObjects
type CISCOSTPEXTENSIONSMIB_StpxUplinkFastObjects struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// An indication of whether the UplinkFast capability is administratively
// enabled on the device. If the platform does not support configuration of
// this object when the object value of stpxSpanningTreeType is mst(4), then
// this object is not instantiated. The type is bool.
StpxUplinkFastEnabled interface{}
// The cumulative number of UplinkFast transitions (from the STP 'Blocking'
// state directly to the STP 'Forwarding' state). All transitions are
// included in this counter, irrespective of the instance of the Spanning Tree
// Protocol on which they occur. If the platform supports the
// stpxUplinkFastOperEnabled object, then this object is not instantiated
// when the object value of stpxUplinkFastOperEnabled is false(2). If the
// platform does not support the stpxUplinkFastOperEnabled object, then this
// object is not instantiated when the object value of stpxSpanningTreeType
// is mst(4). The type is interface{} with range: 0..4294967295. Units are
// transitions.
StpxUplinkFastTransitions interface{}
// The maximum number of station-learning frames that this device will
// generate in each 100 milli-second period after a UplinkFast transition. By
// configuring this object, the network administrator can limit the rate at
// which station-learning frames are generated. If the platform does not
// support configuration of this object when the object value of
// stpxSpanningTreeType is mst(4), then this object is not instantiated. The
// type is interface{} with range: 0..32000. Units are frames.
StpxUplinkStationLearningGenRate interface{}
// The cumulative number of station-learning frames generated due to
// UplinkFast transitions. All generated station-learning frames are included
// in this counter, irrespective of the instance of the Spanning Tree Protocol
// on which the UplinkFast transition occurred. If the platform supports the
// stpxUplinkFastOperEnabled object, then this object is not instantiated
// when the object value of stpxUplinkFastOperEnabled is false(2). If the
// platform does not support the stpxUplinkFastOperEnabled object, then this
// object is not instantiated when the object value of stpxSpanningTreeType
// is mst(4). The type is interface{} with range: 0..4294967295. Units are
// frames.
StpxUplinkStationLearningFrames interface{}
// An indication of whether the UplinkFast capability is operationally
// enabled on the device. The type is bool.
StpxUplinkFastOperEnabled interface{}
}
func (stpxUplinkFastObjects *CISCOSTPEXTENSIONSMIB_StpxUplinkFastObjects) GetEntityData() *types.CommonEntityData {
stpxUplinkFastObjects.EntityData.YFilter = stpxUplinkFastObjects.YFilter
stpxUplinkFastObjects.EntityData.YangName = "stpxUplinkFastObjects"
stpxUplinkFastObjects.EntityData.BundleName = "cisco_ios_xe"
stpxUplinkFastObjects.EntityData.ParentYangName = "CISCO-STP-EXTENSIONS-MIB"
stpxUplinkFastObjects.EntityData.SegmentPath = "stpxUplinkFastObjects"
stpxUplinkFastObjects.EntityData.AbsolutePath = "CISCO-STP-EXTENSIONS-MIB:CISCO-STP-EXTENSIONS-MIB/" + stpxUplinkFastObjects.EntityData.SegmentPath
stpxUplinkFastObjects.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
stpxUplinkFastObjects.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
stpxUplinkFastObjects.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
stpxUplinkFastObjects.EntityData.Children = types.NewOrderedMap()
stpxUplinkFastObjects.EntityData.Leafs = types.NewOrderedMap()
stpxUplinkFastObjects.EntityData.Leafs.Append("stpxUplinkFastEnabled", types.YLeaf{"StpxUplinkFastEnabled", stpxUplinkFastObjects.StpxUplinkFastEnabled})
stpxUplinkFastObjects.EntityData.Leafs.Append("stpxUplinkFastTransitions", types.YLeaf{"StpxUplinkFastTransitions", stpxUplinkFastObjects.StpxUplinkFastTransitions})
stpxUplinkFastObjects.EntityData.Leafs.Append("stpxUplinkStationLearningGenRate", types.YLeaf{"StpxUplinkStationLearningGenRate", stpxUplinkFastObjects.StpxUplinkStationLearningGenRate})
stpxUplinkFastObjects.EntityData.Leafs.Append("stpxUplinkStationLearningFrames", types.YLeaf{"StpxUplinkStationLearningFrames", stpxUplinkFastObjects.StpxUplinkStationLearningFrames})
stpxUplinkFastObjects.EntityData.Leafs.Append("stpxUplinkFastOperEnabled", types.YLeaf{"StpxUplinkFastOperEnabled", stpxUplinkFastObjects.StpxUplinkFastOperEnabled})
stpxUplinkFastObjects.EntityData.YListKeys = []string {}
return &(stpxUplinkFastObjects.EntityData)
}
// CISCOSTPEXTENSIONSMIB_StpxBackboneFastObjects
type CISCOSTPEXTENSIONSMIB_StpxBackboneFastObjects struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// An indication of whether the BackboneFast capability is administratively
// enabled on the device. The type is bool.
StpxBackboneFastEnabled interface{}
// The number of inferior BPDUs received by the switch since the
// stpxBackboneFastOperEnabled has become true(1). If the value of
// stpxBackboneFastOperEnabled is false(2), then this mib object will have a
// value of 0. The type is interface{} with range: 0..4294967295.
StpxBackboneFastInInferiorBPDUs interface{}
// The number of Root Link Query request PDUs received by the switch since the
// stpxBackboneFastOperEnabled has become true(1). If the value of
// stpxBackboneFastOperEnabled is false(2), then this mib object will have a
// value of 0. The type is interface{} with range: 0..4294967295.
StpxBackboneFastInRLQRequestPDUs interface{}
// The number of Root Link Query response PDUs received by the switch since
// the stpxBackboneFastOperEnabled has become true(1). If the value of
// stpxBackboneFastOperEnabled is false(2), then this mib object will have a
// value of 0. The type is interface{} with range: 0..4294967295.
StpxBackboneFastInRLQResponsePDUs interface{}
// The number of Root Link Query request PDUs transmitted by the switch since
// the stpxBackboneFastOperEnabled has become true(1). If the value of
// stpxBackboneFastOperEnabled is false(2), then this mib object will have a
// value of 0. The type is interface{} with range: 0..4294967295.
StpxBackboneFastOutRLQRequestPDUs interface{}
// The number of Root Link Query response PDUs transmitted by the switch since
// the stpxBackboneFastOperEnabled has become true(1). If the value of
// stpxBackboneFastOperEnabled is false(2), then this mib object will have a
// value of 0. The type is interface{} with range: 0..4294967295.
StpxBackboneFastOutRLQResponsePDUs interface{}
// An indication of whether the BackboneFast capability is operationally
// enabled on the device. The type is bool.
StpxBackboneFastOperEnabled interface{}
}
func (stpxBackboneFastObjects *CISCOSTPEXTENSIONSMIB_StpxBackboneFastObjects) GetEntityData() *types.CommonEntityData {
stpxBackboneFastObjects.EntityData.YFilter = stpxBackboneFastObjects.YFilter
stpxBackboneFastObjects.EntityData.YangName = "stpxBackboneFastObjects"
stpxBackboneFastObjects.EntityData.BundleName = "cisco_ios_xe"
stpxBackboneFastObjects.EntityData.ParentYangName = "CISCO-STP-EXTENSIONS-MIB"
stpxBackboneFastObjects.EntityData.SegmentPath = "stpxBackboneFastObjects"
stpxBackboneFastObjects.EntityData.AbsolutePath = "CISCO-STP-EXTENSIONS-MIB:CISCO-STP-EXTENSIONS-MIB/" + stpxBackboneFastObjects.EntityData.SegmentPath
stpxBackboneFastObjects.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
stpxBackboneFastObjects.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
stpxBackboneFastObjects.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
stpxBackboneFastObjects.EntityData.Children = types.NewOrderedMap()
stpxBackboneFastObjects.EntityData.Leafs = types.NewOrderedMap()
stpxBackboneFastObjects.EntityData.Leafs.Append("stpxBackboneFastEnabled", types.YLeaf{"StpxBackboneFastEnabled", stpxBackboneFastObjects.StpxBackboneFastEnabled})
stpxBackboneFastObjects.EntityData.Leafs.Append("stpxBackboneFastInInferiorBPDUs", types.YLeaf{"StpxBackboneFastInInferiorBPDUs", stpxBackboneFastObjects.StpxBackboneFastInInferiorBPDUs})
stpxBackboneFastObjects.EntityData.Leafs.Append("stpxBackboneFastInRLQRequestPDUs", types.YLeaf{"StpxBackboneFastInRLQRequestPDUs", stpxBackboneFastObjects.StpxBackboneFastInRLQRequestPDUs})
stpxBackboneFastObjects.EntityData.Leafs.Append("stpxBackboneFastInRLQResponsePDUs", types.YLeaf{"StpxBackboneFastInRLQResponsePDUs", stpxBackboneFastObjects.StpxBackboneFastInRLQResponsePDUs})
stpxBackboneFastObjects.EntityData.Leafs.Append("stpxBackboneFastOutRLQRequestPDUs", types.YLeaf{"StpxBackboneFastOutRLQRequestPDUs", stpxBackboneFastObjects.StpxBackboneFastOutRLQRequestPDUs})
stpxBackboneFastObjects.EntityData.Leafs.Append("stpxBackboneFastOutRLQResponsePDUs", types.YLeaf{"StpxBackboneFastOutRLQResponsePDUs", stpxBackboneFastObjects.StpxBackboneFastOutRLQResponsePDUs})
stpxBackboneFastObjects.EntityData.Leafs.Append("stpxBackboneFastOperEnabled", types.YLeaf{"StpxBackboneFastOperEnabled", stpxBackboneFastObjects.StpxBackboneFastOperEnabled})
stpxBackboneFastObjects.EntityData.YListKeys = []string {}
return &(stpxBackboneFastObjects.EntityData)
}
// CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects
type CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// The actual mode of spanning tree protocol runs on the device. It can be
// one of the following: pvstPlus -- PVST+ (Per VLAN Spanning Tree+
// Protocol). mistp -- MISTP (Multi Instance Spanning Tree Protocol).
// mistpPvstPlus -- MISTP with the tunneling scheme
// enabled for PVST+. mst -- IEEE 802.1s Multiple Spanning Tree (MST)
// with IEEE 802.1w Rapid Spanning Tree Protocol (RSTP). rapidPvstPlus
// -- IEEE 802.1w Rapid Spanning Tree Protocol (RSTP) for all vlans
// in PVST+. When the value of this MIB object gets changed, the network
// connectivity would be affected and the connectivity to this device would
// also be lost temporarily. The type is StpxSpanningTreeType.
StpxSpanningTreeType interface{}
// Indicates the administrative spanning tree path cost mode configured on
// device. The type is StpxSpanningTreePathCostMode.
StpxSpanningTreePathCostMode interface{}
// Indicates whether Extended System ID feature is administratively enabled
// on the device or not. The type is bool.
StpxExtendedSysIDAdminEnabled interface{}
// Indicates whether Extended System ID feature is operationaly enabled on
// the device or not. If the value of this object is true(1), then the
// accepted values for dot1dStpPriority in BRIDGE-MIB should be multiples of
// 4096 plus bridge instance ID, such as VlanIndex. Changing this object value
// might cause the values of dot1dBaseBridgeAddress and dot1dStpPriority in
// BRIDGE-MIB to be changed also. The type is bool.
StpxExtendedSysIDOperEnabled interface{}
// Indicates whether a specified notification is enabled or not. If a bit
// corresponding to a notification is set to 1, then the specified
// notification can be generated. newRoot -- the newRoot notification as
// defined in BRIDGE-MIB. topologyChange -- the topologyChange notification
// as defined in BRIDGE-MIB. inconsistency -- the
// stpxInconsistencyUpdate notification. rootInconsistency -- the
// stpxRootInconsistencyUpdate notification.
// loopInconsistency -- the stpxLoopInconsistencyUpdate
// notification. The type is map[string]bool.
StpxNotificationEnable interface{}
// Indicate the operational spanning tree path cost mode on device. This mode
// applies to all instances of the Spanning Tree protocol running on the
// device. When the value of this MIB object gets changed, the path cost of
// all ports will be reassigned to the default path cost values based on the
// new spanning tree path cost mode and the ports' speed. When the value of
// this MIB object is long(2), the stpxLongStpPortPathCost MIB object must be
// used in order to retrieve/configure the spanning tree port path cost as a
// 32 bits value. The set operation on dot1dStpPortPathCost in BRIDGE-MIB will
// be rejected. While retrieving the value of dot1dStpPortPathCost, the
// maximum value of 65535 will be returned if the value of
// stpxLongStpPortPathCost for the same instance exceeds 65535. When the
// value of this MIB object is short(1), the dot1dStpPortPathCost in
// BRIDGE-MIB must be used. The type is StpxSpanningTreePathCostOperMode.
StpxSpanningTreePathCostOperMode interface{}
}
func (stpxSpanningTreeObjects *CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects) GetEntityData() *types.CommonEntityData {
stpxSpanningTreeObjects.EntityData.YFilter = stpxSpanningTreeObjects.YFilter
stpxSpanningTreeObjects.EntityData.YangName = "stpxSpanningTreeObjects"
stpxSpanningTreeObjects.EntityData.BundleName = "cisco_ios_xe"
stpxSpanningTreeObjects.EntityData.ParentYangName = "CISCO-STP-EXTENSIONS-MIB"
stpxSpanningTreeObjects.EntityData.SegmentPath = "stpxSpanningTreeObjects"
stpxSpanningTreeObjects.EntityData.AbsolutePath = "CISCO-STP-EXTENSIONS-MIB:CISCO-STP-EXTENSIONS-MIB/" + stpxSpanningTreeObjects.EntityData.SegmentPath
stpxSpanningTreeObjects.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
stpxSpanningTreeObjects.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
stpxSpanningTreeObjects.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
stpxSpanningTreeObjects.EntityData.Children = types.NewOrderedMap()
stpxSpanningTreeObjects.EntityData.Leafs = types.NewOrderedMap()
stpxSpanningTreeObjects.EntityData.Leafs.Append("stpxSpanningTreeType", types.YLeaf{"StpxSpanningTreeType", stpxSpanningTreeObjects.StpxSpanningTreeType})
stpxSpanningTreeObjects.EntityData.Leafs.Append("stpxSpanningTreePathCostMode", types.YLeaf{"StpxSpanningTreePathCostMode", stpxSpanningTreeObjects.StpxSpanningTreePathCostMode})
stpxSpanningTreeObjects.EntityData.Leafs.Append("stpxExtendedSysIDAdminEnabled", types.YLeaf{"StpxExtendedSysIDAdminEnabled", stpxSpanningTreeObjects.StpxExtendedSysIDAdminEnabled})
stpxSpanningTreeObjects.EntityData.Leafs.Append("stpxExtendedSysIDOperEnabled", types.YLeaf{"StpxExtendedSysIDOperEnabled", stpxSpanningTreeObjects.StpxExtendedSysIDOperEnabled})
stpxSpanningTreeObjects.EntityData.Leafs.Append("stpxNotificationEnable", types.YLeaf{"StpxNotificationEnable", stpxSpanningTreeObjects.StpxNotificationEnable})
stpxSpanningTreeObjects.EntityData.Leafs.Append("stpxSpanningTreePathCostOperMode", types.YLeaf{"StpxSpanningTreePathCostOperMode", stpxSpanningTreeObjects.StpxSpanningTreePathCostOperMode})
stpxSpanningTreeObjects.EntityData.YListKeys = []string {}
return &(stpxSpanningTreeObjects.EntityData)
}
// CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreePathCostMode represents configured on device.
type CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreePathCostMode string
const (
CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreePathCostMode_short CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreePathCostMode = "short"
CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreePathCostMode_long CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreePathCostMode = "long"
)
// CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreePathCostOperMode represents the dot1dStpPortPathCost in BRIDGE-MIB must be used.
type CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreePathCostOperMode string
const (
CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreePathCostOperMode_short CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreePathCostOperMode = "short"
CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreePathCostOperMode_long CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreePathCostOperMode = "long"
)
// CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreeType represents temporarily.
type CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreeType string
const (
CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreeType_pvstPlus CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreeType = "pvstPlus"
CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreeType_mistp CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreeType = "mistp"
CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreeType_mistpPvstPlus CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreeType = "mistpPvstPlus"
CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreeType_mst CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreeType = "mst"
CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreeType_rapidPvstPlus CISCOSTPEXTENSIONSMIB_StpxSpanningTreeObjects_StpxSpanningTreeType = "rapidPvstPlus"
)
// CISCOSTPEXTENSIONSMIB_StpxMISTPObjects
type CISCOSTPEXTENSIONSMIB_StpxMISTPObjects struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// The number of MISTP instances, that are supported by the device when the
// value of stpxSpanningTreeType is either mistp(2) or mistpPvstPlus(3). The
// type is interface{} with range: 1..256.
StpxMISTPInstanceNumber interface{}
}
func (stpxMISTPObjects *CISCOSTPEXTENSIONSMIB_StpxMISTPObjects) GetEntityData() *types.CommonEntityData {
stpxMISTPObjects.EntityData.YFilter = stpxMISTPObjects.YFilter
stpxMISTPObjects.EntityData.YangName = "stpxMISTPObjects"
stpxMISTPObjects.EntityData.BundleName = "cisco_ios_xe"
stpxMISTPObjects.EntityData.ParentYangName = "CISCO-STP-EXTENSIONS-MIB"
stpxMISTPObjects.EntityData.SegmentPath = "stpxMISTPObjects"
stpxMISTPObjects.EntityData.AbsolutePath = "CISCO-STP-EXTENSIONS-MIB:CISCO-STP-EXTENSIONS-MIB/" + stpxMISTPObjects.EntityData.SegmentPath
stpxMISTPObjects.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
stpxMISTPObjects.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
stpxMISTPObjects.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
stpxMISTPObjects.EntityData.Children = types.NewOrderedMap()
stpxMISTPObjects.EntityData.Leafs = types.NewOrderedMap()
stpxMISTPObjects.EntityData.Leafs.Append("stpxMISTPInstanceNumber", types.YLeaf{"StpxMISTPInstanceNumber", stpxMISTPObjects.StpxMISTPInstanceNumber})
stpxMISTPObjects.EntityData.YListKeys = []string {}
return &(stpxMISTPObjects.EntityData)
}
// CISCOSTPEXTENSIONSMIB_StpxLoopGuardObjects
type CISCOSTPEXTENSIONSMIB_StpxLoopGuardObjects struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Indicates the global default config mode of LoopGuard feature on the
// device. The type is StpxLoopGuardGlobalDefaultMode.
StpxLoopGuardGlobalDefaultMode interface{}
}
func (stpxLoopGuardObjects *CISCOSTPEXTENSIONSMIB_StpxLoopGuardObjects) GetEntityData() *types.CommonEntityData {
stpxLoopGuardObjects.EntityData.YFilter = stpxLoopGuardObjects.YFilter
stpxLoopGuardObjects.EntityData.YangName = "stpxLoopGuardObjects"
stpxLoopGuardObjects.EntityData.BundleName = "cisco_ios_xe"
stpxLoopGuardObjects.EntityData.ParentYangName = "CISCO-STP-EXTENSIONS-MIB"
stpxLoopGuardObjects.EntityData.SegmentPath = "stpxLoopGuardObjects"
stpxLoopGuardObjects.EntityData.AbsolutePath = "CISCO-STP-EXTENSIONS-MIB:CISCO-STP-EXTENSIONS-MIB/" + stpxLoopGuardObjects.EntityData.SegmentPath
stpxLoopGuardObjects.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
stpxLoopGuardObjects.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
stpxLoopGuardObjects.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
stpxLoopGuardObjects.EntityData.Children = types.NewOrderedMap()
stpxLoopGuardObjects.EntityData.Leafs = types.NewOrderedMap()
stpxLoopGuardObjects.EntityData.Leafs.Append("stpxLoopGuardGlobalDefaultMode", types.YLeaf{"StpxLoopGuardGlobalDefaultMode", stpxLoopGuardObjects.StpxLoopGuardGlobalDefaultMode})
stpxLoopGuardObjects.EntityData.YListKeys = []string {}
return &(stpxLoopGuardObjects.EntityData)
}
// CISCOSTPEXTENSIONSMIB_StpxLoopGuardObjects_StpxLoopGuardGlobalDefaultMode represents feature on the device.
type CISCOSTPEXTENSIONSMIB_StpxLoopGuardObjects_StpxLoopGuardGlobalDefaultMode string
const (
CISCOSTPEXTENSIONSMIB_StpxLoopGuardObjects_StpxLoopGuardGlobalDefaultMode_enable CISCOSTPEXTENSIONSMIB_StpxLoopGuardObjects_StpxLoopGuardGlobalDefaultMode = "enable"
CISCOSTPEXTENSIONSMIB_StpxLoopGuardObjects_StpxLoopGuardGlobalDefaultMode_disable CISCOSTPEXTENSIONSMIB_StpxLoopGuardObjects_StpxLoopGuardGlobalDefaultMode = "disable"
)
// CISCOSTPEXTENSIONSMIB_StpxFastStartObjects
type CISCOSTPEXTENSIONSMIB_StpxFastStartObjects struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Indicates the global default mode of the Bpdu Guard feature on the device.
// On platforms that does not support per port Bpdu Guard configuration as
// indicated by the object stpxFastStartPortBpduGuardMode, if the value of
// this object is set to true(1), and the Fast Start Feature is operationally
// enabled on a port, then that port will be immediately disabled when the
// system receives a BPDU from that port. The type is bool.
StpxFastStartBpduGuardEnable interface{}
// Indicates the global default mode of the Bpdu Filter feature on the
// device. On platforms that does not support per port Bpdu Filter
// configuration as indicated by the object stpxFastStartPortBpduFilterMode,
// if the value of this object is set to true(1), and the Fast Start Feature
// is operationally enabled on a port, then no BPDUs will be transmitted on
// this port. The type is bool.
StpxFastStartBpduFilterEnable interface{}
// Indicates the global default mode of the Fast Start feature on the device.
// The type is StpxFastStartGlobalDefaultMode.
StpxFastStartGlobalDefaultMode interface{}
}
func (stpxFastStartObjects *CISCOSTPEXTENSIONSMIB_StpxFastStartObjects) GetEntityData() *types.CommonEntityData {
stpxFastStartObjects.EntityData.YFilter = stpxFastStartObjects.YFilter
stpxFastStartObjects.EntityData.YangName = "stpxFastStartObjects"
stpxFastStartObjects.EntityData.BundleName = "cisco_ios_xe"
stpxFastStartObjects.EntityData.ParentYangName = "CISCO-STP-EXTENSIONS-MIB"
stpxFastStartObjects.EntityData.SegmentPath = "stpxFastStartObjects"
stpxFastStartObjects.EntityData.AbsolutePath = "CISCO-STP-EXTENSIONS-MIB:CISCO-STP-EXTENSIONS-MIB/" + stpxFastStartObjects.EntityData.SegmentPath
stpxFastStartObjects.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
stpxFastStartObjects.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
stpxFastStartObjects.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
stpxFastStartObjects.EntityData.Children = types.NewOrderedMap()
stpxFastStartObjects.EntityData.Leafs = types.NewOrderedMap()
stpxFastStartObjects.EntityData.Leafs.Append("stpxFastStartBpduGuardEnable", types.YLeaf{"StpxFastStartBpduGuardEnable", stpxFastStartObjects.StpxFastStartBpduGuardEnable})
stpxFastStartObjects.EntityData.Leafs.Append("stpxFastStartBpduFilterEnable", types.YLeaf{"StpxFastStartBpduFilterEnable", stpxFastStartObjects.StpxFastStartBpduFilterEnable})
stpxFastStartObjects.EntityData.Leafs.Append("stpxFastStartGlobalDefaultMode", types.YLeaf{"StpxFastStartGlobalDefaultMode", stpxFastStartObjects.StpxFastStartGlobalDefaultMode})
stpxFastStartObjects.EntityData.YListKeys = []string {}
return &(stpxFastStartObjects.EntityData)
}
// CISCOSTPEXTENSIONSMIB_StpxFastStartObjects_StpxFastStartGlobalDefaultMode represents Start feature on the device.
type CISCOSTPEXTENSIONSMIB_StpxFastStartObjects_StpxFastStartGlobalDefaultMode string
const (
CISCOSTPEXTENSIONSMIB_StpxFastStartObjects_StpxFastStartGlobalDefaultMode_enable CISCOSTPEXTENSIONSMIB_StpxFastStartObjects_StpxFastStartGlobalDefaultMode = "enable"
CISCOSTPEXTENSIONSMIB_StpxFastStartObjects_StpxFastStartGlobalDefaultMode_disable CISCOSTPEXTENSIONSMIB_StpxFastStartObjects_StpxFastStartGlobalDefaultMode = "disable"
)
// CISCOSTPEXTENSIONSMIB_StpxBpduSkewingObjects
type CISCOSTPEXTENSIONSMIB_StpxBpduSkewingObjects struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Indicates whether BPDU skewing detection feature is enabled or not on the
// system. If this object has the value of true(1), then the system will
// detect whether BPDUs received by any port on any Spanning Tree instance
// are processed at an interval longer than the object value of
// dot1dStpHelloTime in the BIRDGE-MIB of the Spanning Tree instance. The type
// is bool.
StpxBpduSkewingDetectionEnable interface{}
}
func (stpxBpduSkewingObjects *CISCOSTPEXTENSIONSMIB_StpxBpduSkewingObjects) GetEntityData() *types.CommonEntityData {
stpxBpduSkewingObjects.EntityData.YFilter = stpxBpduSkewingObjects.YFilter
stpxBpduSkewingObjects.EntityData.YangName = "stpxBpduSkewingObjects"
stpxBpduSkewingObjects.EntityData.BundleName = "cisco_ios_xe"
stpxBpduSkewingObjects.EntityData.ParentYangName = "CISCO-STP-EXTENSIONS-MIB"
stpxBpduSkewingObjects.EntityData.SegmentPath = "stpxBpduSkewingObjects"
stpxBpduSkewingObjects.EntityData.AbsolutePath = "CISCO-STP-EXTENSIONS-MIB:CISCO-STP-EXTENSIONS-MIB/" + stpxBpduSkewingObjects.EntityData.SegmentPath
stpxBpduSkewingObjects.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
stpxBpduSkewingObjects.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
stpxBpduSkewingObjects.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
stpxBpduSkewingObjects.EntityData.Children = types.NewOrderedMap()
stpxBpduSkewingObjects.EntityData.Leafs = types.NewOrderedMap()
stpxBpduSkewingObjects.EntityData.Leafs.Append("stpxBpduSkewingDetectionEnable", types.YLeaf{"StpxBpduSkewingDetectionEnable", stpxBpduSkewingObjects.StpxBpduSkewingDetectionEnable})
stpxBpduSkewingObjects.EntityData.YListKeys = []string {}
return &(stpxBpduSkewingObjects.EntityData)
}
// CISCOSTPEXTENSIONSMIB_StpxMSTObjects
type CISCOSTPEXTENSIONSMIB_StpxMSTObjects struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// The maximum MST (Multiple Spanning Tree) instance id, that can be
// supported by the device for Cisco proprietary implementation of the MST
// Protocol. This object is deprecated and replaced by
// stpxSMSTMaxInstanceID. The type is interface{} with range: 1..256.
StpxMSTMaxInstanceNumber interface{}
// The operational MST region name. The type is string with length: 0..32.
StpxMSTRegionName interface{}
// The operational MST region version. This object is deprecated and replaced
// by stpxSMSTRegionRevision. The type is interface{} with range: 0..65535.
StpxMSTRegionRevision interface{}
// Indicates the current ownership status of the unique Region Config Edit
// Buffer. released -- the Edit Buffer can be acquired by any of
// the SNMP management stations. acquiredBySnmp -- the Edit Buffer is
// acquired by any of the SNMP management stations.
// acquiredByNonSnmp -- the Edit Buffer is acquired by the
// non-SNMP users managing the device. The type is
// StpxMSTRegionEditBufferStatus.
StpxMSTRegionEditBufferStatus interface{}
// Indicates the operation that is performed on the Region Config Edit
// Buffer. other -- none of the following operations. acquire -- acquire
// the Edit Buffer. This operation can only be performed when the
// object stpxMSTRegionEditBufferStatus has the value of
// released(1). After the successful operation of this action, the
// stpxMSTRegionEditBufferStatus will be changed to
// acquiredBySnmp(2). releaseWithForce -- release the Edit
// Buffer acquired by non-SNMP users with force and discard the
// changes in the Edit Buffer. This operation can only be
// performed when the object stpxMSTRegionEditBufferStatus has the
// value of acquiredByNonSnmp(2). commit -- commit the changes
// in the Edit Buffer and release the Edit Buffer. The successful
// operation of this action will make the changes in the Edit
// Buffer effective on the device. This operation can only be
// performed when the object stpxMSTRegionEditBufferStatus has the
// value of acquiredBySnmp(3). rollBack -- discard the changes in the Edit
// Buffer and release the Edit Buffer. This operation can
// only be performed when the object stpxMSTRegionEditBufferStatus
// has the value of acquiredBySnmp(3). This object always returns
// other(1) when it is read. The type is StpxMSTRegionEditBufferOperation.
StpxMSTRegionEditBufferOperation interface{}
// The MST region name in the Edit Buffer. This object is only instantiated
// when the stpxMSTRegionEditBufferStatus has the value of
// acquiredBySnmp(2). The type is string with length: 0..32.
StpxMSTRegionEditName interface{}
// The MST region version in the Edit Buffer. This object is only instantiated
// when the stpxMSTRegionEditBufferStatus has the value of acquiredBySnmp(2).
// This object is deprecated and replaced by stpxSMSTRegionEditRevision. The
// type is interface{} with range: 1..65535.
StpxMSTRegionEditRevision interface{}
// The maximum number of hops for the MST region. This object will take on
// value of 40 if the object value of stpxSMSTMaxHopCount is greater than 40.
// This object is deprecated and replaced by stpxSMSTMaxHopCount. The type is
// interface{} with range: 1..40.
StpxMSTMaxHopCount interface{}
}
func (stpxMSTObjects *CISCOSTPEXTENSIONSMIB_StpxMSTObjects) GetEntityData() *types.CommonEntityData {
stpxMSTObjects.EntityData.YFilter = stpxMSTObjects.YFilter
stpxMSTObjects.EntityData.YangName = "stpxMSTObjects"
stpxMSTObjects.EntityData.BundleName = "cisco_ios_xe"
stpxMSTObjects.EntityData.ParentYangName = "CISCO-STP-EXTENSIONS-MIB"
stpxMSTObjects.EntityData.SegmentPath = "stpxMSTObjects"
stpxMSTObjects.EntityData.AbsolutePath = "CISCO-STP-EXTENSIONS-MIB:CISCO-STP-EXTENSIONS-MIB/" + stpxMSTObjects.EntityData.SegmentPath
stpxMSTObjects.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
stpxMSTObjects.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
stpxMSTObjects.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
stpxMSTObjects.EntityData.Children = types.NewOrderedMap()
stpxMSTObjects.EntityData.Leafs = types.NewOrderedMap()
stpxMSTObjects.EntityData.Leafs.Append("stpxMSTMaxInstanceNumber", types.YLeaf{"StpxMSTMaxInstanceNumber", stpxMSTObjects.StpxMSTMaxInstanceNumber})
stpxMSTObjects.EntityData.Leafs.Append("stpxMSTRegionName", types.YLeaf{"StpxMSTRegionName", stpxMSTObjects.StpxMSTRegionName})
stpxMSTObjects.EntityData.Leafs.Append("stpxMSTRegionRevision", types.YLeaf{"StpxMSTRegionRevision", stpxMSTObjects.StpxMSTRegionRevision})
stpxMSTObjects.EntityData.Leafs.Append("stpxMSTRegionEditBufferStatus", types.YLeaf{"StpxMSTRegionEditBufferStatus", stpxMSTObjects.StpxMSTRegionEditBufferStatus})
stpxMSTObjects.EntityData.Leafs.Append("stpxMSTRegionEditBufferOperation", types.YLeaf{"StpxMSTRegionEditBufferOperation", stpxMSTObjects.StpxMSTRegionEditBufferOperation})
stpxMSTObjects.EntityData.Leafs.Append("stpxMSTRegionEditName", types.YLeaf{"StpxMSTRegionEditName", stpxMSTObjects.StpxMSTRegionEditName})
stpxMSTObjects.EntityData.Leafs.Append("stpxMSTRegionEditRevision", types.YLeaf{"StpxMSTRegionEditRevision", stpxMSTObjects.StpxMSTRegionEditRevision})
stpxMSTObjects.EntityData.Leafs.Append("stpxMSTMaxHopCount", types.YLeaf{"StpxMSTMaxHopCount", stpxMSTObjects.StpxMSTMaxHopCount})
stpxMSTObjects.EntityData.YListKeys = []string {}
return &(stpxMSTObjects.EntityData)
}
// CISCOSTPEXTENSIONSMIB_StpxMSTObjects_StpxMSTRegionEditBufferOperation represents This object always returns other(1) when it is read.
type CISCOSTPEXTENSIONSMIB_StpxMSTObjects_StpxMSTRegionEditBufferOperation string
const (
CISCOSTPEXTENSIONSMIB_StpxMSTObjects_StpxMSTRegionEditBufferOperation_other CISCOSTPEXTENSIONSMIB_StpxMSTObjects_StpxMSTRegionEditBufferOperation = "other"
CISCOSTPEXTENSIONSMIB_StpxMSTObjects_StpxMSTRegionEditBufferOperation_acquire CISCOSTPEXTENSIONSMIB_StpxMSTObjects_StpxMSTRegionEditBufferOperation = "acquire"
CISCOSTPEXTENSIONSMIB_StpxMSTObjects_StpxMSTRegionEditBufferOperation_releaseWithForce CISCOSTPEXTENSIONSMIB_StpxMSTObjects_StpxMSTRegionEditBufferOperation = "releaseWithForce"
CISCOSTPEXTENSIONSMIB_StpxMSTObjects_StpxMSTRegionEditBufferOperation_commit CISCOSTPEXTENSIONSMIB_StpxMSTObjects_StpxMSTRegionEditBufferOperation = "commit"
CISCOSTPEXTENSIONSMIB_StpxMSTObjects_StpxMSTRegionEditBufferOperation_rollBack CISCOSTPEXTENSIONSMIB_StpxMSTObjects_StpxMSTRegionEditBufferOperation = "rollBack"
)
// CISCOSTPEXTENSIONSMIB_StpxMSTObjects_StpxMSTRegionEditBufferStatus represents non-SNMP users managing the device.
type CISCOSTPEXTENSIONSMIB_StpxMSTObjects_StpxMSTRegionEditBufferStatus string
const (
CISCOSTPEXTENSIONSMIB_StpxMSTObjects_StpxMSTRegionEditBufferStatus_released CISCOSTPEXTENSIONSMIB_StpxMSTObjects_StpxMSTRegionEditBufferStatus = "released"
CISCOSTPEXTENSIONSMIB_StpxMSTObjects_StpxMSTRegionEditBufferStatus_acquiredBySnmp CISCOSTPEXTENSIONSMIB_StpxMSTObjects_StpxMSTRegionEditBufferStatus = "acquiredBySnmp"
CISCOSTPEXTENSIONSMIB_StpxMSTObjects_StpxMSTRegionEditBufferStatus_acquiredByNonSnmp CISCOSTPEXTENSIONSMIB_StpxMSTObjects_StpxMSTRegionEditBufferStatus = "acquiredByNonSnmp"
)
// CISCOSTPEXTENSIONSMIB_StpxRSTPObjects
type CISCOSTPEXTENSIONSMIB_StpxRSTPObjects struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// The Transmit Hold Count. The type is interface{} with range: 0..4294967295.
StpxRSTPTransmitHoldCount interface{}
}
func (stpxRSTPObjects *CISCOSTPEXTENSIONSMIB_StpxRSTPObjects) GetEntityData() *types.CommonEntityData {
stpxRSTPObjects.EntityData.YFilter = stpxRSTPObjects.YFilter
stpxRSTPObjects.EntityData.YangName = "stpxRSTPObjects"
stpxRSTPObjects.EntityData.BundleName = "cisco_ios_xe"
stpxRSTPObjects.EntityData.ParentYangName = "CISCO-STP-EXTENSIONS-MIB"
stpxRSTPObjects.EntityData.SegmentPath = "stpxRSTPObjects"
stpxRSTPObjects.EntityData.AbsolutePath = "CISCO-STP-EXTENSIONS-MIB:CISCO-STP-EXTENSIONS-MIB/" + stpxRSTPObjects.EntityData.SegmentPath
stpxRSTPObjects.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
stpxRSTPObjects.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
stpxRSTPObjects.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
stpxRSTPObjects.EntityData.Children = types.NewOrderedMap()
stpxRSTPObjects.EntityData.Leafs = types.NewOrderedMap()
stpxRSTPObjects.EntityData.Leafs.Append("stpxRSTPTransmitHoldCount", types.YLeaf{"StpxRSTPTransmitHoldCount", stpxRSTPObjects.StpxRSTPTransmitHoldCount})
stpxRSTPObjects.EntityData.YListKeys = []string {}
return &(stpxRSTPObjects.EntityData)
}
// CISCOSTPEXTENSIONSMIB_StpxSMSTObjects
type CISCOSTPEXTENSIONSMIB_StpxSMSTObjects struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// The maximum number of MST instances that can be supported by the device
// for IEEE MST. The type is interface{} with range: 0..4294967295.
StpxSMSTMaxInstances interface{}
// The maximum MST instance ID that can be supported by the device for IEEE
// MST. The type is interface{} with range: 0..4294967295.
StpxSMSTMaxInstanceID interface{}
// The operational region version for IEEE MST. The type is interface{} with
// range: 0..4294967295.
StpxSMSTRegionRevision interface{}
// The MST region version in the Edit Buffer for IEEE MST. This object is
// only instantiated when the stpxMSTRegionEditBufferStatus has the value of
// acquiredBySnmp(2). The type is interface{} with range: 0..4294967295.
StpxSMSTRegionEditRevision interface{}
// The maximum number of hops for the IEEE MST region. The type is interface{}
// with range: 0..4294967295.
StpxSMSTMaxHopCount interface{}
// The IEEE MST region configuration digest. The type is string.
StpxSMSTConfigDigest interface{}
// The pre-standard MST region configuration digest. The type is string.
StpxSMSTConfigPreStandardDigest interface{}
}
func (stpxSMSTObjects *CISCOSTPEXTENSIONSMIB_StpxSMSTObjects) GetEntityData() *types.CommonEntityData {
stpxSMSTObjects.EntityData.YFilter = stpxSMSTObjects.YFilter
stpxSMSTObjects.EntityData.YangName = "stpxSMSTObjects"
stpxSMSTObjects.EntityData.BundleName = "cisco_ios_xe"
stpxSMSTObjects.EntityData.ParentYangName = "CISCO-STP-EXTENSIONS-MIB"
stpxSMSTObjects.EntityData.SegmentPath = "stpxSMSTObjects"
stpxSMSTObjects.EntityData.AbsolutePath = "CISCO-STP-EXTENSIONS-MIB:CISCO-STP-EXTENSIONS-MIB/" + stpxSMSTObjects.EntityData.SegmentPath
stpxSMSTObjects.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
stpxSMSTObjects.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
stpxSMSTObjects.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
stpxSMSTObjects.EntityData.Children = types.NewOrderedMap()
stpxSMSTObjects.EntityData.Leafs = types.NewOrderedMap()
stpxSMSTObjects.EntityData.Leafs.Append("stpxSMSTMaxInstances", types.YLeaf{"StpxSMSTMaxInstances", stpxSMSTObjects.StpxSMSTMaxInstances})
stpxSMSTObjects.EntityData.Leafs.Append("stpxSMSTMaxInstanceID", types.YLeaf{"StpxSMSTMaxInstanceID", stpxSMSTObjects.StpxSMSTMaxInstanceID})
stpxSMSTObjects.EntityData.Leafs.Append("stpxSMSTRegionRevision", types.YLeaf{"StpxSMSTRegionRevision", stpxSMSTObjects.StpxSMSTRegionRevision})
stpxSMSTObjects.EntityData.Leafs.Append("stpxSMSTRegionEditRevision", types.YLeaf{"StpxSMSTRegionEditRevision", stpxSMSTObjects.StpxSMSTRegionEditRevision})
stpxSMSTObjects.EntityData.Leafs.Append("stpxSMSTMaxHopCount", types.YLeaf{"StpxSMSTMaxHopCount", stpxSMSTObjects.StpxSMSTMaxHopCount})
stpxSMSTObjects.EntityData.Leafs.Append("stpxSMSTConfigDigest", types.YLeaf{"StpxSMSTConfigDigest", stpxSMSTObjects.StpxSMSTConfigDigest})
stpxSMSTObjects.EntityData.Leafs.Append("stpxSMSTConfigPreStandardDigest", types.YLeaf{"StpxSMSTConfigPreStandardDigest", stpxSMSTObjects.StpxSMSTConfigPreStandardDigest})
stpxSMSTObjects.EntityData.YListKeys = []string {}
return &(stpxSMSTObjects.EntityData)
}
// CISCOSTPEXTENSIONSMIB_StpxPVSTVlanTable
// A list of Virtual LAN entries containing
// information for Spanning Tree PVST+ protocol.
// An entry will exist for each VLAN existing on
// the device.
type CISCOSTPEXTENSIONSMIB_StpxPVSTVlanTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// An entry containing Spanning Tree PVST+ Protocol information for a
// particular Virtual LAN. The type is slice of
// CISCOSTPEXTENSIONSMIB_StpxPVSTVlanTable_StpxPVSTVlanEntry.
StpxPVSTVlanEntry []*CISCOSTPEXTENSIONSMIB_StpxPVSTVlanTable_StpxPVSTVlanEntry
}
func (stpxPVSTVlanTable *CISCOSTPEXTENSIONSMIB_StpxPVSTVlanTable) GetEntityData() *types.CommonEntityData {
stpxPVSTVlanTable.EntityData.YFilter = stpxPVSTVlanTable.YFilter
stpxPVSTVlanTable.EntityData.YangName = "stpxPVSTVlanTable"
stpxPVSTVlanTable.EntityData.BundleName = "cisco_ios_xe"
stpxPVSTVlanTable.EntityData.ParentYangName = "CISCO-STP-EXTENSIONS-MIB"
stpxPVSTVlanTable.EntityData.SegmentPath = "stpxPVSTVlanTable"
stpxPVSTVlanTable.EntityData.AbsolutePath = "CISCO-STP-EXTENSIONS-MIB:CISCO-STP-EXTENSIONS-MIB/" + stpxPVSTVlanTable.EntityData.SegmentPath
stpxPVSTVlanTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
stpxPVSTVlanTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
stpxPVSTVlanTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
stpxPVSTVlanTable.EntityData.Children = types.NewOrderedMap()
stpxPVSTVlanTable.EntityData.Children.Append("stpxPVSTVlanEntry", types.YChild{"StpxPVSTVlanEntry", nil})
for i := range stpxPVSTVlanTable.StpxPVSTVlanEntry {
stpxPVSTVlanTable.EntityData.Children.Append(types.GetSegmentPath(stpxPVSTVlanTable.StpxPVSTVlanEntry[i]), types.YChild{"StpxPVSTVlanEntry", stpxPVSTVlanTable.StpxPVSTVlanEntry[i]})
}
stpxPVSTVlanTable.EntityData.Leafs = types.NewOrderedMap()
stpxPVSTVlanTable.EntityData.YListKeys = []string {}
return &(stpxPVSTVlanTable.EntityData)
}
// CISCOSTPEXTENSIONSMIB_StpxPVSTVlanTable_StpxPVSTVlanEntry
// An entry containing Spanning Tree PVST+ Protocol
// information for a particular Virtual LAN.
type CISCOSTPEXTENSIONSMIB_StpxPVSTVlanTable_StpxPVSTVlanEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. An index value that uniquely identifies the
// Virtual LAN associated with this information. The type is interface{} with
// range: 0..4095.
StpxPVSTVlanIndex interface{}
// Indicates whether Spanning Tree PVST+ Protocol is enabled for this
// Virtual LAN. If Spanning Tree PVST+ Protocol is not supported on this
// VLAN, then notApplicable(3) will be returned while retrieving the object
// value for this VLAN. If the device only supports a single global Spanning
// Tree PVST+ Protocol enable/disable for all the existing VLANs, then the
// object value assigned to this VLAN will be applied to the object values of
// all the instances in this table which do not have the value of
// notApplicable(3). If the value of stpxSpanningTreeType is neither
// pvstPlus(1) nor rapidPvstPlus(5), then the value of stpxPVSTVlanEnable for
// this VLAN can not be changed. The type is StpxPVSTVlanEnable.
StpxPVSTVlanEnable interface{}
}
func (stpxPVSTVlanEntry *CISCOSTPEXTENSIONSMIB_StpxPVSTVlanTable_StpxPVSTVlanEntry) GetEntityData() *types.CommonEntityData {
stpxPVSTVlanEntry.EntityData.YFilter = stpxPVSTVlanEntry.YFilter
stpxPVSTVlanEntry.EntityData.YangName = "stpxPVSTVlanEntry"
stpxPVSTVlanEntry.EntityData.BundleName = "cisco_ios_xe"
stpxPVSTVlanEntry.EntityData.ParentYangName = "stpxPVSTVlanTable"
stpxPVSTVlanEntry.EntityData.SegmentPath = "stpxPVSTVlanEntry" + types.AddKeyToken(stpxPVSTVlanEntry.StpxPVSTVlanIndex, "stpxPVSTVlanIndex")
stpxPVSTVlanEntry.EntityData.AbsolutePath = "CISCO-STP-EXTENSIONS-MIB:CISCO-STP-EXTENSIONS-MIB/stpxPVSTVlanTable/" + stpxPVSTVlanEntry.EntityData.SegmentPath
stpxPVSTVlanEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
stpxPVSTVlanEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
stpxPVSTVlanEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
stpxPVSTVlanEntry.EntityData.Children = types.NewOrderedMap()
stpxPVSTVlanEntry.EntityData.Leafs = types.NewOrderedMap()
stpxPVSTVlanEntry.EntityData.Leafs.Append("stpxPVSTVlanIndex", types.YLeaf{"StpxPVSTVlanIndex", stpxPVSTVlanEntry.StpxPVSTVlanIndex})
stpxPVSTVlanEntry.EntityData.Leafs.Append("stpxPVSTVlanEnable", types.YLeaf{"StpxPVSTVlanEnable", stpxPVSTVlanEntry.StpxPVSTVlanEnable})
stpxPVSTVlanEntry.EntityData.YListKeys = []string {"StpxPVSTVlanIndex"}
return &(stpxPVSTVlanEntry.EntityData)
}
// CISCOSTPEXTENSIONSMIB_StpxPVSTVlanTable_StpxPVSTVlanEntry_StpxPVSTVlanEnable represents changed.
type CISCOSTPEXTENSIONSMIB_StpxPVSTVlanTable_StpxPVSTVlanEntry_StpxPVSTVlanEnable string
const (
CISCOSTPEXTENSIONSMIB_StpxPVSTVlanTable_StpxPVSTVlanEntry_StpxPVSTVlanEnable_enabled CISCOSTPEXTENSIONSMIB_StpxPVSTVlanTable_StpxPVSTVlanEntry_StpxPVSTVlanEnable = "enabled"
CISCOSTPEXTENSIONSMIB_StpxPVSTVlanTable_StpxPVSTVlanEntry_StpxPVSTVlanEnable_disabled CISCOSTPEXTENSIONSMIB_StpxPVSTVlanTable_StpxPVSTVlanEntry_StpxPVSTVlanEnable = "disabled"
CISCOSTPEXTENSIONSMIB_StpxPVSTVlanTable_StpxPVSTVlanEntry_StpxPVSTVlanEnable_notApplicable CISCOSTPEXTENSIONSMIB_StpxPVSTVlanTable_StpxPVSTVlanEntry_StpxPVSTVlanEnable = "notApplicable"
)
// CISCOSTPEXTENSIONSMIB_StpxInconsistencyTable
// A table containing a list of the ports for which
// a particular VLAN's Spanning Tree has been found to
// have an inconsistency. Two types of inconsistency
// are discovered: 1) an inconsistency where two different
// port types have been plugged together; and 2) an
// inconsistency where different switches have different
// PVIDs for the same link.
type CISCOSTPEXTENSIONSMIB_StpxInconsistencyTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// A VLAN on a particular port for which a Spanning Tree inconsistency is
// currently in effect. The type is slice of
// CISCOSTPEXTENSIONSMIB_StpxInconsistencyTable_StpxInconsistencyEntry.
StpxInconsistencyEntry []*CISCOSTPEXTENSIONSMIB_StpxInconsistencyTable_StpxInconsistencyEntry
}
func (stpxInconsistencyTable *CISCOSTPEXTENSIONSMIB_StpxInconsistencyTable) GetEntityData() *types.CommonEntityData {
stpxInconsistencyTable.EntityData.YFilter = stpxInconsistencyTable.YFilter
stpxInconsistencyTable.EntityData.YangName = "stpxInconsistencyTable"
stpxInconsistencyTable.EntityData.BundleName = "cisco_ios_xe"
stpxInconsistencyTable.EntityData.ParentYangName = "CISCO-STP-EXTENSIONS-MIB"
stpxInconsistencyTable.EntityData.SegmentPath = "stpxInconsistencyTable"
stpxInconsistencyTable.EntityData.AbsolutePath = "CISCO-STP-EXTENSIONS-MIB:CISCO-STP-EXTENSIONS-MIB/" + stpxInconsistencyTable.EntityData.SegmentPath
stpxInconsistencyTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
stpxInconsistencyTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
stpxInconsistencyTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
stpxInconsistencyTable.EntityData.Children = types.NewOrderedMap()
stpxInconsistencyTable.EntityData.Children.Append("stpxInconsistencyEntry", types.YChild{"StpxInconsistencyEntry", nil})
for i := range stpxInconsistencyTable.StpxInconsistencyEntry {
stpxInconsistencyTable.EntityData.Children.Append(types.GetSegmentPath(stpxInconsistencyTable.StpxInconsistencyEntry[i]), types.YChild{"StpxInconsistencyEntry", stpxInconsistencyTable.StpxInconsistencyEntry[i]})
}
stpxInconsistencyTable.EntityData.Leafs = types.NewOrderedMap()
stpxInconsistencyTable.EntityData.YListKeys = []string {}
return &(stpxInconsistencyTable.EntityData)
}
// CISCOSTPEXTENSIONSMIB_StpxInconsistencyTable_StpxInconsistencyEntry
// A VLAN on a particular port for which a Spanning Tree
// inconsistency is currently in effect.
type CISCOSTPEXTENSIONSMIB_StpxInconsistencyTable_StpxInconsistencyEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The VLAN id of the VLAN. The type is interface{}
// with range: 0..4095.
StpxVlanIndex interface{}
// This attribute is a key. The value of dot1dBasePort (i.e. dot1dBridge.1.4)
// for the bridge port. The type is interface{} with range: 1..65535.
StpxPortIndex interface{}
// The types of inconsistency which have been discovered on this port for this
// VLAN's Spanning Tree. When this object exists, the value of the
// corresponding instance of the Bridge MIB's dot1dStpPortState object will be
// 'broken(6)'. The type is map[string]bool.
StpxInconsistentState interface{}