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
/
q_bridge_mib.go
1871 lines (1569 loc) · 115 KB
/
q_bridge_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 VLAN Bridge MIB module for managing Virtual Bridged
// Local Area Networks, as defined by IEEE 802.1Q-2003,
// including Restricted Vlan Registration defined by
// IEEE 802.1u-2001 and Vlan Classification defined by
// IEEE 802.1v-2001.
//
// Copyright (C) The Internet Society (2006). This version of
// this MIB module is part of RFC 4363; See the RFC itself for
// full legal notices.
package q_bridge_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 q_bridge_mib"))
ydk.RegisterEntity("{urn:ietf:params:xml:ns:yang:smiv2:Q-BRIDGE-MIB Q-BRIDGE-MIB}", reflect.TypeOf(QBRIDGEMIB{}))
ydk.RegisterEntity("Q-BRIDGE-MIB:Q-BRIDGE-MIB", reflect.TypeOf(QBRIDGEMIB{}))
}
// QBRIDGEMIB
type QBRIDGEMIB struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
Dot1qBase QBRIDGEMIB_Dot1qBase
Dot1qVlan QBRIDGEMIB_Dot1qVlan
// A table that contains configuration and control information for each
// Filtering Database currently operating on this device. Entries in this
// table appear automatically when VLANs are assigned FDB IDs in the
// dot1qVlanCurrentTable.
Dot1qFdbTable QBRIDGEMIB_Dot1qFdbTable
// A table that contains information about unicast entries for which the
// device has forwarding and/or filtering information. This information is
// used by the transparent bridging function in determining how to propagate a
// received frame.
Dot1qTpFdbTable QBRIDGEMIB_Dot1qTpFdbTable
// A table containing filtering information for VLANs configured into the
// bridge by (local or network) management, or learned dynamically, specifying
// the set of ports to which frames received on a VLAN for this FDB and
// containing a specific Group destination address are allowed to be
// forwarded.
Dot1qTpGroupTable QBRIDGEMIB_Dot1qTpGroupTable
// A table containing forwarding information for each VLAN, specifying the
// set of ports to which forwarding of all multicasts applies, configured
// statically by management or dynamically by GMRP. An entry appears in this
// table for all VLANs that are currently instantiated.
Dot1qForwardAllTable QBRIDGEMIB_Dot1qForwardAllTable
// A table containing forwarding information for each VLAN, specifying the set
// of ports to which forwarding of multicast group-addressed frames for which
// no more specific forwarding information applies. This is configured
// statically by management and determined dynamically by GMRP. An entry
// appears in this table for all VLANs that are currently instantiated.
Dot1qForwardUnregisteredTable QBRIDGEMIB_Dot1qForwardUnregisteredTable
// A table containing filtering information for Unicast MAC addresses for each
// Filtering Database, configured into the device by (local or network)
// management specifying the set of ports to which frames received from
// specific ports and containing specific unicast destination addresses are
// allowed to be forwarded. A value of zero in this table (as the port number
// from which frames with a specific destination address are received) is
// used to specify all ports for which there is no specific entry in this
// table for that particular destination address. Entries are valid for
// unicast addresses only.
Dot1qStaticUnicastTable QBRIDGEMIB_Dot1qStaticUnicastTable
// A table containing filtering information for Multicast and Broadcast MAC
// addresses for each VLAN, configured into the device by (local or network)
// management specifying the set of ports to which frames received from
// specific ports and containing specific Multicast and Broadcast destination
// addresses are allowed to be forwarded. A value of zero in this table (as
// the port number from which frames with a specific destination address are
// received) is used to specify all ports for which there is no specific entry
// in this table for that particular destination address. Entries are valid
// for Multicast and Broadcast addresses only.
Dot1qStaticMulticastTable QBRIDGEMIB_Dot1qStaticMulticastTable
// A table containing current configuration information for each VLAN
// currently configured into the device by (local or network) management, or
// dynamically created as a result of GVRP requests received.
Dot1qVlanCurrentTable QBRIDGEMIB_Dot1qVlanCurrentTable
// A table containing static configuration information for each VLAN
// configured into the device by (local or network) management. All entries
// are permanent and will be restored after the device is reset.
Dot1qVlanStaticTable QBRIDGEMIB_Dot1qVlanStaticTable
// A table containing per-port, per-VLAN statistics for traffic received.
// Separate objects are provided for both the most-significant and
// least-significant bits of statistics counters for ports that are associated
// with this transparent bridge. The most-significant bit objects are only
// required on high-capacity interfaces, as defined in the conformance clauses
// for these objects. This mechanism is provided as a way to read 64-bit
// counters for agents that support only SNMPv1. Note that the reporting of
// most-significant and least- significant counter bits separately runs the
// risk of missing an overflow of the lower bits in the interval between
// sampling. The manager must be aware of this possibility, even within the
// same varbindlist, when interpreting the results of a request or
// asynchronous notification.
Dot1qPortVlanStatisticsTable QBRIDGEMIB_Dot1qPortVlanStatisticsTable
// A table containing per-port, per-VLAN statistics for traffic on
// high-capacity interfaces.
Dot1qPortVlanHCStatisticsTable QBRIDGEMIB_Dot1qPortVlanHCStatisticsTable
// A table containing learning constraints for sets of Shared and Independent
// VLANs.
Dot1qLearningConstraintsTable QBRIDGEMIB_Dot1qLearningConstraintsTable
// A table that contains mappings from Protocol Templates to Protocol Group
// Identifiers used for Port-and-Protocol-based VLAN Classification.
Dot1vProtocolGroupTable QBRIDGEMIB_Dot1vProtocolGroupTable
// A table that contains VID sets used for Port-and-Protocol-based VLAN
// Classification.
Dot1vProtocolPortTable QBRIDGEMIB_Dot1vProtocolPortTable
}
func (qBRIDGEMIB *QBRIDGEMIB) GetEntityData() *types.CommonEntityData {
qBRIDGEMIB.EntityData.YFilter = qBRIDGEMIB.YFilter
qBRIDGEMIB.EntityData.YangName = "Q-BRIDGE-MIB"
qBRIDGEMIB.EntityData.BundleName = "cisco_ios_xe"
qBRIDGEMIB.EntityData.ParentYangName = "Q-BRIDGE-MIB"
qBRIDGEMIB.EntityData.SegmentPath = "Q-BRIDGE-MIB:Q-BRIDGE-MIB"
qBRIDGEMIB.EntityData.AbsolutePath = qBRIDGEMIB.EntityData.SegmentPath
qBRIDGEMIB.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
qBRIDGEMIB.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
qBRIDGEMIB.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
qBRIDGEMIB.EntityData.Children = types.NewOrderedMap()
qBRIDGEMIB.EntityData.Children.Append("dot1qBase", types.YChild{"Dot1qBase", &qBRIDGEMIB.Dot1qBase})
qBRIDGEMIB.EntityData.Children.Append("dot1qVlan", types.YChild{"Dot1qVlan", &qBRIDGEMIB.Dot1qVlan})
qBRIDGEMIB.EntityData.Children.Append("dot1qFdbTable", types.YChild{"Dot1qFdbTable", &qBRIDGEMIB.Dot1qFdbTable})
qBRIDGEMIB.EntityData.Children.Append("dot1qTpFdbTable", types.YChild{"Dot1qTpFdbTable", &qBRIDGEMIB.Dot1qTpFdbTable})
qBRIDGEMIB.EntityData.Children.Append("dot1qTpGroupTable", types.YChild{"Dot1qTpGroupTable", &qBRIDGEMIB.Dot1qTpGroupTable})
qBRIDGEMIB.EntityData.Children.Append("dot1qForwardAllTable", types.YChild{"Dot1qForwardAllTable", &qBRIDGEMIB.Dot1qForwardAllTable})
qBRIDGEMIB.EntityData.Children.Append("dot1qForwardUnregisteredTable", types.YChild{"Dot1qForwardUnregisteredTable", &qBRIDGEMIB.Dot1qForwardUnregisteredTable})
qBRIDGEMIB.EntityData.Children.Append("dot1qStaticUnicastTable", types.YChild{"Dot1qStaticUnicastTable", &qBRIDGEMIB.Dot1qStaticUnicastTable})
qBRIDGEMIB.EntityData.Children.Append("dot1qStaticMulticastTable", types.YChild{"Dot1qStaticMulticastTable", &qBRIDGEMIB.Dot1qStaticMulticastTable})
qBRIDGEMIB.EntityData.Children.Append("dot1qVlanCurrentTable", types.YChild{"Dot1qVlanCurrentTable", &qBRIDGEMIB.Dot1qVlanCurrentTable})
qBRIDGEMIB.EntityData.Children.Append("dot1qVlanStaticTable", types.YChild{"Dot1qVlanStaticTable", &qBRIDGEMIB.Dot1qVlanStaticTable})
qBRIDGEMIB.EntityData.Children.Append("dot1qPortVlanStatisticsTable", types.YChild{"Dot1qPortVlanStatisticsTable", &qBRIDGEMIB.Dot1qPortVlanStatisticsTable})
qBRIDGEMIB.EntityData.Children.Append("dot1qPortVlanHCStatisticsTable", types.YChild{"Dot1qPortVlanHCStatisticsTable", &qBRIDGEMIB.Dot1qPortVlanHCStatisticsTable})
qBRIDGEMIB.EntityData.Children.Append("dot1qLearningConstraintsTable", types.YChild{"Dot1qLearningConstraintsTable", &qBRIDGEMIB.Dot1qLearningConstraintsTable})
qBRIDGEMIB.EntityData.Children.Append("dot1vProtocolGroupTable", types.YChild{"Dot1vProtocolGroupTable", &qBRIDGEMIB.Dot1vProtocolGroupTable})
qBRIDGEMIB.EntityData.Children.Append("dot1vProtocolPortTable", types.YChild{"Dot1vProtocolPortTable", &qBRIDGEMIB.Dot1vProtocolPortTable})
qBRIDGEMIB.EntityData.Leafs = types.NewOrderedMap()
qBRIDGEMIB.EntityData.YListKeys = []string {}
return &(qBRIDGEMIB.EntityData)
}
// QBRIDGEMIB_Dot1qBase
type QBRIDGEMIB_Dot1qBase struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// The version number of IEEE 802.1Q that this device supports. The type is
// Dot1qVlanVersionNumber.
Dot1qVlanVersionNumber interface{}
// The maximum IEEE 802.1Q VLAN-ID that this device supports. The type is
// interface{} with range: 1..4094.
Dot1qMaxVlanId interface{}
// The maximum number of IEEE 802.1Q VLANs that this device supports. The type
// is interface{} with range: 0..4294967295.
Dot1qMaxSupportedVlans interface{}
// The current number of IEEE 802.1Q VLANs that are configured in this device.
// The type is interface{} with range: 0..4294967295.
Dot1qNumVlans interface{}
// The administrative status requested by management for GVRP. The value
// enabled(1) indicates that GVRP should be enabled on this device, on all
// ports for which it has not been specifically disabled. When disabled(2),
// GVRP is disabled on all ports, and all GVRP packets will be forwarded
// transparently. This object affects all GVRP Applicant and Registrar state
// machines. A transition from disabled(2) to enabled(1) will cause a reset
// of all GVRP state machines on all ports. The value of this object MUST be
// retained across reinitializations of the management system. The type is
// EnabledStatus.
Dot1qGvrpStatus interface{}
}
func (dot1qBase *QBRIDGEMIB_Dot1qBase) GetEntityData() *types.CommonEntityData {
dot1qBase.EntityData.YFilter = dot1qBase.YFilter
dot1qBase.EntityData.YangName = "dot1qBase"
dot1qBase.EntityData.BundleName = "cisco_ios_xe"
dot1qBase.EntityData.ParentYangName = "Q-BRIDGE-MIB"
dot1qBase.EntityData.SegmentPath = "dot1qBase"
dot1qBase.EntityData.AbsolutePath = "Q-BRIDGE-MIB:Q-BRIDGE-MIB/" + dot1qBase.EntityData.SegmentPath
dot1qBase.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
dot1qBase.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
dot1qBase.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
dot1qBase.EntityData.Children = types.NewOrderedMap()
dot1qBase.EntityData.Leafs = types.NewOrderedMap()
dot1qBase.EntityData.Leafs.Append("dot1qVlanVersionNumber", types.YLeaf{"Dot1qVlanVersionNumber", dot1qBase.Dot1qVlanVersionNumber})
dot1qBase.EntityData.Leafs.Append("dot1qMaxVlanId", types.YLeaf{"Dot1qMaxVlanId", dot1qBase.Dot1qMaxVlanId})
dot1qBase.EntityData.Leafs.Append("dot1qMaxSupportedVlans", types.YLeaf{"Dot1qMaxSupportedVlans", dot1qBase.Dot1qMaxSupportedVlans})
dot1qBase.EntityData.Leafs.Append("dot1qNumVlans", types.YLeaf{"Dot1qNumVlans", dot1qBase.Dot1qNumVlans})
dot1qBase.EntityData.Leafs.Append("dot1qGvrpStatus", types.YLeaf{"Dot1qGvrpStatus", dot1qBase.Dot1qGvrpStatus})
dot1qBase.EntityData.YListKeys = []string {}
return &(dot1qBase.EntityData)
}
// QBRIDGEMIB_Dot1qBase_Dot1qVlanVersionNumber represents supports.
type QBRIDGEMIB_Dot1qBase_Dot1qVlanVersionNumber string
const (
QBRIDGEMIB_Dot1qBase_Dot1qVlanVersionNumber_version1 QBRIDGEMIB_Dot1qBase_Dot1qVlanVersionNumber = "version1"
)
// QBRIDGEMIB_Dot1qVlan
type QBRIDGEMIB_Dot1qVlan struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// The number of times a VLAN entry has been deleted from the
// dot1qVlanCurrentTable (for any reason). If an entry is deleted, then
// inserted, and then deleted, this counter will be incremented by 2. The type
// is interface{} with range: 0..4294967295.
Dot1qVlanNumDeletes interface{}
// The next available value for dot1qVlanIndex of a local VLAN entry in
// dot1qVlanStaticTable. This will report values >=4096 if a new Local VLAN
// may be created or else the value 0 if this is not possible. A row creation
// operation in this table for an entry with a local VlanIndex value may fail
// if the current value of this object is not used as the index. Even if the
// value read is used, there is no guarantee that it will still be the valid
// index when the create operation is attempted; another manager may have
// already got in during the intervening time interval. In this case,
// dot1qNextFreeLocalVlanIndex should be re-read and the creation re-tried
// with the new value. This value will automatically change when the current
// value is used to create a new row. The type is interface{} with range: 0..0
// | 4096..2147483647.
Dot1qNextFreeLocalVlanIndex interface{}
// The identity of the constraint set to which a VLAN belongs, if there is not
// an explicit entry for that VLAN in dot1qLearningConstraintsTable. The
// value of this object MUST be retained across reinitializations of the
// management system. The type is interface{} with range: 0..65535.
Dot1qConstraintSetDefault interface{}
// The type of constraint set to which a VLAN belongs, if there is not an
// explicit entry for that VLAN in dot1qLearningConstraintsTable. The types
// are as defined for dot1qConstraintType. The value of this object MUST be
// retained across reinitializations of the management system. The type is
// Dot1qConstraintTypeDefault.
Dot1qConstraintTypeDefault interface{}
}
func (dot1qVlan *QBRIDGEMIB_Dot1qVlan) GetEntityData() *types.CommonEntityData {
dot1qVlan.EntityData.YFilter = dot1qVlan.YFilter
dot1qVlan.EntityData.YangName = "dot1qVlan"
dot1qVlan.EntityData.BundleName = "cisco_ios_xe"
dot1qVlan.EntityData.ParentYangName = "Q-BRIDGE-MIB"
dot1qVlan.EntityData.SegmentPath = "dot1qVlan"
dot1qVlan.EntityData.AbsolutePath = "Q-BRIDGE-MIB:Q-BRIDGE-MIB/" + dot1qVlan.EntityData.SegmentPath
dot1qVlan.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
dot1qVlan.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
dot1qVlan.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
dot1qVlan.EntityData.Children = types.NewOrderedMap()
dot1qVlan.EntityData.Leafs = types.NewOrderedMap()
dot1qVlan.EntityData.Leafs.Append("dot1qVlanNumDeletes", types.YLeaf{"Dot1qVlanNumDeletes", dot1qVlan.Dot1qVlanNumDeletes})
dot1qVlan.EntityData.Leafs.Append("dot1qNextFreeLocalVlanIndex", types.YLeaf{"Dot1qNextFreeLocalVlanIndex", dot1qVlan.Dot1qNextFreeLocalVlanIndex})
dot1qVlan.EntityData.Leafs.Append("dot1qConstraintSetDefault", types.YLeaf{"Dot1qConstraintSetDefault", dot1qVlan.Dot1qConstraintSetDefault})
dot1qVlan.EntityData.Leafs.Append("dot1qConstraintTypeDefault", types.YLeaf{"Dot1qConstraintTypeDefault", dot1qVlan.Dot1qConstraintTypeDefault})
dot1qVlan.EntityData.YListKeys = []string {}
return &(dot1qVlan.EntityData)
}
// QBRIDGEMIB_Dot1qVlan_Dot1qConstraintTypeDefault represents reinitializations of the management system.
type QBRIDGEMIB_Dot1qVlan_Dot1qConstraintTypeDefault string
const (
QBRIDGEMIB_Dot1qVlan_Dot1qConstraintTypeDefault_independent QBRIDGEMIB_Dot1qVlan_Dot1qConstraintTypeDefault = "independent"
QBRIDGEMIB_Dot1qVlan_Dot1qConstraintTypeDefault_shared QBRIDGEMIB_Dot1qVlan_Dot1qConstraintTypeDefault = "shared"
)
// QBRIDGEMIB_Dot1qFdbTable
// A table that contains configuration and control
// information for each Filtering Database currently
// operating on this device. Entries in this table appear
// automatically when VLANs are assigned FDB IDs in the
// dot1qVlanCurrentTable.
type QBRIDGEMIB_Dot1qFdbTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Information about a specific Filtering Database. The type is slice of
// QBRIDGEMIB_Dot1qFdbTable_Dot1qFdbEntry.
Dot1qFdbEntry []*QBRIDGEMIB_Dot1qFdbTable_Dot1qFdbEntry
}
func (dot1qFdbTable *QBRIDGEMIB_Dot1qFdbTable) GetEntityData() *types.CommonEntityData {
dot1qFdbTable.EntityData.YFilter = dot1qFdbTable.YFilter
dot1qFdbTable.EntityData.YangName = "dot1qFdbTable"
dot1qFdbTable.EntityData.BundleName = "cisco_ios_xe"
dot1qFdbTable.EntityData.ParentYangName = "Q-BRIDGE-MIB"
dot1qFdbTable.EntityData.SegmentPath = "dot1qFdbTable"
dot1qFdbTable.EntityData.AbsolutePath = "Q-BRIDGE-MIB:Q-BRIDGE-MIB/" + dot1qFdbTable.EntityData.SegmentPath
dot1qFdbTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
dot1qFdbTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
dot1qFdbTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
dot1qFdbTable.EntityData.Children = types.NewOrderedMap()
dot1qFdbTable.EntityData.Children.Append("dot1qFdbEntry", types.YChild{"Dot1qFdbEntry", nil})
for i := range dot1qFdbTable.Dot1qFdbEntry {
dot1qFdbTable.EntityData.Children.Append(types.GetSegmentPath(dot1qFdbTable.Dot1qFdbEntry[i]), types.YChild{"Dot1qFdbEntry", dot1qFdbTable.Dot1qFdbEntry[i]})
}
dot1qFdbTable.EntityData.Leafs = types.NewOrderedMap()
dot1qFdbTable.EntityData.YListKeys = []string {}
return &(dot1qFdbTable.EntityData)
}
// QBRIDGEMIB_Dot1qFdbTable_Dot1qFdbEntry
// Information about a specific Filtering Database.
type QBRIDGEMIB_Dot1qFdbTable_Dot1qFdbEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The identity of this Filtering Database. The type
// is interface{} with range: 0..4294967295.
Dot1qFdbId interface{}
// The current number of dynamic entries in this Filtering Database. The type
// is interface{} with range: 0..4294967295.
Dot1qFdbDynamicCount interface{}
}
func (dot1qFdbEntry *QBRIDGEMIB_Dot1qFdbTable_Dot1qFdbEntry) GetEntityData() *types.CommonEntityData {
dot1qFdbEntry.EntityData.YFilter = dot1qFdbEntry.YFilter
dot1qFdbEntry.EntityData.YangName = "dot1qFdbEntry"
dot1qFdbEntry.EntityData.BundleName = "cisco_ios_xe"
dot1qFdbEntry.EntityData.ParentYangName = "dot1qFdbTable"
dot1qFdbEntry.EntityData.SegmentPath = "dot1qFdbEntry" + types.AddKeyToken(dot1qFdbEntry.Dot1qFdbId, "dot1qFdbId")
dot1qFdbEntry.EntityData.AbsolutePath = "Q-BRIDGE-MIB:Q-BRIDGE-MIB/dot1qFdbTable/" + dot1qFdbEntry.EntityData.SegmentPath
dot1qFdbEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
dot1qFdbEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
dot1qFdbEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
dot1qFdbEntry.EntityData.Children = types.NewOrderedMap()
dot1qFdbEntry.EntityData.Leafs = types.NewOrderedMap()
dot1qFdbEntry.EntityData.Leafs.Append("dot1qFdbId", types.YLeaf{"Dot1qFdbId", dot1qFdbEntry.Dot1qFdbId})
dot1qFdbEntry.EntityData.Leafs.Append("dot1qFdbDynamicCount", types.YLeaf{"Dot1qFdbDynamicCount", dot1qFdbEntry.Dot1qFdbDynamicCount})
dot1qFdbEntry.EntityData.YListKeys = []string {"Dot1qFdbId"}
return &(dot1qFdbEntry.EntityData)
}
// QBRIDGEMIB_Dot1qTpFdbTable
// A table that contains information about unicast entries
// for which the device has forwarding and/or filtering
// information. This information is used by the
// transparent bridging function in determining how to
// propagate a received frame.
type QBRIDGEMIB_Dot1qTpFdbTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Information about a specific unicast MAC address for which the device has
// some forwarding and/or filtering information. The type is slice of
// QBRIDGEMIB_Dot1qTpFdbTable_Dot1qTpFdbEntry.
Dot1qTpFdbEntry []*QBRIDGEMIB_Dot1qTpFdbTable_Dot1qTpFdbEntry
}
func (dot1qTpFdbTable *QBRIDGEMIB_Dot1qTpFdbTable) GetEntityData() *types.CommonEntityData {
dot1qTpFdbTable.EntityData.YFilter = dot1qTpFdbTable.YFilter
dot1qTpFdbTable.EntityData.YangName = "dot1qTpFdbTable"
dot1qTpFdbTable.EntityData.BundleName = "cisco_ios_xe"
dot1qTpFdbTable.EntityData.ParentYangName = "Q-BRIDGE-MIB"
dot1qTpFdbTable.EntityData.SegmentPath = "dot1qTpFdbTable"
dot1qTpFdbTable.EntityData.AbsolutePath = "Q-BRIDGE-MIB:Q-BRIDGE-MIB/" + dot1qTpFdbTable.EntityData.SegmentPath
dot1qTpFdbTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
dot1qTpFdbTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
dot1qTpFdbTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
dot1qTpFdbTable.EntityData.Children = types.NewOrderedMap()
dot1qTpFdbTable.EntityData.Children.Append("dot1qTpFdbEntry", types.YChild{"Dot1qTpFdbEntry", nil})
for i := range dot1qTpFdbTable.Dot1qTpFdbEntry {
dot1qTpFdbTable.EntityData.Children.Append(types.GetSegmentPath(dot1qTpFdbTable.Dot1qTpFdbEntry[i]), types.YChild{"Dot1qTpFdbEntry", dot1qTpFdbTable.Dot1qTpFdbEntry[i]})
}
dot1qTpFdbTable.EntityData.Leafs = types.NewOrderedMap()
dot1qTpFdbTable.EntityData.YListKeys = []string {}
return &(dot1qTpFdbTable.EntityData)
}
// QBRIDGEMIB_Dot1qTpFdbTable_Dot1qTpFdbEntry
// Information about a specific unicast MAC address for
// which the device has some forwarding and/or filtering
// information.
type QBRIDGEMIB_Dot1qTpFdbTable_Dot1qTpFdbEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The type is string with range: 0..4294967295.
// Refers to q_bridge_mib.QBRIDGEMIB_Dot1qFdbTable_Dot1qFdbEntry_Dot1qFdbId
Dot1qFdbId interface{}
// This attribute is a key. A unicast MAC address for which the device has
// forwarding and/or filtering information. The type is string with pattern:
// [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}.
Dot1qTpFdbAddress interface{}
// Either the value '0', or the port number of the port on which a frame
// having a source address equal to the value of the corresponding instance of
// dot1qTpFdbAddress has been seen. A value of '0' indicates that the port
// number has not been learned but that the device does have some
// forwarding/filtering information about this address (e.g., in the
// dot1qStaticUnicastTable). Implementors are encouraged to assign the port
// value to this object whenever it is learned, even for addresses for which
// the corresponding value of dot1qTpFdbStatus is not learned(3). The type is
// interface{} with range: 0..65535.
Dot1qTpFdbPort interface{}
// The status of this entry. The meanings of the values are: other(1) -
// none of the following. This may include the case where some other
// MIB object (not the corresponding instance of dot1qTpFdbPort, nor
// an entry in the dot1qStaticUnicastTable) is being used to
// determine if and how frames addressed to the value of the
// corresponding instance of dot1qTpFdbAddress are being forwarded.
// invalid(2) - this entry is no longer valid (e.g., it was learned
// but has since aged out), but has not yet been flushed from the
// table. learned(3) - the value of the corresponding instance of
// dot1qTpFdbPort was learned and is being used. self(4) - the value of
// the corresponding instance of dot1qTpFdbAddress represents one of
// the device's addresses. The corresponding instance of
// dot1qTpFdbPort indicates which of the device's ports has this
// address. mgmt(5) - the value of the corresponding instance of
// dot1qTpFdbAddress is also the value of an existing instance of
// dot1qStaticAddress. The type is Dot1qTpFdbStatus.
Dot1qTpFdbStatus interface{}
}
func (dot1qTpFdbEntry *QBRIDGEMIB_Dot1qTpFdbTable_Dot1qTpFdbEntry) GetEntityData() *types.CommonEntityData {
dot1qTpFdbEntry.EntityData.YFilter = dot1qTpFdbEntry.YFilter
dot1qTpFdbEntry.EntityData.YangName = "dot1qTpFdbEntry"
dot1qTpFdbEntry.EntityData.BundleName = "cisco_ios_xe"
dot1qTpFdbEntry.EntityData.ParentYangName = "dot1qTpFdbTable"
dot1qTpFdbEntry.EntityData.SegmentPath = "dot1qTpFdbEntry" + types.AddKeyToken(dot1qTpFdbEntry.Dot1qFdbId, "dot1qFdbId") + types.AddKeyToken(dot1qTpFdbEntry.Dot1qTpFdbAddress, "dot1qTpFdbAddress")
dot1qTpFdbEntry.EntityData.AbsolutePath = "Q-BRIDGE-MIB:Q-BRIDGE-MIB/dot1qTpFdbTable/" + dot1qTpFdbEntry.EntityData.SegmentPath
dot1qTpFdbEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
dot1qTpFdbEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
dot1qTpFdbEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
dot1qTpFdbEntry.EntityData.Children = types.NewOrderedMap()
dot1qTpFdbEntry.EntityData.Leafs = types.NewOrderedMap()
dot1qTpFdbEntry.EntityData.Leafs.Append("dot1qFdbId", types.YLeaf{"Dot1qFdbId", dot1qTpFdbEntry.Dot1qFdbId})
dot1qTpFdbEntry.EntityData.Leafs.Append("dot1qTpFdbAddress", types.YLeaf{"Dot1qTpFdbAddress", dot1qTpFdbEntry.Dot1qTpFdbAddress})
dot1qTpFdbEntry.EntityData.Leafs.Append("dot1qTpFdbPort", types.YLeaf{"Dot1qTpFdbPort", dot1qTpFdbEntry.Dot1qTpFdbPort})
dot1qTpFdbEntry.EntityData.Leafs.Append("dot1qTpFdbStatus", types.YLeaf{"Dot1qTpFdbStatus", dot1qTpFdbEntry.Dot1qTpFdbStatus})
dot1qTpFdbEntry.EntityData.YListKeys = []string {"Dot1qFdbId", "Dot1qTpFdbAddress"}
return &(dot1qTpFdbEntry.EntityData)
}
// QBRIDGEMIB_Dot1qTpFdbTable_Dot1qTpFdbEntry_Dot1qTpFdbStatus represents existing instance of dot1qStaticAddress.
type QBRIDGEMIB_Dot1qTpFdbTable_Dot1qTpFdbEntry_Dot1qTpFdbStatus string
const (
QBRIDGEMIB_Dot1qTpFdbTable_Dot1qTpFdbEntry_Dot1qTpFdbStatus_other QBRIDGEMIB_Dot1qTpFdbTable_Dot1qTpFdbEntry_Dot1qTpFdbStatus = "other"
QBRIDGEMIB_Dot1qTpFdbTable_Dot1qTpFdbEntry_Dot1qTpFdbStatus_invalid QBRIDGEMIB_Dot1qTpFdbTable_Dot1qTpFdbEntry_Dot1qTpFdbStatus = "invalid"
QBRIDGEMIB_Dot1qTpFdbTable_Dot1qTpFdbEntry_Dot1qTpFdbStatus_learned QBRIDGEMIB_Dot1qTpFdbTable_Dot1qTpFdbEntry_Dot1qTpFdbStatus = "learned"
QBRIDGEMIB_Dot1qTpFdbTable_Dot1qTpFdbEntry_Dot1qTpFdbStatus_self QBRIDGEMIB_Dot1qTpFdbTable_Dot1qTpFdbEntry_Dot1qTpFdbStatus = "self"
QBRIDGEMIB_Dot1qTpFdbTable_Dot1qTpFdbEntry_Dot1qTpFdbStatus_mgmt QBRIDGEMIB_Dot1qTpFdbTable_Dot1qTpFdbEntry_Dot1qTpFdbStatus = "mgmt"
)
// QBRIDGEMIB_Dot1qTpGroupTable
// A table containing filtering information for VLANs
// configured into the bridge by (local or network)
// management, or learned dynamically, specifying the set of
// ports to which frames received on a VLAN for this FDB
// and containing a specific Group destination address are
// allowed to be forwarded.
type QBRIDGEMIB_Dot1qTpGroupTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Filtering information configured into the bridge by management, or learned
// dynamically, specifying the set of ports to which frames received on a VLAN
// and containing a specific Group destination address are allowed to be
// forwarded. The subset of these ports learned dynamically is also provided.
// The type is slice of QBRIDGEMIB_Dot1qTpGroupTable_Dot1qTpGroupEntry.
Dot1qTpGroupEntry []*QBRIDGEMIB_Dot1qTpGroupTable_Dot1qTpGroupEntry
}
func (dot1qTpGroupTable *QBRIDGEMIB_Dot1qTpGroupTable) GetEntityData() *types.CommonEntityData {
dot1qTpGroupTable.EntityData.YFilter = dot1qTpGroupTable.YFilter
dot1qTpGroupTable.EntityData.YangName = "dot1qTpGroupTable"
dot1qTpGroupTable.EntityData.BundleName = "cisco_ios_xe"
dot1qTpGroupTable.EntityData.ParentYangName = "Q-BRIDGE-MIB"
dot1qTpGroupTable.EntityData.SegmentPath = "dot1qTpGroupTable"
dot1qTpGroupTable.EntityData.AbsolutePath = "Q-BRIDGE-MIB:Q-BRIDGE-MIB/" + dot1qTpGroupTable.EntityData.SegmentPath
dot1qTpGroupTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
dot1qTpGroupTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
dot1qTpGroupTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
dot1qTpGroupTable.EntityData.Children = types.NewOrderedMap()
dot1qTpGroupTable.EntityData.Children.Append("dot1qTpGroupEntry", types.YChild{"Dot1qTpGroupEntry", nil})
for i := range dot1qTpGroupTable.Dot1qTpGroupEntry {
dot1qTpGroupTable.EntityData.Children.Append(types.GetSegmentPath(dot1qTpGroupTable.Dot1qTpGroupEntry[i]), types.YChild{"Dot1qTpGroupEntry", dot1qTpGroupTable.Dot1qTpGroupEntry[i]})
}
dot1qTpGroupTable.EntityData.Leafs = types.NewOrderedMap()
dot1qTpGroupTable.EntityData.YListKeys = []string {}
return &(dot1qTpGroupTable.EntityData)
}
// QBRIDGEMIB_Dot1qTpGroupTable_Dot1qTpGroupEntry
// Filtering information configured into the bridge by
// management, or learned dynamically, specifying the set of
// ports to which frames received on a VLAN and containing
// a specific Group destination address are allowed to be
// forwarded. The subset of these ports learned dynamically
// is also provided.
type QBRIDGEMIB_Dot1qTpGroupTable_Dot1qTpGroupEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The type is string with range: 0..4294967295.
// Refers to
// q_bridge_mib.QBRIDGEMIB_Dot1qVlanCurrentTable_Dot1qVlanCurrentEntry_Dot1qVlanIndex
Dot1qVlanIndex interface{}
// This attribute is a key. The destination Group MAC address in a frame to
// which this entry's filtering information applies. The type is string with
// pattern: [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}.
Dot1qTpGroupAddress interface{}
// The complete set of ports, in this VLAN, to which frames destined for this
// Group MAC address are currently being explicitly forwarded. This does not
// include ports for which this address is only implicitly forwarded, in the
// dot1qForwardAllPorts list. The type is string.
Dot1qTpGroupEgressPorts interface{}
// The subset of ports in dot1qTpGroupEgressPorts that were learned by GMRP or
// some other dynamic mechanism, in this Filtering database. The type is
// string.
Dot1qTpGroupLearnt interface{}
}
func (dot1qTpGroupEntry *QBRIDGEMIB_Dot1qTpGroupTable_Dot1qTpGroupEntry) GetEntityData() *types.CommonEntityData {
dot1qTpGroupEntry.EntityData.YFilter = dot1qTpGroupEntry.YFilter
dot1qTpGroupEntry.EntityData.YangName = "dot1qTpGroupEntry"
dot1qTpGroupEntry.EntityData.BundleName = "cisco_ios_xe"
dot1qTpGroupEntry.EntityData.ParentYangName = "dot1qTpGroupTable"
dot1qTpGroupEntry.EntityData.SegmentPath = "dot1qTpGroupEntry" + types.AddKeyToken(dot1qTpGroupEntry.Dot1qVlanIndex, "dot1qVlanIndex") + types.AddKeyToken(dot1qTpGroupEntry.Dot1qTpGroupAddress, "dot1qTpGroupAddress")
dot1qTpGroupEntry.EntityData.AbsolutePath = "Q-BRIDGE-MIB:Q-BRIDGE-MIB/dot1qTpGroupTable/" + dot1qTpGroupEntry.EntityData.SegmentPath
dot1qTpGroupEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
dot1qTpGroupEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
dot1qTpGroupEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
dot1qTpGroupEntry.EntityData.Children = types.NewOrderedMap()
dot1qTpGroupEntry.EntityData.Leafs = types.NewOrderedMap()
dot1qTpGroupEntry.EntityData.Leafs.Append("dot1qVlanIndex", types.YLeaf{"Dot1qVlanIndex", dot1qTpGroupEntry.Dot1qVlanIndex})
dot1qTpGroupEntry.EntityData.Leafs.Append("dot1qTpGroupAddress", types.YLeaf{"Dot1qTpGroupAddress", dot1qTpGroupEntry.Dot1qTpGroupAddress})
dot1qTpGroupEntry.EntityData.Leafs.Append("dot1qTpGroupEgressPorts", types.YLeaf{"Dot1qTpGroupEgressPorts", dot1qTpGroupEntry.Dot1qTpGroupEgressPorts})
dot1qTpGroupEntry.EntityData.Leafs.Append("dot1qTpGroupLearnt", types.YLeaf{"Dot1qTpGroupLearnt", dot1qTpGroupEntry.Dot1qTpGroupLearnt})
dot1qTpGroupEntry.EntityData.YListKeys = []string {"Dot1qVlanIndex", "Dot1qTpGroupAddress"}
return &(dot1qTpGroupEntry.EntityData)
}
// QBRIDGEMIB_Dot1qForwardAllTable
// A table containing forwarding information for each
//
// VLAN, specifying the set of ports to which forwarding of
// all multicasts applies, configured statically by
// management or dynamically by GMRP. An entry appears in
// this table for all VLANs that are currently
// instantiated.
type QBRIDGEMIB_Dot1qForwardAllTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Forwarding information for a VLAN, specifying the set of ports to which all
// multicasts should be forwarded, configured statically by management or
// dynamically by GMRP. The type is slice of
// QBRIDGEMIB_Dot1qForwardAllTable_Dot1qForwardAllEntry.
Dot1qForwardAllEntry []*QBRIDGEMIB_Dot1qForwardAllTable_Dot1qForwardAllEntry
}
func (dot1qForwardAllTable *QBRIDGEMIB_Dot1qForwardAllTable) GetEntityData() *types.CommonEntityData {
dot1qForwardAllTable.EntityData.YFilter = dot1qForwardAllTable.YFilter
dot1qForwardAllTable.EntityData.YangName = "dot1qForwardAllTable"
dot1qForwardAllTable.EntityData.BundleName = "cisco_ios_xe"
dot1qForwardAllTable.EntityData.ParentYangName = "Q-BRIDGE-MIB"
dot1qForwardAllTable.EntityData.SegmentPath = "dot1qForwardAllTable"
dot1qForwardAllTable.EntityData.AbsolutePath = "Q-BRIDGE-MIB:Q-BRIDGE-MIB/" + dot1qForwardAllTable.EntityData.SegmentPath
dot1qForwardAllTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
dot1qForwardAllTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
dot1qForwardAllTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
dot1qForwardAllTable.EntityData.Children = types.NewOrderedMap()
dot1qForwardAllTable.EntityData.Children.Append("dot1qForwardAllEntry", types.YChild{"Dot1qForwardAllEntry", nil})
for i := range dot1qForwardAllTable.Dot1qForwardAllEntry {
dot1qForwardAllTable.EntityData.Children.Append(types.GetSegmentPath(dot1qForwardAllTable.Dot1qForwardAllEntry[i]), types.YChild{"Dot1qForwardAllEntry", dot1qForwardAllTable.Dot1qForwardAllEntry[i]})
}
dot1qForwardAllTable.EntityData.Leafs = types.NewOrderedMap()
dot1qForwardAllTable.EntityData.YListKeys = []string {}
return &(dot1qForwardAllTable.EntityData)
}
// QBRIDGEMIB_Dot1qForwardAllTable_Dot1qForwardAllEntry
// Forwarding information for a VLAN, specifying the set
// of ports to which all multicasts should be forwarded,
// configured statically by management or dynamically by
// GMRP.
type QBRIDGEMIB_Dot1qForwardAllTable_Dot1qForwardAllEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The type is string with range: 0..4294967295.
// Refers to
// q_bridge_mib.QBRIDGEMIB_Dot1qVlanCurrentTable_Dot1qVlanCurrentEntry_Dot1qVlanIndex
Dot1qVlanIndex interface{}
// The complete set of ports in this VLAN to which all multicast
// group-addressed frames are to be forwarded. This includes ports for which
// this need has been determined dynamically by GMRP, or configured statically
// by management. The type is string.
Dot1qForwardAllPorts interface{}
// The set of ports configured by management in this VLAN to which all
// multicast group-addressed frames are to be forwarded. Ports entered in
// this list will also appear in the complete set shown by
// dot1qForwardAllPorts. This value will be restored after the device is
// reset. This only applies to ports that are members of the VLAN, defined by
// dot1qVlanCurrentEgressPorts. A port may not be added in this set if it is
// already a member of the set of ports in dot1qForwardAllForbiddenPorts. The
// default value is a string of ones of appropriate length, to indicate the
// standard behaviour of using basic filtering services, i.e., forward all
// multicasts to all ports. The value of this object MUST be retained across
// reinitializations of the management system. The type is string.
Dot1qForwardAllStaticPorts interface{}
// The set of ports configured by management in this VLAN for which the
// Service Requirement attribute Forward All Multicast Groups may not be
// dynamically registered by GMRP. This value will be restored after the
// device is reset. A port may not be added in this set if it is already a
// member of the set of ports in dot1qForwardAllStaticPorts. The default
// value is a string of zeros of appropriate length. The value of this object
// MUST be retained across reinitializations of the management system. The
// type is string.
Dot1qForwardAllForbiddenPorts interface{}
}
func (dot1qForwardAllEntry *QBRIDGEMIB_Dot1qForwardAllTable_Dot1qForwardAllEntry) GetEntityData() *types.CommonEntityData {
dot1qForwardAllEntry.EntityData.YFilter = dot1qForwardAllEntry.YFilter
dot1qForwardAllEntry.EntityData.YangName = "dot1qForwardAllEntry"
dot1qForwardAllEntry.EntityData.BundleName = "cisco_ios_xe"
dot1qForwardAllEntry.EntityData.ParentYangName = "dot1qForwardAllTable"
dot1qForwardAllEntry.EntityData.SegmentPath = "dot1qForwardAllEntry" + types.AddKeyToken(dot1qForwardAllEntry.Dot1qVlanIndex, "dot1qVlanIndex")
dot1qForwardAllEntry.EntityData.AbsolutePath = "Q-BRIDGE-MIB:Q-BRIDGE-MIB/dot1qForwardAllTable/" + dot1qForwardAllEntry.EntityData.SegmentPath
dot1qForwardAllEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
dot1qForwardAllEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
dot1qForwardAllEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
dot1qForwardAllEntry.EntityData.Children = types.NewOrderedMap()
dot1qForwardAllEntry.EntityData.Leafs = types.NewOrderedMap()
dot1qForwardAllEntry.EntityData.Leafs.Append("dot1qVlanIndex", types.YLeaf{"Dot1qVlanIndex", dot1qForwardAllEntry.Dot1qVlanIndex})
dot1qForwardAllEntry.EntityData.Leafs.Append("dot1qForwardAllPorts", types.YLeaf{"Dot1qForwardAllPorts", dot1qForwardAllEntry.Dot1qForwardAllPorts})
dot1qForwardAllEntry.EntityData.Leafs.Append("dot1qForwardAllStaticPorts", types.YLeaf{"Dot1qForwardAllStaticPorts", dot1qForwardAllEntry.Dot1qForwardAllStaticPorts})
dot1qForwardAllEntry.EntityData.Leafs.Append("dot1qForwardAllForbiddenPorts", types.YLeaf{"Dot1qForwardAllForbiddenPorts", dot1qForwardAllEntry.Dot1qForwardAllForbiddenPorts})
dot1qForwardAllEntry.EntityData.YListKeys = []string {"Dot1qVlanIndex"}
return &(dot1qForwardAllEntry.EntityData)
}
// QBRIDGEMIB_Dot1qForwardUnregisteredTable
// A table containing forwarding information for each
// VLAN, specifying the set of ports to which forwarding of
// multicast group-addressed frames for which no
// more specific forwarding information applies. This is
// configured statically by management and determined
// dynamically by GMRP. An entry appears in this table for
// all VLANs that are currently instantiated.
type QBRIDGEMIB_Dot1qForwardUnregisteredTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Forwarding information for a VLAN, specifying the set of ports to which all
// multicasts for which there is no more specific forwarding information shall
// be forwarded. This is configured statically by management or dynamically by
// GMRP. The type is slice of
// QBRIDGEMIB_Dot1qForwardUnregisteredTable_Dot1qForwardUnregisteredEntry.
Dot1qForwardUnregisteredEntry []*QBRIDGEMIB_Dot1qForwardUnregisteredTable_Dot1qForwardUnregisteredEntry
}
func (dot1qForwardUnregisteredTable *QBRIDGEMIB_Dot1qForwardUnregisteredTable) GetEntityData() *types.CommonEntityData {
dot1qForwardUnregisteredTable.EntityData.YFilter = dot1qForwardUnregisteredTable.YFilter
dot1qForwardUnregisteredTable.EntityData.YangName = "dot1qForwardUnregisteredTable"
dot1qForwardUnregisteredTable.EntityData.BundleName = "cisco_ios_xe"
dot1qForwardUnregisteredTable.EntityData.ParentYangName = "Q-BRIDGE-MIB"
dot1qForwardUnregisteredTable.EntityData.SegmentPath = "dot1qForwardUnregisteredTable"
dot1qForwardUnregisteredTable.EntityData.AbsolutePath = "Q-BRIDGE-MIB:Q-BRIDGE-MIB/" + dot1qForwardUnregisteredTable.EntityData.SegmentPath
dot1qForwardUnregisteredTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
dot1qForwardUnregisteredTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
dot1qForwardUnregisteredTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
dot1qForwardUnregisteredTable.EntityData.Children = types.NewOrderedMap()
dot1qForwardUnregisteredTable.EntityData.Children.Append("dot1qForwardUnregisteredEntry", types.YChild{"Dot1qForwardUnregisteredEntry", nil})
for i := range dot1qForwardUnregisteredTable.Dot1qForwardUnregisteredEntry {
dot1qForwardUnregisteredTable.EntityData.Children.Append(types.GetSegmentPath(dot1qForwardUnregisteredTable.Dot1qForwardUnregisteredEntry[i]), types.YChild{"Dot1qForwardUnregisteredEntry", dot1qForwardUnregisteredTable.Dot1qForwardUnregisteredEntry[i]})
}
dot1qForwardUnregisteredTable.EntityData.Leafs = types.NewOrderedMap()
dot1qForwardUnregisteredTable.EntityData.YListKeys = []string {}
return &(dot1qForwardUnregisteredTable.EntityData)
}
// QBRIDGEMIB_Dot1qForwardUnregisteredTable_Dot1qForwardUnregisteredEntry
// Forwarding information for a VLAN, specifying the set
// of ports to which all multicasts for which there is no
// more specific forwarding information shall be forwarded.
// This is configured statically by management or
// dynamically by GMRP.
type QBRIDGEMIB_Dot1qForwardUnregisteredTable_Dot1qForwardUnregisteredEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The type is string with range: 0..4294967295.
// Refers to
// q_bridge_mib.QBRIDGEMIB_Dot1qVlanCurrentTable_Dot1qVlanCurrentEntry_Dot1qVlanIndex
Dot1qVlanIndex interface{}
// The complete set of ports in this VLAN to which multicast group-addressed
// frames for which there is no more specific forwarding information will be
// forwarded. This includes ports for which this need has been determined
// dynamically by GMRP, or configured statically by management. The type is
// string.
Dot1qForwardUnregisteredPorts interface{}
// The set of ports configured by management, in this VLAN, to which multicast
// group-addressed frames for which there is no more specific forwarding
// information are to be forwarded. Ports entered in this list will also
// appear in the complete set shown by dot1qForwardUnregisteredPorts. This
// value will be restored after the device is reset. A port may not be added
// in this set if it is already a member of the set of ports in
// dot1qForwardUnregisteredForbiddenPorts. The default value is a string of
// zeros of appropriate length, although this has no effect with the default
// value of dot1qForwardAllStaticPorts. The value of this object MUST be
// retained across reinitializations of the management system. The type is
// string.
Dot1qForwardUnregisteredStaticPorts interface{}
// The set of ports configured by management in this VLAN for which the
// Service Requirement attribute Forward Unregistered Multicast Groups may not
// be dynamically registered by GMRP. This value will be restored after the
// device is reset. A port may not be added in this set if it is already a
// member of the set of ports in dot1qForwardUnregisteredStaticPorts. The
// default value is a string of zeros of appropriate length. The value of
// this object MUST be retained across reinitializations of the management
// system. The type is string.
Dot1qForwardUnregisteredForbiddenPorts interface{}
}
func (dot1qForwardUnregisteredEntry *QBRIDGEMIB_Dot1qForwardUnregisteredTable_Dot1qForwardUnregisteredEntry) GetEntityData() *types.CommonEntityData {
dot1qForwardUnregisteredEntry.EntityData.YFilter = dot1qForwardUnregisteredEntry.YFilter
dot1qForwardUnregisteredEntry.EntityData.YangName = "dot1qForwardUnregisteredEntry"
dot1qForwardUnregisteredEntry.EntityData.BundleName = "cisco_ios_xe"
dot1qForwardUnregisteredEntry.EntityData.ParentYangName = "dot1qForwardUnregisteredTable"
dot1qForwardUnregisteredEntry.EntityData.SegmentPath = "dot1qForwardUnregisteredEntry" + types.AddKeyToken(dot1qForwardUnregisteredEntry.Dot1qVlanIndex, "dot1qVlanIndex")
dot1qForwardUnregisteredEntry.EntityData.AbsolutePath = "Q-BRIDGE-MIB:Q-BRIDGE-MIB/dot1qForwardUnregisteredTable/" + dot1qForwardUnregisteredEntry.EntityData.SegmentPath
dot1qForwardUnregisteredEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
dot1qForwardUnregisteredEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
dot1qForwardUnregisteredEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
dot1qForwardUnregisteredEntry.EntityData.Children = types.NewOrderedMap()
dot1qForwardUnregisteredEntry.EntityData.Leafs = types.NewOrderedMap()
dot1qForwardUnregisteredEntry.EntityData.Leafs.Append("dot1qVlanIndex", types.YLeaf{"Dot1qVlanIndex", dot1qForwardUnregisteredEntry.Dot1qVlanIndex})
dot1qForwardUnregisteredEntry.EntityData.Leafs.Append("dot1qForwardUnregisteredPorts", types.YLeaf{"Dot1qForwardUnregisteredPorts", dot1qForwardUnregisteredEntry.Dot1qForwardUnregisteredPorts})
dot1qForwardUnregisteredEntry.EntityData.Leafs.Append("dot1qForwardUnregisteredStaticPorts", types.YLeaf{"Dot1qForwardUnregisteredStaticPorts", dot1qForwardUnregisteredEntry.Dot1qForwardUnregisteredStaticPorts})
dot1qForwardUnregisteredEntry.EntityData.Leafs.Append("dot1qForwardUnregisteredForbiddenPorts", types.YLeaf{"Dot1qForwardUnregisteredForbiddenPorts", dot1qForwardUnregisteredEntry.Dot1qForwardUnregisteredForbiddenPorts})
dot1qForwardUnregisteredEntry.EntityData.YListKeys = []string {"Dot1qVlanIndex"}
return &(dot1qForwardUnregisteredEntry.EntityData)
}
// QBRIDGEMIB_Dot1qStaticUnicastTable
// A table containing filtering information for Unicast
// MAC addresses for each Filtering Database, configured
// into the device by (local or network) management
// specifying the set of ports to which frames received
// from specific ports and containing specific unicast
// destination addresses are allowed to be forwarded. A
// value of zero in this table (as the port number from
//
// which frames with a specific destination address are
// received) is used to specify all ports for which there
// is no specific entry in this table for that particular
// destination address. Entries are valid for unicast
// addresses only.
type QBRIDGEMIB_Dot1qStaticUnicastTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Filtering information configured into the device by (local or network)
// management specifying the set of ports to which frames received from a
// specific port and containing a specific unicast destination address are
// allowed to be forwarded. The type is slice of
// QBRIDGEMIB_Dot1qStaticUnicastTable_Dot1qStaticUnicastEntry.
Dot1qStaticUnicastEntry []*QBRIDGEMIB_Dot1qStaticUnicastTable_Dot1qStaticUnicastEntry
}
func (dot1qStaticUnicastTable *QBRIDGEMIB_Dot1qStaticUnicastTable) GetEntityData() *types.CommonEntityData {
dot1qStaticUnicastTable.EntityData.YFilter = dot1qStaticUnicastTable.YFilter
dot1qStaticUnicastTable.EntityData.YangName = "dot1qStaticUnicastTable"
dot1qStaticUnicastTable.EntityData.BundleName = "cisco_ios_xe"
dot1qStaticUnicastTable.EntityData.ParentYangName = "Q-BRIDGE-MIB"
dot1qStaticUnicastTable.EntityData.SegmentPath = "dot1qStaticUnicastTable"
dot1qStaticUnicastTable.EntityData.AbsolutePath = "Q-BRIDGE-MIB:Q-BRIDGE-MIB/" + dot1qStaticUnicastTable.EntityData.SegmentPath
dot1qStaticUnicastTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
dot1qStaticUnicastTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
dot1qStaticUnicastTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
dot1qStaticUnicastTable.EntityData.Children = types.NewOrderedMap()
dot1qStaticUnicastTable.EntityData.Children.Append("dot1qStaticUnicastEntry", types.YChild{"Dot1qStaticUnicastEntry", nil})
for i := range dot1qStaticUnicastTable.Dot1qStaticUnicastEntry {
dot1qStaticUnicastTable.EntityData.Children.Append(types.GetSegmentPath(dot1qStaticUnicastTable.Dot1qStaticUnicastEntry[i]), types.YChild{"Dot1qStaticUnicastEntry", dot1qStaticUnicastTable.Dot1qStaticUnicastEntry[i]})
}
dot1qStaticUnicastTable.EntityData.Leafs = types.NewOrderedMap()
dot1qStaticUnicastTable.EntityData.YListKeys = []string {}
return &(dot1qStaticUnicastTable.EntityData)
}
// QBRIDGEMIB_Dot1qStaticUnicastTable_Dot1qStaticUnicastEntry
// Filtering information configured into the device by
// (local or network) management specifying the set of
// ports to which frames received from a specific port and
// containing a specific unicast destination address are
// allowed to be forwarded.
type QBRIDGEMIB_Dot1qStaticUnicastTable_Dot1qStaticUnicastEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The type is string with range: 0..4294967295.
// Refers to q_bridge_mib.QBRIDGEMIB_Dot1qFdbTable_Dot1qFdbEntry_Dot1qFdbId
Dot1qFdbId interface{}
// This attribute is a key. The destination MAC address in a frame to which
// this entry's filtering information applies. This object must take the
// value of a unicast address. The type is string with pattern:
// [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}.
Dot1qStaticUnicastAddress interface{}
// This attribute is a key. Either the value '0' or the port number of the
// port from which a frame must be received in order for this entry's
// filtering information to apply. A value of zero indicates that this entry
// applies on all ports of the device for which there is no other applicable
// entry. The type is interface{} with range: 0..65535.
Dot1qStaticUnicastReceivePort interface{}
// The set of ports for which a frame with a specific unicast address will be
// flooded in the event that it has not been learned. It also specifies the
// set of ports on which a specific unicast address may be dynamically
// learned. The dot1qTpFdbTable will have an equivalent entry with a
// dot1qTpFdbPort value of '0' until this address has been learned, at which
// point it will be updated with the port the address has been seen on. This
// only applies to ports that are members of the VLAN, defined by
// dot1qVlanCurrentEgressPorts. The default value of this object is a string
// of ones of appropriate length. The value of this object MUST be retained
// across reinitializations of the management system. The type is string.
Dot1qStaticUnicastAllowedToGoTo interface{}
// This object indicates the status of this entry. other(1) - this entry is
// currently in use, but the conditions under which it will remain so
// differ from the following values. invalid(2) - writing this value to the
// object removes the corresponding entry. permanent(3) - this entry is
// currently in use and will remain so after the next reset of the
// bridge. deleteOnReset(4) - this entry is currently in use and will
// remain so until the next reset of the bridge. deleteOnTimeout(5) - this
// entry is currently in use and will remain so until it is aged out. The
// value of this object MUST be retained across reinitializations of the
// management system. The type is Dot1qStaticUnicastStatus.
Dot1qStaticUnicastStatus interface{}
}
func (dot1qStaticUnicastEntry *QBRIDGEMIB_Dot1qStaticUnicastTable_Dot1qStaticUnicastEntry) GetEntityData() *types.CommonEntityData {
dot1qStaticUnicastEntry.EntityData.YFilter = dot1qStaticUnicastEntry.YFilter
dot1qStaticUnicastEntry.EntityData.YangName = "dot1qStaticUnicastEntry"
dot1qStaticUnicastEntry.EntityData.BundleName = "cisco_ios_xe"
dot1qStaticUnicastEntry.EntityData.ParentYangName = "dot1qStaticUnicastTable"
dot1qStaticUnicastEntry.EntityData.SegmentPath = "dot1qStaticUnicastEntry" + types.AddKeyToken(dot1qStaticUnicastEntry.Dot1qFdbId, "dot1qFdbId") + types.AddKeyToken(dot1qStaticUnicastEntry.Dot1qStaticUnicastAddress, "dot1qStaticUnicastAddress") + types.AddKeyToken(dot1qStaticUnicastEntry.Dot1qStaticUnicastReceivePort, "dot1qStaticUnicastReceivePort")
dot1qStaticUnicastEntry.EntityData.AbsolutePath = "Q-BRIDGE-MIB:Q-BRIDGE-MIB/dot1qStaticUnicastTable/" + dot1qStaticUnicastEntry.EntityData.SegmentPath
dot1qStaticUnicastEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
dot1qStaticUnicastEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
dot1qStaticUnicastEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
dot1qStaticUnicastEntry.EntityData.Children = types.NewOrderedMap()
dot1qStaticUnicastEntry.EntityData.Leafs = types.NewOrderedMap()
dot1qStaticUnicastEntry.EntityData.Leafs.Append("dot1qFdbId", types.YLeaf{"Dot1qFdbId", dot1qStaticUnicastEntry.Dot1qFdbId})
dot1qStaticUnicastEntry.EntityData.Leafs.Append("dot1qStaticUnicastAddress", types.YLeaf{"Dot1qStaticUnicastAddress", dot1qStaticUnicastEntry.Dot1qStaticUnicastAddress})
dot1qStaticUnicastEntry.EntityData.Leafs.Append("dot1qStaticUnicastReceivePort", types.YLeaf{"Dot1qStaticUnicastReceivePort", dot1qStaticUnicastEntry.Dot1qStaticUnicastReceivePort})
dot1qStaticUnicastEntry.EntityData.Leafs.Append("dot1qStaticUnicastAllowedToGoTo", types.YLeaf{"Dot1qStaticUnicastAllowedToGoTo", dot1qStaticUnicastEntry.Dot1qStaticUnicastAllowedToGoTo})
dot1qStaticUnicastEntry.EntityData.Leafs.Append("dot1qStaticUnicastStatus", types.YLeaf{"Dot1qStaticUnicastStatus", dot1qStaticUnicastEntry.Dot1qStaticUnicastStatus})
dot1qStaticUnicastEntry.EntityData.YListKeys = []string {"Dot1qFdbId", "Dot1qStaticUnicastAddress", "Dot1qStaticUnicastReceivePort"}
return &(dot1qStaticUnicastEntry.EntityData)
}
// QBRIDGEMIB_Dot1qStaticUnicastTable_Dot1qStaticUnicastEntry_Dot1qStaticUnicastStatus represents reinitializations of the management system.
type QBRIDGEMIB_Dot1qStaticUnicastTable_Dot1qStaticUnicastEntry_Dot1qStaticUnicastStatus string
const (
QBRIDGEMIB_Dot1qStaticUnicastTable_Dot1qStaticUnicastEntry_Dot1qStaticUnicastStatus_other QBRIDGEMIB_Dot1qStaticUnicastTable_Dot1qStaticUnicastEntry_Dot1qStaticUnicastStatus = "other"
QBRIDGEMIB_Dot1qStaticUnicastTable_Dot1qStaticUnicastEntry_Dot1qStaticUnicastStatus_invalid QBRIDGEMIB_Dot1qStaticUnicastTable_Dot1qStaticUnicastEntry_Dot1qStaticUnicastStatus = "invalid"
QBRIDGEMIB_Dot1qStaticUnicastTable_Dot1qStaticUnicastEntry_Dot1qStaticUnicastStatus_permanent QBRIDGEMIB_Dot1qStaticUnicastTable_Dot1qStaticUnicastEntry_Dot1qStaticUnicastStatus = "permanent"
QBRIDGEMIB_Dot1qStaticUnicastTable_Dot1qStaticUnicastEntry_Dot1qStaticUnicastStatus_deleteOnReset QBRIDGEMIB_Dot1qStaticUnicastTable_Dot1qStaticUnicastEntry_Dot1qStaticUnicastStatus = "deleteOnReset"
QBRIDGEMIB_Dot1qStaticUnicastTable_Dot1qStaticUnicastEntry_Dot1qStaticUnicastStatus_deleteOnTimeout QBRIDGEMIB_Dot1qStaticUnicastTable_Dot1qStaticUnicastEntry_Dot1qStaticUnicastStatus = "deleteOnTimeout"
)
// QBRIDGEMIB_Dot1qStaticMulticastTable
// A table containing filtering information for Multicast
// and Broadcast MAC addresses for each VLAN, configured
// into the device by (local or network) management
// specifying the set of ports to which frames received
// from specific ports and containing specific Multicast
// and Broadcast destination addresses are allowed to be
// forwarded. A value of zero in this table (as the port
// number from which frames with a specific destination
// address are received) is used to specify all ports for
// which there is no specific entry in this table for that
// particular destination address. Entries are valid for
// Multicast and Broadcast addresses only.
type QBRIDGEMIB_Dot1qStaticMulticastTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Filtering information configured into the device by (local or network)
// management specifying the set of ports to which frames received from this
// specific port for this VLAN and containing this Multicast or Broadcast
// destination address are allowed to be forwarded. The type is slice of
// QBRIDGEMIB_Dot1qStaticMulticastTable_Dot1qStaticMulticastEntry.
Dot1qStaticMulticastEntry []*QBRIDGEMIB_Dot1qStaticMulticastTable_Dot1qStaticMulticastEntry
}
func (dot1qStaticMulticastTable *QBRIDGEMIB_Dot1qStaticMulticastTable) GetEntityData() *types.CommonEntityData {
dot1qStaticMulticastTable.EntityData.YFilter = dot1qStaticMulticastTable.YFilter
dot1qStaticMulticastTable.EntityData.YangName = "dot1qStaticMulticastTable"
dot1qStaticMulticastTable.EntityData.BundleName = "cisco_ios_xe"
dot1qStaticMulticastTable.EntityData.ParentYangName = "Q-BRIDGE-MIB"
dot1qStaticMulticastTable.EntityData.SegmentPath = "dot1qStaticMulticastTable"
dot1qStaticMulticastTable.EntityData.AbsolutePath = "Q-BRIDGE-MIB:Q-BRIDGE-MIB/" + dot1qStaticMulticastTable.EntityData.SegmentPath
dot1qStaticMulticastTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
dot1qStaticMulticastTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
dot1qStaticMulticastTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()