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_vpdn_mgmt_mib.go
1963 lines (1585 loc) · 126 KB
/
cisco_vpdn_mgmt_mib.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// The MIB module for VPDN.
//
// Overview of VPDN MIB
//
// MIB description
//
// This MIB is to support the Virtual Private Dialup Network (VPDN)
// feature of Cisco IOS. VPDN handles the forwarding of PPP links
// from an Internet Provider (ISP) to a Home Gateway.
//
// The VPDN MIB provides the operational information on Cisco's
// VPDN tunnelling implementation. The following entities are
// managed:
// 1) Global VPDN information
// 2) VPDN tunnel information
// 3) VPDN tunnel's user information
// 4) Failure history per user
//
// The following example configuration shows how the VPDN MIB
// returns VPDN information, from either CISCO A - Network Access
// Server (NAS) or CISCO B - Tunnel Server (TS). The User call is
// projected by either domain name or Dialed Number Identification
// Service (DNIS).
//
// The terms NAS and TS are generic terms refering to the VPDN
// systems.
//
// The following table shows the corresponding technology-specific
// terms.
//
// Network Access Server Tunnel Server
// ------------------------------ -------------------------
// L2F Network Access Server (NAS) Home Gateway (HGW)
// L2TP L2TP Access Concentrator (LAC) L2TP Network Server (LNS)
// PPTP PPTP Access Concentrator (PAC) PPTP Network Server (PNS)
//
// (NAS) (TS)
// User ===== Cisco A ===== IP Network ===== Cisco B ===== Server
// | |
// +========== VPDN ==========+
//
// 1) The VPDN global entry identifies the system wide VPDN
// information.
// 2) The VPDN tunnel table identifies the active VPDN tunnels on
// Cisco A and Cisco B. The table contains an entry for each
// active tunnel on the system.
// 3) The VPDN tunnel user table identifies the active users for
// each active tunnel on each system and provides relevant
// information for each user.
// 4) The VPDN failure history table identifies the last failure
// recorded per user and provides relevant information.
package cisco_vpdn_mgmt_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_vpdn_mgmt_mib"))
ydk.RegisterEntity("{urn:ietf:params:xml:ns:yang:smiv2:CISCO-VPDN-MGMT-MIB CISCO-VPDN-MGMT-MIB}", reflect.TypeOf(CISCOVPDNMGMTMIB{}))
ydk.RegisterEntity("CISCO-VPDN-MGMT-MIB:CISCO-VPDN-MGMT-MIB", reflect.TypeOf(CISCOVPDNMGMTMIB{}))
}
// EndpointClass represents SnmpAdminString (SIZE(1..15)) value.
type EndpointClass string
const (
EndpointClass_none EndpointClass = "none"
EndpointClass_local EndpointClass = "local"
EndpointClass_ipV4Address EndpointClass = "ipV4Address"
EndpointClass_macAddress EndpointClass = "macAddress"
EndpointClass_magicNumber EndpointClass = "magicNumber"
EndpointClass_phone EndpointClass = "phone"
)
// TunnelType represents tunnel.
type TunnelType string
const (
TunnelType_l2f TunnelType = "l2f"
TunnelType_l2tp TunnelType = "l2tp"
TunnelType_pptp TunnelType = "pptp"
)
// CISCOVPDNMGMTMIB
type CISCOVPDNMGMTMIB struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
CiscoVpdnMgmtMIBNotifs CISCOVPDNMGMTMIB_CiscoVpdnMgmtMIBNotifs
CvpdnSystemInfo CISCOVPDNMGMTMIB_CvpdnSystemInfo
CvpdnMultilinkInfo CISCOVPDNMGMTMIB_CvpdnMultilinkInfo
// Table of information about the VPDN system for all tunnel types.
CvpdnSystemTable CISCOVPDNMGMTMIB_CvpdnSystemTable
// Table of information about the active VPDN tunnels.
CvpdnTunnelTable CISCOVPDNMGMTMIB_CvpdnTunnelTable
// Table of information about the active VPDN tunnels. An entry is added to
// the table when a new tunnel is initiated and removed from the table when
// the tunnel is terminated.
CvpdnTunnelAttrTable CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable
// Table of information about individual user sessions within the active
// tunnels. Entry is added to the table when new user session is initiated
// and be removed from the table when the user session is terminated.
CvpdnTunnelSessionTable CISCOVPDNMGMTMIB_CvpdnTunnelSessionTable
// Table of information about individual sessions within the active tunnels.
// An entry is added to the table when a new session is initiated and removed
// from the table when the session is terminated.
CvpdnSessionAttrTable CISCOVPDNMGMTMIB_CvpdnSessionAttrTable
// Table of the record of failure objects which can be referenced by an user
// name. Only a name that has a valid item in the Cisco IOS VPDN failure
// history table will yield a valid entry in this table. The table has a
// maximum size of 50 entries. Only the newest 50 entries will be kept in the
// table.
CvpdnUserToFailHistInfoTable CISCOVPDNMGMTMIB_CvpdnUserToFailHistInfoTable
// Table of information about the VPDN templates. The VPDN template is a
// grouping mechanism that allows configuration settings to be shared among
// multiple VPDN groups. One such setting is a limit on the number of active
// sessions across all VPDN groups associated with the template. The template
// table allows customers to monitor template-wide information such as
// tracking the allocation of sessions across templates.
CvpdnTemplateTable CISCOVPDNMGMTMIB_CvpdnTemplateTable
// Table that describes the multilink PPP attributes of the active VPDN
// sessions.
CvpdnBundleTable CISCOVPDNMGMTMIB_CvpdnBundleTable
// A table that exposes the containment relationship between a multilink PPP
// bundle and a VPDN tunnel.
CvpdnBundleChildTable CISCOVPDNMGMTMIB_CvpdnBundleChildTable
}
func (cISCOVPDNMGMTMIB *CISCOVPDNMGMTMIB) GetEntityData() *types.CommonEntityData {
cISCOVPDNMGMTMIB.EntityData.YFilter = cISCOVPDNMGMTMIB.YFilter
cISCOVPDNMGMTMIB.EntityData.YangName = "CISCO-VPDN-MGMT-MIB"
cISCOVPDNMGMTMIB.EntityData.BundleName = "cisco_ios_xe"
cISCOVPDNMGMTMIB.EntityData.ParentYangName = "CISCO-VPDN-MGMT-MIB"
cISCOVPDNMGMTMIB.EntityData.SegmentPath = "CISCO-VPDN-MGMT-MIB:CISCO-VPDN-MGMT-MIB"
cISCOVPDNMGMTMIB.EntityData.AbsolutePath = cISCOVPDNMGMTMIB.EntityData.SegmentPath
cISCOVPDNMGMTMIB.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cISCOVPDNMGMTMIB.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cISCOVPDNMGMTMIB.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cISCOVPDNMGMTMIB.EntityData.Children = types.NewOrderedMap()
cISCOVPDNMGMTMIB.EntityData.Children.Append("ciscoVpdnMgmtMIBNotifs", types.YChild{"CiscoVpdnMgmtMIBNotifs", &cISCOVPDNMGMTMIB.CiscoVpdnMgmtMIBNotifs})
cISCOVPDNMGMTMIB.EntityData.Children.Append("cvpdnSystemInfo", types.YChild{"CvpdnSystemInfo", &cISCOVPDNMGMTMIB.CvpdnSystemInfo})
cISCOVPDNMGMTMIB.EntityData.Children.Append("cvpdnMultilinkInfo", types.YChild{"CvpdnMultilinkInfo", &cISCOVPDNMGMTMIB.CvpdnMultilinkInfo})
cISCOVPDNMGMTMIB.EntityData.Children.Append("cvpdnSystemTable", types.YChild{"CvpdnSystemTable", &cISCOVPDNMGMTMIB.CvpdnSystemTable})
cISCOVPDNMGMTMIB.EntityData.Children.Append("cvpdnTunnelTable", types.YChild{"CvpdnTunnelTable", &cISCOVPDNMGMTMIB.CvpdnTunnelTable})
cISCOVPDNMGMTMIB.EntityData.Children.Append("cvpdnTunnelAttrTable", types.YChild{"CvpdnTunnelAttrTable", &cISCOVPDNMGMTMIB.CvpdnTunnelAttrTable})
cISCOVPDNMGMTMIB.EntityData.Children.Append("cvpdnTunnelSessionTable", types.YChild{"CvpdnTunnelSessionTable", &cISCOVPDNMGMTMIB.CvpdnTunnelSessionTable})
cISCOVPDNMGMTMIB.EntityData.Children.Append("cvpdnSessionAttrTable", types.YChild{"CvpdnSessionAttrTable", &cISCOVPDNMGMTMIB.CvpdnSessionAttrTable})
cISCOVPDNMGMTMIB.EntityData.Children.Append("cvpdnUserToFailHistInfoTable", types.YChild{"CvpdnUserToFailHistInfoTable", &cISCOVPDNMGMTMIB.CvpdnUserToFailHistInfoTable})
cISCOVPDNMGMTMIB.EntityData.Children.Append("cvpdnTemplateTable", types.YChild{"CvpdnTemplateTable", &cISCOVPDNMGMTMIB.CvpdnTemplateTable})
cISCOVPDNMGMTMIB.EntityData.Children.Append("cvpdnBundleTable", types.YChild{"CvpdnBundleTable", &cISCOVPDNMGMTMIB.CvpdnBundleTable})
cISCOVPDNMGMTMIB.EntityData.Children.Append("cvpdnBundleChildTable", types.YChild{"CvpdnBundleChildTable", &cISCOVPDNMGMTMIB.CvpdnBundleChildTable})
cISCOVPDNMGMTMIB.EntityData.Leafs = types.NewOrderedMap()
cISCOVPDNMGMTMIB.EntityData.YListKeys = []string {}
return &(cISCOVPDNMGMTMIB.EntityData)
}
// CISCOVPDNMGMTMIB_CiscoVpdnMgmtMIBNotifs
type CISCOVPDNMGMTMIB_CiscoVpdnMgmtMIBNotifs struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// This object contains the local session ID of the L2X session for which this
// notification has been generated. The type is interface{} with range:
// 0..65535.
CvpdnNotifSessionID interface{}
// Indicates the event that generated the L2X session notification. The
// events are represented as follows: up: Session has come up. down:
// Session has gone down. pwUp: Pseudowire associated with this
// session has come up. pwDown: Pseudowire associated with this
// session has gone down. The type is CvpdnNotifSessionEvent.
CvpdnNotifSessionEvent interface{}
}
func (ciscoVpdnMgmtMIBNotifs *CISCOVPDNMGMTMIB_CiscoVpdnMgmtMIBNotifs) GetEntityData() *types.CommonEntityData {
ciscoVpdnMgmtMIBNotifs.EntityData.YFilter = ciscoVpdnMgmtMIBNotifs.YFilter
ciscoVpdnMgmtMIBNotifs.EntityData.YangName = "ciscoVpdnMgmtMIBNotifs"
ciscoVpdnMgmtMIBNotifs.EntityData.BundleName = "cisco_ios_xe"
ciscoVpdnMgmtMIBNotifs.EntityData.ParentYangName = "CISCO-VPDN-MGMT-MIB"
ciscoVpdnMgmtMIBNotifs.EntityData.SegmentPath = "ciscoVpdnMgmtMIBNotifs"
ciscoVpdnMgmtMIBNotifs.EntityData.AbsolutePath = "CISCO-VPDN-MGMT-MIB:CISCO-VPDN-MGMT-MIB/" + ciscoVpdnMgmtMIBNotifs.EntityData.SegmentPath
ciscoVpdnMgmtMIBNotifs.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
ciscoVpdnMgmtMIBNotifs.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
ciscoVpdnMgmtMIBNotifs.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
ciscoVpdnMgmtMIBNotifs.EntityData.Children = types.NewOrderedMap()
ciscoVpdnMgmtMIBNotifs.EntityData.Leafs = types.NewOrderedMap()
ciscoVpdnMgmtMIBNotifs.EntityData.Leafs.Append("cvpdnNotifSessionID", types.YLeaf{"CvpdnNotifSessionID", ciscoVpdnMgmtMIBNotifs.CvpdnNotifSessionID})
ciscoVpdnMgmtMIBNotifs.EntityData.Leafs.Append("cvpdnNotifSessionEvent", types.YLeaf{"CvpdnNotifSessionEvent", ciscoVpdnMgmtMIBNotifs.CvpdnNotifSessionEvent})
ciscoVpdnMgmtMIBNotifs.EntityData.YListKeys = []string {}
return &(ciscoVpdnMgmtMIBNotifs.EntityData)
}
// CISCOVPDNMGMTMIB_CiscoVpdnMgmtMIBNotifs_CvpdnNotifSessionEvent represents session has gone down.
type CISCOVPDNMGMTMIB_CiscoVpdnMgmtMIBNotifs_CvpdnNotifSessionEvent string
const (
CISCOVPDNMGMTMIB_CiscoVpdnMgmtMIBNotifs_CvpdnNotifSessionEvent_up CISCOVPDNMGMTMIB_CiscoVpdnMgmtMIBNotifs_CvpdnNotifSessionEvent = "up"
CISCOVPDNMGMTMIB_CiscoVpdnMgmtMIBNotifs_CvpdnNotifSessionEvent_down CISCOVPDNMGMTMIB_CiscoVpdnMgmtMIBNotifs_CvpdnNotifSessionEvent = "down"
CISCOVPDNMGMTMIB_CiscoVpdnMgmtMIBNotifs_CvpdnNotifSessionEvent_pwUp CISCOVPDNMGMTMIB_CiscoVpdnMgmtMIBNotifs_CvpdnNotifSessionEvent = "pwUp"
CISCOVPDNMGMTMIB_CiscoVpdnMgmtMIBNotifs_CvpdnNotifSessionEvent_pwDown CISCOVPDNMGMTMIB_CiscoVpdnMgmtMIBNotifs_CvpdnNotifSessionEvent = "pwDown"
)
// CISCOVPDNMGMTMIB_CvpdnSystemInfo
type CISCOVPDNMGMTMIB_CvpdnSystemInfo struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// The total number of VPDN tunnels that are currently active within this
// system. The type is interface{} with range: 0..4294967295. Units are
// tunnels.
CvpdnTunnelTotal interface{}
// The total number of active users in all the active VPDN tunnels within this
// system. The type is interface{} with range: 0..4294967295. Units are users.
CvpdnSessionTotal interface{}
// The total number of denied user attempts to all the active VPDN tunnels
// within this system. The type is interface{} with range: 0..4294967295.
// Units are attempts.
CvpdnDeniedUsersTotal interface{}
// Indicates whether Layer 2 VPN session notifications are enabled. The type
// is bool.
CvpdnSystemNotifSessionEnabled interface{}
// Clears all the sessions in a given tunnel type. When reading this object,
// the value of 'none' will always be returned. When setting these values,
// the following operations will be performed: none: no operation.
// all: clears all the sessions in all the tunnels. l2f: clears all the
// L2F sessions. l2tp: clears all the L2TP sessions. pptp: clears
// all the PPTP sessions. The type is CvpdnSystemClearSessions.
CvpdnSystemClearSessions interface{}
}
func (cvpdnSystemInfo *CISCOVPDNMGMTMIB_CvpdnSystemInfo) GetEntityData() *types.CommonEntityData {
cvpdnSystemInfo.EntityData.YFilter = cvpdnSystemInfo.YFilter
cvpdnSystemInfo.EntityData.YangName = "cvpdnSystemInfo"
cvpdnSystemInfo.EntityData.BundleName = "cisco_ios_xe"
cvpdnSystemInfo.EntityData.ParentYangName = "CISCO-VPDN-MGMT-MIB"
cvpdnSystemInfo.EntityData.SegmentPath = "cvpdnSystemInfo"
cvpdnSystemInfo.EntityData.AbsolutePath = "CISCO-VPDN-MGMT-MIB:CISCO-VPDN-MGMT-MIB/" + cvpdnSystemInfo.EntityData.SegmentPath
cvpdnSystemInfo.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cvpdnSystemInfo.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cvpdnSystemInfo.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cvpdnSystemInfo.EntityData.Children = types.NewOrderedMap()
cvpdnSystemInfo.EntityData.Leafs = types.NewOrderedMap()
cvpdnSystemInfo.EntityData.Leafs.Append("cvpdnTunnelTotal", types.YLeaf{"CvpdnTunnelTotal", cvpdnSystemInfo.CvpdnTunnelTotal})
cvpdnSystemInfo.EntityData.Leafs.Append("cvpdnSessionTotal", types.YLeaf{"CvpdnSessionTotal", cvpdnSystemInfo.CvpdnSessionTotal})
cvpdnSystemInfo.EntityData.Leafs.Append("cvpdnDeniedUsersTotal", types.YLeaf{"CvpdnDeniedUsersTotal", cvpdnSystemInfo.CvpdnDeniedUsersTotal})
cvpdnSystemInfo.EntityData.Leafs.Append("cvpdnSystemNotifSessionEnabled", types.YLeaf{"CvpdnSystemNotifSessionEnabled", cvpdnSystemInfo.CvpdnSystemNotifSessionEnabled})
cvpdnSystemInfo.EntityData.Leafs.Append("cvpdnSystemClearSessions", types.YLeaf{"CvpdnSystemClearSessions", cvpdnSystemInfo.CvpdnSystemClearSessions})
cvpdnSystemInfo.EntityData.YListKeys = []string {}
return &(cvpdnSystemInfo.EntityData)
}
// CISCOVPDNMGMTMIB_CvpdnSystemInfo_CvpdnSystemClearSessions represents pptp: clears all the PPTP sessions.
type CISCOVPDNMGMTMIB_CvpdnSystemInfo_CvpdnSystemClearSessions string
const (
CISCOVPDNMGMTMIB_CvpdnSystemInfo_CvpdnSystemClearSessions_none CISCOVPDNMGMTMIB_CvpdnSystemInfo_CvpdnSystemClearSessions = "none"
CISCOVPDNMGMTMIB_CvpdnSystemInfo_CvpdnSystemClearSessions_all CISCOVPDNMGMTMIB_CvpdnSystemInfo_CvpdnSystemClearSessions = "all"
CISCOVPDNMGMTMIB_CvpdnSystemInfo_CvpdnSystemClearSessions_l2f CISCOVPDNMGMTMIB_CvpdnSystemInfo_CvpdnSystemClearSessions = "l2f"
CISCOVPDNMGMTMIB_CvpdnSystemInfo_CvpdnSystemClearSessions_l2tp CISCOVPDNMGMTMIB_CvpdnSystemInfo_CvpdnSystemClearSessions = "l2tp"
CISCOVPDNMGMTMIB_CvpdnSystemInfo_CvpdnSystemClearSessions_pptp CISCOVPDNMGMTMIB_CvpdnSystemInfo_CvpdnSystemClearSessions = "pptp"
)
// CISCOVPDNMGMTMIB_CvpdnMultilinkInfo
type CISCOVPDNMGMTMIB_CvpdnMultilinkInfo struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// The total number of bundles comprised of a single link. The type is
// interface{} with range: 0..4294967295.
CvpdnBundlesWithOneLink interface{}
// The total number of bundles comprised of two links. The type is interface{}
// with range: 0..4294967295.
CvpdnBundlesWithTwoLinks interface{}
// The total number of bundles comprised of more than two links. The type is
// interface{} with range: 0..4294967295.
CvpdnBundlesWithMoreThanTwoLinks interface{}
// The value of the sysUpTime object when the contents of cvpdnBundleTable
// last changed. The type is interface{} with range: 0..4294967295.
CvpdnBundleLastChanged interface{}
}
func (cvpdnMultilinkInfo *CISCOVPDNMGMTMIB_CvpdnMultilinkInfo) GetEntityData() *types.CommonEntityData {
cvpdnMultilinkInfo.EntityData.YFilter = cvpdnMultilinkInfo.YFilter
cvpdnMultilinkInfo.EntityData.YangName = "cvpdnMultilinkInfo"
cvpdnMultilinkInfo.EntityData.BundleName = "cisco_ios_xe"
cvpdnMultilinkInfo.EntityData.ParentYangName = "CISCO-VPDN-MGMT-MIB"
cvpdnMultilinkInfo.EntityData.SegmentPath = "cvpdnMultilinkInfo"
cvpdnMultilinkInfo.EntityData.AbsolutePath = "CISCO-VPDN-MGMT-MIB:CISCO-VPDN-MGMT-MIB/" + cvpdnMultilinkInfo.EntityData.SegmentPath
cvpdnMultilinkInfo.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cvpdnMultilinkInfo.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cvpdnMultilinkInfo.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cvpdnMultilinkInfo.EntityData.Children = types.NewOrderedMap()
cvpdnMultilinkInfo.EntityData.Leafs = types.NewOrderedMap()
cvpdnMultilinkInfo.EntityData.Leafs.Append("cvpdnBundlesWithOneLink", types.YLeaf{"CvpdnBundlesWithOneLink", cvpdnMultilinkInfo.CvpdnBundlesWithOneLink})
cvpdnMultilinkInfo.EntityData.Leafs.Append("cvpdnBundlesWithTwoLinks", types.YLeaf{"CvpdnBundlesWithTwoLinks", cvpdnMultilinkInfo.CvpdnBundlesWithTwoLinks})
cvpdnMultilinkInfo.EntityData.Leafs.Append("cvpdnBundlesWithMoreThanTwoLinks", types.YLeaf{"CvpdnBundlesWithMoreThanTwoLinks", cvpdnMultilinkInfo.CvpdnBundlesWithMoreThanTwoLinks})
cvpdnMultilinkInfo.EntityData.Leafs.Append("cvpdnBundleLastChanged", types.YLeaf{"CvpdnBundleLastChanged", cvpdnMultilinkInfo.CvpdnBundleLastChanged})
cvpdnMultilinkInfo.EntityData.YListKeys = []string {}
return &(cvpdnMultilinkInfo.EntityData)
}
// CISCOVPDNMGMTMIB_CvpdnSystemTable
// Table of information about the VPDN system for all tunnel
// types.
type CISCOVPDNMGMTMIB_CvpdnSystemTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// An entry in the table, containing information about a single type of VPDN
// tunnel. The type is slice of
// CISCOVPDNMGMTMIB_CvpdnSystemTable_CvpdnSystemEntry.
CvpdnSystemEntry []*CISCOVPDNMGMTMIB_CvpdnSystemTable_CvpdnSystemEntry
}
func (cvpdnSystemTable *CISCOVPDNMGMTMIB_CvpdnSystemTable) GetEntityData() *types.CommonEntityData {
cvpdnSystemTable.EntityData.YFilter = cvpdnSystemTable.YFilter
cvpdnSystemTable.EntityData.YangName = "cvpdnSystemTable"
cvpdnSystemTable.EntityData.BundleName = "cisco_ios_xe"
cvpdnSystemTable.EntityData.ParentYangName = "CISCO-VPDN-MGMT-MIB"
cvpdnSystemTable.EntityData.SegmentPath = "cvpdnSystemTable"
cvpdnSystemTable.EntityData.AbsolutePath = "CISCO-VPDN-MGMT-MIB:CISCO-VPDN-MGMT-MIB/" + cvpdnSystemTable.EntityData.SegmentPath
cvpdnSystemTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cvpdnSystemTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cvpdnSystemTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cvpdnSystemTable.EntityData.Children = types.NewOrderedMap()
cvpdnSystemTable.EntityData.Children.Append("cvpdnSystemEntry", types.YChild{"CvpdnSystemEntry", nil})
for i := range cvpdnSystemTable.CvpdnSystemEntry {
cvpdnSystemTable.EntityData.Children.Append(types.GetSegmentPath(cvpdnSystemTable.CvpdnSystemEntry[i]), types.YChild{"CvpdnSystemEntry", cvpdnSystemTable.CvpdnSystemEntry[i]})
}
cvpdnSystemTable.EntityData.Leafs = types.NewOrderedMap()
cvpdnSystemTable.EntityData.YListKeys = []string {}
return &(cvpdnSystemTable.EntityData)
}
// CISCOVPDNMGMTMIB_CvpdnSystemTable_CvpdnSystemEntry
// An entry in the table, containing information about a
// single type of VPDN tunnel.
type CISCOVPDNMGMTMIB_CvpdnSystemTable_CvpdnSystemEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The tunnel type. This is the tunnel protocol. The
// type is TunnelType.
CvpdnSystemTunnelType interface{}
// The total number of VPDN tunnels that are currently active of this tunnel
// type. The type is interface{} with range: 0..4294967295. Units are tunnels.
CvpdnSystemTunnelTotal interface{}
// The total number of active sessions in all the active VPDN tunnels of this
// tunnel type. The type is interface{} with range: 0..4294967295. Units are
// sessions.
CvpdnSystemSessionTotal interface{}
// The total number of denied user attempts to all the VPDN tunnels of this
// tunnel type since last system re-initialization. The type is interface{}
// with range: 0..4294967295. Units are attempts.
CvpdnSystemDeniedUsersTotal interface{}
// The total number tunnel connection attempts on all the VPDN tunnels of this
// tunnel type since last system re-initialization. The type is interface{}
// with range: 0..4294967295. Units are attempts.
CvpdnSystemInitialConnReq interface{}
// The total number tunnel Successful connection attempts in VPDN tunnels of
// this tunnel type since last system re-initialization. The type is
// interface{} with range: 0..4294967295. Units are attempts.
CvpdnSystemSuccessConnReq interface{}
// The total number tunnel Failed connection attempts in VPDN tunnels of this
// tunnel type since last system re-initialization. The type is interface{}
// with range: 0..4294967295. Units are attempts.
CvpdnSystemFailedConnReq interface{}
}
func (cvpdnSystemEntry *CISCOVPDNMGMTMIB_CvpdnSystemTable_CvpdnSystemEntry) GetEntityData() *types.CommonEntityData {
cvpdnSystemEntry.EntityData.YFilter = cvpdnSystemEntry.YFilter
cvpdnSystemEntry.EntityData.YangName = "cvpdnSystemEntry"
cvpdnSystemEntry.EntityData.BundleName = "cisco_ios_xe"
cvpdnSystemEntry.EntityData.ParentYangName = "cvpdnSystemTable"
cvpdnSystemEntry.EntityData.SegmentPath = "cvpdnSystemEntry" + types.AddKeyToken(cvpdnSystemEntry.CvpdnSystemTunnelType, "cvpdnSystemTunnelType")
cvpdnSystemEntry.EntityData.AbsolutePath = "CISCO-VPDN-MGMT-MIB:CISCO-VPDN-MGMT-MIB/cvpdnSystemTable/" + cvpdnSystemEntry.EntityData.SegmentPath
cvpdnSystemEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cvpdnSystemEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cvpdnSystemEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cvpdnSystemEntry.EntityData.Children = types.NewOrderedMap()
cvpdnSystemEntry.EntityData.Leafs = types.NewOrderedMap()
cvpdnSystemEntry.EntityData.Leafs.Append("cvpdnSystemTunnelType", types.YLeaf{"CvpdnSystemTunnelType", cvpdnSystemEntry.CvpdnSystemTunnelType})
cvpdnSystemEntry.EntityData.Leafs.Append("cvpdnSystemTunnelTotal", types.YLeaf{"CvpdnSystemTunnelTotal", cvpdnSystemEntry.CvpdnSystemTunnelTotal})
cvpdnSystemEntry.EntityData.Leafs.Append("cvpdnSystemSessionTotal", types.YLeaf{"CvpdnSystemSessionTotal", cvpdnSystemEntry.CvpdnSystemSessionTotal})
cvpdnSystemEntry.EntityData.Leafs.Append("cvpdnSystemDeniedUsersTotal", types.YLeaf{"CvpdnSystemDeniedUsersTotal", cvpdnSystemEntry.CvpdnSystemDeniedUsersTotal})
cvpdnSystemEntry.EntityData.Leafs.Append("cvpdnSystemInitialConnReq", types.YLeaf{"CvpdnSystemInitialConnReq", cvpdnSystemEntry.CvpdnSystemInitialConnReq})
cvpdnSystemEntry.EntityData.Leafs.Append("cvpdnSystemSuccessConnReq", types.YLeaf{"CvpdnSystemSuccessConnReq", cvpdnSystemEntry.CvpdnSystemSuccessConnReq})
cvpdnSystemEntry.EntityData.Leafs.Append("cvpdnSystemFailedConnReq", types.YLeaf{"CvpdnSystemFailedConnReq", cvpdnSystemEntry.CvpdnSystemFailedConnReq})
cvpdnSystemEntry.EntityData.YListKeys = []string {"CvpdnSystemTunnelType"}
return &(cvpdnSystemEntry.EntityData)
}
// CISCOVPDNMGMTMIB_CvpdnTunnelTable
// Table of information about the active VPDN tunnels.
type CISCOVPDNMGMTMIB_CvpdnTunnelTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// An entry in the table, containing information about a single active VPDN
// tunnel. The type is slice of
// CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry.
CvpdnTunnelEntry []*CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry
}
func (cvpdnTunnelTable *CISCOVPDNMGMTMIB_CvpdnTunnelTable) GetEntityData() *types.CommonEntityData {
cvpdnTunnelTable.EntityData.YFilter = cvpdnTunnelTable.YFilter
cvpdnTunnelTable.EntityData.YangName = "cvpdnTunnelTable"
cvpdnTunnelTable.EntityData.BundleName = "cisco_ios_xe"
cvpdnTunnelTable.EntityData.ParentYangName = "CISCO-VPDN-MGMT-MIB"
cvpdnTunnelTable.EntityData.SegmentPath = "cvpdnTunnelTable"
cvpdnTunnelTable.EntityData.AbsolutePath = "CISCO-VPDN-MGMT-MIB:CISCO-VPDN-MGMT-MIB/" + cvpdnTunnelTable.EntityData.SegmentPath
cvpdnTunnelTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cvpdnTunnelTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cvpdnTunnelTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cvpdnTunnelTable.EntityData.Children = types.NewOrderedMap()
cvpdnTunnelTable.EntityData.Children.Append("cvpdnTunnelEntry", types.YChild{"CvpdnTunnelEntry", nil})
for i := range cvpdnTunnelTable.CvpdnTunnelEntry {
cvpdnTunnelTable.EntityData.Children.Append(types.GetSegmentPath(cvpdnTunnelTable.CvpdnTunnelEntry[i]), types.YChild{"CvpdnTunnelEntry", cvpdnTunnelTable.CvpdnTunnelEntry[i]})
}
cvpdnTunnelTable.EntityData.Leafs = types.NewOrderedMap()
cvpdnTunnelTable.EntityData.YListKeys = []string {}
return &(cvpdnTunnelTable.EntityData)
}
// CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry
// An entry in the table, containing information about a
// single active VPDN tunnel.
type CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The Tunnel ID of an active VPDN tunnel. If it is
// the instigator of the tunnel, the ID is the HGW/LNS tunnel ID, otherwise it
// is the NAS/LAC tunnel ID. The type is interface{} with range:
// 0..4294967295.
CvpdnTunnelTunnelId interface{}
// The remote Tunnel ID of an active VPDN tunnel. If it is the instigator of
// the tunnel, the ID is the NAS/LAC tunnel ID, otherwise it is the HGW/LNS
// tunnel ID. The type is interface{} with range: 0..4294967295.
CvpdnTunnelRemoteTunnelId interface{}
// The local name of an active VPDN tunnel. It will be the NAS/LAC name of
// the tunnel if the router serves as the NAS/LAC, or the HGW/LNS name of the
// tunnel if the system serves as the home gateway. Typically, the local name
// is the configured host name of the router. The type is string with length:
// 1..255.
CvpdnTunnelLocalName interface{}
// The remote name of an active VPDN tunnel. It will be the home gateway name
// of the tunnel if the system is a NAS/LAC, or the NAS/LAC name of the tunnel
// if the system serves as the home gateway. The type is string with length:
// 1..255.
CvpdnTunnelRemoteName interface{}
// The remote end point name of an active VPDN tunnel. This name is either the
// domain name or the DNIS that this tunnel is projected with. The type is
// string with length: 1..255.
CvpdnTunnelRemoteEndpointName interface{}
// This object indicates whether the tunnel was generated locally or not. The
// type is bool.
CvpdnTunnelLocalInitConnection interface{}
// The cause which originated an active VPDN tunnel. The tunnel can be
// projected via domain name, DNIS or a stack group (SGBP). The type is
// CvpdnTunnelOrigCause.
CvpdnTunnelOrigCause interface{}
// The current state of an active VPDN tunnel. Each state code is explained
// below: unknown: The current state of the tunnel is
// unknown. opening: The tunnel has just been instigated and
// is pending for a remote end reply to complete the process.
// open: The tunnel is active. closing: The tunnel has just been
// shut down and is pending for the remote end to reply
// to complete the process. The type is CvpdnTunnelState.
CvpdnTunnelState interface{}
// The total number of active session currently in the tunnel. The type is
// interface{} with range: 0..4294967295. Units are sessions.
CvpdnTunnelActiveSessions interface{}
// A count of the accumulated total of denied users for the tunnel. The type
// is interface{} with range: 0..4294967295. Units are calls.
CvpdnTunnelDeniedUsers interface{}
// A VPDN tunnel can be put into a soft shut state to prevent any new user
// session to be added. This object specifies whether this tunnel has been
// soft shut. The type is bool.
CvpdnTunnelSoftshut interface{}
// The type of network service used in the active tunnel. For now it is IP
// only. The type is CvpdnTunnelNetworkServiceType.
CvpdnTunnelNetworkServiceType interface{}
// The local IP address of the tunnel. This IP address is that of the
// interface at the local end of the tunnel. The type is string with pattern:
// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
CvpdnTunnelLocalIpAddress interface{}
// The source IP address of the tunnel. This IP address is the user
// configurable IP address for Stack Group Biding Protocol (SGBP) via the CLI
// command: vpdn source-ip. The type is string with pattern:
// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
CvpdnTunnelSourceIpAddress interface{}
// The remote IP address of the tunnel. This IP address is that of the
// interface at the remote end of the tunnel. The type is string with pattern:
// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
CvpdnTunnelRemoteIpAddress interface{}
}
func (cvpdnTunnelEntry *CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry) GetEntityData() *types.CommonEntityData {
cvpdnTunnelEntry.EntityData.YFilter = cvpdnTunnelEntry.YFilter
cvpdnTunnelEntry.EntityData.YangName = "cvpdnTunnelEntry"
cvpdnTunnelEntry.EntityData.BundleName = "cisco_ios_xe"
cvpdnTunnelEntry.EntityData.ParentYangName = "cvpdnTunnelTable"
cvpdnTunnelEntry.EntityData.SegmentPath = "cvpdnTunnelEntry" + types.AddKeyToken(cvpdnTunnelEntry.CvpdnTunnelTunnelId, "cvpdnTunnelTunnelId")
cvpdnTunnelEntry.EntityData.AbsolutePath = "CISCO-VPDN-MGMT-MIB:CISCO-VPDN-MGMT-MIB/cvpdnTunnelTable/" + cvpdnTunnelEntry.EntityData.SegmentPath
cvpdnTunnelEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cvpdnTunnelEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cvpdnTunnelEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cvpdnTunnelEntry.EntityData.Children = types.NewOrderedMap()
cvpdnTunnelEntry.EntityData.Leafs = types.NewOrderedMap()
cvpdnTunnelEntry.EntityData.Leafs.Append("cvpdnTunnelTunnelId", types.YLeaf{"CvpdnTunnelTunnelId", cvpdnTunnelEntry.CvpdnTunnelTunnelId})
cvpdnTunnelEntry.EntityData.Leafs.Append("cvpdnTunnelRemoteTunnelId", types.YLeaf{"CvpdnTunnelRemoteTunnelId", cvpdnTunnelEntry.CvpdnTunnelRemoteTunnelId})
cvpdnTunnelEntry.EntityData.Leafs.Append("cvpdnTunnelLocalName", types.YLeaf{"CvpdnTunnelLocalName", cvpdnTunnelEntry.CvpdnTunnelLocalName})
cvpdnTunnelEntry.EntityData.Leafs.Append("cvpdnTunnelRemoteName", types.YLeaf{"CvpdnTunnelRemoteName", cvpdnTunnelEntry.CvpdnTunnelRemoteName})
cvpdnTunnelEntry.EntityData.Leafs.Append("cvpdnTunnelRemoteEndpointName", types.YLeaf{"CvpdnTunnelRemoteEndpointName", cvpdnTunnelEntry.CvpdnTunnelRemoteEndpointName})
cvpdnTunnelEntry.EntityData.Leafs.Append("cvpdnTunnelLocalInitConnection", types.YLeaf{"CvpdnTunnelLocalInitConnection", cvpdnTunnelEntry.CvpdnTunnelLocalInitConnection})
cvpdnTunnelEntry.EntityData.Leafs.Append("cvpdnTunnelOrigCause", types.YLeaf{"CvpdnTunnelOrigCause", cvpdnTunnelEntry.CvpdnTunnelOrigCause})
cvpdnTunnelEntry.EntityData.Leafs.Append("cvpdnTunnelState", types.YLeaf{"CvpdnTunnelState", cvpdnTunnelEntry.CvpdnTunnelState})
cvpdnTunnelEntry.EntityData.Leafs.Append("cvpdnTunnelActiveSessions", types.YLeaf{"CvpdnTunnelActiveSessions", cvpdnTunnelEntry.CvpdnTunnelActiveSessions})
cvpdnTunnelEntry.EntityData.Leafs.Append("cvpdnTunnelDeniedUsers", types.YLeaf{"CvpdnTunnelDeniedUsers", cvpdnTunnelEntry.CvpdnTunnelDeniedUsers})
cvpdnTunnelEntry.EntityData.Leafs.Append("cvpdnTunnelSoftshut", types.YLeaf{"CvpdnTunnelSoftshut", cvpdnTunnelEntry.CvpdnTunnelSoftshut})
cvpdnTunnelEntry.EntityData.Leafs.Append("cvpdnTunnelNetworkServiceType", types.YLeaf{"CvpdnTunnelNetworkServiceType", cvpdnTunnelEntry.CvpdnTunnelNetworkServiceType})
cvpdnTunnelEntry.EntityData.Leafs.Append("cvpdnTunnelLocalIpAddress", types.YLeaf{"CvpdnTunnelLocalIpAddress", cvpdnTunnelEntry.CvpdnTunnelLocalIpAddress})
cvpdnTunnelEntry.EntityData.Leafs.Append("cvpdnTunnelSourceIpAddress", types.YLeaf{"CvpdnTunnelSourceIpAddress", cvpdnTunnelEntry.CvpdnTunnelSourceIpAddress})
cvpdnTunnelEntry.EntityData.Leafs.Append("cvpdnTunnelRemoteIpAddress", types.YLeaf{"CvpdnTunnelRemoteIpAddress", cvpdnTunnelEntry.CvpdnTunnelRemoteIpAddress})
cvpdnTunnelEntry.EntityData.YListKeys = []string {"CvpdnTunnelTunnelId"}
return &(cvpdnTunnelEntry.EntityData)
}
// CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelNetworkServiceType represents For now it is IP only.
type CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelNetworkServiceType string
const (
CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelNetworkServiceType_ip CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelNetworkServiceType = "ip"
)
// CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelOrigCause represents stack group (SGBP).
type CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelOrigCause string
const (
CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelOrigCause_domain CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelOrigCause = "domain"
CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelOrigCause_dnis CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelOrigCause = "dnis"
CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelOrigCause_stack CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelOrigCause = "stack"
)
// CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelState represents to complete the process.
type CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelState string
const (
CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelState_unknown CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelState = "unknown"
CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelState_opening CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelState = "opening"
CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelState_open CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelState = "open"
CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelState_closing CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelState = "closing"
)
// CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable
// Table of information about the active VPDN tunnels. An
// entry is added to the table when a new tunnel is initiated
// and removed from the table when the tunnel is terminated.
type CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// An entry in the table, containing information about a single active VPDN
// tunnel. The type is slice of
// CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry.
CvpdnTunnelAttrEntry []*CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry
}
func (cvpdnTunnelAttrTable *CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable) GetEntityData() *types.CommonEntityData {
cvpdnTunnelAttrTable.EntityData.YFilter = cvpdnTunnelAttrTable.YFilter
cvpdnTunnelAttrTable.EntityData.YangName = "cvpdnTunnelAttrTable"
cvpdnTunnelAttrTable.EntityData.BundleName = "cisco_ios_xe"
cvpdnTunnelAttrTable.EntityData.ParentYangName = "CISCO-VPDN-MGMT-MIB"
cvpdnTunnelAttrTable.EntityData.SegmentPath = "cvpdnTunnelAttrTable"
cvpdnTunnelAttrTable.EntityData.AbsolutePath = "CISCO-VPDN-MGMT-MIB:CISCO-VPDN-MGMT-MIB/" + cvpdnTunnelAttrTable.EntityData.SegmentPath
cvpdnTunnelAttrTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cvpdnTunnelAttrTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cvpdnTunnelAttrTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cvpdnTunnelAttrTable.EntityData.Children = types.NewOrderedMap()
cvpdnTunnelAttrTable.EntityData.Children.Append("cvpdnTunnelAttrEntry", types.YChild{"CvpdnTunnelAttrEntry", nil})
for i := range cvpdnTunnelAttrTable.CvpdnTunnelAttrEntry {
cvpdnTunnelAttrTable.EntityData.Children.Append(types.GetSegmentPath(cvpdnTunnelAttrTable.CvpdnTunnelAttrEntry[i]), types.YChild{"CvpdnTunnelAttrEntry", cvpdnTunnelAttrTable.CvpdnTunnelAttrEntry[i]})
}
cvpdnTunnelAttrTable.EntityData.Leafs = types.NewOrderedMap()
cvpdnTunnelAttrTable.EntityData.YListKeys = []string {}
return &(cvpdnTunnelAttrTable.EntityData)
}
// CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry
// An entry in the table, containing information about a
// single active VPDN tunnel.
type CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The type is TunnelType. Refers to
// cisco_vpdn_mgmt_mib.CISCOVPDNMGMTMIB_CvpdnSystemTable_CvpdnSystemEntry_CvpdnSystemTunnelType
CvpdnSystemTunnelType interface{}
// This attribute is a key. The Tunnel ID of an active VPDN tunnel. If this
// end is the instigator of the tunnel, the ID is the TS tunnel ID, otherwise
// it is the NAS tunnel ID. Two distinct tunnels with the same tunnel ID may
// exist, but with different tunnel types. The type is interface{} with range:
// 0..65535.
CvpdnTunnelAttrTunnelId interface{}
// The remote Tunnel ID of an active VPDN tunnel. If this end is the
// instigator of the tunnel, the ID is the NAS tunnel ID, otherwise it is the
// TS tunnel ID. The type is interface{} with range: 0..65535.
CvpdnTunnelAttrRemoteTunnelId interface{}
// The local name of an active VPDN tunnel. It will be the NAS name of the
// tunnel if the system serves as the NAS, or the TS name of the tunnel if the
// system serves as the tunnel server. Typically, the local name is the
// configured host name of the system. The type is string with length: 1..255.
CvpdnTunnelAttrLocalName interface{}
// The remote name of an active VPDN tunnel. It will be the tunnel server
// name of the tunnel if the system is a NAS, or the NAS name of the tunnel if
// the system serves as the tunnel server. The type is string with length:
// 1..255.
CvpdnTunnelAttrRemoteName interface{}
// The remote end point name of an active VPDN tunnel. This name is either
// the domain name or the DNIS that this tunnel is projected with. The type is
// string with length: 1..255.
CvpdnTunnelAttrRemoteEndpointName interface{}
// This object indicates whether the tunnel was originated locally or not. If
// it's true, the tunnel was originated locally. The type is bool.
CvpdnTunnelAttrLocalInitConnection interface{}
// The cause which originated an active VPDN tunnel. The tunnel can be
// projected via domain name, DNIS, stack group, or L2 Xconnect. The type is
// CvpdnTunnelAttrOrigCause.
CvpdnTunnelAttrOrigCause interface{}
// The current state of an active VPDN tunnel. Tunnels of type l2f will have
// states with the 'l2f' prefix. Tunnels of type l2tp will have states with
// the 'l2tp' prefix. Tunnels of type pptp will have states with the 'pptp'
// prefix. Each state code is explained below: unknown: The
// current state of the tunnel is unknown.
// l2fOpening: The tunnel has just been initiated
// and is pending for a remote end reply to complete
// the process. l2fOpenWait: This end received a tunnel open
// request from the remote end and is waiting for the
// tunnel to be established. l2fOpen:
// The tunnel is active. l2fClosing: This end received a tunnel
// close request. l2fCloseWait: The tunnel
// has just been shut down and is pending for the
// remote end to reply to complete the process.
// l2tpIdle: No tunnel is initiated yet. l2tpWaitCtlReply:
// The tunnel has been initiated and is pending for a
// remote end reply to complete the process.
// l2tpEstablished: The tunnel is active. l2tpShuttingDown: The
// tunnel is in progress of shutting down.
// l2tpNoSessionLeft: There is no session left in the
// tunnel. pptpIdle: No tunnel is initiated yet.
// pptpWaitConnect: The tunnel is waiting for a TCP
// connection. pptpWaitCtlRequest: The tunnel has been initiated and
// is pending for a remote end request.
// pptpWaitCtlReply: The tunnel has been initiated and
// is pending for a remote end reply. pptpEstablished: The tunnel is
// active. pptpWaitStopReply: The tunnel is being shut down and
// is pending for a remote end reply. pptpTerminal: The tunnel has
// been shut down. The type is CvpdnTunnelAttrState.
CvpdnTunnelAttrState interface{}
// The total number of active session currently in the tunnel. The type is
// interface{} with range: 0..4294967295. Units are sessions.
CvpdnTunnelAttrActiveSessions interface{}
// A count of the accumulated total of denied users for the tunnel. The type
// is interface{} with range: 0..4294967295. Units are calls.
CvpdnTunnelAttrDeniedUsers interface{}
// A VPDN tunnel can be put into a soft shut state to prevent any new session
// to be added. This object specifies whether this tunnel has been soft shut.
// If its true, it has been soft shut. The type is bool.
CvpdnTunnelAttrSoftshut interface{}
// The type of network service used in the active tunnel. The type is
// CvpdnTunnelAttrNetworkServiceType.
CvpdnTunnelAttrNetworkServiceType interface{}
// The local IP address of the tunnel. This IP address is that of the
// interface at the local end of the tunnel. The type is string with pattern:
// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
CvpdnTunnelAttrLocalIpAddress interface{}
// The source IP address of the tunnel. This IP address is the user
// configurable IP address for Stack Group Biding Protocol. The type is string
// with pattern:
// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
CvpdnTunnelAttrSourceIpAddress interface{}
// The remote IP address of the tunnel. This IP address is that of the
// interface at the remote end of the tunnel. The type is string with pattern:
// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
CvpdnTunnelAttrRemoteIpAddress interface{}
// Indicates the type of address contained in cvpdnTunnelAttrLocalInetAddress.
// The type is InetAddressType.
CvpdnTunnelAttrLocalInetAddressType interface{}
// The local IP address of the tunnel. This IP address is that of the
// interface at the local end of the tunnel. The type of this address is
// determined by the value of cvpdnTunnelAttrLocalInetAddressType. The type
// is string with length: 0..255.
CvpdnTunnelAttrLocalInetAddress interface{}
// Indicates the type of address contained in
// cvpdnTunnelAttrSourceInetAddress. The type is InetAddressType.
CvpdnTunnelAttrSourceInetAddressType interface{}
// The source IP address of the tunnel. This IP address is the user
// configurable IP address for Stack Group Biding Protocol. The type of this
// address is determined by the value of
// cvpdnTunnelAttrSourceInetAddressType. The type is string with length:
// 0..255.
CvpdnTunnelAttrSourceInetAddress interface{}
// Indicates the type of address contained in
// cvpdnTunnelAttrRemoteInetAddress. The type is InetAddressType.
CvpdnTunnelAttrRemoteInetAddressType interface{}
// The remote IP address of the tunnel. This IP address is that of the
// interface at the remote end of the tunnel. The type of this address is
// determined by the value of cvpdnTunnelAttrRemoteInetAddressType. The type
// is string with length: 0..255.
CvpdnTunnelAttrRemoteInetAddress interface{}
}
func (cvpdnTunnelAttrEntry *CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry) GetEntityData() *types.CommonEntityData {
cvpdnTunnelAttrEntry.EntityData.YFilter = cvpdnTunnelAttrEntry.YFilter
cvpdnTunnelAttrEntry.EntityData.YangName = "cvpdnTunnelAttrEntry"
cvpdnTunnelAttrEntry.EntityData.BundleName = "cisco_ios_xe"
cvpdnTunnelAttrEntry.EntityData.ParentYangName = "cvpdnTunnelAttrTable"
cvpdnTunnelAttrEntry.EntityData.SegmentPath = "cvpdnTunnelAttrEntry" + types.AddKeyToken(cvpdnTunnelAttrEntry.CvpdnSystemTunnelType, "cvpdnSystemTunnelType") + types.AddKeyToken(cvpdnTunnelAttrEntry.CvpdnTunnelAttrTunnelId, "cvpdnTunnelAttrTunnelId")
cvpdnTunnelAttrEntry.EntityData.AbsolutePath = "CISCO-VPDN-MGMT-MIB:CISCO-VPDN-MGMT-MIB/cvpdnTunnelAttrTable/" + cvpdnTunnelAttrEntry.EntityData.SegmentPath
cvpdnTunnelAttrEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cvpdnTunnelAttrEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cvpdnTunnelAttrEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cvpdnTunnelAttrEntry.EntityData.Children = types.NewOrderedMap()
cvpdnTunnelAttrEntry.EntityData.Leafs = types.NewOrderedMap()
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnSystemTunnelType", types.YLeaf{"CvpdnSystemTunnelType", cvpdnTunnelAttrEntry.CvpdnSystemTunnelType})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrTunnelId", types.YLeaf{"CvpdnTunnelAttrTunnelId", cvpdnTunnelAttrEntry.CvpdnTunnelAttrTunnelId})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrRemoteTunnelId", types.YLeaf{"CvpdnTunnelAttrRemoteTunnelId", cvpdnTunnelAttrEntry.CvpdnTunnelAttrRemoteTunnelId})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrLocalName", types.YLeaf{"CvpdnTunnelAttrLocalName", cvpdnTunnelAttrEntry.CvpdnTunnelAttrLocalName})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrRemoteName", types.YLeaf{"CvpdnTunnelAttrRemoteName", cvpdnTunnelAttrEntry.CvpdnTunnelAttrRemoteName})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrRemoteEndpointName", types.YLeaf{"CvpdnTunnelAttrRemoteEndpointName", cvpdnTunnelAttrEntry.CvpdnTunnelAttrRemoteEndpointName})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrLocalInitConnection", types.YLeaf{"CvpdnTunnelAttrLocalInitConnection", cvpdnTunnelAttrEntry.CvpdnTunnelAttrLocalInitConnection})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrOrigCause", types.YLeaf{"CvpdnTunnelAttrOrigCause", cvpdnTunnelAttrEntry.CvpdnTunnelAttrOrigCause})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrState", types.YLeaf{"CvpdnTunnelAttrState", cvpdnTunnelAttrEntry.CvpdnTunnelAttrState})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrActiveSessions", types.YLeaf{"CvpdnTunnelAttrActiveSessions", cvpdnTunnelAttrEntry.CvpdnTunnelAttrActiveSessions})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrDeniedUsers", types.YLeaf{"CvpdnTunnelAttrDeniedUsers", cvpdnTunnelAttrEntry.CvpdnTunnelAttrDeniedUsers})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrSoftshut", types.YLeaf{"CvpdnTunnelAttrSoftshut", cvpdnTunnelAttrEntry.CvpdnTunnelAttrSoftshut})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrNetworkServiceType", types.YLeaf{"CvpdnTunnelAttrNetworkServiceType", cvpdnTunnelAttrEntry.CvpdnTunnelAttrNetworkServiceType})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrLocalIpAddress", types.YLeaf{"CvpdnTunnelAttrLocalIpAddress", cvpdnTunnelAttrEntry.CvpdnTunnelAttrLocalIpAddress})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrSourceIpAddress", types.YLeaf{"CvpdnTunnelAttrSourceIpAddress", cvpdnTunnelAttrEntry.CvpdnTunnelAttrSourceIpAddress})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrRemoteIpAddress", types.YLeaf{"CvpdnTunnelAttrRemoteIpAddress", cvpdnTunnelAttrEntry.CvpdnTunnelAttrRemoteIpAddress})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrLocalInetAddressType", types.YLeaf{"CvpdnTunnelAttrLocalInetAddressType", cvpdnTunnelAttrEntry.CvpdnTunnelAttrLocalInetAddressType})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrLocalInetAddress", types.YLeaf{"CvpdnTunnelAttrLocalInetAddress", cvpdnTunnelAttrEntry.CvpdnTunnelAttrLocalInetAddress})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrSourceInetAddressType", types.YLeaf{"CvpdnTunnelAttrSourceInetAddressType", cvpdnTunnelAttrEntry.CvpdnTunnelAttrSourceInetAddressType})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrSourceInetAddress", types.YLeaf{"CvpdnTunnelAttrSourceInetAddress", cvpdnTunnelAttrEntry.CvpdnTunnelAttrSourceInetAddress})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrRemoteInetAddressType", types.YLeaf{"CvpdnTunnelAttrRemoteInetAddressType", cvpdnTunnelAttrEntry.CvpdnTunnelAttrRemoteInetAddressType})
cvpdnTunnelAttrEntry.EntityData.Leafs.Append("cvpdnTunnelAttrRemoteInetAddress", types.YLeaf{"CvpdnTunnelAttrRemoteInetAddress", cvpdnTunnelAttrEntry.CvpdnTunnelAttrRemoteInetAddress})
cvpdnTunnelAttrEntry.EntityData.YListKeys = []string {"CvpdnSystemTunnelType", "CvpdnTunnelAttrTunnelId"}
return &(cvpdnTunnelAttrEntry.EntityData)
}
// CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrNetworkServiceType represents The type of network service used in the active tunnel.
type CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrNetworkServiceType string
const (
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrNetworkServiceType_ip CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrNetworkServiceType = "ip"
)
// CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrOrigCause represents or L2 Xconnect.
type CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrOrigCause string
const (
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrOrigCause_domain CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrOrigCause = "domain"
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrOrigCause_dnis CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrOrigCause = "dnis"
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrOrigCause_stack CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrOrigCause = "stack"
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrOrigCause_xconnect CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrOrigCause = "xconnect"
)
// CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState represents pptpTerminal: The tunnel has been shut down.
type CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState string
const (
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState_unknown CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState = "unknown"
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState_l2fOpening CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState = "l2fOpening"
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState_l2fOpenWait CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState = "l2fOpenWait"
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState_l2fOpen CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState = "l2fOpen"
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState_l2fClosing CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState = "l2fClosing"
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState_l2fCloseWait CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState = "l2fCloseWait"
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState_l2tpIdle CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState = "l2tpIdle"
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState_l2tpWaitCtlReply CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState = "l2tpWaitCtlReply"
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState_l2tpEstablished CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState = "l2tpEstablished"
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState_l2tpShuttingDown CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState = "l2tpShuttingDown"
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState_l2tpNoSessionLeft CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState = "l2tpNoSessionLeft"
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState_pptpIdle CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState = "pptpIdle"
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState_pptpWaitConnect CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState = "pptpWaitConnect"
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState_pptpWaitCtlRequest CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState = "pptpWaitCtlRequest"
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState_pptpWaitCtlReply CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState = "pptpWaitCtlReply"
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState_pptpEstablished CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState = "pptpEstablished"
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState_pptpWaitStopReply CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState = "pptpWaitStopReply"
CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState_pptpTerminal CISCOVPDNMGMTMIB_CvpdnTunnelAttrTable_CvpdnTunnelAttrEntry_CvpdnTunnelAttrState = "pptpTerminal"
)
// CISCOVPDNMGMTMIB_CvpdnTunnelSessionTable
// Table of information about individual user sessions
// within the active tunnels. Entry is added to the table
// when new user session is initiated and be removed from
// the table when the user session is terminated.
type CISCOVPDNMGMTMIB_CvpdnTunnelSessionTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// An entry in the table, containing information about a single user session
// within the tunnel. The type is slice of
// CISCOVPDNMGMTMIB_CvpdnTunnelSessionTable_CvpdnTunnelSessionEntry.
CvpdnTunnelSessionEntry []*CISCOVPDNMGMTMIB_CvpdnTunnelSessionTable_CvpdnTunnelSessionEntry
}
func (cvpdnTunnelSessionTable *CISCOVPDNMGMTMIB_CvpdnTunnelSessionTable) GetEntityData() *types.CommonEntityData {
cvpdnTunnelSessionTable.EntityData.YFilter = cvpdnTunnelSessionTable.YFilter
cvpdnTunnelSessionTable.EntityData.YangName = "cvpdnTunnelSessionTable"
cvpdnTunnelSessionTable.EntityData.BundleName = "cisco_ios_xe"
cvpdnTunnelSessionTable.EntityData.ParentYangName = "CISCO-VPDN-MGMT-MIB"
cvpdnTunnelSessionTable.EntityData.SegmentPath = "cvpdnTunnelSessionTable"
cvpdnTunnelSessionTable.EntityData.AbsolutePath = "CISCO-VPDN-MGMT-MIB:CISCO-VPDN-MGMT-MIB/" + cvpdnTunnelSessionTable.EntityData.SegmentPath
cvpdnTunnelSessionTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cvpdnTunnelSessionTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cvpdnTunnelSessionTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cvpdnTunnelSessionTable.EntityData.Children = types.NewOrderedMap()
cvpdnTunnelSessionTable.EntityData.Children.Append("cvpdnTunnelSessionEntry", types.YChild{"CvpdnTunnelSessionEntry", nil})
for i := range cvpdnTunnelSessionTable.CvpdnTunnelSessionEntry {
cvpdnTunnelSessionTable.EntityData.Children.Append(types.GetSegmentPath(cvpdnTunnelSessionTable.CvpdnTunnelSessionEntry[i]), types.YChild{"CvpdnTunnelSessionEntry", cvpdnTunnelSessionTable.CvpdnTunnelSessionEntry[i]})
}
cvpdnTunnelSessionTable.EntityData.Leafs = types.NewOrderedMap()
cvpdnTunnelSessionTable.EntityData.YListKeys = []string {}
return &(cvpdnTunnelSessionTable.EntityData)
}
// CISCOVPDNMGMTMIB_CvpdnTunnelSessionTable_CvpdnTunnelSessionEntry
// An entry in the table, containing information about a
// single user session within the tunnel.
type CISCOVPDNMGMTMIB_CvpdnTunnelSessionTable_CvpdnTunnelSessionEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The type is string with range: 0..4294967295.
// Refers to
// cisco_vpdn_mgmt_mib.CISCOVPDNMGMTMIB_CvpdnTunnelTable_CvpdnTunnelEntry_CvpdnTunnelTunnelId
CvpdnTunnelTunnelId interface{}
// This attribute is a key. The ID of an active VPDN tunnel user session. The
// type is interface{} with range: 0..4294967295.
CvpdnTunnelSessionId interface{}
// The name of the user of the user session. The type is string with length:
// 1..255.
CvpdnTunnelSessionUserName interface{}
// The current state of an active user session. Each state code is explained
// below: unknown: The current state of the tunnel's
// session is unknown. opening: The user session has just been
// initiated through a tunnel and is pending for the
// remote end reply to complete the process. open:
// The user session is active. closing: The user session has
// just been closed and is pending for the
// remote end reply to complete the process.
// waitingForTunnel: The user session is in this state