forked from CiscoDevNet/ydk-go
/
rfc1213_mib.go
2153 lines (1746 loc) · 111 KB
/
rfc1213_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
package rfc1213_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 rfc1213_mib"))
ydk.RegisterEntity("{urn:ietf:params:xml:ns:yang:smiv2:RFC1213-MIB RFC1213-MIB}", reflect.TypeOf(RFC1213MIB{}))
ydk.RegisterEntity("RFC1213-MIB:RFC1213-MIB", reflect.TypeOf(RFC1213MIB{}))
}
// RFC1213MIB
type RFC1213MIB struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
System RFC1213MIB_System
Interfaces RFC1213MIB_Interfaces
Ip RFC1213MIB_Ip
Icmp RFC1213MIB_Icmp
Tcp RFC1213MIB_Tcp
Udp RFC1213MIB_Udp
Egp RFC1213MIB_Egp
Snmp RFC1213MIB_Snmp
// A list of interface entries. The number of entries is given by the value
// of ifNumber.
IfTable RFC1213MIB_IfTable
// The Address Translation tables contain the NetworkAddress to `physical'
// address equivalences. Some interfaces do not use translation tables for
// determining address equivalences (e.g., DDN-X.25 has an algorithmic
// method); if all interfaces are of this type, then the Address Translation
// table is empty, i.e., has zero entries.
AtTable RFC1213MIB_AtTable
// The table of addressing information relevant to this entity's IP addresses.
IpAddrTable RFC1213MIB_IpAddrTable
// This entity's IP Routing table.
IpRouteTable RFC1213MIB_IpRouteTable
// The IP Address Translation table used for mapping from IP addresses to
// physical addresses.
IpNetToMediaTable RFC1213MIB_IpNetToMediaTable
// A table containing TCP connection-specific information.
TcpConnTable RFC1213MIB_TcpConnTable
// A table containing UDP listener information.
UdpTable RFC1213MIB_UdpTable
// The EGP neighbor table.
EgpNeighTable RFC1213MIB_EgpNeighTable
}
func (rFC1213MIB *RFC1213MIB) GetEntityData() *types.CommonEntityData {
rFC1213MIB.EntityData.YFilter = rFC1213MIB.YFilter
rFC1213MIB.EntityData.YangName = "RFC1213-MIB"
rFC1213MIB.EntityData.BundleName = "cisco_ios_xe"
rFC1213MIB.EntityData.ParentYangName = "RFC1213-MIB"
rFC1213MIB.EntityData.SegmentPath = "RFC1213-MIB:RFC1213-MIB"
rFC1213MIB.EntityData.AbsolutePath = rFC1213MIB.EntityData.SegmentPath
rFC1213MIB.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
rFC1213MIB.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
rFC1213MIB.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
rFC1213MIB.EntityData.Children = types.NewOrderedMap()
rFC1213MIB.EntityData.Children.Append("system", types.YChild{"System", &rFC1213MIB.System})
rFC1213MIB.EntityData.Children.Append("interfaces", types.YChild{"Interfaces", &rFC1213MIB.Interfaces})
rFC1213MIB.EntityData.Children.Append("ip", types.YChild{"Ip", &rFC1213MIB.Ip})
rFC1213MIB.EntityData.Children.Append("icmp", types.YChild{"Icmp", &rFC1213MIB.Icmp})
rFC1213MIB.EntityData.Children.Append("tcp", types.YChild{"Tcp", &rFC1213MIB.Tcp})
rFC1213MIB.EntityData.Children.Append("udp", types.YChild{"Udp", &rFC1213MIB.Udp})
rFC1213MIB.EntityData.Children.Append("egp", types.YChild{"Egp", &rFC1213MIB.Egp})
rFC1213MIB.EntityData.Children.Append("snmp", types.YChild{"Snmp", &rFC1213MIB.Snmp})
rFC1213MIB.EntityData.Children.Append("ifTable", types.YChild{"IfTable", &rFC1213MIB.IfTable})
rFC1213MIB.EntityData.Children.Append("atTable", types.YChild{"AtTable", &rFC1213MIB.AtTable})
rFC1213MIB.EntityData.Children.Append("ipAddrTable", types.YChild{"IpAddrTable", &rFC1213MIB.IpAddrTable})
rFC1213MIB.EntityData.Children.Append("ipRouteTable", types.YChild{"IpRouteTable", &rFC1213MIB.IpRouteTable})
rFC1213MIB.EntityData.Children.Append("ipNetToMediaTable", types.YChild{"IpNetToMediaTable", &rFC1213MIB.IpNetToMediaTable})
rFC1213MIB.EntityData.Children.Append("tcpConnTable", types.YChild{"TcpConnTable", &rFC1213MIB.TcpConnTable})
rFC1213MIB.EntityData.Children.Append("udpTable", types.YChild{"UdpTable", &rFC1213MIB.UdpTable})
rFC1213MIB.EntityData.Children.Append("egpNeighTable", types.YChild{"EgpNeighTable", &rFC1213MIB.EgpNeighTable})
rFC1213MIB.EntityData.Leafs = types.NewOrderedMap()
rFC1213MIB.EntityData.YListKeys = []string {}
return &(rFC1213MIB.EntityData)
}
// RFC1213MIB_System
type RFC1213MIB_System struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// A textual description of the entity. This value should include the full
// name and version identification of the system's hardware type, software
// operating-system, and networking software. It is mandatory that this only
// contain printable ASCII characters. The type is string with length: 0..255.
SysDescr interface{}
// The vendor's authoritative identification of the network management
// subsystem contained in the entity. This value is allocated within the SMI
// enterprises subtree (1.3.6.1.4.1) and provides an easy and unambiguous
// means for determining `what kind of box' is being managed. For example, if
// vendor `Flintstones, Inc.' was assigned the subtree 1.3.6.1.4.1.4242, it
// could assign the identifier 1.3.6.1.4.1.4242.1.1 to its `Fred Router'. The
// type is string with pattern:
// (([0-1](\.[1-3]?[0-9]))|(2\.(0|([1-9]\d*))))(\.(0|([1-9]\d*)))*.
SysObjectID interface{}
// The time (in hundredths of a second) since the network management portion
// of the system was last re-initialized. The type is interface{} with range:
// 0..4294967295.
SysUpTime interface{}
// The textual identification of the contact person for this managed node,
// together with information on how to contact this person. The type is string
// with length: 0..255.
SysContact interface{}
// An administratively-assigned name for this managed node. By convention,
// this is the node's fully-qualified domain name. The type is string with
// length: 0..255.
SysName interface{}
// The physical location of this node (e.g., `telephone closet, 3rd floor').
// The type is string with length: 0..255.
SysLocation interface{}
// A value which indicates the set of services that this entity primarily
// offers. The value is a sum. This sum initially takes the value zero,
// Then, for each layer, L, in the range 1 through 7, that this node performs
// transactions for, 2 raised to (L - 1) is added to the sum. For example, a
// node which performs primarily routing functions would have a value of 4
// (2^(3-1)). In contrast, a node which is a host offering application
// services would have a value of 72 (2^(4-1) + 2^(7-1)). Note that in the
// context of the Internet suite of protocols, values should be calculated
// accordingly: layer functionality 1 physical (e.g.,
// repeaters) 2 datalink/subnetwork (e.g., bridges) 3
// internet (e.g., IP gateways) 4 end-to-end (e.g., IP hosts)
// 7 applications (e.g., mail relays) For systems including OSI protocols,
// layers 5 and 6 may also be counted. The type is interface{} with range:
// 0..127.
SysServices interface{}
}
func (system *RFC1213MIB_System) GetEntityData() *types.CommonEntityData {
system.EntityData.YFilter = system.YFilter
system.EntityData.YangName = "system"
system.EntityData.BundleName = "cisco_ios_xe"
system.EntityData.ParentYangName = "RFC1213-MIB"
system.EntityData.SegmentPath = "system"
system.EntityData.AbsolutePath = "RFC1213-MIB:RFC1213-MIB/" + system.EntityData.SegmentPath
system.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
system.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
system.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
system.EntityData.Children = types.NewOrderedMap()
system.EntityData.Leafs = types.NewOrderedMap()
system.EntityData.Leafs.Append("sysDescr", types.YLeaf{"SysDescr", system.SysDescr})
system.EntityData.Leafs.Append("sysObjectID", types.YLeaf{"SysObjectID", system.SysObjectID})
system.EntityData.Leafs.Append("sysUpTime", types.YLeaf{"SysUpTime", system.SysUpTime})
system.EntityData.Leafs.Append("sysContact", types.YLeaf{"SysContact", system.SysContact})
system.EntityData.Leafs.Append("sysName", types.YLeaf{"SysName", system.SysName})
system.EntityData.Leafs.Append("sysLocation", types.YLeaf{"SysLocation", system.SysLocation})
system.EntityData.Leafs.Append("sysServices", types.YLeaf{"SysServices", system.SysServices})
system.EntityData.YListKeys = []string {}
return &(system.EntityData)
}
// RFC1213MIB_Interfaces
type RFC1213MIB_Interfaces struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// The number of network interfaces (regardless of their current state)
// present on this system. The type is interface{} with range:
// -2147483648..2147483647.
IfNumber interface{}
}
func (interfaces *RFC1213MIB_Interfaces) GetEntityData() *types.CommonEntityData {
interfaces.EntityData.YFilter = interfaces.YFilter
interfaces.EntityData.YangName = "interfaces"
interfaces.EntityData.BundleName = "cisco_ios_xe"
interfaces.EntityData.ParentYangName = "RFC1213-MIB"
interfaces.EntityData.SegmentPath = "interfaces"
interfaces.EntityData.AbsolutePath = "RFC1213-MIB:RFC1213-MIB/" + interfaces.EntityData.SegmentPath
interfaces.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
interfaces.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
interfaces.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
interfaces.EntityData.Children = types.NewOrderedMap()
interfaces.EntityData.Leafs = types.NewOrderedMap()
interfaces.EntityData.Leafs.Append("ifNumber", types.YLeaf{"IfNumber", interfaces.IfNumber})
interfaces.EntityData.YListKeys = []string {}
return &(interfaces.EntityData)
}
// RFC1213MIB_Ip
type RFC1213MIB_Ip struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// The indication of whether this entity is acting as an IP gateway in respect
// to the forwarding of datagrams received by, but not addressed to, this
// entity. IP gateways forward datagrams. IP hosts do not (except those
// source-routed via the host). Note that for some managed nodes, this object
// may take on only a subset of the values possible. Accordingly, it is
// appropriate for an agent to return a `badValue' response if a management
// station attempts to change this object to an inappropriate value. The type
// is IpForwarding.
IpForwarding interface{}
// The default value inserted into the Time-To-Live field of the IP header of
// datagrams originated at this entity, whenever a TTL value is not supplied
// by the transport layer protocol. The type is interface{} with range:
// -2147483648..2147483647.
IpDefaultTTL interface{}
// The total number of input datagrams received from interfaces, including
// those received in error. The type is interface{} with range: 0..4294967295.
IpInReceives interface{}
// The number of input datagrams discarded due to errors in their IP headers,
// including bad checksums, version number mismatch, other format errors,
// time-to-live exceeded, errors discovered in processing their IP options,
// etc. The type is interface{} with range: 0..4294967295.
IpInHdrErrors interface{}
// The number of input datagrams discarded because the IP address in their IP
// header's destination field was not a valid address to be received at this
// entity. This count includes invalid addresses (e.g., 0.0.0.0) and
// addresses of unsupported Classes (e.g., Class E). For entities which are
// not IP Gateways and therefore do not forward datagrams, this counter
// includes datagrams discarded because the destination address was not a
// local address. The type is interface{} with range: 0..4294967295.
IpInAddrErrors interface{}
// The number of input datagrams for which this entity was not their final IP
// destination, as a result of which an attempt was made to find a route to
// forward them to that final destination. In entities which do not act as IP
// Gateways, this counter will include only those packets which were
// Source-Routed via this entity, and the Source- Route option processing was
// successful. The type is interface{} with range: 0..4294967295.
IpForwDatagrams interface{}
// The number of locally-addressed datagrams received successfully but
// discarded because of an unknown or unsupported protocol. The type is
// interface{} with range: 0..4294967295.
IpInUnknownProtos interface{}
// The number of input IP datagrams for which no problems were encountered to
// prevent their continued processing, but which were discarded (e.g., for
// lack of buffer space). Note that this counter does not include any
// datagrams discarded while awaiting re-assembly. The type is interface{}
// with range: 0..4294967295.
IpInDiscards interface{}
// The total number of input datagrams successfully delivered to IP
// user-protocols (including ICMP). The type is interface{} with range:
// 0..4294967295.
IpInDelivers interface{}
// The total number of IP datagrams which local IP user-protocols (including
// ICMP) supplied to IP in requests for transmission. Note that this counter
// does not include any datagrams counted in ipForwDatagrams. The type is
// interface{} with range: 0..4294967295.
IpOutRequests interface{}
// The number of output IP datagrams for which no problem was encountered to
// prevent their transmission to their destination, but which were discarded
// (e.g., for lack of buffer space). Note that this counter would include
// datagrams counted in ipForwDatagrams if any such packets met this
// (discretionary) discard criterion. The type is interface{} with range:
// 0..4294967295.
IpOutDiscards interface{}
// The number of IP datagrams discarded because no route could be found to
// transmit them to their destination. Note that this counter includes any
// packets counted in ipForwDatagrams which meet this `no-route' criterion.
// Note that this includes any datagrams which a host cannot route because all
// of its default gateways are down. The type is interface{} with range:
// 0..4294967295.
IpOutNoRoutes interface{}
// The maximum number of seconds which received fragments are held while they
// are awaiting reassembly at this entity. The type is interface{} with range:
// -2147483648..2147483647.
IpReasmTimeout interface{}
// The number of IP fragments received which needed to be reassembled at this
// entity. The type is interface{} with range: 0..4294967295.
IpReasmReqds interface{}
// The number of IP datagrams successfully re- assembled. The type is
// interface{} with range: 0..4294967295.
IpReasmOKs interface{}
// The number of failures detected by the IP re- assembly algorithm (for
// whatever reason: timed out, errors, etc). Note that this is not
// necessarily a count of discarded IP fragments since some algorithms
// (notably the algorithm in RFC 815) can lose track of the number of
// fragments by combining them as they are received. The type is interface{}
// with range: 0..4294967295.
IpReasmFails interface{}
// The number of IP datagrams that have been successfully fragmented at this
// entity. The type is interface{} with range: 0..4294967295.
IpFragOKs interface{}
// The number of IP datagrams that have been discarded because they needed to
// be fragmented at this entity but could not be, e.g., because their Don't
// Fragment flag was set. The type is interface{} with range: 0..4294967295.
IpFragFails interface{}
// The number of IP datagram fragments that have been generated as a result of
// fragmentation at this entity. The type is interface{} with range:
// 0..4294967295.
IpFragCreates interface{}
// The number of routing entries which were chosen to be discarded even though
// they are valid. One possible reason for discarding such an entry could be
// to free-up buffer space for other routing entries. The type is interface{}
// with range: 0..4294967295.
IpRoutingDiscards interface{}
}
func (ip *RFC1213MIB_Ip) GetEntityData() *types.CommonEntityData {
ip.EntityData.YFilter = ip.YFilter
ip.EntityData.YangName = "ip"
ip.EntityData.BundleName = "cisco_ios_xe"
ip.EntityData.ParentYangName = "RFC1213-MIB"
ip.EntityData.SegmentPath = "ip"
ip.EntityData.AbsolutePath = "RFC1213-MIB:RFC1213-MIB/" + ip.EntityData.SegmentPath
ip.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
ip.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
ip.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
ip.EntityData.Children = types.NewOrderedMap()
ip.EntityData.Leafs = types.NewOrderedMap()
ip.EntityData.Leafs.Append("ipForwarding", types.YLeaf{"IpForwarding", ip.IpForwarding})
ip.EntityData.Leafs.Append("ipDefaultTTL", types.YLeaf{"IpDefaultTTL", ip.IpDefaultTTL})
ip.EntityData.Leafs.Append("ipInReceives", types.YLeaf{"IpInReceives", ip.IpInReceives})
ip.EntityData.Leafs.Append("ipInHdrErrors", types.YLeaf{"IpInHdrErrors", ip.IpInHdrErrors})
ip.EntityData.Leafs.Append("ipInAddrErrors", types.YLeaf{"IpInAddrErrors", ip.IpInAddrErrors})
ip.EntityData.Leafs.Append("ipForwDatagrams", types.YLeaf{"IpForwDatagrams", ip.IpForwDatagrams})
ip.EntityData.Leafs.Append("ipInUnknownProtos", types.YLeaf{"IpInUnknownProtos", ip.IpInUnknownProtos})
ip.EntityData.Leafs.Append("ipInDiscards", types.YLeaf{"IpInDiscards", ip.IpInDiscards})
ip.EntityData.Leafs.Append("ipInDelivers", types.YLeaf{"IpInDelivers", ip.IpInDelivers})
ip.EntityData.Leafs.Append("ipOutRequests", types.YLeaf{"IpOutRequests", ip.IpOutRequests})
ip.EntityData.Leafs.Append("ipOutDiscards", types.YLeaf{"IpOutDiscards", ip.IpOutDiscards})
ip.EntityData.Leafs.Append("ipOutNoRoutes", types.YLeaf{"IpOutNoRoutes", ip.IpOutNoRoutes})
ip.EntityData.Leafs.Append("ipReasmTimeout", types.YLeaf{"IpReasmTimeout", ip.IpReasmTimeout})
ip.EntityData.Leafs.Append("ipReasmReqds", types.YLeaf{"IpReasmReqds", ip.IpReasmReqds})
ip.EntityData.Leafs.Append("ipReasmOKs", types.YLeaf{"IpReasmOKs", ip.IpReasmOKs})
ip.EntityData.Leafs.Append("ipReasmFails", types.YLeaf{"IpReasmFails", ip.IpReasmFails})
ip.EntityData.Leafs.Append("ipFragOKs", types.YLeaf{"IpFragOKs", ip.IpFragOKs})
ip.EntityData.Leafs.Append("ipFragFails", types.YLeaf{"IpFragFails", ip.IpFragFails})
ip.EntityData.Leafs.Append("ipFragCreates", types.YLeaf{"IpFragCreates", ip.IpFragCreates})
ip.EntityData.Leafs.Append("ipRoutingDiscards", types.YLeaf{"IpRoutingDiscards", ip.IpRoutingDiscards})
ip.EntityData.YListKeys = []string {}
return &(ip.EntityData)
}
// RFC1213MIB_Ip_IpForwarding represents inappropriate value.
type RFC1213MIB_Ip_IpForwarding string
const (
RFC1213MIB_Ip_IpForwarding_forwarding RFC1213MIB_Ip_IpForwarding = "forwarding"
RFC1213MIB_Ip_IpForwarding_not_forwarding RFC1213MIB_Ip_IpForwarding = "not-forwarding"
)
// RFC1213MIB_Icmp
type RFC1213MIB_Icmp struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// The total number of ICMP messages which the entity received. Note that
// this counter includes all those counted by icmpInErrors. The type is
// interface{} with range: 0..4294967295.
IcmpInMsgs interface{}
// The number of ICMP messages which the entity received but determined as
// having ICMP-specific errors (bad ICMP checksums, bad length, etc.). The
// type is interface{} with range: 0..4294967295.
IcmpInErrors interface{}
// The number of ICMP Destination Unreachable messages received. The type is
// interface{} with range: 0..4294967295.
IcmpInDestUnreachs interface{}
// The number of ICMP Time Exceeded messages received. The type is interface{}
// with range: 0..4294967295.
IcmpInTimeExcds interface{}
// The number of ICMP Parameter Problem messages received. The type is
// interface{} with range: 0..4294967295.
IcmpInParmProbs interface{}
// The number of ICMP Source Quench messages received. The type is interface{}
// with range: 0..4294967295.
IcmpInSrcQuenchs interface{}
// The number of ICMP Redirect messages received. The type is interface{} with
// range: 0..4294967295.
IcmpInRedirects interface{}
// The number of ICMP Echo (request) messages received. The type is
// interface{} with range: 0..4294967295.
IcmpInEchos interface{}
// The number of ICMP Echo Reply messages received. The type is interface{}
// with range: 0..4294967295.
IcmpInEchoReps interface{}
// The number of ICMP Timestamp (request) messages received. The type is
// interface{} with range: 0..4294967295.
IcmpInTimestamps interface{}
// The number of ICMP Timestamp Reply messages received. The type is
// interface{} with range: 0..4294967295.
IcmpInTimestampReps interface{}
// The number of ICMP Address Mask Request messages received. The type is
// interface{} with range: 0..4294967295.
IcmpInAddrMasks interface{}
// The number of ICMP Address Mask Reply messages received. The type is
// interface{} with range: 0..4294967295.
IcmpInAddrMaskReps interface{}
// The total number of ICMP messages which this entity attempted to send.
// Note that this counter includes all those counted by icmpOutErrors. The
// type is interface{} with range: 0..4294967295.
IcmpOutMsgs interface{}
// The number of ICMP messages which this entity did not send due to problems
// discovered within ICMP such as a lack of buffers. This value should not
// include errors discovered outside the ICMP layer such as the inability of
// IP to route the resultant datagram. In some implementations there may be
// no types of error which contribute to this counter's value. The type is
// interface{} with range: 0..4294967295.
IcmpOutErrors interface{}
// The number of ICMP Destination Unreachable messages sent. The type is
// interface{} with range: 0..4294967295.
IcmpOutDestUnreachs interface{}
// The number of ICMP Time Exceeded messages sent. The type is interface{}
// with range: 0..4294967295.
IcmpOutTimeExcds interface{}
// The number of ICMP Parameter Problem messages sent. The type is interface{}
// with range: 0..4294967295.
IcmpOutParmProbs interface{}
// The number of ICMP Source Quench messages sent. The type is interface{}
// with range: 0..4294967295.
IcmpOutSrcQuenchs interface{}
// The number of ICMP Redirect messages sent. For a host, this object will
// always be zero, since hosts do not send redirects. The type is interface{}
// with range: 0..4294967295.
IcmpOutRedirects interface{}
// The number of ICMP Echo (request) messages sent. The type is interface{}
// with range: 0..4294967295.
IcmpOutEchos interface{}
// The number of ICMP Echo Reply messages sent. The type is interface{} with
// range: 0..4294967295.
IcmpOutEchoReps interface{}
// The number of ICMP Timestamp (request) messages sent. The type is
// interface{} with range: 0..4294967295.
IcmpOutTimestamps interface{}
// The number of ICMP Timestamp Reply messages sent. The type is interface{}
// with range: 0..4294967295.
IcmpOutTimestampReps interface{}
// The number of ICMP Address Mask Request messages sent. The type is
// interface{} with range: 0..4294967295.
IcmpOutAddrMasks interface{}
// The number of ICMP Address Mask Reply messages sent. The type is
// interface{} with range: 0..4294967295.
IcmpOutAddrMaskReps interface{}
}
func (icmp *RFC1213MIB_Icmp) GetEntityData() *types.CommonEntityData {
icmp.EntityData.YFilter = icmp.YFilter
icmp.EntityData.YangName = "icmp"
icmp.EntityData.BundleName = "cisco_ios_xe"
icmp.EntityData.ParentYangName = "RFC1213-MIB"
icmp.EntityData.SegmentPath = "icmp"
icmp.EntityData.AbsolutePath = "RFC1213-MIB:RFC1213-MIB/" + icmp.EntityData.SegmentPath
icmp.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
icmp.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
icmp.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
icmp.EntityData.Children = types.NewOrderedMap()
icmp.EntityData.Leafs = types.NewOrderedMap()
icmp.EntityData.Leafs.Append("icmpInMsgs", types.YLeaf{"IcmpInMsgs", icmp.IcmpInMsgs})
icmp.EntityData.Leafs.Append("icmpInErrors", types.YLeaf{"IcmpInErrors", icmp.IcmpInErrors})
icmp.EntityData.Leafs.Append("icmpInDestUnreachs", types.YLeaf{"IcmpInDestUnreachs", icmp.IcmpInDestUnreachs})
icmp.EntityData.Leafs.Append("icmpInTimeExcds", types.YLeaf{"IcmpInTimeExcds", icmp.IcmpInTimeExcds})
icmp.EntityData.Leafs.Append("icmpInParmProbs", types.YLeaf{"IcmpInParmProbs", icmp.IcmpInParmProbs})
icmp.EntityData.Leafs.Append("icmpInSrcQuenchs", types.YLeaf{"IcmpInSrcQuenchs", icmp.IcmpInSrcQuenchs})
icmp.EntityData.Leafs.Append("icmpInRedirects", types.YLeaf{"IcmpInRedirects", icmp.IcmpInRedirects})
icmp.EntityData.Leafs.Append("icmpInEchos", types.YLeaf{"IcmpInEchos", icmp.IcmpInEchos})
icmp.EntityData.Leafs.Append("icmpInEchoReps", types.YLeaf{"IcmpInEchoReps", icmp.IcmpInEchoReps})
icmp.EntityData.Leafs.Append("icmpInTimestamps", types.YLeaf{"IcmpInTimestamps", icmp.IcmpInTimestamps})
icmp.EntityData.Leafs.Append("icmpInTimestampReps", types.YLeaf{"IcmpInTimestampReps", icmp.IcmpInTimestampReps})
icmp.EntityData.Leafs.Append("icmpInAddrMasks", types.YLeaf{"IcmpInAddrMasks", icmp.IcmpInAddrMasks})
icmp.EntityData.Leafs.Append("icmpInAddrMaskReps", types.YLeaf{"IcmpInAddrMaskReps", icmp.IcmpInAddrMaskReps})
icmp.EntityData.Leafs.Append("icmpOutMsgs", types.YLeaf{"IcmpOutMsgs", icmp.IcmpOutMsgs})
icmp.EntityData.Leafs.Append("icmpOutErrors", types.YLeaf{"IcmpOutErrors", icmp.IcmpOutErrors})
icmp.EntityData.Leafs.Append("icmpOutDestUnreachs", types.YLeaf{"IcmpOutDestUnreachs", icmp.IcmpOutDestUnreachs})
icmp.EntityData.Leafs.Append("icmpOutTimeExcds", types.YLeaf{"IcmpOutTimeExcds", icmp.IcmpOutTimeExcds})
icmp.EntityData.Leafs.Append("icmpOutParmProbs", types.YLeaf{"IcmpOutParmProbs", icmp.IcmpOutParmProbs})
icmp.EntityData.Leafs.Append("icmpOutSrcQuenchs", types.YLeaf{"IcmpOutSrcQuenchs", icmp.IcmpOutSrcQuenchs})
icmp.EntityData.Leafs.Append("icmpOutRedirects", types.YLeaf{"IcmpOutRedirects", icmp.IcmpOutRedirects})
icmp.EntityData.Leafs.Append("icmpOutEchos", types.YLeaf{"IcmpOutEchos", icmp.IcmpOutEchos})
icmp.EntityData.Leafs.Append("icmpOutEchoReps", types.YLeaf{"IcmpOutEchoReps", icmp.IcmpOutEchoReps})
icmp.EntityData.Leafs.Append("icmpOutTimestamps", types.YLeaf{"IcmpOutTimestamps", icmp.IcmpOutTimestamps})
icmp.EntityData.Leafs.Append("icmpOutTimestampReps", types.YLeaf{"IcmpOutTimestampReps", icmp.IcmpOutTimestampReps})
icmp.EntityData.Leafs.Append("icmpOutAddrMasks", types.YLeaf{"IcmpOutAddrMasks", icmp.IcmpOutAddrMasks})
icmp.EntityData.Leafs.Append("icmpOutAddrMaskReps", types.YLeaf{"IcmpOutAddrMaskReps", icmp.IcmpOutAddrMaskReps})
icmp.EntityData.YListKeys = []string {}
return &(icmp.EntityData)
}
// RFC1213MIB_Tcp
type RFC1213MIB_Tcp struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// The algorithm used to determine the timeout value used for retransmitting
// unacknowledged octets. The type is TcpRtoAlgorithm.
TcpRtoAlgorithm interface{}
// The minimum value permitted by a TCP implementation for the retransmission
// timeout, measured in milliseconds. More refined semantics for objects of
// this type depend upon the algorithm used to determine the retransmission
// timeout. In particular, when the timeout algorithm is rsre(3), an object
// of this type has the semantics of the LBOUND quantity described in RFC 793.
// The type is interface{} with range: -2147483648..2147483647.
TcpRtoMin interface{}
// The maximum value permitted by a TCP implementation for the retransmission
// timeout, measured in milliseconds. More refined semantics for objects of
// this type depend upon the algorithm used to determine the retransmission
// timeout. In particular, when the timeout algorithm is rsre(3), an object
// of this type has the semantics of the UBOUND quantity described in RFC 793.
// The type is interface{} with range: -2147483648..2147483647.
TcpRtoMax interface{}
// The limit on the total number of TCP connections the entity can support.
// In entities where the maximum number of connections is dynamic, this object
// should contain the value -1. The type is interface{} with range:
// -2147483648..2147483647.
TcpMaxConn interface{}
// The number of times TCP connections have made a direct transition to the
// SYN-SENT state from the CLOSED state. The type is interface{} with range:
// 0..4294967295.
TcpActiveOpens interface{}
// The number of times TCP connections have made a direct transition to the
// SYN-RCVD state from the LISTEN state. The type is interface{} with range:
// 0..4294967295.
TcpPassiveOpens interface{}
// The number of times TCP connections have made a direct transition to the
// CLOSED state from either the SYN-SENT state or the SYN-RCVD state, plus the
// number of times TCP connections have made a direct transition to the LISTEN
// state from the SYN-RCVD state. The type is interface{} with range:
// 0..4294967295.
TcpAttemptFails interface{}
// The number of times TCP connections have made a direct transition to the
// CLOSED state from either the ESTABLISHED state or the CLOSE-WAIT state. The
// type is interface{} with range: 0..4294967295.
TcpEstabResets interface{}
// The number of TCP connections for which the current state is either
// ESTABLISHED or CLOSE- WAIT. The type is interface{} with range:
// 0..4294967295.
TcpCurrEstab interface{}
// The total number of segments received, including those received in error.
// This count includes segments received on currently established connections.
// The type is interface{} with range: 0..4294967295.
TcpInSegs interface{}
// The total number of segments sent, including those on current connections
// but excluding those containing only retransmitted octets. The type is
// interface{} with range: 0..4294967295.
TcpOutSegs interface{}
// The total number of segments retransmitted - that is, the number of TCP
// segments transmitted containing one or more previously transmitted octets.
// The type is interface{} with range: 0..4294967295.
TcpRetransSegs interface{}
// The total number of segments received in error (e.g., bad TCP checksums).
// The type is interface{} with range: 0..4294967295.
TcpInErrs interface{}
// The number of TCP segments sent containing the RST flag. The type is
// interface{} with range: 0..4294967295.
TcpOutRsts interface{}
}
func (tcp *RFC1213MIB_Tcp) GetEntityData() *types.CommonEntityData {
tcp.EntityData.YFilter = tcp.YFilter
tcp.EntityData.YangName = "tcp"
tcp.EntityData.BundleName = "cisco_ios_xe"
tcp.EntityData.ParentYangName = "RFC1213-MIB"
tcp.EntityData.SegmentPath = "tcp"
tcp.EntityData.AbsolutePath = "RFC1213-MIB:RFC1213-MIB/" + tcp.EntityData.SegmentPath
tcp.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
tcp.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
tcp.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
tcp.EntityData.Children = types.NewOrderedMap()
tcp.EntityData.Leafs = types.NewOrderedMap()
tcp.EntityData.Leafs.Append("tcpRtoAlgorithm", types.YLeaf{"TcpRtoAlgorithm", tcp.TcpRtoAlgorithm})
tcp.EntityData.Leafs.Append("tcpRtoMin", types.YLeaf{"TcpRtoMin", tcp.TcpRtoMin})
tcp.EntityData.Leafs.Append("tcpRtoMax", types.YLeaf{"TcpRtoMax", tcp.TcpRtoMax})
tcp.EntityData.Leafs.Append("tcpMaxConn", types.YLeaf{"TcpMaxConn", tcp.TcpMaxConn})
tcp.EntityData.Leafs.Append("tcpActiveOpens", types.YLeaf{"TcpActiveOpens", tcp.TcpActiveOpens})
tcp.EntityData.Leafs.Append("tcpPassiveOpens", types.YLeaf{"TcpPassiveOpens", tcp.TcpPassiveOpens})
tcp.EntityData.Leafs.Append("tcpAttemptFails", types.YLeaf{"TcpAttemptFails", tcp.TcpAttemptFails})
tcp.EntityData.Leafs.Append("tcpEstabResets", types.YLeaf{"TcpEstabResets", tcp.TcpEstabResets})
tcp.EntityData.Leafs.Append("tcpCurrEstab", types.YLeaf{"TcpCurrEstab", tcp.TcpCurrEstab})
tcp.EntityData.Leafs.Append("tcpInSegs", types.YLeaf{"TcpInSegs", tcp.TcpInSegs})
tcp.EntityData.Leafs.Append("tcpOutSegs", types.YLeaf{"TcpOutSegs", tcp.TcpOutSegs})
tcp.EntityData.Leafs.Append("tcpRetransSegs", types.YLeaf{"TcpRetransSegs", tcp.TcpRetransSegs})
tcp.EntityData.Leafs.Append("tcpInErrs", types.YLeaf{"TcpInErrs", tcp.TcpInErrs})
tcp.EntityData.Leafs.Append("tcpOutRsts", types.YLeaf{"TcpOutRsts", tcp.TcpOutRsts})
tcp.EntityData.YListKeys = []string {}
return &(tcp.EntityData)
}
// RFC1213MIB_Tcp_TcpRtoAlgorithm represents used for retransmitting unacknowledged octets.
type RFC1213MIB_Tcp_TcpRtoAlgorithm string
const (
RFC1213MIB_Tcp_TcpRtoAlgorithm_other RFC1213MIB_Tcp_TcpRtoAlgorithm = "other"
RFC1213MIB_Tcp_TcpRtoAlgorithm_constant RFC1213MIB_Tcp_TcpRtoAlgorithm = "constant"
RFC1213MIB_Tcp_TcpRtoAlgorithm_rsre RFC1213MIB_Tcp_TcpRtoAlgorithm = "rsre"
RFC1213MIB_Tcp_TcpRtoAlgorithm_vanj RFC1213MIB_Tcp_TcpRtoAlgorithm = "vanj"
RFC1213MIB_Tcp_TcpRtoAlgorithm_rfc2988 RFC1213MIB_Tcp_TcpRtoAlgorithm = "rfc2988"
)
// RFC1213MIB_Udp
type RFC1213MIB_Udp struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// The total number of UDP datagrams delivered to UDP users. The type is
// interface{} with range: 0..4294967295.
UdpInDatagrams interface{}
// The total number of received UDP datagrams for which there was no
// application at the destination port. The type is interface{} with range:
// 0..4294967295.
UdpNoPorts interface{}
// The number of received UDP datagrams that could not be delivered for
// reasons other than the lack of an application at the destination port. The
// type is interface{} with range: 0..4294967295.
UdpInErrors interface{}
// The total number of UDP datagrams sent from this entity. The type is
// interface{} with range: 0..4294967295.
UdpOutDatagrams interface{}
}
func (udp *RFC1213MIB_Udp) GetEntityData() *types.CommonEntityData {
udp.EntityData.YFilter = udp.YFilter
udp.EntityData.YangName = "udp"
udp.EntityData.BundleName = "cisco_ios_xe"
udp.EntityData.ParentYangName = "RFC1213-MIB"
udp.EntityData.SegmentPath = "udp"
udp.EntityData.AbsolutePath = "RFC1213-MIB:RFC1213-MIB/" + udp.EntityData.SegmentPath
udp.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
udp.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
udp.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
udp.EntityData.Children = types.NewOrderedMap()
udp.EntityData.Leafs = types.NewOrderedMap()
udp.EntityData.Leafs.Append("udpInDatagrams", types.YLeaf{"UdpInDatagrams", udp.UdpInDatagrams})
udp.EntityData.Leafs.Append("udpNoPorts", types.YLeaf{"UdpNoPorts", udp.UdpNoPorts})
udp.EntityData.Leafs.Append("udpInErrors", types.YLeaf{"UdpInErrors", udp.UdpInErrors})
udp.EntityData.Leafs.Append("udpOutDatagrams", types.YLeaf{"UdpOutDatagrams", udp.UdpOutDatagrams})
udp.EntityData.YListKeys = []string {}
return &(udp.EntityData)
}
// RFC1213MIB_Egp
type RFC1213MIB_Egp struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// The number of EGP messages received without error. The type is interface{}
// with range: 0..4294967295.
EgpInMsgs interface{}
// The number of EGP messages received that proved to be in error. The type is
// interface{} with range: 0..4294967295.
EgpInErrors interface{}
// The total number of locally generated EGP messages. The type is interface{}
// with range: 0..4294967295.
EgpOutMsgs interface{}
// The number of locally generated EGP messages not sent due to resource
// limitations within an EGP entity. The type is interface{} with range:
// 0..4294967295.
EgpOutErrors interface{}
// The autonomous system number of this EGP entity. The type is interface{}
// with range: -2147483648..2147483647.
EgpAs interface{}
}
func (egp *RFC1213MIB_Egp) GetEntityData() *types.CommonEntityData {
egp.EntityData.YFilter = egp.YFilter
egp.EntityData.YangName = "egp"
egp.EntityData.BundleName = "cisco_ios_xe"
egp.EntityData.ParentYangName = "RFC1213-MIB"
egp.EntityData.SegmentPath = "egp"
egp.EntityData.AbsolutePath = "RFC1213-MIB:RFC1213-MIB/" + egp.EntityData.SegmentPath
egp.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
egp.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
egp.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
egp.EntityData.Children = types.NewOrderedMap()
egp.EntityData.Leafs = types.NewOrderedMap()
egp.EntityData.Leafs.Append("egpInMsgs", types.YLeaf{"EgpInMsgs", egp.EgpInMsgs})
egp.EntityData.Leafs.Append("egpInErrors", types.YLeaf{"EgpInErrors", egp.EgpInErrors})
egp.EntityData.Leafs.Append("egpOutMsgs", types.YLeaf{"EgpOutMsgs", egp.EgpOutMsgs})
egp.EntityData.Leafs.Append("egpOutErrors", types.YLeaf{"EgpOutErrors", egp.EgpOutErrors})
egp.EntityData.Leafs.Append("egpAs", types.YLeaf{"EgpAs", egp.EgpAs})
egp.EntityData.YListKeys = []string {}
return &(egp.EntityData)
}
// RFC1213MIB_Snmp
type RFC1213MIB_Snmp struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// The total number of Messages delivered to the SNMP entity from the
// transport service. The type is interface{} with range: 0..4294967295.
SnmpInPkts interface{}
// The total number of SNMP Messages which were passed from the SNMP protocol
// entity to the transport service. The type is interface{} with range:
// 0..4294967295.
SnmpOutPkts interface{}
// The total number of SNMP Messages which were delivered to the SNMP protocol
// entity and were for an unsupported SNMP version. The type is interface{}
// with range: 0..4294967295.
SnmpInBadVersions interface{}
// The total number of SNMP Messages delivered to the SNMP protocol entity
// which used a SNMP community name not known to said entity. The type is
// interface{} with range: 0..4294967295.
SnmpInBadCommunityNames interface{}
// The total number of SNMP Messages delivered to the SNMP protocol entity
// which represented an SNMP operation which was not allowed by the SNMP
// community named in the Message. The type is interface{} with range:
// 0..4294967295.
SnmpInBadCommunityUses interface{}
// The total number of ASN.1 or BER errors encountered by the SNMP protocol
// entity when decoding received SNMP Messages. The type is interface{} with
// range: 0..4294967295.
SnmpInASNParseErrs interface{}
// The total number of SNMP PDUs which were delivered to the SNMP protocol
// entity and for which the value of the error-status field is `tooBig'. The
// type is interface{} with range: 0..4294967295.
SnmpInTooBigs interface{}
// The total number of SNMP PDUs which were delivered to the SNMP protocol
// entity and for which the value of the error-status field is `noSuchName'.
// The type is interface{} with range: 0..4294967295.
SnmpInNoSuchNames interface{}
// The total number of SNMP PDUs which were delivered to the SNMP protocol
// entity and for which the value of the error-status field is `badValue'. The
// type is interface{} with range: 0..4294967295.
SnmpInBadValues interface{}
// The total number valid SNMP PDUs which were delivered to the SNMP protocol
// entity and for which the value of the error-status field is `readOnly'. It
// should be noted that it is a protocol error to generate an SNMP PDU which
// contains the value `readOnly' in the error-status field, as such this
// object is provided as a means of detecting incorrect implementations of the
// SNMP. The type is interface{} with range: 0..4294967295.
SnmpInReadOnlys interface{}
// The total number of SNMP PDUs which were delivered to the SNMP protocol
// entity and for which the value of the error-status field is `genErr'. The
// type is interface{} with range: 0..4294967295.
SnmpInGenErrs interface{}
// The total number of MIB objects which have been retrieved successfully by
// the SNMP protocol entity as the result of receiving valid SNMP Get-Request
// and Get-Next PDUs. The type is interface{} with range: 0..4294967295.
SnmpInTotalReqVars interface{}
// The total number of MIB objects which have been altered successfully by the
// SNMP protocol entity as the result of receiving valid SNMP Set-Request
// PDUs. The type is interface{} with range: 0..4294967295.
SnmpInTotalSetVars interface{}
// The total number of SNMP Get-Request PDUs which have been accepted and
// processed by the SNMP protocol entity. The type is interface{} with range:
// 0..4294967295.
SnmpInGetRequests interface{}
// The total number of SNMP Get-Next PDUs which have been accepted and
// processed by the SNMP protocol entity. The type is interface{} with range:
// 0..4294967295.
SnmpInGetNexts interface{}
// The total number of SNMP Set-Request PDUs which have been accepted and
// processed by the SNMP protocol entity. The type is interface{} with range:
// 0..4294967295.
SnmpInSetRequests interface{}
// The total number of SNMP Get-Response PDUs which have been accepted and
// processed by the SNMP protocol entity. The type is interface{} with range:
// 0..4294967295.
SnmpInGetResponses interface{}
// The total number of SNMP Trap PDUs which have been accepted and processed
// by the SNMP protocol entity. The type is interface{} with range:
// 0..4294967295.
SnmpInTraps interface{}
// The total number of SNMP PDUs which were generated by the SNMP protocol
// entity and for which the value of the error-status field is `tooBig.'. The
// type is interface{} with range: 0..4294967295.
SnmpOutTooBigs interface{}
// The total number of SNMP PDUs which were generated by the SNMP protocol
// entity and for which the value of the error-status is `noSuchName'. The
// type is interface{} with range: 0..4294967295.
SnmpOutNoSuchNames interface{}
// The total number of SNMP PDUs which were generated by the SNMP protocol
// entity and for which the value of the error-status field is `badValue'. The
// type is interface{} with range: 0..4294967295.
SnmpOutBadValues interface{}
// The total number of SNMP PDUs which were generated by the SNMP protocol
// entity and for which the value of the error-status field is `genErr'. The
// type is interface{} with range: 0..4294967295.
SnmpOutGenErrs interface{}
// The total number of SNMP Get-Request PDUs which have been generated by the
// SNMP protocol entity. The type is interface{} with range: 0..4294967295.
SnmpOutGetRequests interface{}
// The total number of SNMP Get-Next PDUs which have been generated by the
// SNMP protocol entity. The type is interface{} with range: 0..4294967295.
SnmpOutGetNexts interface{}
// The total number of SNMP Set-Request PDUs which have been generated by the
// SNMP protocol entity. The type is interface{} with range: 0..4294967295.
SnmpOutSetRequests interface{}
// The total number of SNMP Get-Response PDUs which have been generated by the
// SNMP protocol entity. The type is interface{} with range: 0..4294967295.
SnmpOutGetResponses interface{}
// The total number of SNMP Trap PDUs which have been generated by the SNMP
// protocol entity. The type is interface{} with range: 0..4294967295.
SnmpOutTraps interface{}
// Indicates whether the SNMP agent process is permitted to generate
// authentication-failure traps. The value of this object overrides any
// configuration information; as such, it provides a means whereby all
// authentication-failure traps may be disabled. Note that it is strongly
// recommended that this object be stored in non-volatile memory so that it
// remains constant between re-initializations of the network management
// system. The type is SnmpEnableAuthenTraps.
SnmpEnableAuthenTraps interface{}
}
func (snmp *RFC1213MIB_Snmp) GetEntityData() *types.CommonEntityData {
snmp.EntityData.YFilter = snmp.YFilter
snmp.EntityData.YangName = "snmp"
snmp.EntityData.BundleName = "cisco_ios_xe"
snmp.EntityData.ParentYangName = "RFC1213-MIB"
snmp.EntityData.SegmentPath = "snmp"
snmp.EntityData.AbsolutePath = "RFC1213-MIB:RFC1213-MIB/" + snmp.EntityData.SegmentPath
snmp.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
snmp.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
snmp.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
snmp.EntityData.Children = types.NewOrderedMap()
snmp.EntityData.Leafs = types.NewOrderedMap()
snmp.EntityData.Leafs.Append("snmpInPkts", types.YLeaf{"SnmpInPkts", snmp.SnmpInPkts})
snmp.EntityData.Leafs.Append("snmpOutPkts", types.YLeaf{"SnmpOutPkts", snmp.SnmpOutPkts})
snmp.EntityData.Leafs.Append("snmpInBadVersions", types.YLeaf{"SnmpInBadVersions", snmp.SnmpInBadVersions})
snmp.EntityData.Leafs.Append("snmpInBadCommunityNames", types.YLeaf{"SnmpInBadCommunityNames", snmp.SnmpInBadCommunityNames})
snmp.EntityData.Leafs.Append("snmpInBadCommunityUses", types.YLeaf{"SnmpInBadCommunityUses", snmp.SnmpInBadCommunityUses})
snmp.EntityData.Leafs.Append("snmpInASNParseErrs", types.YLeaf{"SnmpInASNParseErrs", snmp.SnmpInASNParseErrs})
snmp.EntityData.Leafs.Append("snmpInTooBigs", types.YLeaf{"SnmpInTooBigs", snmp.SnmpInTooBigs})
snmp.EntityData.Leafs.Append("snmpInNoSuchNames", types.YLeaf{"SnmpInNoSuchNames", snmp.SnmpInNoSuchNames})
snmp.EntityData.Leafs.Append("snmpInBadValues", types.YLeaf{"SnmpInBadValues", snmp.SnmpInBadValues})
snmp.EntityData.Leafs.Append("snmpInReadOnlys", types.YLeaf{"SnmpInReadOnlys", snmp.SnmpInReadOnlys})
snmp.EntityData.Leafs.Append("snmpInGenErrs", types.YLeaf{"SnmpInGenErrs", snmp.SnmpInGenErrs})
snmp.EntityData.Leafs.Append("snmpInTotalReqVars", types.YLeaf{"SnmpInTotalReqVars", snmp.SnmpInTotalReqVars})
snmp.EntityData.Leafs.Append("snmpInTotalSetVars", types.YLeaf{"SnmpInTotalSetVars", snmp.SnmpInTotalSetVars})
snmp.EntityData.Leafs.Append("snmpInGetRequests", types.YLeaf{"SnmpInGetRequests", snmp.SnmpInGetRequests})
snmp.EntityData.Leafs.Append("snmpInGetNexts", types.YLeaf{"SnmpInGetNexts", snmp.SnmpInGetNexts})
snmp.EntityData.Leafs.Append("snmpInSetRequests", types.YLeaf{"SnmpInSetRequests", snmp.SnmpInSetRequests})
snmp.EntityData.Leafs.Append("snmpInGetResponses", types.YLeaf{"SnmpInGetResponses", snmp.SnmpInGetResponses})
snmp.EntityData.Leafs.Append("snmpInTraps", types.YLeaf{"SnmpInTraps", snmp.SnmpInTraps})
snmp.EntityData.Leafs.Append("snmpOutTooBigs", types.YLeaf{"SnmpOutTooBigs", snmp.SnmpOutTooBigs})
snmp.EntityData.Leafs.Append("snmpOutNoSuchNames", types.YLeaf{"SnmpOutNoSuchNames", snmp.SnmpOutNoSuchNames})
snmp.EntityData.Leafs.Append("snmpOutBadValues", types.YLeaf{"SnmpOutBadValues", snmp.SnmpOutBadValues})
snmp.EntityData.Leafs.Append("snmpOutGenErrs", types.YLeaf{"SnmpOutGenErrs", snmp.SnmpOutGenErrs})
snmp.EntityData.Leafs.Append("snmpOutGetRequests", types.YLeaf{"SnmpOutGetRequests", snmp.SnmpOutGetRequests})
snmp.EntityData.Leafs.Append("snmpOutGetNexts", types.YLeaf{"SnmpOutGetNexts", snmp.SnmpOutGetNexts})
snmp.EntityData.Leafs.Append("snmpOutSetRequests", types.YLeaf{"SnmpOutSetRequests", snmp.SnmpOutSetRequests})
snmp.EntityData.Leafs.Append("snmpOutGetResponses", types.YLeaf{"SnmpOutGetResponses", snmp.SnmpOutGetResponses})
snmp.EntityData.Leafs.Append("snmpOutTraps", types.YLeaf{"SnmpOutTraps", snmp.SnmpOutTraps})
snmp.EntityData.Leafs.Append("snmpEnableAuthenTraps", types.YLeaf{"SnmpEnableAuthenTraps", snmp.SnmpEnableAuthenTraps})
snmp.EntityData.YListKeys = []string {}
return &(snmp.EntityData)
}
// RFC1213MIB_Snmp_SnmpEnableAuthenTraps represents network management system.
type RFC1213MIB_Snmp_SnmpEnableAuthenTraps string
const (
RFC1213MIB_Snmp_SnmpEnableAuthenTraps_enabled RFC1213MIB_Snmp_SnmpEnableAuthenTraps = "enabled"
RFC1213MIB_Snmp_SnmpEnableAuthenTraps_disabled RFC1213MIB_Snmp_SnmpEnableAuthenTraps = "disabled"
)
// RFC1213MIB_IfTable
// A list of interface entries. The number of