This repository has been archived by the owner on Nov 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
cisco_rttmon_mib.go
6231 lines (5393 loc) · 415 KB
/
cisco_rttmon_mib.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// This module defines a MIB for Round Trip Time
// (RTT) monitoring of a list of targets, using a
// variety of protocols.
//
// The table structure overview is a follows (t:
// indicates a table, at: indicates an augmented
// table, and it: indicates table with the same
// indices/control as parent table):
//
// RTTMON MIB
// |--- Application Group
// | |--- Application Identity
// | |--- Application Capabilities
// | |--- Application Reset
// | |t-- Supported RTT Types
// | |--- Truth Value
// | |t-- Supported Protocols
// | |--- Truth Value
// | |t-- Application Preconfigured
// | |--- Script Names
// | |--- File Paths
// | |--- Responder control
// | |t-- Control Protocol Authentication
// |
// |--- Overall Control Group
// | |t-- Master Definitions Table
// | | |--- Global Configuration Definitions
// | | |--- Config for a single RTT Life
// | | |it- Echo Specific Configuration
// | | |it- Echo Path Hop Address Configuration
// | | |it- File I/O Specific Configuration
// | | |it- Script Specific Configuration
// | | |at- Schedule Configuration
// | | |at- Reaction Specific Config
// | | |at- Statistics Capture Configuration
// | | |at- History Collection Configuration
// | | |at- Monitoring Operational State
// | | |at- Last RTT operation
// | |
// | |t-- Reaction Trigger Table
// | |at- Reaction Trigger Operational State
// |
// |--- Statistics Collection Group
// | |t-- Statistics Capture Table
// | |--- Captured Statistics
// | |--- Path Information
// | |--- Distribution Capture
// | |--- Mean and Deviation Capture
// | |it- Statistics Collection Table
// | |it- Statistics Totals Table
// | |t-- HTTP Stats Table
// | |t-- Jitter Stats Table
// |
// |--- History Collection Group
// | |t-- History Collection Table
// | |-- Path Information
// | |-- Completion Information per operation
// |
// |--- Latest Operation Group
// | |t-- Latest HTTP Oper Table
// | |t-- Latest Jitter Oper Table
//
// DEFINITIONS:
// conceptual RTT control row -
// This is a row in the 'Overall Control
// Group'. This row is indexed via the
// rttMonCtrlAdminIndex object. This row
// is spread across multiple real tables
// in the 'Overall Control Group'.
// probe -
// This is the entity that executes via a
// conceptual RTT control row and populates
// a conceptual statistics row and a
// conceptual history row.
// Rtt operation -
// This is a single operation performed by
// a probe. This operation can be a single
// Rtt attempt/completion or a group of Rtt
// attempts/completions that produce one
// operation table entry.
//
// ARR Protocol Definition:
//
// The format of the RTT Asymmetric Request/Responses
// (ARR) protocol is as follows:
//
// The ARR Header (total of 12 octets):
//
// 4 octet -> eyecatcher: 'WxYz'
// 1 octet -> version : 0x01 - protocol version
// 1 octet -> command : 0x01 - logoff request
// 0x02 - echo request
// 0x03 - echo response
// 0x04 - software version request
// 0x05 - software version response
// 2 octet -> sequence number (Network Byte Order)
// 4 octet -> response data size (Network Byte Order)
//
// The ARR Data:
//
// n octets -> request/response data
// : 'AB..ZAB..ZAB..'
//
// For software version request/response the
// protocol version octet will contain the version
// number of the responder. Thus the sequence
// number, etc will not be included.
//
// For snaLU0EchoAppl and snaLU2EchoAppl all character
// fields will be in EBCDIC.
//
// The response data should be appended to the
// origin request data. This allows data
// verification to check the data that flows in
// both directions. If the response data size is
// smaller than the request data size the original
// request data will be truncated.
//
// An example would be:
// Request: / Response:
// 'WxYz' / 'WxYz'
// 0x01 / 0x01
// 0x02 / 0x03
// 0x0001 / 0x0001
// 0x00000008 / 0x00000008
// 'ABCDEF' / 'ABCDEFGH'
//
// NOTE: We requested 8 bytes in the response and
// the response had 8 bytes. The size of the
// request data has no correlation to the
// size of the response data.
//
// NOTE: For native RTT request/response (i.e.
// ipIcmpecho) operations both the 'Header'
// and 'Data' will be included. Only the
// 'sequence number' in the Header will be
// valid.
//
// NOTE: For non-connection oriented protocol the
// initial RTT request/response operation will
// be preceded with an RTT request/response
// operation to the target address to force
// path exploration and to prove
// connectivity. The History collection table
// will contain these responses, but the
// Statistics capture table will omit them to
// prevent skewed results.
package cisco_rttmon_mib
import (
"fmt"
"github.com/CiscoDevNet/ydk-go/ydk"
"github.com/CiscoDevNet/ydk-go/ydk/types"
"github.com/CiscoDevNet/ydk-go/ydk/types/yfilter"
"github.com/CiscoDevNet/ydk-go/ydk/models/cisco_ios_xe"
"reflect"
)
func init() {
ydk.YLogDebug(fmt.Sprintf("Registering top level entities for package cisco_rttmon_mib"))
ydk.RegisterEntity("{urn:ietf:params:xml:ns:yang:smiv2:CISCO-RTTMON-MIB CISCO-RTTMON-MIB}", reflect.TypeOf(CISCORTTMONMIB{}))
ydk.RegisterEntity("CISCO-RTTMON-MIB:CISCO-RTTMON-MIB", reflect.TypeOf(CISCORTTMONMIB{}))
}
// CISCORTTMONMIB
type CISCORTTMONMIB struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
RttMonAppl CISCORTTMONMIB_RttMonAppl
// A table of which contains the supported Rtt Monitor Types. See the
// RttMonRttType textual convention for the definition of each type.
RttMonApplSupportedRttTypesTable CISCORTTMONMIB_RttMonApplSupportedRttTypesTable
// A table of which contains the supported Rtt Monitor Protocols. See the
// RttMonProtocol textual convention for the definition of each protocol.
RttMonApplSupportedProtocolsTable CISCORTTMONMIB_RttMonApplSupportedProtocolsTable
// A table of which contains the previously configured Script Names and File
// IO targets. These Script Names and File IO targets are installed via a
// different mechanism than this application, and are specific to each
// platform.
RttMonApplPreConfigedTable CISCORTTMONMIB_RttMonApplPreConfigedTable
// A table which contains the definitions for key-strings that will be used in
// authenticating RTR Control Protocol.
RttMonApplAuthTable CISCORTTMONMIB_RttMonApplAuthTable
// A table of Round Trip Time (RTT) monitoring definitions. The RTT
// administration control is in multiple tables. This first table, is used
// to create a conceptual RTT control row. The following tables contain
// objects which configure scheduling, information gathering, and
// notification/trigger generation. All of these tables will create the same
// conceptual RTT control row as this table using this tables' index as their
// own index. This table is limited in size by the agent implementation.
// The object rttMonApplNumCtrlAdminEntry will reflect this tables maximum
// number of entries.
RttMonCtrlAdminTable CISCORTTMONMIB_RttMonCtrlAdminTable
// A table that contains Round Trip Time (RTT) specific definitions. This
// table is controlled via the rttMonCtrlAdminTable. Entries in this table
// are created via the rttMonCtrlAdminStatus object.
RttMonEchoAdminTable CISCORTTMONMIB_RttMonEchoAdminTable
// A table of Round Trip Time (RTT) monitoring 'fileIO' specific definitions.
// When the RttMonRttType is not 'fileIO' this table is not valid. This table
// is controlled via the rttMonCtrlAdminTable. Entries in this table are
// created via the rttMonCtrlAdminStatus object.
RttMonFileIOAdminTable CISCORTTMONMIB_RttMonFileIOAdminTable
// A table of Round Trip Time (RTT) monitoring 'script' specific definitions.
// When the RttMonRttType is not 'script' this table is not valid. This table
// is controlled via the rttMonCtrlAdminTable. Entries in this table are
// created via the rttMonCtrlAdminStatus object.
RttMonScriptAdminTable CISCORTTMONMIB_RttMonScriptAdminTable
// A table of which contains the list of conceptual RTT control rows that will
// start to collect data when a reaction condition is violated and when
// rttMonReactAdminActionType is set to one of the following: -
// triggerOnly - trapAndTrigger - nmvtAndTrigger - trapNmvtAndTrigger
// or when a reaction condition is violated and when any of the row in
// rttMonReactTable has rttMonReactActionType as one of the following: -
// triggerOnly - trapAndTrigger The goal of this table is to define one or
// more additional conceptual RTT control rows that will become active and
// start to collect additional history and statistics (depending on the rows
// configuration values), when a problem has been detected. If the conceptual
// RTT control row is undefined, and a trigger occurs, no action will take
// place. If the conceptual RTT control row is scheduled to start at a
// later time, triggering that row will have no effect. If the conceptual RTT
// control row is currently active, triggering that row will have no effect
// on that row, but the rttMonReactTriggerOperState object will transition to
// 'active'. An entry in this table can only be triggered when it is not
// currently in a triggered state. The object rttMonReactTriggerOperState
// will reflect the state of each entry in this table.
RttMonReactTriggerAdminTable CISCORTTMONMIB_RttMonReactTriggerAdminTable
// A table to store the hop addresses in a Loose Source Routing path. Response
// times are computed along the specified path using ping. This maximum table
// size is limited by the size of the maximum number of hop addresses that
// can fit in an IP header, which is 8. The object rttMonEchoPathAdminEntry
// will reflect this tables maximum number of entries. This table is coupled
// with rttMonCtrlAdminStatus.
RttMonEchoPathAdminTable CISCORTTMONMIB_RttMonEchoPathAdminTable
// A table of Round Trip Time (RTT) monitoring group scheduling specific
// definitions. This table is used to create a conceptual group scheduling
// control row. The entries in this control row contain objects used to define
// group schedule configuration parameters. The objects of this table will be
// used to schedule a group of probes identified by the conceptual rows of the
// rttMonCtrlAdminTable.
RttMonGrpScheduleAdminTable CISCORTTMONMIB_RttMonGrpScheduleAdminTable
// A table of Auto SAA L3 MPLS VPN definitions. The Auto SAA L3 MPLS VPN
// administration control is in multiple tables. This first table, is used to
// create a conceptual Auto SAA L3 MPLS VPN control row. The following tables
// contain objects which used in type specific configurations, scheduling and
// reaction configurations. All of these tables will create the same
// conceptual control row as this table using this table's index as their own
// index. In order to a row in this table to become active the following
// objects must be defined. rttMplsVpnMonCtrlRttType,
// rttMplsVpnMonCtrlVrfName and rttMplsVpnMonSchedulePeriod.
RttMplsVpnMonCtrlTable CISCORTTMONMIB_RttMplsVpnMonCtrlTable
// A table that contains the reaction configurations. Each conceptual row in
// rttMonReactTable corresponds to a reaction configured for the probe defined
// in rttMonCtrlAdminTable. For each reaction configured for a probe there is
// an entry in the table. Each Probe can have multiple reactions and hence
// there can be multiple rows for a particular probe. This table is coupled
// with rttMonCtrlAdminTable.
RttMonReactTable CISCORTTMONMIB_RttMonReactTable
// This table contains information about the generated operation id as part of
// a parent IP SLA operation. The parent operation id is pseudo-random number,
// selected by the management station based on an operation started by the
// management station,when creating a row via the rttMonCtrlAdminStatus
// object in the rttMonCtrlAdminTable table.
RttMonGeneratedOperTable CISCORTTMONMIB_RttMonGeneratedOperTable
// The statistics capture database. The statistics capture table contains
// summarized information of the results for a conceptual RTT control row.
// A rolling accumulated history of this information is maintained in a
// series of hourly 'group(s)'. Each 'group' contains a series of 'path(s)',
// each 'path' contains a series of 'hop(s)', each 'hop' contains a series
// of 'statistics distribution bucket(s)'. Each conceptual statistics row has
// a current hourly group, into which RTT results are accumulated. At the
// end of each hour a new hourly group is created which then becomes current.
// The counters and accumulators in the new group are initialized to zero.
// The previous group(s) is kept in the table until the table contains
// rttMonStatisticsAdminNumHourGroups groups for the conceptual statistics
// row; at this point, the oldest group is discarded and is replaced by the
// newly created one. The hourly group is uniquely identified by the
// rttMonStatsCaptureStartTimeIndex object. If the activity for a conceptual
// RTT control row ceases because the rttMonCtrlOperState object transitions
// to 'inactive', the corresponding current hourly group in this table is
// 'frozen', and a new hourly group is created when activity is resumed. If
// the activity for a conceptual RTT control row ceases because the
// rttMonCtrlOperState object transitions to 'pending' this whole table will
// be cleared and reset to its initial state. When the RttMonRttType is
// 'pathEcho', the path exploration RTT requests' statistics will not be
// accumulated in this table. NOTE: When the RttMonRttType is 'pathEcho', a
// source to target rttMonStatsCapturePathIndex path will be
// created for each rttMonStatsCaptureStartTimeIndex to hold all errors
// that occur when a specific path had not been found or connection has
// not be setup. Using this rttMonStatsCaptureTable, a managing application
// can retrieve summarized data from accurately measured periods, which is
// synchronized across multiple conceptual RTT control rows. With the new
// hourly group creation being performed on a 60 minute period, the managing
// station has plenty of time to collect the data, and need not be concerned
// with the vagaries of network delays and lost PDU's when trying to get
// matching data. Also, the managing station can spread the data gathering
// over a longer period, which removes the need for a flood of get requests
// in a short period which otherwise would occur.
RttMonStatsCaptureTable CISCORTTMONMIB_RttMonStatsCaptureTable
// The statistics collection database. This table has the exact same behavior
// as the rttMonStatsCaptureTable, except it does not keep statistical
// distribution information. For a complete table description see the
// rttMonStatsCaptureTable object.
RttMonStatsCollectTable CISCORTTMONMIB_RttMonStatsCollectTable
// The statistics totals database. This table has the exact same behavior as
// the rttMonStatsCaptureTable, except it only keeps 60 minute group values.
// For a complete table description see the rttMonStatsCaptureTable object.
RttMonStatsTotalsTable CISCORTTMONMIB_RttMonStatsTotalsTable
// The HTTP statistics collection database. The HTTP statistics table
// contains summarized information of the results for a conceptual RTT control
// row. A rolling accumulated history of this information is maintained in a
// series of hourly 'group(s)'. The operation of this table is same as that
// of rttMonStatsCaptureTable, except that this table can only store a
// maximum of 2 hours of data.
RttMonHTTPStatsTable CISCORTTMONMIB_RttMonHTTPStatsTable
// The Jitter statistics collection database. The Jitter statistics table
// contains summarized information of the results for a conceptual RTT control
// row. A rolling accumulated history of this information is maintained in a
// series of hourly 'group(s)'. The operation of this table is same as that
// of rttMonStatsCaptureTable, except that this table will store 2 hours of
// data.
RttMonJitterStatsTable CISCORTTMONMIB_RttMonJitterStatsTable
// The Auto SAA L3 MPLS VPN LPD Group Database. The LPD Group statistics
// table contains summarized performance statistics for the LPD group. LPD
// Group - The set of 'single probes' which are subset of the 'lspGroup' probe
// traversing set of paths between two PE end points are grouped together and
// called as the LPD group. The LPD group will be uniquely referenced by the
// LPD Group ID. A rolling accumulated history of this information is
// maintained in a series of hourly 'group(s)'. Each conceptual statistics
// row has a current hourly group, into which RTT results are accumulated. At
// the end of each hour a new hourly group is created which then becomes
// current. The counters and accumulators in the new group are initialized to
// zero. The previous group(s) is kept in the table until the table contains
// rttMplsVpnMonTypeLpdStatHours groups for the conceptual statistics row; at
// this point, the oldest group is discarded and is replaced by the newly
// created one. The hourly group is uniquely identified by the
// rttMonLpdGrpStatsStartTimeIndex object.
RttMonLpdGrpStatsTable CISCORTTMONMIB_RttMonLpdGrpStatsTable
// The history collection database. The history table contains a point by
// point rolling history of the most recent RTT operations for each
// conceptual RTT control row. The rolling history of this information is
// maintained in a series of 'live(s)', each containing a series of
// 'bucket(s)', each 'bucket' contains a series of 'sample(s)'. Each
// conceptual history row can have lives. A life is defined by the
// rttMonCtrlOperRttLife object. A new life will be created when
// rttMonCtrlOperState transitions 'active'. When the number of lives become
// greater than rttMonHistoryAdminNumLives the oldest life will be discarded
// and a new life will be created by incrementing the index. The path
// exploration RTT operation will be kept as an entry in this table.
RttMonHistoryCollectionTable CISCORTTMONMIB_RttMonHistoryCollectionTable
// A table which contains the status of latest HTTP RTT operation.
RttMonLatestHTTPOperTable CISCORTTMONMIB_RttMonLatestHTTPOperTable
// A table which contains the status of latest Jitter operation.
RttMonLatestJitterOperTable CISCORTTMONMIB_RttMonLatestJitterOperTable
}
func (cISCORTTMONMIB *CISCORTTMONMIB) GetEntityData() *types.CommonEntityData {
cISCORTTMONMIB.EntityData.YFilter = cISCORTTMONMIB.YFilter
cISCORTTMONMIB.EntityData.YangName = "CISCO-RTTMON-MIB"
cISCORTTMONMIB.EntityData.BundleName = "cisco_ios_xe"
cISCORTTMONMIB.EntityData.ParentYangName = "CISCO-RTTMON-MIB"
cISCORTTMONMIB.EntityData.SegmentPath = "CISCO-RTTMON-MIB:CISCO-RTTMON-MIB"
cISCORTTMONMIB.EntityData.AbsolutePath = cISCORTTMONMIB.EntityData.SegmentPath
cISCORTTMONMIB.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cISCORTTMONMIB.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cISCORTTMONMIB.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cISCORTTMONMIB.EntityData.Children = types.NewOrderedMap()
cISCORTTMONMIB.EntityData.Children.Append("rttMonAppl", types.YChild{"RttMonAppl", &cISCORTTMONMIB.RttMonAppl})
cISCORTTMONMIB.EntityData.Children.Append("rttMonApplSupportedRttTypesTable", types.YChild{"RttMonApplSupportedRttTypesTable", &cISCORTTMONMIB.RttMonApplSupportedRttTypesTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonApplSupportedProtocolsTable", types.YChild{"RttMonApplSupportedProtocolsTable", &cISCORTTMONMIB.RttMonApplSupportedProtocolsTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonApplPreConfigedTable", types.YChild{"RttMonApplPreConfigedTable", &cISCORTTMONMIB.RttMonApplPreConfigedTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonApplAuthTable", types.YChild{"RttMonApplAuthTable", &cISCORTTMONMIB.RttMonApplAuthTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonCtrlAdminTable", types.YChild{"RttMonCtrlAdminTable", &cISCORTTMONMIB.RttMonCtrlAdminTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonEchoAdminTable", types.YChild{"RttMonEchoAdminTable", &cISCORTTMONMIB.RttMonEchoAdminTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonFileIOAdminTable", types.YChild{"RttMonFileIOAdminTable", &cISCORTTMONMIB.RttMonFileIOAdminTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonScriptAdminTable", types.YChild{"RttMonScriptAdminTable", &cISCORTTMONMIB.RttMonScriptAdminTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonReactTriggerAdminTable", types.YChild{"RttMonReactTriggerAdminTable", &cISCORTTMONMIB.RttMonReactTriggerAdminTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonEchoPathAdminTable", types.YChild{"RttMonEchoPathAdminTable", &cISCORTTMONMIB.RttMonEchoPathAdminTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonGrpScheduleAdminTable", types.YChild{"RttMonGrpScheduleAdminTable", &cISCORTTMONMIB.RttMonGrpScheduleAdminTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMplsVpnMonCtrlTable", types.YChild{"RttMplsVpnMonCtrlTable", &cISCORTTMONMIB.RttMplsVpnMonCtrlTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonReactTable", types.YChild{"RttMonReactTable", &cISCORTTMONMIB.RttMonReactTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonGeneratedOperTable", types.YChild{"RttMonGeneratedOperTable", &cISCORTTMONMIB.RttMonGeneratedOperTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonStatsCaptureTable", types.YChild{"RttMonStatsCaptureTable", &cISCORTTMONMIB.RttMonStatsCaptureTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonStatsCollectTable", types.YChild{"RttMonStatsCollectTable", &cISCORTTMONMIB.RttMonStatsCollectTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonStatsTotalsTable", types.YChild{"RttMonStatsTotalsTable", &cISCORTTMONMIB.RttMonStatsTotalsTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonHTTPStatsTable", types.YChild{"RttMonHTTPStatsTable", &cISCORTTMONMIB.RttMonHTTPStatsTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonJitterStatsTable", types.YChild{"RttMonJitterStatsTable", &cISCORTTMONMIB.RttMonJitterStatsTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonLpdGrpStatsTable", types.YChild{"RttMonLpdGrpStatsTable", &cISCORTTMONMIB.RttMonLpdGrpStatsTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonHistoryCollectionTable", types.YChild{"RttMonHistoryCollectionTable", &cISCORTTMONMIB.RttMonHistoryCollectionTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonLatestHTTPOperTable", types.YChild{"RttMonLatestHTTPOperTable", &cISCORTTMONMIB.RttMonLatestHTTPOperTable})
cISCORTTMONMIB.EntityData.Children.Append("rttMonLatestJitterOperTable", types.YChild{"RttMonLatestJitterOperTable", &cISCORTTMONMIB.RttMonLatestJitterOperTable})
cISCORTTMONMIB.EntityData.Leafs = types.NewOrderedMap()
cISCORTTMONMIB.EntityData.YListKeys = []string {}
return &(cISCORTTMONMIB.EntityData)
}
// CISCORTTMONMIB_RttMonAppl
type CISCORTTMONMIB_RttMonAppl struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Round Trip Time monitoring application version string. The format will be:
// 'Version.Release.Patch-Level: Textual-Description' For example: '1.0.0:
// Initial RTT Application'. The type is string.
RttMonApplVersion interface{}
// The maximum size of the data portion an echo packet supported by this RTT
// application. This is the maximum value that can be specified by
// (rttMonEchoAdminPktDataRequestSize + ARR Header) or
// (rttMonEchoAdminPktDataResponseSize + ARR Header) in the
// rttMonCtrlAdminTable. This object is undefined for conceptual RTT control
// rows when the RttMonRttType object is set to 'fileIO' or 'script'. The type
// is interface{} with range: 0..16384. Units are octets.
RttMonApplMaxPacketDataSize interface{}
// The last time at which a set operation occurred on any of the objects in
// this MIB. The managing application can inspect this value in order to
// determine whether changes have been made without retrieving the entire
// Administration portion of this MIB. This object applies to all settable
// objects in this MIB, including the 'Reset' objects that could clear saved
// history/statistics. The type is interface{} with range: 0..4294967295.
RttMonApplTimeOfLastSet interface{}
// This object defines the maximum number of entries that can be added to the
// rttMonCtrlAdminTable. It is calculated at the system init time. The value
// is impacted when rttMonApplFreeMemLowWaterMark is changed. The type is
// interface{} with range: 1..2147483647.
RttMonApplNumCtrlAdminEntry interface{}
// When set to 'reset' the entire RTT application goes through a reset
// sequence, making a best effort to revert to its startup condition. Any
// and all rows in the Overall Control Group will be immediately deleted,
// together with any associated rows in the Statistics Collection Group, and
// History Collection Group. All open connections will also be closed.
// Finally the rttMonApplPreConfigedTable will reset (see
// rttMonApplPreConfigedReset). The type is RttReset.
RttMonApplReset interface{}
// When set to 'reset' the RTT application will reset the Application
// Preconfigured MIB section. This will force the RTT application to delete
// all entries in the rttMonApplPreConfigedTable and then to repopulate the
// table with the current configuration. This provides a mechanism to load
// and unload user scripts and file paths. The type is RttReset.
RttMonApplPreConfigedReset interface{}
// This object defines the number of new probes that can be configured on a
// router. The number depends on the value of rttMonApplFreeMemLowWaterMark,
// free bytes available on the router and the system configured
// rttMonCtrlAdminEntry number. Equation: rttMonApplProbeCapacity =
// MIN(((Free_Bytes_on_the_Router - rttMonApplFreeMemLowWaterMark)/
// Memory_required_by_each_probe), rttMonApplNumCtrlAdminEntry -
// Num_of_Probes_already_configured)). The type is interface{} with range:
// 1..2147483647.
RttMonApplProbeCapacity interface{}
// This object defines the amount of free memory a router must have in order
// to configure RTR. If RTR found out that the memory is falling below this
// mark, it will not allow new probes to be configured. This value should not
// be set higher (or very close to) than the free bytes available on the
// router. The type is interface{} with range: 0..2147483647.
RttMonApplFreeMemLowWaterMark interface{}
// An error description for the last error message caused by set. Currently,
// it includes set error caused due to setting rttMonApplFreeMemLowWaterMark
// greater than the available free memory on the router or not enough memory
// left to create new probes. The type is string.
RttMonApplLatestSetError interface{}
// Enable or disable RTR responder on the router. The type is bool.
RttMonApplResponder interface{}
// This object is used to reset certain objects within the
// rttMonLpdGrpStatsTable. When the object is set to value of an active LPD
// Group identifier the associated objects will be reset. The reset objects
// will be set to a value as specified in the object's description. The
// following objects will not be reset. - rttMonLpdGrpStatsTargetPE -
// rttMonLpdGrpStatsGroupProbeIndex - rttMonLpdGrpStatsGroupIndex -
// rttMonLpdGrpStatsStartTimeIndex. The type is interface{} with range:
// 0..2147483647.
RttMonApplLpdGrpStatsReset interface{}
}
func (rttMonAppl *CISCORTTMONMIB_RttMonAppl) GetEntityData() *types.CommonEntityData {
rttMonAppl.EntityData.YFilter = rttMonAppl.YFilter
rttMonAppl.EntityData.YangName = "rttMonAppl"
rttMonAppl.EntityData.BundleName = "cisco_ios_xe"
rttMonAppl.EntityData.ParentYangName = "CISCO-RTTMON-MIB"
rttMonAppl.EntityData.SegmentPath = "rttMonAppl"
rttMonAppl.EntityData.AbsolutePath = "CISCO-RTTMON-MIB:CISCO-RTTMON-MIB/" + rttMonAppl.EntityData.SegmentPath
rttMonAppl.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
rttMonAppl.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
rttMonAppl.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
rttMonAppl.EntityData.Children = types.NewOrderedMap()
rttMonAppl.EntityData.Leafs = types.NewOrderedMap()
rttMonAppl.EntityData.Leafs.Append("rttMonApplVersion", types.YLeaf{"RttMonApplVersion", rttMonAppl.RttMonApplVersion})
rttMonAppl.EntityData.Leafs.Append("rttMonApplMaxPacketDataSize", types.YLeaf{"RttMonApplMaxPacketDataSize", rttMonAppl.RttMonApplMaxPacketDataSize})
rttMonAppl.EntityData.Leafs.Append("rttMonApplTimeOfLastSet", types.YLeaf{"RttMonApplTimeOfLastSet", rttMonAppl.RttMonApplTimeOfLastSet})
rttMonAppl.EntityData.Leafs.Append("rttMonApplNumCtrlAdminEntry", types.YLeaf{"RttMonApplNumCtrlAdminEntry", rttMonAppl.RttMonApplNumCtrlAdminEntry})
rttMonAppl.EntityData.Leafs.Append("rttMonApplReset", types.YLeaf{"RttMonApplReset", rttMonAppl.RttMonApplReset})
rttMonAppl.EntityData.Leafs.Append("rttMonApplPreConfigedReset", types.YLeaf{"RttMonApplPreConfigedReset", rttMonAppl.RttMonApplPreConfigedReset})
rttMonAppl.EntityData.Leafs.Append("rttMonApplProbeCapacity", types.YLeaf{"RttMonApplProbeCapacity", rttMonAppl.RttMonApplProbeCapacity})
rttMonAppl.EntityData.Leafs.Append("rttMonApplFreeMemLowWaterMark", types.YLeaf{"RttMonApplFreeMemLowWaterMark", rttMonAppl.RttMonApplFreeMemLowWaterMark})
rttMonAppl.EntityData.Leafs.Append("rttMonApplLatestSetError", types.YLeaf{"RttMonApplLatestSetError", rttMonAppl.RttMonApplLatestSetError})
rttMonAppl.EntityData.Leafs.Append("rttMonApplResponder", types.YLeaf{"RttMonApplResponder", rttMonAppl.RttMonApplResponder})
rttMonAppl.EntityData.Leafs.Append("rttMonApplLpdGrpStatsReset", types.YLeaf{"RttMonApplLpdGrpStatsReset", rttMonAppl.RttMonApplLpdGrpStatsReset})
rttMonAppl.EntityData.YListKeys = []string {}
return &(rttMonAppl.EntityData)
}
// CISCORTTMONMIB_RttMonApplSupportedRttTypesTable
// A table of which contains the supported Rtt
// Monitor Types.
//
// See the RttMonRttType textual convention for
// the definition of each type.
type CISCORTTMONMIB_RttMonApplSupportedRttTypesTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// A list that presents the valid Rtt Monitor Types. The type is slice of
// CISCORTTMONMIB_RttMonApplSupportedRttTypesTable_RttMonApplSupportedRttTypesEntry.
RttMonApplSupportedRttTypesEntry []*CISCORTTMONMIB_RttMonApplSupportedRttTypesTable_RttMonApplSupportedRttTypesEntry
}
func (rttMonApplSupportedRttTypesTable *CISCORTTMONMIB_RttMonApplSupportedRttTypesTable) GetEntityData() *types.CommonEntityData {
rttMonApplSupportedRttTypesTable.EntityData.YFilter = rttMonApplSupportedRttTypesTable.YFilter
rttMonApplSupportedRttTypesTable.EntityData.YangName = "rttMonApplSupportedRttTypesTable"
rttMonApplSupportedRttTypesTable.EntityData.BundleName = "cisco_ios_xe"
rttMonApplSupportedRttTypesTable.EntityData.ParentYangName = "CISCO-RTTMON-MIB"
rttMonApplSupportedRttTypesTable.EntityData.SegmentPath = "rttMonApplSupportedRttTypesTable"
rttMonApplSupportedRttTypesTable.EntityData.AbsolutePath = "CISCO-RTTMON-MIB:CISCO-RTTMON-MIB/" + rttMonApplSupportedRttTypesTable.EntityData.SegmentPath
rttMonApplSupportedRttTypesTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
rttMonApplSupportedRttTypesTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
rttMonApplSupportedRttTypesTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
rttMonApplSupportedRttTypesTable.EntityData.Children = types.NewOrderedMap()
rttMonApplSupportedRttTypesTable.EntityData.Children.Append("rttMonApplSupportedRttTypesEntry", types.YChild{"RttMonApplSupportedRttTypesEntry", nil})
for i := range rttMonApplSupportedRttTypesTable.RttMonApplSupportedRttTypesEntry {
rttMonApplSupportedRttTypesTable.EntityData.Children.Append(types.GetSegmentPath(rttMonApplSupportedRttTypesTable.RttMonApplSupportedRttTypesEntry[i]), types.YChild{"RttMonApplSupportedRttTypesEntry", rttMonApplSupportedRttTypesTable.RttMonApplSupportedRttTypesEntry[i]})
}
rttMonApplSupportedRttTypesTable.EntityData.Leafs = types.NewOrderedMap()
rttMonApplSupportedRttTypesTable.EntityData.YListKeys = []string {}
return &(rttMonApplSupportedRttTypesTable.EntityData)
}
// CISCORTTMONMIB_RttMonApplSupportedRttTypesTable_RttMonApplSupportedRttTypesEntry
// A list that presents the valid Rtt Monitor
// Types.
type CISCORTTMONMIB_RttMonApplSupportedRttTypesTable_RttMonApplSupportedRttTypesEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. This object indexes the supported 'RttMonRttType'
// types. The type is RttMonRttType.
RttMonApplSupportedRttTypes interface{}
// This object defines the supported 'RttMonRttType' types. The type is bool.
RttMonApplSupportedRttTypesValid interface{}
}
func (rttMonApplSupportedRttTypesEntry *CISCORTTMONMIB_RttMonApplSupportedRttTypesTable_RttMonApplSupportedRttTypesEntry) GetEntityData() *types.CommonEntityData {
rttMonApplSupportedRttTypesEntry.EntityData.YFilter = rttMonApplSupportedRttTypesEntry.YFilter
rttMonApplSupportedRttTypesEntry.EntityData.YangName = "rttMonApplSupportedRttTypesEntry"
rttMonApplSupportedRttTypesEntry.EntityData.BundleName = "cisco_ios_xe"
rttMonApplSupportedRttTypesEntry.EntityData.ParentYangName = "rttMonApplSupportedRttTypesTable"
rttMonApplSupportedRttTypesEntry.EntityData.SegmentPath = "rttMonApplSupportedRttTypesEntry" + types.AddKeyToken(rttMonApplSupportedRttTypesEntry.RttMonApplSupportedRttTypes, "rttMonApplSupportedRttTypes")
rttMonApplSupportedRttTypesEntry.EntityData.AbsolutePath = "CISCO-RTTMON-MIB:CISCO-RTTMON-MIB/rttMonApplSupportedRttTypesTable/" + rttMonApplSupportedRttTypesEntry.EntityData.SegmentPath
rttMonApplSupportedRttTypesEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
rttMonApplSupportedRttTypesEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
rttMonApplSupportedRttTypesEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
rttMonApplSupportedRttTypesEntry.EntityData.Children = types.NewOrderedMap()
rttMonApplSupportedRttTypesEntry.EntityData.Leafs = types.NewOrderedMap()
rttMonApplSupportedRttTypesEntry.EntityData.Leafs.Append("rttMonApplSupportedRttTypes", types.YLeaf{"RttMonApplSupportedRttTypes", rttMonApplSupportedRttTypesEntry.RttMonApplSupportedRttTypes})
rttMonApplSupportedRttTypesEntry.EntityData.Leafs.Append("rttMonApplSupportedRttTypesValid", types.YLeaf{"RttMonApplSupportedRttTypesValid", rttMonApplSupportedRttTypesEntry.RttMonApplSupportedRttTypesValid})
rttMonApplSupportedRttTypesEntry.EntityData.YListKeys = []string {"RttMonApplSupportedRttTypes"}
return &(rttMonApplSupportedRttTypesEntry.EntityData)
}
// CISCORTTMONMIB_RttMonApplSupportedProtocolsTable
// A table of which contains the supported Rtt
// Monitor Protocols.
//
// See the RttMonProtocol textual convention
// for the definition of each protocol.
type CISCORTTMONMIB_RttMonApplSupportedProtocolsTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// A list that presents the valid Rtt Monitor Protocols. The type is slice of
// CISCORTTMONMIB_RttMonApplSupportedProtocolsTable_RttMonApplSupportedProtocolsEntry.
RttMonApplSupportedProtocolsEntry []*CISCORTTMONMIB_RttMonApplSupportedProtocolsTable_RttMonApplSupportedProtocolsEntry
}
func (rttMonApplSupportedProtocolsTable *CISCORTTMONMIB_RttMonApplSupportedProtocolsTable) GetEntityData() *types.CommonEntityData {
rttMonApplSupportedProtocolsTable.EntityData.YFilter = rttMonApplSupportedProtocolsTable.YFilter
rttMonApplSupportedProtocolsTable.EntityData.YangName = "rttMonApplSupportedProtocolsTable"
rttMonApplSupportedProtocolsTable.EntityData.BundleName = "cisco_ios_xe"
rttMonApplSupportedProtocolsTable.EntityData.ParentYangName = "CISCO-RTTMON-MIB"
rttMonApplSupportedProtocolsTable.EntityData.SegmentPath = "rttMonApplSupportedProtocolsTable"
rttMonApplSupportedProtocolsTable.EntityData.AbsolutePath = "CISCO-RTTMON-MIB:CISCO-RTTMON-MIB/" + rttMonApplSupportedProtocolsTable.EntityData.SegmentPath
rttMonApplSupportedProtocolsTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
rttMonApplSupportedProtocolsTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
rttMonApplSupportedProtocolsTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
rttMonApplSupportedProtocolsTable.EntityData.Children = types.NewOrderedMap()
rttMonApplSupportedProtocolsTable.EntityData.Children.Append("rttMonApplSupportedProtocolsEntry", types.YChild{"RttMonApplSupportedProtocolsEntry", nil})
for i := range rttMonApplSupportedProtocolsTable.RttMonApplSupportedProtocolsEntry {
rttMonApplSupportedProtocolsTable.EntityData.Children.Append(types.GetSegmentPath(rttMonApplSupportedProtocolsTable.RttMonApplSupportedProtocolsEntry[i]), types.YChild{"RttMonApplSupportedProtocolsEntry", rttMonApplSupportedProtocolsTable.RttMonApplSupportedProtocolsEntry[i]})
}
rttMonApplSupportedProtocolsTable.EntityData.Leafs = types.NewOrderedMap()
rttMonApplSupportedProtocolsTable.EntityData.YListKeys = []string {}
return &(rttMonApplSupportedProtocolsTable.EntityData)
}
// CISCORTTMONMIB_RttMonApplSupportedProtocolsTable_RttMonApplSupportedProtocolsEntry
// A list that presents the valid Rtt Monitor
// Protocols.
type CISCORTTMONMIB_RttMonApplSupportedProtocolsTable_RttMonApplSupportedProtocolsEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. This object indexes the supported 'RttMonProtocol'
// protocols. The type is RttMonProtocol.
RttMonApplSupportedProtocols interface{}
// This object defines the supported 'RttMonProtocol' protocols. The type is
// bool.
RttMonApplSupportedProtocolsValid interface{}
}
func (rttMonApplSupportedProtocolsEntry *CISCORTTMONMIB_RttMonApplSupportedProtocolsTable_RttMonApplSupportedProtocolsEntry) GetEntityData() *types.CommonEntityData {
rttMonApplSupportedProtocolsEntry.EntityData.YFilter = rttMonApplSupportedProtocolsEntry.YFilter
rttMonApplSupportedProtocolsEntry.EntityData.YangName = "rttMonApplSupportedProtocolsEntry"
rttMonApplSupportedProtocolsEntry.EntityData.BundleName = "cisco_ios_xe"
rttMonApplSupportedProtocolsEntry.EntityData.ParentYangName = "rttMonApplSupportedProtocolsTable"
rttMonApplSupportedProtocolsEntry.EntityData.SegmentPath = "rttMonApplSupportedProtocolsEntry" + types.AddKeyToken(rttMonApplSupportedProtocolsEntry.RttMonApplSupportedProtocols, "rttMonApplSupportedProtocols")
rttMonApplSupportedProtocolsEntry.EntityData.AbsolutePath = "CISCO-RTTMON-MIB:CISCO-RTTMON-MIB/rttMonApplSupportedProtocolsTable/" + rttMonApplSupportedProtocolsEntry.EntityData.SegmentPath
rttMonApplSupportedProtocolsEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
rttMonApplSupportedProtocolsEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
rttMonApplSupportedProtocolsEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
rttMonApplSupportedProtocolsEntry.EntityData.Children = types.NewOrderedMap()
rttMonApplSupportedProtocolsEntry.EntityData.Leafs = types.NewOrderedMap()
rttMonApplSupportedProtocolsEntry.EntityData.Leafs.Append("rttMonApplSupportedProtocols", types.YLeaf{"RttMonApplSupportedProtocols", rttMonApplSupportedProtocolsEntry.RttMonApplSupportedProtocols})
rttMonApplSupportedProtocolsEntry.EntityData.Leafs.Append("rttMonApplSupportedProtocolsValid", types.YLeaf{"RttMonApplSupportedProtocolsValid", rttMonApplSupportedProtocolsEntry.RttMonApplSupportedProtocolsValid})
rttMonApplSupportedProtocolsEntry.EntityData.YListKeys = []string {"RttMonApplSupportedProtocols"}
return &(rttMonApplSupportedProtocolsEntry.EntityData)
}
// CISCORTTMONMIB_RttMonApplPreConfigedTable
// A table of which contains the previously
// configured Script Names and File IO targets.
//
// These Script Names and File IO targets are installed
// via a different mechanism than this application, and
// are specific to each platform.
type CISCORTTMONMIB_RttMonApplPreConfigedTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// A list of objects that describe the previously configured Script Names and
// File IO targets. The type is slice of
// CISCORTTMONMIB_RttMonApplPreConfigedTable_RttMonApplPreConfigedEntry.
RttMonApplPreConfigedEntry []*CISCORTTMONMIB_RttMonApplPreConfigedTable_RttMonApplPreConfigedEntry
}
func (rttMonApplPreConfigedTable *CISCORTTMONMIB_RttMonApplPreConfigedTable) GetEntityData() *types.CommonEntityData {
rttMonApplPreConfigedTable.EntityData.YFilter = rttMonApplPreConfigedTable.YFilter
rttMonApplPreConfigedTable.EntityData.YangName = "rttMonApplPreConfigedTable"
rttMonApplPreConfigedTable.EntityData.BundleName = "cisco_ios_xe"
rttMonApplPreConfigedTable.EntityData.ParentYangName = "CISCO-RTTMON-MIB"
rttMonApplPreConfigedTable.EntityData.SegmentPath = "rttMonApplPreConfigedTable"
rttMonApplPreConfigedTable.EntityData.AbsolutePath = "CISCO-RTTMON-MIB:CISCO-RTTMON-MIB/" + rttMonApplPreConfigedTable.EntityData.SegmentPath
rttMonApplPreConfigedTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
rttMonApplPreConfigedTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
rttMonApplPreConfigedTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
rttMonApplPreConfigedTable.EntityData.Children = types.NewOrderedMap()
rttMonApplPreConfigedTable.EntityData.Children.Append("rttMonApplPreConfigedEntry", types.YChild{"RttMonApplPreConfigedEntry", nil})
for i := range rttMonApplPreConfigedTable.RttMonApplPreConfigedEntry {
rttMonApplPreConfigedTable.EntityData.Children.Append(types.GetSegmentPath(rttMonApplPreConfigedTable.RttMonApplPreConfigedEntry[i]), types.YChild{"RttMonApplPreConfigedEntry", rttMonApplPreConfigedTable.RttMonApplPreConfigedEntry[i]})
}
rttMonApplPreConfigedTable.EntityData.Leafs = types.NewOrderedMap()
rttMonApplPreConfigedTable.EntityData.YListKeys = []string {}
return &(rttMonApplPreConfigedTable.EntityData)
}
// CISCORTTMONMIB_RttMonApplPreConfigedTable_RttMonApplPreConfigedEntry
// A list of objects that describe the previously
// configured Script Names and File IO targets.
type CISCORTTMONMIB_RttMonApplPreConfigedTable_RttMonApplPreConfigedEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. This is the type of value being stored in the
// rttMonApplPreConfigedName object. The type is RttMonApplPreConfigedType.
RttMonApplPreConfigedType interface{}
// This attribute is a key. This is either one of the following depending on
// the value of the rttMonApplPreConfigedType object: - The file path to a
// server. One of these file paths must be used when defining an entry in
// the rttMonFileIOAdminTable table with 'fileIO' as the value of the
// rttMonCtrlAdminRttType object. - The script name to be used when
// generating RTT operations. One of these script names must be used
// when defining an entry in the rttMonScriptAdminTable table with
// 'script' as the value of the rttMonCtrlAdminRttType object. NOTE: For
// script names, command line parameters can follow these names in the
// rttMonScriptAdminTable table. The type is string.
RttMonApplPreConfigedName interface{}
// When this row exists, this value will be 'true'. This object exists only to
// create a valid row in this table. The type is bool.
RttMonApplPreConfigedValid interface{}
}
func (rttMonApplPreConfigedEntry *CISCORTTMONMIB_RttMonApplPreConfigedTable_RttMonApplPreConfigedEntry) GetEntityData() *types.CommonEntityData {
rttMonApplPreConfigedEntry.EntityData.YFilter = rttMonApplPreConfigedEntry.YFilter
rttMonApplPreConfigedEntry.EntityData.YangName = "rttMonApplPreConfigedEntry"
rttMonApplPreConfigedEntry.EntityData.BundleName = "cisco_ios_xe"
rttMonApplPreConfigedEntry.EntityData.ParentYangName = "rttMonApplPreConfigedTable"
rttMonApplPreConfigedEntry.EntityData.SegmentPath = "rttMonApplPreConfigedEntry" + types.AddKeyToken(rttMonApplPreConfigedEntry.RttMonApplPreConfigedType, "rttMonApplPreConfigedType") + types.AddKeyToken(rttMonApplPreConfigedEntry.RttMonApplPreConfigedName, "rttMonApplPreConfigedName")
rttMonApplPreConfigedEntry.EntityData.AbsolutePath = "CISCO-RTTMON-MIB:CISCO-RTTMON-MIB/rttMonApplPreConfigedTable/" + rttMonApplPreConfigedEntry.EntityData.SegmentPath
rttMonApplPreConfigedEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
rttMonApplPreConfigedEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
rttMonApplPreConfigedEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
rttMonApplPreConfigedEntry.EntityData.Children = types.NewOrderedMap()
rttMonApplPreConfigedEntry.EntityData.Leafs = types.NewOrderedMap()
rttMonApplPreConfigedEntry.EntityData.Leafs.Append("rttMonApplPreConfigedType", types.YLeaf{"RttMonApplPreConfigedType", rttMonApplPreConfigedEntry.RttMonApplPreConfigedType})
rttMonApplPreConfigedEntry.EntityData.Leafs.Append("rttMonApplPreConfigedName", types.YLeaf{"RttMonApplPreConfigedName", rttMonApplPreConfigedEntry.RttMonApplPreConfigedName})
rttMonApplPreConfigedEntry.EntityData.Leafs.Append("rttMonApplPreConfigedValid", types.YLeaf{"RttMonApplPreConfigedValid", rttMonApplPreConfigedEntry.RttMonApplPreConfigedValid})
rttMonApplPreConfigedEntry.EntityData.YListKeys = []string {"RttMonApplPreConfigedType", "RttMonApplPreConfigedName"}
return &(rttMonApplPreConfigedEntry.EntityData)
}
// CISCORTTMONMIB_RttMonApplPreConfigedTable_RttMonApplPreConfigedEntry_RttMonApplPreConfigedType represents rttMonApplPreConfigedName object.
type CISCORTTMONMIB_RttMonApplPreConfigedTable_RttMonApplPreConfigedEntry_RttMonApplPreConfigedType string
const (
CISCORTTMONMIB_RttMonApplPreConfigedTable_RttMonApplPreConfigedEntry_RttMonApplPreConfigedType_filePath CISCORTTMONMIB_RttMonApplPreConfigedTable_RttMonApplPreConfigedEntry_RttMonApplPreConfigedType = "filePath"
CISCORTTMONMIB_RttMonApplPreConfigedTable_RttMonApplPreConfigedEntry_RttMonApplPreConfigedType_scriptName CISCORTTMONMIB_RttMonApplPreConfigedTable_RttMonApplPreConfigedEntry_RttMonApplPreConfigedType = "scriptName"
)
// CISCORTTMONMIB_RttMonApplAuthTable
// A table which contains the definitions for key-strings
// that will be used in authenticating RTR Control Protocol.
type CISCORTTMONMIB_RttMonApplAuthTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// A list that presents the valid parameters for Authenticating RTR Control
// Protocol. The type is slice of
// CISCORTTMONMIB_RttMonApplAuthTable_RttMonApplAuthEntry.
RttMonApplAuthEntry []*CISCORTTMONMIB_RttMonApplAuthTable_RttMonApplAuthEntry
}
func (rttMonApplAuthTable *CISCORTTMONMIB_RttMonApplAuthTable) GetEntityData() *types.CommonEntityData {
rttMonApplAuthTable.EntityData.YFilter = rttMonApplAuthTable.YFilter
rttMonApplAuthTable.EntityData.YangName = "rttMonApplAuthTable"
rttMonApplAuthTable.EntityData.BundleName = "cisco_ios_xe"
rttMonApplAuthTable.EntityData.ParentYangName = "CISCO-RTTMON-MIB"
rttMonApplAuthTable.EntityData.SegmentPath = "rttMonApplAuthTable"
rttMonApplAuthTable.EntityData.AbsolutePath = "CISCO-RTTMON-MIB:CISCO-RTTMON-MIB/" + rttMonApplAuthTable.EntityData.SegmentPath
rttMonApplAuthTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
rttMonApplAuthTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
rttMonApplAuthTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
rttMonApplAuthTable.EntityData.Children = types.NewOrderedMap()
rttMonApplAuthTable.EntityData.Children.Append("rttMonApplAuthEntry", types.YChild{"RttMonApplAuthEntry", nil})
for i := range rttMonApplAuthTable.RttMonApplAuthEntry {
rttMonApplAuthTable.EntityData.Children.Append(types.GetSegmentPath(rttMonApplAuthTable.RttMonApplAuthEntry[i]), types.YChild{"RttMonApplAuthEntry", rttMonApplAuthTable.RttMonApplAuthEntry[i]})
}
rttMonApplAuthTable.EntityData.Leafs = types.NewOrderedMap()
rttMonApplAuthTable.EntityData.YListKeys = []string {}
return &(rttMonApplAuthTable.EntityData)
}
// CISCORTTMONMIB_RttMonApplAuthTable_RttMonApplAuthEntry
// A list that presents the valid parameters for Authenticating
// RTR Control Protocol.
type CISCORTTMONMIB_RttMonApplAuthTable_RttMonApplAuthEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. Uniquely identifies a row in the
// rttMonApplAuthTable. This is a pseudo-random number selected by the
// management station when creating a row via the rttMonApplAuthStatus
// object. If the pseudo-random number is already in use, an
// 'inconsistentValue' is returned. Currently, only one row can be created.
// The type is interface{} with range: 0..2147483647.
RttMonApplAuthIndex interface{}
// A string which represents the key-chain name. If multiple key-strings are
// specified, then the authenticator will alternate between the specified
// strings. The type is string with length: 1..48.
RttMonApplAuthKeyChain interface{}
// A string which represents a key-string name whose id is 1. The type is
// string with length: 1..48.
RttMonApplAuthKeyString1 interface{}
// A string which represents a key-string name whose id is 2. The type is
// string with length: 1..48.
RttMonApplAuthKeyString2 interface{}
// A string which represents a key-string name whose id is 3. The type is
// string with length: 1..48.
RttMonApplAuthKeyString3 interface{}
// A string which represents a key-string name whose id is 4. The type is
// string with length: 1..48.
RttMonApplAuthKeyString4 interface{}
// A string which represents a key-string name whose id is 5. The type is
// string with length: 1..48.
RttMonApplAuthKeyString5 interface{}
// The status of the Authentication row. The type is RowStatus.
RttMonApplAuthStatus interface{}
}
func (rttMonApplAuthEntry *CISCORTTMONMIB_RttMonApplAuthTable_RttMonApplAuthEntry) GetEntityData() *types.CommonEntityData {
rttMonApplAuthEntry.EntityData.YFilter = rttMonApplAuthEntry.YFilter
rttMonApplAuthEntry.EntityData.YangName = "rttMonApplAuthEntry"
rttMonApplAuthEntry.EntityData.BundleName = "cisco_ios_xe"
rttMonApplAuthEntry.EntityData.ParentYangName = "rttMonApplAuthTable"
rttMonApplAuthEntry.EntityData.SegmentPath = "rttMonApplAuthEntry" + types.AddKeyToken(rttMonApplAuthEntry.RttMonApplAuthIndex, "rttMonApplAuthIndex")
rttMonApplAuthEntry.EntityData.AbsolutePath = "CISCO-RTTMON-MIB:CISCO-RTTMON-MIB/rttMonApplAuthTable/" + rttMonApplAuthEntry.EntityData.SegmentPath
rttMonApplAuthEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
rttMonApplAuthEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
rttMonApplAuthEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
rttMonApplAuthEntry.EntityData.Children = types.NewOrderedMap()
rttMonApplAuthEntry.EntityData.Leafs = types.NewOrderedMap()
rttMonApplAuthEntry.EntityData.Leafs.Append("rttMonApplAuthIndex", types.YLeaf{"RttMonApplAuthIndex", rttMonApplAuthEntry.RttMonApplAuthIndex})
rttMonApplAuthEntry.EntityData.Leafs.Append("rttMonApplAuthKeyChain", types.YLeaf{"RttMonApplAuthKeyChain", rttMonApplAuthEntry.RttMonApplAuthKeyChain})
rttMonApplAuthEntry.EntityData.Leafs.Append("rttMonApplAuthKeyString1", types.YLeaf{"RttMonApplAuthKeyString1", rttMonApplAuthEntry.RttMonApplAuthKeyString1})
rttMonApplAuthEntry.EntityData.Leafs.Append("rttMonApplAuthKeyString2", types.YLeaf{"RttMonApplAuthKeyString2", rttMonApplAuthEntry.RttMonApplAuthKeyString2})
rttMonApplAuthEntry.EntityData.Leafs.Append("rttMonApplAuthKeyString3", types.YLeaf{"RttMonApplAuthKeyString3", rttMonApplAuthEntry.RttMonApplAuthKeyString3})
rttMonApplAuthEntry.EntityData.Leafs.Append("rttMonApplAuthKeyString4", types.YLeaf{"RttMonApplAuthKeyString4", rttMonApplAuthEntry.RttMonApplAuthKeyString4})
rttMonApplAuthEntry.EntityData.Leafs.Append("rttMonApplAuthKeyString5", types.YLeaf{"RttMonApplAuthKeyString5", rttMonApplAuthEntry.RttMonApplAuthKeyString5})
rttMonApplAuthEntry.EntityData.Leafs.Append("rttMonApplAuthStatus", types.YLeaf{"RttMonApplAuthStatus", rttMonApplAuthEntry.RttMonApplAuthStatus})
rttMonApplAuthEntry.EntityData.YListKeys = []string {"RttMonApplAuthIndex"}
return &(rttMonApplAuthEntry.EntityData)
}
// CISCORTTMONMIB_RttMonCtrlAdminTable
// A table of Round Trip Time (RTT) monitoring definitions.
//
// The RTT administration control is in multiple tables.
// This first table, is used to create a conceptual RTT
// control row. The following tables contain objects which
// configure scheduling, information gathering, and
// notification/trigger generation. All of these tables
// will create the same conceptual RTT control row as this
// table using this tables' index as their own index.
//
// This table is limited in size by the agent
// implementation. The object rttMonApplNumCtrlAdminEntry
// will reflect this tables maximum number of entries.
type CISCORTTMONMIB_RttMonCtrlAdminTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// A base list of objects that define a conceptual RTT control row. The type
// is slice of CISCORTTMONMIB_RttMonCtrlAdminTable_RttMonCtrlAdminEntry.
RttMonCtrlAdminEntry []*CISCORTTMONMIB_RttMonCtrlAdminTable_RttMonCtrlAdminEntry
}
func (rttMonCtrlAdminTable *CISCORTTMONMIB_RttMonCtrlAdminTable) GetEntityData() *types.CommonEntityData {
rttMonCtrlAdminTable.EntityData.YFilter = rttMonCtrlAdminTable.YFilter
rttMonCtrlAdminTable.EntityData.YangName = "rttMonCtrlAdminTable"
rttMonCtrlAdminTable.EntityData.BundleName = "cisco_ios_xe"
rttMonCtrlAdminTable.EntityData.ParentYangName = "CISCO-RTTMON-MIB"
rttMonCtrlAdminTable.EntityData.SegmentPath = "rttMonCtrlAdminTable"
rttMonCtrlAdminTable.EntityData.AbsolutePath = "CISCO-RTTMON-MIB:CISCO-RTTMON-MIB/" + rttMonCtrlAdminTable.EntityData.SegmentPath
rttMonCtrlAdminTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
rttMonCtrlAdminTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
rttMonCtrlAdminTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
rttMonCtrlAdminTable.EntityData.Children = types.NewOrderedMap()
rttMonCtrlAdminTable.EntityData.Children.Append("rttMonCtrlAdminEntry", types.YChild{"RttMonCtrlAdminEntry", nil})
for i := range rttMonCtrlAdminTable.RttMonCtrlAdminEntry {
rttMonCtrlAdminTable.EntityData.Children.Append(types.GetSegmentPath(rttMonCtrlAdminTable.RttMonCtrlAdminEntry[i]), types.YChild{"RttMonCtrlAdminEntry", rttMonCtrlAdminTable.RttMonCtrlAdminEntry[i]})
}
rttMonCtrlAdminTable.EntityData.Leafs = types.NewOrderedMap()
rttMonCtrlAdminTable.EntityData.YListKeys = []string {}
return &(rttMonCtrlAdminTable.EntityData)
}
// CISCORTTMONMIB_RttMonCtrlAdminTable_RttMonCtrlAdminEntry
// A base list of objects that define a conceptual RTT
// control row.
type CISCORTTMONMIB_RttMonCtrlAdminTable_RttMonCtrlAdminEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. Uniquely identifies a row in the
// rttMonCtrlAdminTable. This is a pseudo-random number, selected by the
// management station or auto-generated based on operation started by the
// management station,when creating a row via the rttMonCtrlAdminStatus
// object. If the pseudo-random number is already in use an
// 'inconsistentValue' return code will be returned when set operation is
// attempted. The type is interface{} with range: 1..2147483647.
RttMonCtrlAdminIndex interface{}
// Identifies the entity that created this table row. The type is string with
// length: 0..255.
RttMonCtrlAdminOwner interface{}
// A string which is used by a managing application to identify the RTT
// target. This string is inserted into trap notifications, but has no other
// significance to the agent. The type is string with length: 0..16.
RttMonCtrlAdminTag interface{}
// The type of RTT operation to be performed. This value must be set in the
// same PDU or before setting any type specific configuration. Note: The RTT
// operation 'lspGroup' cannot be created via this control row. It will be
// created automatically by Auto SAA L3 MPLS VPN when rttMplsVpnMonCtrlLpd is
// 'true'. The type is RttMonRttType.
RttMonCtrlAdminRttType interface{}
// This object defines an administrative threshold limit. If the RTT operation
// time exceeds this limit and if the conditions specified in
// rttMonReactAdminThresholdType or rttMonHistoryAdminFilter are satisfied, a
// threshold is generated. The type is interface{} with range: 0..2147483647.
// Units are milliseconds.
RttMonCtrlAdminThreshold interface{}
// Specifies the duration between initiating each RTT operation. This object
// cannot be set to a value which would be a shorter duration than
// rttMonCtrlAdminTimeout. When the RttMonRttType specifies an operation that
// is synchronous in nature, it may happen that the next RTT operation is
// blocked by a RTT operation which has not yet completed. In this case, the
// value of a counter (rttMonStatsCollectBusies) in rttMonStatsCaptureTable is
// incremented in lieu of initiating a RTT operation, and the next attempt
// will occur at the next rttMonCtrlAdminFrequency expiration. NOTE: When
// the rttMonCtrlAdminRttType object is defined to be 'pathEcho',
// setting this value to a small value for your network size may cause
// an operation attempt (or multiple attempts) to be started
// before the previous operation has finished. In this situation the
// rttMonStatsCollectBusies object will be incremented in lieu of
// initiating a new RTT operation, and the next attempt will occur at
// the next rttMonCtrlAdminFrequency expiration. When the
// rttMonCtrlAdminRttType object is defined to be 'pathEcho', the suggested