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
/
atm_vcm_oper.go
1668 lines (1302 loc) · 71.9 KB
/
atm_vcm_oper.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 contains a collection of YANG definitions
// for Cisco IOS-XR atm-vcm package operational data.
//
// This module contains definitions
// for the following management objects:
// atm-vcm: ATM VCM operational data
//
// Copyright (c) 2013-2018 by Cisco Systems, Inc.
// All rights reserved.
package atm_vcm_oper
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_xr"
"reflect"
)
func init() {
ydk.YLogDebug(fmt.Sprintf("Registering top level entities for package atm_vcm_oper"))
ydk.RegisterEntity("{http://cisco.com/ns/yang/Cisco-IOS-XR-atm-vcm-oper atm-vcm}", reflect.TypeOf(AtmVcm{}))
ydk.RegisterEntity("Cisco-IOS-XR-atm-vcm-oper:atm-vcm", reflect.TypeOf(AtmVcm{}))
}
// Vc represents ATM VC type
type Vc string
const (
// ATM Layer 3 VC type
Vc_layer3_vc Vc = "layer3-vc"
// ATM Layer 2 VC type
Vc_layer2_vc Vc = "layer2-vc"
// ATM Layer 2 VP type
Vc_layer2_vp Vc = "layer2-vp"
// ATM type unknown
Vc_vc_type_unknown Vc = "vc-type-unknown"
)
// VcEncap represents VC Encapsulation Type
type VcEncap string
const (
// ILMI Encapsulation
VcEncap_ilmi VcEncap = "ilmi"
// QSAAL Encapsulation
VcEncap_qsaal VcEncap = "qsaal"
// SNAP Encapsulation
VcEncap_snap VcEncap = "snap"
// MUX Encapsulation
VcEncap_mux VcEncap = "mux"
// NLPID Encapsulation
VcEncap_nlpid VcEncap = "nlpid"
// F4OAM Encapsulation
VcEncap_f4oam VcEncap = "f4oam"
// AAL0 Encapsulation
VcEncap_aal0 VcEncap = "aal0"
// AAL5 Encapsulation
VcEncap_aal5 VcEncap = "aal5"
// Uknown (invalid) Encapsulation
VcEncap_encap_unknown VcEncap = "encap-unknown"
)
// VcManageLevel represents ATM Class link manage level
type VcManageLevel string
const (
// Managed
VcManageLevel_manage VcManageLevel = "manage"
// Not managed
VcManageLevel_not_managed VcManageLevel = "not-managed"
)
// VcTestMode represents VC Test Mode Type
type VcTestMode string
const (
// VC not in test mode
VcTestMode_test_mode_none VcTestMode = "test-mode-none"
// VC in test mode Loop
VcTestMode_loop VcTestMode = "loop"
// VC in test mode Reserved
VcTestMode_reserved VcTestMode = "reserved"
)
// VpTrafShaping represents VP-Tunnel traffic shaping type
type VpTrafShaping string
const (
// VP-Tunnel traffic shaping type CBR
VpTrafShaping_vp_cbr VpTrafShaping = "vp-cbr"
// VP-Tunnel traffic shaping type VBR-NR
VpTrafShaping_vp_vbr_nrt VpTrafShaping = "vp-vbr-nrt"
// VP-Tunnel traffic shaping type VBR-RT
VpTrafShaping_vp_vbr_rt VpTrafShaping = "vp-vbr-rt"
// VP-Tunnel traffic shaping type ABR
VpTrafShaping_vp_abr VpTrafShaping = "vp-abr"
// VP-Tunnel traffic shaping type UBR+
VpTrafShaping_vp_ubr_plus VpTrafShaping = "vp-ubr-plus"
// VP-Tunnel traffic shaping type UBR
VpTrafShaping_vp_ubr VpTrafShaping = "vp-ubr"
// VP-Tunnel traffic shaping type Unknown
// (invalid)
VpTrafShaping_vp_traf_shaping_unknown VpTrafShaping = "vp-traf-shaping-unknown"
)
// VcState represents VC State
type VcState string
const (
// ATM VC State: only VC data structure
// initialized
VcState_initialized VcState = "initialized"
// ATM VC State: configuration currently being
// changed
VcState_modifying VcState = "modifying"
// ATM VC State: configuration changed
VcState_modified VcState = "modified"
// ATM VC State: command sent to hardware to
// activate
VcState_activating VcState = "activating"
// ATM VC State: activated in h/w or protocol
VcState_activated VcState = "activated"
// ATM VC State: OAM/ILMI - yet to verify
VcState_not_verified VcState = "not-verified"
// ATM VC State: Ready state
VcState_ready VcState = "ready"
// ATM VC State: command sent to h/w to deactivate
VcState_deactivating VcState = "deactivating"
// ATM VC State: inactive/not present in hardware
VcState_inactive VcState = "inactive"
// ATM VC State: VC is being deleted
VcState_deleting VcState = "deleting"
// ATM VC State: VC is already delete in hardware
VcState_deleted VcState = "deleted"
// ATM VC State: Unknown(invalid)
VcState_state_unknown VcState = "state-unknown"
)
// ClassLinkOamInheritLevel represents ATM VC-class inheritence level for class-link
type ClassLinkOamInheritLevel string
const (
// Configured on VC
ClassLinkOamInheritLevel_vc_configured_onvc ClassLinkOamInheritLevel = "vc-configured-onvc"
// Class on VC
ClassLinkOamInheritLevel_vc_class_onvc ClassLinkOamInheritLevel = "vc-class-onvc"
// Class on sub-if
ClassLinkOamInheritLevel_vc_class_on_sub_interface ClassLinkOamInheritLevel = "vc-class-on-sub-interface"
// Class on main-if
ClassLinkOamInheritLevel_vc_class_on_main_interface ClassLinkOamInheritLevel = "vc-class-on-main-interface"
// Global default values
ClassLinkOamInheritLevel_vc_global_default ClassLinkOamInheritLevel = "vc-global-default"
// Unknown (invalid)
ClassLinkOamInheritLevel_vc_inherit_level_unknown ClassLinkOamInheritLevel = "vc-inherit-level-unknown"
)
// VpState represents VP-Tunnel State
type VpState string
const (
// VP-Tunnel State: Initialized
VpState_vp_initialized VpState = "vp-initialized"
// VP-Tunnel State: Modifying
VpState_vp_modifying VpState = "vp-modifying"
// VP-Tunnel State: Ready
VpState_vp_ready VpState = "vp-ready"
// VP-Tunnel State: Managed Down
VpState_vp_mgd_down VpState = "vp-mgd-down"
// VP-Tunnel State: Deleting
VpState_vp_deleting VpState = "vp-deleting"
// VP-Tunnel State: Deleted
VpState_vp_deleted VpState = "vp-deleted"
// VP-Tunnel State: Unknown
VpState_vp_state_unknown VpState = "vp-state-unknown"
)
// VcTrafShaping represents VC traffic shaping type
type VcTrafShaping string
const (
// VC traffic shaping type CBR
VcTrafShaping_cbr VcTrafShaping = "cbr"
// VC traffic shaping type VBR-NR
VcTrafShaping_vbr_nrt VcTrafShaping = "vbr-nrt"
// VC traffic shaping type VBR-RT
VcTrafShaping_vbr_rt VcTrafShaping = "vbr-rt"
// VC traffic shaping type ABR
VcTrafShaping_abr VcTrafShaping = "abr"
// VC traffic shaping type UBR+
VcTrafShaping_ubr_plus VcTrafShaping = "ubr-plus"
// VC traffic shaping type UBR
VcTrafShaping_ubr VcTrafShaping = "ubr"
// VC traffic shaping type Unknown (invalid)
VcTrafShaping_traf_shaping_unknown VcTrafShaping = "traf-shaping-unknown"
)
// VcCellPackingMode represents ATM VC cell packing mode
type VcCellPackingMode string
const (
// VP mode
VcCellPackingMode_vp VcCellPackingMode = "vp"
// VC mode
VcCellPackingMode_vc VcCellPackingMode = "vc"
// Port mode
VcCellPackingMode_port_mode VcCellPackingMode = "port-mode"
)
// VcmPort represents ATM port type
type VcmPort string
const (
// Layer 2 ATM port type
VcmPort_port_type_layer_2 VcmPort = "port-type-layer-2"
// Layer 3 ATM port type
VcmPort_port_type_layer_3 VcmPort = "port-type-layer-3"
// ATM port type unknown
VcmPort_port_type_unknown VcmPort = "port-type-unknown"
)
// VcInheritLevel represents ATM vc-class inheritence level
type VcInheritLevel string
const (
// ATM vc-class inherit level: Config of VC
VcInheritLevel_directly_configured_onvc VcInheritLevel = "directly-configured-onvc"
// ATM vc-class inherit level: Class of VC
VcInheritLevel_vc_class_configured_onvc VcInheritLevel = "vc-class-configured-onvc"
// ATM vc-class inherit level: Class of Sub-if
VcInheritLevel_vc_class_configured_on_sub_interface VcInheritLevel = "vc-class-configured-on-sub-interface"
// ATM vc-class inherit level: Class of Main-if
VcInheritLevel_vc_class_configured_on_main_interface VcInheritLevel = "vc-class-configured-on-main-interface"
// ATM vc-class inherit level: Global Default
VcInheritLevel_global_default VcInheritLevel = "global-default"
// ATM vc-class inherit level: Unknown (invalid)
VcInheritLevel_unknown VcInheritLevel = "unknown"
// ATM vc-class inherit level: Not supported on
// this VC class
VcInheritLevel_not_supported VcInheritLevel = "not-supported"
)
// AtmVcm
// ATM VCM operational data
type AtmVcm struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Contains all the nodes.
Nodes AtmVcm_Nodes
}
func (atmVcm *AtmVcm) GetEntityData() *types.CommonEntityData {
atmVcm.EntityData.YFilter = atmVcm.YFilter
atmVcm.EntityData.YangName = "atm-vcm"
atmVcm.EntityData.BundleName = "cisco_ios_xr"
atmVcm.EntityData.ParentYangName = "Cisco-IOS-XR-atm-vcm-oper"
atmVcm.EntityData.SegmentPath = "Cisco-IOS-XR-atm-vcm-oper:atm-vcm"
atmVcm.EntityData.AbsolutePath = atmVcm.EntityData.SegmentPath
atmVcm.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
atmVcm.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
atmVcm.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
atmVcm.EntityData.Children = types.NewOrderedMap()
atmVcm.EntityData.Children.Append("nodes", types.YChild{"Nodes", &atmVcm.Nodes})
atmVcm.EntityData.Leafs = types.NewOrderedMap()
atmVcm.EntityData.YListKeys = []string {}
return &(atmVcm.EntityData)
}
// AtmVcm_Nodes
// Contains all the nodes
type AtmVcm_Nodes struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// The node on which ATM Interfaces/VCs/VPs are located. The type is slice of
// AtmVcm_Nodes_Node.
Node []*AtmVcm_Nodes_Node
}
func (nodes *AtmVcm_Nodes) GetEntityData() *types.CommonEntityData {
nodes.EntityData.YFilter = nodes.YFilter
nodes.EntityData.YangName = "nodes"
nodes.EntityData.BundleName = "cisco_ios_xr"
nodes.EntityData.ParentYangName = "atm-vcm"
nodes.EntityData.SegmentPath = "nodes"
nodes.EntityData.AbsolutePath = "Cisco-IOS-XR-atm-vcm-oper:atm-vcm/" + nodes.EntityData.SegmentPath
nodes.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
nodes.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
nodes.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
nodes.EntityData.Children = types.NewOrderedMap()
nodes.EntityData.Children.Append("node", types.YChild{"Node", nil})
for i := range nodes.Node {
nodes.EntityData.Children.Append(types.GetSegmentPath(nodes.Node[i]), types.YChild{"Node", nodes.Node[i]})
}
nodes.EntityData.Leafs = types.NewOrderedMap()
nodes.EntityData.YListKeys = []string {}
return &(nodes.EntityData)
}
// AtmVcm_Nodes_Node
// The node on which ATM Interfaces/VCs/VPs are
// located
type AtmVcm_Nodes_Node struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. The node name. The type is string with pattern:
// ([a-zA-Z0-9_]*\d+/){1,2}([a-zA-Z0-9_]*\d+).
NodeName interface{}
// Contains all VC information for node.
Vcs AtmVcm_Nodes_Node_Vcs
// Contains all cell packing information for node.
CellPacks AtmVcm_Nodes_Node_CellPacks
// Contains all L2 PVP information for node.
Pvps AtmVcm_Nodes_Node_Pvps
// Contains all class link information for node.
ClassLinks AtmVcm_Nodes_Node_ClassLinks
// Contains all Interface information for node.
Interfaces AtmVcm_Nodes_Node_Interfaces
// Contains all VP-tunnel information for node.
VpTunnels AtmVcm_Nodes_Node_VpTunnels
}
func (node *AtmVcm_Nodes_Node) GetEntityData() *types.CommonEntityData {
node.EntityData.YFilter = node.YFilter
node.EntityData.YangName = "node"
node.EntityData.BundleName = "cisco_ios_xr"
node.EntityData.ParentYangName = "nodes"
node.EntityData.SegmentPath = "node" + types.AddKeyToken(node.NodeName, "node-name")
node.EntityData.AbsolutePath = "Cisco-IOS-XR-atm-vcm-oper:atm-vcm/nodes/" + node.EntityData.SegmentPath
node.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
node.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
node.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
node.EntityData.Children = types.NewOrderedMap()
node.EntityData.Children.Append("vcs", types.YChild{"Vcs", &node.Vcs})
node.EntityData.Children.Append("cell-packs", types.YChild{"CellPacks", &node.CellPacks})
node.EntityData.Children.Append("pvps", types.YChild{"Pvps", &node.Pvps})
node.EntityData.Children.Append("class-links", types.YChild{"ClassLinks", &node.ClassLinks})
node.EntityData.Children.Append("interfaces", types.YChild{"Interfaces", &node.Interfaces})
node.EntityData.Children.Append("vp-tunnels", types.YChild{"VpTunnels", &node.VpTunnels})
node.EntityData.Leafs = types.NewOrderedMap()
node.EntityData.Leafs.Append("node-name", types.YLeaf{"NodeName", node.NodeName})
node.EntityData.YListKeys = []string {"NodeName"}
return &(node.EntityData)
}
// AtmVcm_Nodes_Node_Vcs
// Contains all VC information for node
type AtmVcm_Nodes_Node_Vcs struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// All VC information on a node. The type is slice of
// AtmVcm_Nodes_Node_Vcs_Vc.
Vc []*AtmVcm_Nodes_Node_Vcs_Vc
}
func (vcs *AtmVcm_Nodes_Node_Vcs) GetEntityData() *types.CommonEntityData {
vcs.EntityData.YFilter = vcs.YFilter
vcs.EntityData.YangName = "vcs"
vcs.EntityData.BundleName = "cisco_ios_xr"
vcs.EntityData.ParentYangName = "node"
vcs.EntityData.SegmentPath = "vcs"
vcs.EntityData.AbsolutePath = "Cisco-IOS-XR-atm-vcm-oper:atm-vcm/nodes/node/" + vcs.EntityData.SegmentPath
vcs.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
vcs.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
vcs.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
vcs.EntityData.Children = types.NewOrderedMap()
vcs.EntityData.Children.Append("vc", types.YChild{"Vc", nil})
for i := range vcs.Vc {
vcs.EntityData.Children.Append(types.GetSegmentPath(vcs.Vc[i]), types.YChild{"Vc", vcs.Vc[i]})
}
vcs.EntityData.Leafs = types.NewOrderedMap()
vcs.EntityData.YListKeys = []string {}
return &(vcs.EntityData)
}
// AtmVcm_Nodes_Node_Vcs_Vc
// All VC information on a node
type AtmVcm_Nodes_Node_Vcs_Vc struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. Interface name. The type is string with pattern:
// [a-zA-Z0-9._/-]+.
InterfaceName interface{}
// VPI. The type is interface{} with range: 0..4095.
Vpi interface{}
// VCI. The type is interface{} with range: 1..65535.
Vci interface{}
// Main Interface handle. The type is string with pattern: [a-zA-Z0-9._/-]+.
MainInterface interface{}
// Subinterface handle. The type is string with pattern: [a-zA-Z0-9._/-]+.
SubInterface interface{}
// VC Interfcace handle. The type is string with pattern: [a-zA-Z0-9._/-]+.
VcInterface interface{}
// VC VPI value. The type is interface{} with range: 0..65535.
VpiXr interface{}
// VC VCI value. The type is interface{} with range: 0..65535.
VciXr interface{}
// VC Type. The type is Vc.
Type interface{}
// Encapsulation type. The type is VcEncap.
Encapsulation interface{}
// ATM VC traffic shaping type. The type is VcTrafShaping.
Shape interface{}
// Peak cell rate in Kbps. The type is interface{} with range: 0..4294967295.
// Units are kbit/s.
PeakCellRate interface{}
// Sustained cell rate in Kbps. The type is interface{} with range:
// 0..4294967295. Units are kbit/s.
SustainedCellRate interface{}
// Burst size in cells. The type is interface{} with range: 0..4294967295.
BurstRate interface{}
// Encapsulation inherit level - identifies if encapsulation is set to
// default, configured on the VC, or inherited from the vcclass. The type is
// VcInheritLevel.
EncapsInheritLevel interface{}
// Quality of Service inherit level - identifies if QoS is set to default,
// configured on the VC, or inherited from the vcclass. The type is
// VcInheritLevel.
QosInheritLevel interface{}
// Transmit MTU. The type is interface{} with range: 0..4294967295.
TransmitMtu interface{}
// Receive MTU. The type is interface{} with range: 0..4294967295.
ReceiveMtu interface{}
// VC on VP-tunnel flag. The type is bool.
VcOnvpTunnel interface{}
// VC on Point-to-point Sub-interface. The type is bool.
VcOnP2pSubInterface interface{}
// TRUE value indicates that the VC is operationally UP. The type is bool.
OperStatus interface{}
// TRUE value indicates that the VC is administratively UP. The type is bool.
AminStatus interface{}
// VC Internal state. The type is VcState.
InternalState interface{}
// Time when VC was last changed. The type is interface{} with range:
// 0..4294967295.
LastStateChangeTime interface{}
// VC test mode. The type is VcTestMode.
TestMode interface{}
// Cell packing specific data.
CellPackingData AtmVcm_Nodes_Node_Vcs_Vc_CellPackingData
}
func (vc *AtmVcm_Nodes_Node_Vcs_Vc) GetEntityData() *types.CommonEntityData {
vc.EntityData.YFilter = vc.YFilter
vc.EntityData.YangName = "vc"
vc.EntityData.BundleName = "cisco_ios_xr"
vc.EntityData.ParentYangName = "vcs"
vc.EntityData.SegmentPath = "vc" + types.AddKeyToken(vc.InterfaceName, "interface-name")
vc.EntityData.AbsolutePath = "Cisco-IOS-XR-atm-vcm-oper:atm-vcm/nodes/node/vcs/" + vc.EntityData.SegmentPath
vc.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
vc.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
vc.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
vc.EntityData.Children = types.NewOrderedMap()
vc.EntityData.Children.Append("cell-packing-data", types.YChild{"CellPackingData", &vc.CellPackingData})
vc.EntityData.Leafs = types.NewOrderedMap()
vc.EntityData.Leafs.Append("interface-name", types.YLeaf{"InterfaceName", vc.InterfaceName})
vc.EntityData.Leafs.Append("vpi", types.YLeaf{"Vpi", vc.Vpi})
vc.EntityData.Leafs.Append("vci", types.YLeaf{"Vci", vc.Vci})
vc.EntityData.Leafs.Append("main-interface", types.YLeaf{"MainInterface", vc.MainInterface})
vc.EntityData.Leafs.Append("sub-interface", types.YLeaf{"SubInterface", vc.SubInterface})
vc.EntityData.Leafs.Append("vc-interface", types.YLeaf{"VcInterface", vc.VcInterface})
vc.EntityData.Leafs.Append("vpi-xr", types.YLeaf{"VpiXr", vc.VpiXr})
vc.EntityData.Leafs.Append("vci-xr", types.YLeaf{"VciXr", vc.VciXr})
vc.EntityData.Leafs.Append("type", types.YLeaf{"Type", vc.Type})
vc.EntityData.Leafs.Append("encapsulation", types.YLeaf{"Encapsulation", vc.Encapsulation})
vc.EntityData.Leafs.Append("shape", types.YLeaf{"Shape", vc.Shape})
vc.EntityData.Leafs.Append("peak-cell-rate", types.YLeaf{"PeakCellRate", vc.PeakCellRate})
vc.EntityData.Leafs.Append("sustained-cell-rate", types.YLeaf{"SustainedCellRate", vc.SustainedCellRate})
vc.EntityData.Leafs.Append("burst-rate", types.YLeaf{"BurstRate", vc.BurstRate})
vc.EntityData.Leafs.Append("encaps-inherit-level", types.YLeaf{"EncapsInheritLevel", vc.EncapsInheritLevel})
vc.EntityData.Leafs.Append("qos-inherit-level", types.YLeaf{"QosInheritLevel", vc.QosInheritLevel})
vc.EntityData.Leafs.Append("transmit-mtu", types.YLeaf{"TransmitMtu", vc.TransmitMtu})
vc.EntityData.Leafs.Append("receive-mtu", types.YLeaf{"ReceiveMtu", vc.ReceiveMtu})
vc.EntityData.Leafs.Append("vc-onvp-tunnel", types.YLeaf{"VcOnvpTunnel", vc.VcOnvpTunnel})
vc.EntityData.Leafs.Append("vc-on-p2p-sub-interface", types.YLeaf{"VcOnP2pSubInterface", vc.VcOnP2pSubInterface})
vc.EntityData.Leafs.Append("oper-status", types.YLeaf{"OperStatus", vc.OperStatus})
vc.EntityData.Leafs.Append("amin-status", types.YLeaf{"AminStatus", vc.AminStatus})
vc.EntityData.Leafs.Append("internal-state", types.YLeaf{"InternalState", vc.InternalState})
vc.EntityData.Leafs.Append("last-state-change-time", types.YLeaf{"LastStateChangeTime", vc.LastStateChangeTime})
vc.EntityData.Leafs.Append("test-mode", types.YLeaf{"TestMode", vc.TestMode})
vc.EntityData.YListKeys = []string {"InterfaceName"}
return &(vc.EntityData)
}
// AtmVcm_Nodes_Node_Vcs_Vc_CellPackingData
// Cell packing specific data
type AtmVcm_Nodes_Node_Vcs_Vc_CellPackingData struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Local configuration of maximum number of cells to be packed per packet. The
// type is interface{} with range: 0..65535.
LocalMaxCellsPackedPerPacket interface{}
// Negotiated value of maximum number of cells to be packed per packed. The
// type is interface{} with range: 0..65535.
NegotiatedMaxCellsPackedPerPacket interface{}
// Maximum cell packing timeout inmicro seconds. The type is interface{} with
// range: 0..65535. Units are microsecond.
MaxCellPackedTimeout interface{}
}
func (cellPackingData *AtmVcm_Nodes_Node_Vcs_Vc_CellPackingData) GetEntityData() *types.CommonEntityData {
cellPackingData.EntityData.YFilter = cellPackingData.YFilter
cellPackingData.EntityData.YangName = "cell-packing-data"
cellPackingData.EntityData.BundleName = "cisco_ios_xr"
cellPackingData.EntityData.ParentYangName = "vc"
cellPackingData.EntityData.SegmentPath = "cell-packing-data"
cellPackingData.EntityData.AbsolutePath = "Cisco-IOS-XR-atm-vcm-oper:atm-vcm/nodes/node/vcs/vc/" + cellPackingData.EntityData.SegmentPath
cellPackingData.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
cellPackingData.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
cellPackingData.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
cellPackingData.EntityData.Children = types.NewOrderedMap()
cellPackingData.EntityData.Leafs = types.NewOrderedMap()
cellPackingData.EntityData.Leafs.Append("local-max-cells-packed-per-packet", types.YLeaf{"LocalMaxCellsPackedPerPacket", cellPackingData.LocalMaxCellsPackedPerPacket})
cellPackingData.EntityData.Leafs.Append("negotiated-max-cells-packed-per-packet", types.YLeaf{"NegotiatedMaxCellsPackedPerPacket", cellPackingData.NegotiatedMaxCellsPackedPerPacket})
cellPackingData.EntityData.Leafs.Append("max-cell-packed-timeout", types.YLeaf{"MaxCellPackedTimeout", cellPackingData.MaxCellPackedTimeout})
cellPackingData.EntityData.YListKeys = []string {}
return &(cellPackingData.EntityData)
}
// AtmVcm_Nodes_Node_CellPacks
// Contains all cell packing information for node
type AtmVcm_Nodes_Node_CellPacks struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// All cell packing information on a node. The type is slice of
// AtmVcm_Nodes_Node_CellPacks_CellPack.
CellPack []*AtmVcm_Nodes_Node_CellPacks_CellPack
}
func (cellPacks *AtmVcm_Nodes_Node_CellPacks) GetEntityData() *types.CommonEntityData {
cellPacks.EntityData.YFilter = cellPacks.YFilter
cellPacks.EntityData.YangName = "cell-packs"
cellPacks.EntityData.BundleName = "cisco_ios_xr"
cellPacks.EntityData.ParentYangName = "node"
cellPacks.EntityData.SegmentPath = "cell-packs"
cellPacks.EntityData.AbsolutePath = "Cisco-IOS-XR-atm-vcm-oper:atm-vcm/nodes/node/" + cellPacks.EntityData.SegmentPath
cellPacks.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
cellPacks.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
cellPacks.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
cellPacks.EntityData.Children = types.NewOrderedMap()
cellPacks.EntityData.Children.Append("cell-pack", types.YChild{"CellPack", nil})
for i := range cellPacks.CellPack {
types.SetYListKey(cellPacks.CellPack[i], i)
cellPacks.EntityData.Children.Append(types.GetSegmentPath(cellPacks.CellPack[i]), types.YChild{"CellPack", cellPacks.CellPack[i]})
}
cellPacks.EntityData.Leafs = types.NewOrderedMap()
cellPacks.EntityData.YListKeys = []string {}
return &(cellPacks.EntityData)
}
// AtmVcm_Nodes_Node_CellPacks_CellPack
// All cell packing information on a node
type AtmVcm_Nodes_Node_CellPacks_CellPack struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// Interface name. The type is string with pattern: [a-zA-Z0-9._/-]+.
InterfaceName interface{}
// PCI. The type is interface{} with range: 0..4294967295.
Pci interface{}
// Sub-interface name. The type is string with pattern: [a-zA-Z0-9._/-]+.
SubInterfaceName interface{}
// ATM cell packing mode. The type is VcCellPackingMode.
CellPackingMode interface{}
// VPI. The type is interface{} with range: 0..4294967295.
Vpi interface{}
// VCI. The type is interface{} with range: 0..4294967295.
Vci interface{}
// Average cells/packets received. The type is interface{} with range:
// 0..18446744073709551615.
ReceivedAverageCellsPackets interface{}
// Average cells/packets sent. The type is interface{} with range:
// 0..18446744073709551615.
SentCellsPackets interface{}
// Cell packing specific data.
CellPacking AtmVcm_Nodes_Node_CellPacks_CellPack_CellPacking
}
func (cellPack *AtmVcm_Nodes_Node_CellPacks_CellPack) GetEntityData() *types.CommonEntityData {
cellPack.EntityData.YFilter = cellPack.YFilter
cellPack.EntityData.YangName = "cell-pack"
cellPack.EntityData.BundleName = "cisco_ios_xr"
cellPack.EntityData.ParentYangName = "cell-packs"
cellPack.EntityData.SegmentPath = "cell-pack" + types.AddNoKeyToken(cellPack)
cellPack.EntityData.AbsolutePath = "Cisco-IOS-XR-atm-vcm-oper:atm-vcm/nodes/node/cell-packs/" + cellPack.EntityData.SegmentPath
cellPack.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
cellPack.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
cellPack.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
cellPack.EntityData.Children = types.NewOrderedMap()
cellPack.EntityData.Children.Append("cell-packing", types.YChild{"CellPacking", &cellPack.CellPacking})
cellPack.EntityData.Leafs = types.NewOrderedMap()
cellPack.EntityData.Leafs.Append("interface-name", types.YLeaf{"InterfaceName", cellPack.InterfaceName})
cellPack.EntityData.Leafs.Append("pci", types.YLeaf{"Pci", cellPack.Pci})
cellPack.EntityData.Leafs.Append("sub-interface-name", types.YLeaf{"SubInterfaceName", cellPack.SubInterfaceName})
cellPack.EntityData.Leafs.Append("cell-packing-mode", types.YLeaf{"CellPackingMode", cellPack.CellPackingMode})
cellPack.EntityData.Leafs.Append("vpi", types.YLeaf{"Vpi", cellPack.Vpi})
cellPack.EntityData.Leafs.Append("vci", types.YLeaf{"Vci", cellPack.Vci})
cellPack.EntityData.Leafs.Append("received-average-cells-packets", types.YLeaf{"ReceivedAverageCellsPackets", cellPack.ReceivedAverageCellsPackets})
cellPack.EntityData.Leafs.Append("sent-cells-packets", types.YLeaf{"SentCellsPackets", cellPack.SentCellsPackets})
cellPack.EntityData.YListKeys = []string {}
return &(cellPack.EntityData)
}
// AtmVcm_Nodes_Node_CellPacks_CellPack_CellPacking
// Cell packing specific data
type AtmVcm_Nodes_Node_CellPacks_CellPack_CellPacking struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Local configuration of maximum number of cells to be packed per packet. The
// type is interface{} with range: 0..65535.
LocalMaxCellsPackedPerPacket interface{}
// Negotiated value of maximum number of cells to be packed per packed. The
// type is interface{} with range: 0..65535.
NegotiatedMaxCellsPackedPerPacket interface{}
// Maximum cell packing timeout inmicro seconds. The type is interface{} with
// range: 0..65535. Units are microsecond.
MaxCellPackedTimeout interface{}
}
func (cellPacking *AtmVcm_Nodes_Node_CellPacks_CellPack_CellPacking) GetEntityData() *types.CommonEntityData {
cellPacking.EntityData.YFilter = cellPacking.YFilter
cellPacking.EntityData.YangName = "cell-packing"
cellPacking.EntityData.BundleName = "cisco_ios_xr"
cellPacking.EntityData.ParentYangName = "cell-pack"
cellPacking.EntityData.SegmentPath = "cell-packing"
cellPacking.EntityData.AbsolutePath = "Cisco-IOS-XR-atm-vcm-oper:atm-vcm/nodes/node/cell-packs/cell-pack/" + cellPacking.EntityData.SegmentPath
cellPacking.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
cellPacking.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
cellPacking.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
cellPacking.EntityData.Children = types.NewOrderedMap()
cellPacking.EntityData.Leafs = types.NewOrderedMap()
cellPacking.EntityData.Leafs.Append("local-max-cells-packed-per-packet", types.YLeaf{"LocalMaxCellsPackedPerPacket", cellPacking.LocalMaxCellsPackedPerPacket})
cellPacking.EntityData.Leafs.Append("negotiated-max-cells-packed-per-packet", types.YLeaf{"NegotiatedMaxCellsPackedPerPacket", cellPacking.NegotiatedMaxCellsPackedPerPacket})
cellPacking.EntityData.Leafs.Append("max-cell-packed-timeout", types.YLeaf{"MaxCellPackedTimeout", cellPacking.MaxCellPackedTimeout})
cellPacking.EntityData.YListKeys = []string {}
return &(cellPacking.EntityData)
}
// AtmVcm_Nodes_Node_Pvps
// Contains all L2 PVP information for node
type AtmVcm_Nodes_Node_Pvps struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// All L2 PVP information on a node. The type is slice of
// AtmVcm_Nodes_Node_Pvps_Pvp.
Pvp []*AtmVcm_Nodes_Node_Pvps_Pvp
}
func (pvps *AtmVcm_Nodes_Node_Pvps) GetEntityData() *types.CommonEntityData {
pvps.EntityData.YFilter = pvps.YFilter
pvps.EntityData.YangName = "pvps"
pvps.EntityData.BundleName = "cisco_ios_xr"
pvps.EntityData.ParentYangName = "node"
pvps.EntityData.SegmentPath = "pvps"
pvps.EntityData.AbsolutePath = "Cisco-IOS-XR-atm-vcm-oper:atm-vcm/nodes/node/" + pvps.EntityData.SegmentPath
pvps.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
pvps.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
pvps.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
pvps.EntityData.Children = types.NewOrderedMap()
pvps.EntityData.Children.Append("pvp", types.YChild{"Pvp", nil})
for i := range pvps.Pvp {
pvps.EntityData.Children.Append(types.GetSegmentPath(pvps.Pvp[i]), types.YChild{"Pvp", pvps.Pvp[i]})
}
pvps.EntityData.Leafs = types.NewOrderedMap()
pvps.EntityData.YListKeys = []string {}
return &(pvps.EntityData)
}
// AtmVcm_Nodes_Node_Pvps_Pvp
// All L2 PVP information on a node
type AtmVcm_Nodes_Node_Pvps_Pvp struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. Interface name. The type is string with pattern:
// [a-zA-Z0-9._/-]+.
InterfaceName interface{}
// VPI. The type is interface{} with range: 0..4294967295.
Vpi interface{}
// Main Interface handle. The type is string with pattern: [a-zA-Z0-9._/-]+.
MainInterface interface{}
// Subinterface handle. The type is string with pattern: [a-zA-Z0-9._/-]+.
SubInterface interface{}
// VC Interfcace handle. The type is string with pattern: [a-zA-Z0-9._/-]+.
VcInterface interface{}
// VC VPI value. The type is interface{} with range: 0..65535.
VpiXr interface{}
// VC VCI value. The type is interface{} with range: 0..65535.
VciXr interface{}
// VC Type. The type is Vc.
Type interface{}
// Encapsulation type. The type is VcEncap.
Encapsulation interface{}
// ATM VC traffic shaping type. The type is VcTrafShaping.
Shape interface{}
// Peak cell rate in Kbps. The type is interface{} with range: 0..4294967295.
// Units are kbit/s.
PeakCellRate interface{}
// Sustained cell rate in Kbps. The type is interface{} with range:
// 0..4294967295. Units are kbit/s.
SustainedCellRate interface{}
// Burst size in cells. The type is interface{} with range: 0..4294967295.
BurstRate interface{}
// Encapsulation inherit level - identifies if encapsulation is set to
// default, configured on the VC, or inherited from the vcclass. The type is
// VcInheritLevel.
EncapsInheritLevel interface{}
// Quality of Service inherit level - identifies if QoS is set to default,
// configured on the VC, or inherited from the vcclass. The type is
// VcInheritLevel.
QosInheritLevel interface{}
// Transmit MTU. The type is interface{} with range: 0..4294967295.
TransmitMtu interface{}
// Receive MTU. The type is interface{} with range: 0..4294967295.
ReceiveMtu interface{}
// VC on VP-tunnel flag. The type is bool.
VcOnvpTunnel interface{}
// VC on Point-to-point Sub-interface. The type is bool.
VcOnP2pSubInterface interface{}
// TRUE value indicates that the VC is operationally UP. The type is bool.
OperStatus interface{}
// TRUE value indicates that the VC is administratively UP. The type is bool.
AminStatus interface{}
// VC Internal state. The type is VcState.
InternalState interface{}
// Time when VC was last changed. The type is interface{} with range:
// 0..4294967295.
LastStateChangeTime interface{}
// VC test mode. The type is VcTestMode.
TestMode interface{}
// Cell packing specific data.
CellPackingData AtmVcm_Nodes_Node_Pvps_Pvp_CellPackingData
}
func (pvp *AtmVcm_Nodes_Node_Pvps_Pvp) GetEntityData() *types.CommonEntityData {
pvp.EntityData.YFilter = pvp.YFilter
pvp.EntityData.YangName = "pvp"
pvp.EntityData.BundleName = "cisco_ios_xr"
pvp.EntityData.ParentYangName = "pvps"
pvp.EntityData.SegmentPath = "pvp" + types.AddKeyToken(pvp.InterfaceName, "interface-name")
pvp.EntityData.AbsolutePath = "Cisco-IOS-XR-atm-vcm-oper:atm-vcm/nodes/node/pvps/" + pvp.EntityData.SegmentPath
pvp.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
pvp.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
pvp.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
pvp.EntityData.Children = types.NewOrderedMap()
pvp.EntityData.Children.Append("cell-packing-data", types.YChild{"CellPackingData", &pvp.CellPackingData})
pvp.EntityData.Leafs = types.NewOrderedMap()
pvp.EntityData.Leafs.Append("interface-name", types.YLeaf{"InterfaceName", pvp.InterfaceName})
pvp.EntityData.Leafs.Append("vpi", types.YLeaf{"Vpi", pvp.Vpi})
pvp.EntityData.Leafs.Append("main-interface", types.YLeaf{"MainInterface", pvp.MainInterface})
pvp.EntityData.Leafs.Append("sub-interface", types.YLeaf{"SubInterface", pvp.SubInterface})
pvp.EntityData.Leafs.Append("vc-interface", types.YLeaf{"VcInterface", pvp.VcInterface})
pvp.EntityData.Leafs.Append("vpi-xr", types.YLeaf{"VpiXr", pvp.VpiXr})
pvp.EntityData.Leafs.Append("vci-xr", types.YLeaf{"VciXr", pvp.VciXr})
pvp.EntityData.Leafs.Append("type", types.YLeaf{"Type", pvp.Type})
pvp.EntityData.Leafs.Append("encapsulation", types.YLeaf{"Encapsulation", pvp.Encapsulation})
pvp.EntityData.Leafs.Append("shape", types.YLeaf{"Shape", pvp.Shape})
pvp.EntityData.Leafs.Append("peak-cell-rate", types.YLeaf{"PeakCellRate", pvp.PeakCellRate})
pvp.EntityData.Leafs.Append("sustained-cell-rate", types.YLeaf{"SustainedCellRate", pvp.SustainedCellRate})
pvp.EntityData.Leafs.Append("burst-rate", types.YLeaf{"BurstRate", pvp.BurstRate})
pvp.EntityData.Leafs.Append("encaps-inherit-level", types.YLeaf{"EncapsInheritLevel", pvp.EncapsInheritLevel})
pvp.EntityData.Leafs.Append("qos-inherit-level", types.YLeaf{"QosInheritLevel", pvp.QosInheritLevel})
pvp.EntityData.Leafs.Append("transmit-mtu", types.YLeaf{"TransmitMtu", pvp.TransmitMtu})
pvp.EntityData.Leafs.Append("receive-mtu", types.YLeaf{"ReceiveMtu", pvp.ReceiveMtu})
pvp.EntityData.Leafs.Append("vc-onvp-tunnel", types.YLeaf{"VcOnvpTunnel", pvp.VcOnvpTunnel})
pvp.EntityData.Leafs.Append("vc-on-p2p-sub-interface", types.YLeaf{"VcOnP2pSubInterface", pvp.VcOnP2pSubInterface})
pvp.EntityData.Leafs.Append("oper-status", types.YLeaf{"OperStatus", pvp.OperStatus})
pvp.EntityData.Leafs.Append("amin-status", types.YLeaf{"AminStatus", pvp.AminStatus})
pvp.EntityData.Leafs.Append("internal-state", types.YLeaf{"InternalState", pvp.InternalState})
pvp.EntityData.Leafs.Append("last-state-change-time", types.YLeaf{"LastStateChangeTime", pvp.LastStateChangeTime})
pvp.EntityData.Leafs.Append("test-mode", types.YLeaf{"TestMode", pvp.TestMode})
pvp.EntityData.YListKeys = []string {"InterfaceName"}
return &(pvp.EntityData)
}
// AtmVcm_Nodes_Node_Pvps_Pvp_CellPackingData
// Cell packing specific data
type AtmVcm_Nodes_Node_Pvps_Pvp_CellPackingData struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Local configuration of maximum number of cells to be packed per packet. The
// type is interface{} with range: 0..65535.
LocalMaxCellsPackedPerPacket interface{}
// Negotiated value of maximum number of cells to be packed per packed. The
// type is interface{} with range: 0..65535.
NegotiatedMaxCellsPackedPerPacket interface{}
// Maximum cell packing timeout inmicro seconds. The type is interface{} with
// range: 0..65535. Units are microsecond.
MaxCellPackedTimeout interface{}
}
func (cellPackingData *AtmVcm_Nodes_Node_Pvps_Pvp_CellPackingData) GetEntityData() *types.CommonEntityData {
cellPackingData.EntityData.YFilter = cellPackingData.YFilter
cellPackingData.EntityData.YangName = "cell-packing-data"
cellPackingData.EntityData.BundleName = "cisco_ios_xr"
cellPackingData.EntityData.ParentYangName = "pvp"
cellPackingData.EntityData.SegmentPath = "cell-packing-data"
cellPackingData.EntityData.AbsolutePath = "Cisco-IOS-XR-atm-vcm-oper:atm-vcm/nodes/node/pvps/pvp/" + cellPackingData.EntityData.SegmentPath
cellPackingData.EntityData.CapabilitiesTable = cisco_ios_xr.GetCapabilities()
cellPackingData.EntityData.NamespaceTable = cisco_ios_xr.GetNamespaces()
cellPackingData.EntityData.BundleYangModelsLocation = cisco_ios_xr.GetModelsPath()
cellPackingData.EntityData.Children = types.NewOrderedMap()
cellPackingData.EntityData.Leafs = types.NewOrderedMap()
cellPackingData.EntityData.Leafs.Append("local-max-cells-packed-per-packet", types.YLeaf{"LocalMaxCellsPackedPerPacket", cellPackingData.LocalMaxCellsPackedPerPacket})
cellPackingData.EntityData.Leafs.Append("negotiated-max-cells-packed-per-packet", types.YLeaf{"NegotiatedMaxCellsPackedPerPacket", cellPackingData.NegotiatedMaxCellsPackedPerPacket})
cellPackingData.EntityData.Leafs.Append("max-cell-packed-timeout", types.YLeaf{"MaxCellPackedTimeout", cellPackingData.MaxCellPackedTimeout})
cellPackingData.EntityData.YListKeys = []string {}
return &(cellPackingData.EntityData)
}
// AtmVcm_Nodes_Node_ClassLinks
// Contains all class link information for node
type AtmVcm_Nodes_Node_ClassLinks struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// All ATM VC information on a node. The type is slice of
// AtmVcm_Nodes_Node_ClassLinks_ClassLink.
ClassLink []*AtmVcm_Nodes_Node_ClassLinks_ClassLink
}
func (classLinks *AtmVcm_Nodes_Node_ClassLinks) GetEntityData() *types.CommonEntityData {
classLinks.EntityData.YFilter = classLinks.YFilter