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_ptp_mib.go
2363 lines (1983 loc) · 138 KB
/
cisco_ptp_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 PTPv2 (IEEE1588 - 2008)
//
// Overview of PTPv2 (IEEE 1588-2008)
//
// This IEEE standard defines a protocol enabling precise
// synchronization of clocks in measurement and control systems
// implemented with packet-based networks, the IEEE Standard PTPv2
// 1588 (2008). This MIB does not address the standard IEEE
// 1588 (2002). The protocol is applicable to network elements
// communicating using IP. The protocol enables heterogeneous
// systems that include clocks of various inherent precision,
// resolution, and stability to synchronize to a grandmaster
// clock.
// The protocol supports system-wide synchronization accuracy in
// the sub-microsecond range with minimal network and local clock
// computing resources. The standard uses UDP/IP. It includes
// formal mechanisms for message extensions, higher sampling
// rates, correction for asymmetry, a clock type to reduce error
// accumulation in large topologies, and specifications on how to
// incorporate the resulting additional data into the
// synchronization protocol. The standard defines conformance and
// management capability also.
//
// MIB description
//
// This MIB is to support the Precision Timing Protocol (PTP)
// feature of Cisco System devices.
//
// Acronyms:
// ARB arbitrary
// BMC best master clock
// CAN Controller Area Network
// CP Communication Profile
// [according to IEC 61784-1:200710]
// CPF Communication Profile Family
// [according to IEC 61784-1:2007]
// DS Differentiated Service
// E2E End-to-End
// E2ETC End-to-End Transparent Clock
// EUI Extended Unique Identifier.
// FFO Fractional Frequency Offset
// GPS Global Positioning System
// IANA Internet Assigned Numbers Authority
// ICV Integrity Check Value
// ID Identification
// IPv4 Internet Protocol version 4
// IPv6 Internet Protocol version 6
// JD Julian Date
// JDN Julian Day Number
// MAC Media Access Control
// [according to IEEE Std 802.3-2005]
// MJD Modified Julian Day
// NIST National Institute of Standards and
// Technology (see www.nist.gov)
// NTP Network Time Protocol (see IETF RFC 1305
// [B7])
// OUI Organizational Unique Identifier(allocated
// by
// the IEEE)
// P2P Peer-to-Peer
// P2PTC Peer-To-Peer Transparent Clock
// PHY physical layer [according to IEEE Std
// 802.3-2005]
// POSIX Portable Operating System Interface
// (see ISO/IEC 9945:2003)
// PPS Pulse per Second
// PTP Precision Time Protocol
// SA Security Associations
// SNTP Simple Network Time Protocol
// SOF Start of Frame
// TAI International Atomic Time
// TC Traffic Class
// TC Transparent Clock
// TLV Type, Length, Value [according to IEEE Std
// 802.1AB]
// ToD Time of Day Synchronization
// ToS Type of Service
// UCMM UnConnect Message Manager
// UDP/IP User Datagram Protocol
// UTC Coordinated Universal Time
//
// References:
// [1] Precision clock synchronization protocol for networked
// measurement and control systems - IEC 61588 IEEE 1588(tm)
// Edition 2.0 2009-02
//
//
// Definitions from [1] section 3.1
//
// Accuracy:
// The mean of the time or frequency error between the clock under
// test and a perfect reference clock, over an ensemble of
// measurements. Stability is a measure of how the mean varies
// with respect to variables such as time, temperature, and so on.
//
// The precision is a measure of the deviation of the error from
// the mean.
//
// Atomic process:
// A process is atomic if the values of all inputs to the process
// are not permitted to change until all of the results of the
// process are instantiated, and the outputs of the process are
// not visible to other processes until the processing of each
// output is complete.
//
// Boundary clock:
// A clock that has multiple Precision Time Protocol(PTP) ports in
// a domain and maintains the timescale used in the domain. It
// may serve as the source of time, i.e., be a master clock, and
// may synchronize to another clock, i.e., be a slave clock.
//
// Boundary node clock:
// A clock that has multiple Precision Time Protocol(PTP) ports in
// a domain and maintains the timescale used in the domain. It
// differs from the boundary clock in that the clock roles can
// change.
//
// Clock:
// A node participating in the Precision Time Protocol (PTP) that
// is capable of providing a measurement of the passage of time
// since a defined epoch.
//
// Domain:
// A logical grouping of clocks that synchronize to each other
// using the protocol, but that are not necessarily synchronized
// to clocks in another domain.
//
// End-to-end transparent clock:
// A transparent clock that supports the use of the end-to-end
// delay measurement mechanism between slave clocks and the master
// clock. Each node must measure the residence time of PTP event
// messages and accumulate it in Correction Field.
//
// Epoch:
// The origin of a timescale.
//
// Event:
// An abstraction of the mechanism by which signals or conditions
// are generated and represented.
//
// Foreign master:
// An ordinary or boundary clock sending Announce messages to
// another clock that is not the current master recognized by the
// other clock.
//
// Grandmaster clock:
// Within a domain, a clock that is the ultimate source of time
// for clock synchronization using the protocol.
//
// Holdover:
// A clock previously synchronized/syntonized to another clock
// (normally a primary reference or a master clock) but now
// free-running based on its own internal oscillator, whose
// frequency is being adjusted using data acquired while it had
// been synchronized/syntonized to the other clock. It is said to
// be in holdover or in the holdover mode, as long as it is within
// its accuracy requirements.
//
// Link:
// A network segment between two Precision Time Protocol ports
// supporting the peer delay mechanism of this standard. The peer
// delay mechanism is designed to measure the propagation time
// over such a link.
//
// Management node:
// A device that configures and monitors clocks.
//
// Master clock:
// In the context of a single Precision Time Protocol
// communication path, a clock that is the source of time to which
// all other clocks on that path synchronize.
//
// Message timestamp point:
// A point within a Precision Time Protocol event message serving
// as a reference point in the message. A timestamp is defined by
// the instant a message timestamp point passes the reference
// plane of a clock.
//
// Multicast communication:
// A communication model in which each Precision Time Protocol
// message sent from any PTP port is capable of being received and
// processed by all PTP ports on the same PTP communication path.
//
// Node:
// A device that can issue or receive Precision Time Protocol
// communications on a network.
//
// One-step clock:
// A clock that provides time information using a single event
// message.
//
// On-pass support:
// Indicates that each node in the synchronization chain from
// master to slave can support IEEE-1588.
//
// Ordinary clock:
// A clock that has a single Precision Time Protocol port in a
// domain and maintains the timescale used in the domain. It may
// serve as a source of time, i.e., be a master clock, or may
// synchronize to another clock, i.e., be a slave clock.
//
// Parent clock:
// The master clock to which a clock is synchronized.
//
//
// Peer-to-peer transparent clock:
// A transparent clock that, in addition to providing Precision
// Time Protocol event transit time information, also provides
// corrections for the propagation delay of the link connected to
// the port receiving the PTP event message. In the presence of
// peer-to-peer transparent clocks, delay measurements between
// slave clocks and the master clock are performed using the
// peer-to-peer delay measurement mechanism.
//
//
// Phase change rate:
// The observed rate of change in the measured time with respect
// to the reference time. The phase change rate is equal to the
// fractional frequency offset between the measured frequency and
// the reference frequency.
//
// PortNumber:
// An index identifying a specific Precision Time Protocol port on
// a PTP node.
//
// Primary reference:
// A source of time and or frequency that is traceable to
// international standards.
//
// Profile:
// The set of allowed Precision Time Protocol features applicable
// to a device.
//
// Precision Time Protocol communication:
// Information used in the operation of the protocol, transmitted
// in a PTP message over a PTP communication path.
//
// Precision Time Protocol communication path: The signaling path
// portion of a particular network enabling direct communication
// among ordinary and boundary clocks.
//
// Precision Time Protocol node:
// PTP ordinary, boundary, or transparent clock or a device that
// generates or parses PTP messages.
//
// Precision Time Protocol port:
// A logical access point of a clock for PTP communications to the
// communications network.
//
// Recognized standard time source:
// A recognized standard time source is a source external to
// Precision Time Protocol that provides time and/or frequency as
// appropriate that is traceable to the international standards
// laboratories maintaining clocks that form the basis for the
// International Atomic Time and Universal Coordinated Time
// timescales. Examples of these are Global Positioning System,
// NTP, and National Institute of Standards and Technology (NIST)
// timeservers.
//
// Requestor:
// The port implementing the peer-to-peer delay mechanism that
// initiates the mechanism by sending a Pdelay_Req message.
//
// Responder:
// The port responding to the receipt of a Pdelay_Req message as
// part of the operation of the peer-to-peer delay mechanism.
//
// Synchronized clocks:
// Two clocks are synchronized to a specified uncertainty if they
// have the same epoch and their measurements of the time of a
// single event at an arbitrary time differ by no more than that
// uncertainty.
//
// Syntonized clocks:
// Two clocks are syntonized if the duration of the second is the
// same on both, which means the time as measured by each advances
// at the same rate. They may or may not share the same epoch.
//
// Time of Day:
//
//
// Timeout:
// A mechanism for terminating requested activity that, at least
// from the requester's perspective, does not complete within the
// specified time.
//
// Timescale:
// A linear measure of time from an epoch.
//
// Traceability:
// A property of the result of a measurement or the value of a
// standard whereby it can be related to stated references,
// usually national or international standards, through an unbroken
// chain of comparisons all having stated uncertainties.
//
// Translation device:
// A boundary clock or, in some cases, a transparent clock that
// translates the protocol messages between regions implementing
// different transport and messaging protocols, between different
// versions of IEEE Std 1588-2008/IEC 61588:2009, or different
// Precision Time Protocol profiles.
//
// transparent clock:
// A device that measures the time taken for a Precision Time
// Protocol event message to transit the device and provides this
// information to clocks receiving this PTP event message.
//
// Two-step clock:
// A clock that provides time information using the combination of
// an event message and a subsequent general message.
//
// The below table specifies the object formats of the various
// textual conventions used.
//
// Data type mapping Textual Convention SYNTAX
// -------------------- ------------------ ---------------------
// 5.3.2 TimeInterval ClockTimeInterval OCTET
// STRING(SIZE(1..255))
// 5.3.3 Timestamp ClockTimestamp OCTET STRING(SIZE(6))
// 5.3.4 ClockIdentity ClockIdentity OCTET
// STRING(SIZE(1..255))
// 5.3.5 PortIdentity ClockPortNumber INTEGER(1..65535)
// 5.3.7 ClockQuality ClockQualityClassType
//
// Simple master-slave hierarchy [1] section 6.6.2.4
//
// ---------------
// - Ordinary -
// - Clock(1) -
// - GrandMaster -
// -------M-------
// |
// 1
// |
// -------S-------------------------------
// - Boundary -
// - Clock(1) -
// --------------M------------------M-----
// | |
// 2 3
// | |
// -----S------ -------S------------------
// - Ordinary - - Boundary -
// - Clock(2) - - Clock(2) -
// ------------ -----M-------------M------
// | |
// 4 5
// | |
// -----S------ -----S------
// - Ordinary - - Ordinary -
// - Clock(3) - - Clock(4) -
// ------------ ------------
//
// Grandmaster
//
// Boundary Clock(0-N) Ordinary Clocks(0-N)
// Ordinary Clocks(0-N)
//
//
// Relationship cardinality
// PTP system 1 : N PTP Clock
// PTP Clock 1 : 1 Domain
// PTP Clock 1 : N PTP Ports
// PTP Port N : N Physical Port (interface in IF-MIB)
//
// Transparent clock diagram from section 6.7.1.3 of [1]
//
//
// +----------------------------+
// | Boundary clock - 1 |
// +----------------------------+
// | |
// | |
// +-- A --+ B
// | |
// +---------------------+ |
// | Ordinary clock - 1| |
// +---------------------+ |
// +----------------------+
// +--------------+ | End-to-end |
// | Ordinary |------------------| transparent clock- |
// | clock 1-1 | | 1 - 1 |
// +--------------+ +----------------------+
// |
// |
// C
// |
// |
// +----------------------+
// +--------------+ | End-to-end |
// | Ordinary |------------------| transparent clock- |
// | clock 1-2 | | 1 - 2 |
// +--------------+ +----------------------+
//
//
// The MIB refers to the sections of the IEEE 1588 standard for
// reference. Throughout the MIB various secions from the standard
// are referenced
package cisco_ptp_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_ptp_mib"))
ydk.RegisterEntity("{urn:ietf:params:xml:ns:yang:smiv2:CISCO-PTP-MIB CISCO-PTP-MIB}", reflect.TypeOf(CISCOPTPMIB{}))
ydk.RegisterEntity("CISCO-PTP-MIB:CISCO-PTP-MIB", reflect.TypeOf(CISCOPTPMIB{}))
}
// ClockMechanismType represents the delay mechanism.
type ClockMechanismType string
const (
ClockMechanismType_e2e ClockMechanismType = "e2e"
ClockMechanismType_p2p ClockMechanismType = "p2p"
ClockMechanismType_disabled ClockMechanismType = "disabled"
)
// ClockPortState represents selected master port.
type ClockPortState string
const (
ClockPortState_initializing ClockPortState = "initializing"
ClockPortState_faulty ClockPortState = "faulty"
ClockPortState_disabled ClockPortState = "disabled"
ClockPortState_listening ClockPortState = "listening"
ClockPortState_preMaster ClockPortState = "preMaster"
ClockPortState_master ClockPortState = "master"
ClockPortState_passive ClockPortState = "passive"
ClockPortState_uncalibrated ClockPortState = "uncalibrated"
ClockPortState_slave ClockPortState = "slave"
)
// ClockTimeSourceType represents the protocol.
type ClockTimeSourceType string
const (
ClockTimeSourceType_atomicClock ClockTimeSourceType = "atomicClock"
ClockTimeSourceType_gps ClockTimeSourceType = "gps"
ClockTimeSourceType_terrestrialRadio ClockTimeSourceType = "terrestrialRadio"
ClockTimeSourceType_ptp ClockTimeSourceType = "ptp"
ClockTimeSourceType_ntp ClockTimeSourceType = "ntp"
ClockTimeSourceType_handSet ClockTimeSourceType = "handSet"
ClockTimeSourceType_other ClockTimeSourceType = "other"
ClockTimeSourceType_internalOsillator ClockTimeSourceType = "internalOsillator"
)
// ClockProfileType represents a device.
type ClockProfileType string
const (
ClockProfileType_default_ ClockProfileType = "default"
ClockProfileType_telecom ClockProfileType = "telecom"
ClockProfileType_vendorspecific ClockProfileType = "vendorspecific"
)
// ClockRoleType represents another clock (master).
type ClockRoleType string
const (
ClockRoleType_master ClockRoleType = "master"
ClockRoleType_slave ClockRoleType = "slave"
)
// ClockType represents The clock types as defined in the MIB module description.
type ClockType string
const (
ClockType_ordinaryClock ClockType = "ordinaryClock"
ClockType_boundaryClock ClockType = "boundaryClock"
ClockType_transparentClock ClockType = "transparentClock"
ClockType_boundaryNode ClockType = "boundaryNode"
)
// ClockTxModeType represents multicast-mix. Using multicast-unicast communication channel
type ClockTxModeType string
const (
ClockTxModeType_unicast ClockTxModeType = "unicast"
ClockTxModeType_multicast ClockTxModeType = "multicast"
ClockTxModeType_multicastmix ClockTxModeType = "multicastmix"
)
// ClockQualityAccuracyType represents the protocol.
type ClockQualityAccuracyType string
const (
ClockQualityAccuracyType_reserved00 ClockQualityAccuracyType = "reserved00"
ClockQualityAccuracyType_nanoSecond25 ClockQualityAccuracyType = "nanoSecond25"
ClockQualityAccuracyType_nanoSecond100 ClockQualityAccuracyType = "nanoSecond100"
ClockQualityAccuracyType_nanoSecond250 ClockQualityAccuracyType = "nanoSecond250"
ClockQualityAccuracyType_microSec1 ClockQualityAccuracyType = "microSec1"
ClockQualityAccuracyType_microSec2dot5 ClockQualityAccuracyType = "microSec2dot5"
ClockQualityAccuracyType_microSec10 ClockQualityAccuracyType = "microSec10"
ClockQualityAccuracyType_microSec25 ClockQualityAccuracyType = "microSec25"
ClockQualityAccuracyType_microSec100 ClockQualityAccuracyType = "microSec100"
ClockQualityAccuracyType_microSec250 ClockQualityAccuracyType = "microSec250"
ClockQualityAccuracyType_milliSec1 ClockQualityAccuracyType = "milliSec1"
ClockQualityAccuracyType_milliSec2dot5 ClockQualityAccuracyType = "milliSec2dot5"
ClockQualityAccuracyType_milliSec10 ClockQualityAccuracyType = "milliSec10"
ClockQualityAccuracyType_milliSec25 ClockQualityAccuracyType = "milliSec25"
ClockQualityAccuracyType_milliSec100 ClockQualityAccuracyType = "milliSec100"
ClockQualityAccuracyType_milliSec250 ClockQualityAccuracyType = "milliSec250"
ClockQualityAccuracyType_second1 ClockQualityAccuracyType = "second1"
ClockQualityAccuracyType_second10 ClockQualityAccuracyType = "second10"
ClockQualityAccuracyType_secondGreater10 ClockQualityAccuracyType = "secondGreater10"
ClockQualityAccuracyType_unknown ClockQualityAccuracyType = "unknown"
ClockQualityAccuracyType_reserved255 ClockQualityAccuracyType = "reserved255"
)
// ClockStateType represents frequency and phase.
type ClockStateType string
const (
ClockStateType_freerun ClockStateType = "freerun"
ClockStateType_holdover ClockStateType = "holdover"
ClockStateType_acquiring ClockStateType = "acquiring"
ClockStateType_frequencyLocked ClockStateType = "frequencyLocked"
ClockStateType_phaseAligned ClockStateType = "phaseAligned"
)
// CISCOPTPMIB
type CISCOPTPMIB struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
CiscoPtpMIBSystemInfo CISCOPTPMIB_CiscoPtpMIBSystemInfo
// Table of count information about the PTP system for all domains.
CPtpSystemTable CISCOPTPMIB_CPtpSystemTable
// Table of information about the PTP system for all clock modes -- ordinary,
// boundary or transparent.
CPtpSystemDomainTable CISCOPTPMIB_CPtpSystemDomainTable
// Table of information about the PTP system for a given domain.
CPtpClockNodeTable CISCOPTPMIB_CPtpClockNodeTable
// Table of information about the PTP clock Current Datasets for all domains.
CPtpClockCurrentDSTable CISCOPTPMIB_CPtpClockCurrentDSTable
// Table of information about the PTP clock Parent Datasets for all domains.
CPtpClockParentDSTable CISCOPTPMIB_CPtpClockParentDSTable
// Table of information about the PTP clock Default Datasets for all domains.
CPtpClockDefaultDSTable CISCOPTPMIB_CPtpClockDefaultDSTable
// Table of information about the PTP clock Running Datasets for all domains.
CPtpClockRunningTable CISCOPTPMIB_CPtpClockRunningTable
// Table of information about the PTP clock Timeproperties Datasets for all
// domains.
CPtpClockTimePropertiesDSTable CISCOPTPMIB_CPtpClockTimePropertiesDSTable
// Table of information about the PTP Transparent clock Default Datasets for
// all domains.
CPtpClockTransDefaultDSTable CISCOPTPMIB_CPtpClockTransDefaultDSTable
// Table of information about the clock ports for a particular domain.
CPtpClockPortTable CISCOPTPMIB_CPtpClockPortTable
// Table of information about the clock ports dataset for a particular domain.
CPtpClockPortDSTable CISCOPTPMIB_CPtpClockPortDSTable
// Table of information about the clock ports running dataset for a particular
// domain.
CPtpClockPortRunningTable CISCOPTPMIB_CPtpClockPortRunningTable
// Table of information about the Transparent clock ports running dataset for
// a particular domain.
CPtpClockPortTransDSTable CISCOPTPMIB_CPtpClockPortTransDSTable
// Table of information about a given port's associated ports. For a master
// port - multiple slave ports which have established sessions with the
// current master port. For a slave port - the list of masters available for
// a given slave port. Session information (pkts, errors) to be displayed
// based on availability and scenario.
CPtpClockPortAssociateTable CISCOPTPMIB_CPtpClockPortAssociateTable
}
func (cISCOPTPMIB *CISCOPTPMIB) GetEntityData() *types.CommonEntityData {
cISCOPTPMIB.EntityData.YFilter = cISCOPTPMIB.YFilter
cISCOPTPMIB.EntityData.YangName = "CISCO-PTP-MIB"
cISCOPTPMIB.EntityData.BundleName = "cisco_ios_xe"
cISCOPTPMIB.EntityData.ParentYangName = "CISCO-PTP-MIB"
cISCOPTPMIB.EntityData.SegmentPath = "CISCO-PTP-MIB:CISCO-PTP-MIB"
cISCOPTPMIB.EntityData.AbsolutePath = cISCOPTPMIB.EntityData.SegmentPath
cISCOPTPMIB.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cISCOPTPMIB.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cISCOPTPMIB.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cISCOPTPMIB.EntityData.Children = types.NewOrderedMap()
cISCOPTPMIB.EntityData.Children.Append("ciscoPtpMIBSystemInfo", types.YChild{"CiscoPtpMIBSystemInfo", &cISCOPTPMIB.CiscoPtpMIBSystemInfo})
cISCOPTPMIB.EntityData.Children.Append("cPtpSystemTable", types.YChild{"CPtpSystemTable", &cISCOPTPMIB.CPtpSystemTable})
cISCOPTPMIB.EntityData.Children.Append("cPtpSystemDomainTable", types.YChild{"CPtpSystemDomainTable", &cISCOPTPMIB.CPtpSystemDomainTable})
cISCOPTPMIB.EntityData.Children.Append("cPtpClockNodeTable", types.YChild{"CPtpClockNodeTable", &cISCOPTPMIB.CPtpClockNodeTable})
cISCOPTPMIB.EntityData.Children.Append("cPtpClockCurrentDSTable", types.YChild{"CPtpClockCurrentDSTable", &cISCOPTPMIB.CPtpClockCurrentDSTable})
cISCOPTPMIB.EntityData.Children.Append("cPtpClockParentDSTable", types.YChild{"CPtpClockParentDSTable", &cISCOPTPMIB.CPtpClockParentDSTable})
cISCOPTPMIB.EntityData.Children.Append("cPtpClockDefaultDSTable", types.YChild{"CPtpClockDefaultDSTable", &cISCOPTPMIB.CPtpClockDefaultDSTable})
cISCOPTPMIB.EntityData.Children.Append("cPtpClockRunningTable", types.YChild{"CPtpClockRunningTable", &cISCOPTPMIB.CPtpClockRunningTable})
cISCOPTPMIB.EntityData.Children.Append("cPtpClockTimePropertiesDSTable", types.YChild{"CPtpClockTimePropertiesDSTable", &cISCOPTPMIB.CPtpClockTimePropertiesDSTable})
cISCOPTPMIB.EntityData.Children.Append("cPtpClockTransDefaultDSTable", types.YChild{"CPtpClockTransDefaultDSTable", &cISCOPTPMIB.CPtpClockTransDefaultDSTable})
cISCOPTPMIB.EntityData.Children.Append("cPtpClockPortTable", types.YChild{"CPtpClockPortTable", &cISCOPTPMIB.CPtpClockPortTable})
cISCOPTPMIB.EntityData.Children.Append("cPtpClockPortDSTable", types.YChild{"CPtpClockPortDSTable", &cISCOPTPMIB.CPtpClockPortDSTable})
cISCOPTPMIB.EntityData.Children.Append("cPtpClockPortRunningTable", types.YChild{"CPtpClockPortRunningTable", &cISCOPTPMIB.CPtpClockPortRunningTable})
cISCOPTPMIB.EntityData.Children.Append("cPtpClockPortTransDSTable", types.YChild{"CPtpClockPortTransDSTable", &cISCOPTPMIB.CPtpClockPortTransDSTable})
cISCOPTPMIB.EntityData.Children.Append("cPtpClockPortAssociateTable", types.YChild{"CPtpClockPortAssociateTable", &cISCOPTPMIB.CPtpClockPortAssociateTable})
cISCOPTPMIB.EntityData.Leafs = types.NewOrderedMap()
cISCOPTPMIB.EntityData.YListKeys = []string {}
return &(cISCOPTPMIB.EntityData)
}
// CISCOPTPMIB_CiscoPtpMIBSystemInfo
type CISCOPTPMIB_CiscoPtpMIBSystemInfo struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// This object specifies the PTP Profile implemented on the system. The type
// is ClockProfileType.
CPtpSystemProfile interface{}
}
func (ciscoPtpMIBSystemInfo *CISCOPTPMIB_CiscoPtpMIBSystemInfo) GetEntityData() *types.CommonEntityData {
ciscoPtpMIBSystemInfo.EntityData.YFilter = ciscoPtpMIBSystemInfo.YFilter
ciscoPtpMIBSystemInfo.EntityData.YangName = "ciscoPtpMIBSystemInfo"
ciscoPtpMIBSystemInfo.EntityData.BundleName = "cisco_ios_xe"
ciscoPtpMIBSystemInfo.EntityData.ParentYangName = "CISCO-PTP-MIB"
ciscoPtpMIBSystemInfo.EntityData.SegmentPath = "ciscoPtpMIBSystemInfo"
ciscoPtpMIBSystemInfo.EntityData.AbsolutePath = "CISCO-PTP-MIB:CISCO-PTP-MIB/" + ciscoPtpMIBSystemInfo.EntityData.SegmentPath
ciscoPtpMIBSystemInfo.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
ciscoPtpMIBSystemInfo.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
ciscoPtpMIBSystemInfo.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
ciscoPtpMIBSystemInfo.EntityData.Children = types.NewOrderedMap()
ciscoPtpMIBSystemInfo.EntityData.Leafs = types.NewOrderedMap()
ciscoPtpMIBSystemInfo.EntityData.Leafs.Append("cPtpSystemProfile", types.YLeaf{"CPtpSystemProfile", ciscoPtpMIBSystemInfo.CPtpSystemProfile})
ciscoPtpMIBSystemInfo.EntityData.YListKeys = []string {}
return &(ciscoPtpMIBSystemInfo.EntityData)
}
// CISCOPTPMIB_CPtpSystemTable
// Table of count information about the PTP system for all
// domains.
type CISCOPTPMIB_CPtpSystemTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// An entry in the table, containing count information about a single domain.
// New row entries are added when the PTP clock for this domain is configured,
// while the unconfiguration of the PTP clock removes it. The type is slice of
// CISCOPTPMIB_CPtpSystemTable_CPtpSystemEntry.
CPtpSystemEntry []*CISCOPTPMIB_CPtpSystemTable_CPtpSystemEntry
}
func (cPtpSystemTable *CISCOPTPMIB_CPtpSystemTable) GetEntityData() *types.CommonEntityData {
cPtpSystemTable.EntityData.YFilter = cPtpSystemTable.YFilter
cPtpSystemTable.EntityData.YangName = "cPtpSystemTable"
cPtpSystemTable.EntityData.BundleName = "cisco_ios_xe"
cPtpSystemTable.EntityData.ParentYangName = "CISCO-PTP-MIB"
cPtpSystemTable.EntityData.SegmentPath = "cPtpSystemTable"
cPtpSystemTable.EntityData.AbsolutePath = "CISCO-PTP-MIB:CISCO-PTP-MIB/" + cPtpSystemTable.EntityData.SegmentPath
cPtpSystemTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cPtpSystemTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cPtpSystemTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cPtpSystemTable.EntityData.Children = types.NewOrderedMap()
cPtpSystemTable.EntityData.Children.Append("cPtpSystemEntry", types.YChild{"CPtpSystemEntry", nil})
for i := range cPtpSystemTable.CPtpSystemEntry {
cPtpSystemTable.EntityData.Children.Append(types.GetSegmentPath(cPtpSystemTable.CPtpSystemEntry[i]), types.YChild{"CPtpSystemEntry", cPtpSystemTable.CPtpSystemEntry[i]})
}
cPtpSystemTable.EntityData.Leafs = types.NewOrderedMap()
cPtpSystemTable.EntityData.YListKeys = []string {}
return &(cPtpSystemTable.EntityData)
}
// CISCOPTPMIB_CPtpSystemTable_CPtpSystemEntry
// An entry in the table, containing count information about a
// single domain. New row entries are added when the PTP clock for
// this domain is configured, while the unconfiguration of the PTP
// clock removes it.
type CISCOPTPMIB_CPtpSystemTable_CPtpSystemEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. This object specifies the domain number used to
// create logical group of PTP devices. The Clock Domain is a logical group of
// clocks and devices that synchronize with each other using the PTP protocol.
// 0 Default domain 1 Alternate domain 1 2
// Alternate domain 2 3 Alternate domain 3 4 - 127 User-defined
// domains 128 - 255 Reserved. The type is interface{} with range: 0..255.
CPtpDomainIndex interface{}
// This attribute is a key. This object specifies the instance of the Clock
// for this domain. The type is interface{} with range: 0..255.
CPtpInstanceIndex interface{}
// This object specifies the total number of clock ports configured within a
// domain. The type is interface{} with range: 0..4294967295. Units are ptp
// ports.
CPtpDomainClockPortsTotal interface{}
// This object specifies the total number of clock port Physical interfaces
// configured within a domain instance for PTP communications. The type is
// interface{} with range: 0..4294967295. Units are physical ports.
CPtpDomainClockPortPhysicalInterfacesTotal interface{}
}
func (cPtpSystemEntry *CISCOPTPMIB_CPtpSystemTable_CPtpSystemEntry) GetEntityData() *types.CommonEntityData {
cPtpSystemEntry.EntityData.YFilter = cPtpSystemEntry.YFilter
cPtpSystemEntry.EntityData.YangName = "cPtpSystemEntry"
cPtpSystemEntry.EntityData.BundleName = "cisco_ios_xe"
cPtpSystemEntry.EntityData.ParentYangName = "cPtpSystemTable"
cPtpSystemEntry.EntityData.SegmentPath = "cPtpSystemEntry" + types.AddKeyToken(cPtpSystemEntry.CPtpDomainIndex, "cPtpDomainIndex") + types.AddKeyToken(cPtpSystemEntry.CPtpInstanceIndex, "cPtpInstanceIndex")
cPtpSystemEntry.EntityData.AbsolutePath = "CISCO-PTP-MIB:CISCO-PTP-MIB/cPtpSystemTable/" + cPtpSystemEntry.EntityData.SegmentPath
cPtpSystemEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cPtpSystemEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cPtpSystemEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cPtpSystemEntry.EntityData.Children = types.NewOrderedMap()
cPtpSystemEntry.EntityData.Leafs = types.NewOrderedMap()
cPtpSystemEntry.EntityData.Leafs.Append("cPtpDomainIndex", types.YLeaf{"CPtpDomainIndex", cPtpSystemEntry.CPtpDomainIndex})
cPtpSystemEntry.EntityData.Leafs.Append("cPtpInstanceIndex", types.YLeaf{"CPtpInstanceIndex", cPtpSystemEntry.CPtpInstanceIndex})
cPtpSystemEntry.EntityData.Leafs.Append("cPtpDomainClockPortsTotal", types.YLeaf{"CPtpDomainClockPortsTotal", cPtpSystemEntry.CPtpDomainClockPortsTotal})
cPtpSystemEntry.EntityData.Leafs.Append("cPtpDomainClockPortPhysicalInterfacesTotal", types.YLeaf{"CPtpDomainClockPortPhysicalInterfacesTotal", cPtpSystemEntry.CPtpDomainClockPortPhysicalInterfacesTotal})
cPtpSystemEntry.EntityData.YListKeys = []string {"CPtpDomainIndex", "CPtpInstanceIndex"}
return &(cPtpSystemEntry.EntityData)
}
// CISCOPTPMIB_CPtpSystemDomainTable
// Table of information about the PTP system for all clock modes
// -- ordinary, boundary or transparent.
type CISCOPTPMIB_CPtpSystemDomainTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// An entry in the table, containing information about a single clock mode for
// the PTP system. A row entry gets added when PTP clocks are configured on
// the router. The type is slice of
// CISCOPTPMIB_CPtpSystemDomainTable_CPtpSystemDomainEntry.
CPtpSystemDomainEntry []*CISCOPTPMIB_CPtpSystemDomainTable_CPtpSystemDomainEntry
}
func (cPtpSystemDomainTable *CISCOPTPMIB_CPtpSystemDomainTable) GetEntityData() *types.CommonEntityData {
cPtpSystemDomainTable.EntityData.YFilter = cPtpSystemDomainTable.YFilter
cPtpSystemDomainTable.EntityData.YangName = "cPtpSystemDomainTable"
cPtpSystemDomainTable.EntityData.BundleName = "cisco_ios_xe"
cPtpSystemDomainTable.EntityData.ParentYangName = "CISCO-PTP-MIB"
cPtpSystemDomainTable.EntityData.SegmentPath = "cPtpSystemDomainTable"
cPtpSystemDomainTable.EntityData.AbsolutePath = "CISCO-PTP-MIB:CISCO-PTP-MIB/" + cPtpSystemDomainTable.EntityData.SegmentPath
cPtpSystemDomainTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cPtpSystemDomainTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cPtpSystemDomainTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cPtpSystemDomainTable.EntityData.Children = types.NewOrderedMap()
cPtpSystemDomainTable.EntityData.Children.Append("cPtpSystemDomainEntry", types.YChild{"CPtpSystemDomainEntry", nil})
for i := range cPtpSystemDomainTable.CPtpSystemDomainEntry {
cPtpSystemDomainTable.EntityData.Children.Append(types.GetSegmentPath(cPtpSystemDomainTable.CPtpSystemDomainEntry[i]), types.YChild{"CPtpSystemDomainEntry", cPtpSystemDomainTable.CPtpSystemDomainEntry[i]})
}
cPtpSystemDomainTable.EntityData.Leafs = types.NewOrderedMap()
cPtpSystemDomainTable.EntityData.YListKeys = []string {}
return &(cPtpSystemDomainTable.EntityData)
}
// CISCOPTPMIB_CPtpSystemDomainTable_CPtpSystemDomainEntry
// An entry in the table, containing information about a single
// clock mode for the PTP system. A row entry gets added when PTP
// clocks are configured on the router.
type CISCOPTPMIB_CPtpSystemDomainTable_CPtpSystemDomainEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. This object specifies the clock type as defined in
// the Textual convention description. The type is ClockType.
CPtpSystemDomainClockTypeIndex interface{}
// This object specifies the total number of PTP domains for this particular
// clock type configured in this node. The type is interface{} with range:
// 0..4294967295. Units are domains.
CPtpSystemDomainTotals interface{}
}
func (cPtpSystemDomainEntry *CISCOPTPMIB_CPtpSystemDomainTable_CPtpSystemDomainEntry) GetEntityData() *types.CommonEntityData {
cPtpSystemDomainEntry.EntityData.YFilter = cPtpSystemDomainEntry.YFilter
cPtpSystemDomainEntry.EntityData.YangName = "cPtpSystemDomainEntry"
cPtpSystemDomainEntry.EntityData.BundleName = "cisco_ios_xe"
cPtpSystemDomainEntry.EntityData.ParentYangName = "cPtpSystemDomainTable"
cPtpSystemDomainEntry.EntityData.SegmentPath = "cPtpSystemDomainEntry" + types.AddKeyToken(cPtpSystemDomainEntry.CPtpSystemDomainClockTypeIndex, "cPtpSystemDomainClockTypeIndex")
cPtpSystemDomainEntry.EntityData.AbsolutePath = "CISCO-PTP-MIB:CISCO-PTP-MIB/cPtpSystemDomainTable/" + cPtpSystemDomainEntry.EntityData.SegmentPath
cPtpSystemDomainEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cPtpSystemDomainEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cPtpSystemDomainEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cPtpSystemDomainEntry.EntityData.Children = types.NewOrderedMap()
cPtpSystemDomainEntry.EntityData.Leafs = types.NewOrderedMap()
cPtpSystemDomainEntry.EntityData.Leafs.Append("cPtpSystemDomainClockTypeIndex", types.YLeaf{"CPtpSystemDomainClockTypeIndex", cPtpSystemDomainEntry.CPtpSystemDomainClockTypeIndex})
cPtpSystemDomainEntry.EntityData.Leafs.Append("cPtpSystemDomainTotals", types.YLeaf{"CPtpSystemDomainTotals", cPtpSystemDomainEntry.CPtpSystemDomainTotals})
cPtpSystemDomainEntry.EntityData.YListKeys = []string {"CPtpSystemDomainClockTypeIndex"}
return &(cPtpSystemDomainEntry.EntityData)
}
// CISCOPTPMIB_CPtpClockNodeTable
// Table of information about the PTP system for a given domain.
type CISCOPTPMIB_CPtpClockNodeTable struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// An entry in the table, containing information about a single domain. A
// entry is added when a new PTP clock domain is configured on the router. The
// type is slice of CISCOPTPMIB_CPtpClockNodeTable_CPtpClockNodeEntry.
CPtpClockNodeEntry []*CISCOPTPMIB_CPtpClockNodeTable_CPtpClockNodeEntry
}
func (cPtpClockNodeTable *CISCOPTPMIB_CPtpClockNodeTable) GetEntityData() *types.CommonEntityData {
cPtpClockNodeTable.EntityData.YFilter = cPtpClockNodeTable.YFilter
cPtpClockNodeTable.EntityData.YangName = "cPtpClockNodeTable"
cPtpClockNodeTable.EntityData.BundleName = "cisco_ios_xe"
cPtpClockNodeTable.EntityData.ParentYangName = "CISCO-PTP-MIB"
cPtpClockNodeTable.EntityData.SegmentPath = "cPtpClockNodeTable"
cPtpClockNodeTable.EntityData.AbsolutePath = "CISCO-PTP-MIB:CISCO-PTP-MIB/" + cPtpClockNodeTable.EntityData.SegmentPath
cPtpClockNodeTable.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cPtpClockNodeTable.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cPtpClockNodeTable.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cPtpClockNodeTable.EntityData.Children = types.NewOrderedMap()
cPtpClockNodeTable.EntityData.Children.Append("cPtpClockNodeEntry", types.YChild{"CPtpClockNodeEntry", nil})
for i := range cPtpClockNodeTable.CPtpClockNodeEntry {
cPtpClockNodeTable.EntityData.Children.Append(types.GetSegmentPath(cPtpClockNodeTable.CPtpClockNodeEntry[i]), types.YChild{"CPtpClockNodeEntry", cPtpClockNodeTable.CPtpClockNodeEntry[i]})
}
cPtpClockNodeTable.EntityData.Leafs = types.NewOrderedMap()
cPtpClockNodeTable.EntityData.YListKeys = []string {}
return &(cPtpClockNodeTable.EntityData)
}
// CISCOPTPMIB_CPtpClockNodeTable_CPtpClockNodeEntry
// An entry in the table, containing information about a single
// domain. A entry is added when a new PTP clock domain is
// configured on the router.
type CISCOPTPMIB_CPtpClockNodeTable_CPtpClockNodeEntry struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
YListKey string
// This attribute is a key. This object specifies the domain number used to
// create logical group of PTP devices. The type is interface{} with range:
// 0..255.
CPtpClockDomainIndex interface{}
// This attribute is a key. This object specifies the clock type as defined in
// the Textual convention description. The type is ClockType.
CPtpClockTypeIndex interface{}
// This attribute is a key. This object specifies the instance of the Clock
// for this clock type for the given domain. The type is interface{} with
// range: 0..255.
CPtpClockInstanceIndex interface{}
// This object specifies whether the node is enabled for PTP input clocking
// using the 1pps interface. The type is bool.
CPtpClockInput1ppsEnabled interface{}
// This object specifies whether enabled for Frequency input using the 1.544
// Mhz, 2.048 Mhz, or 10Mhz timing interface. The type is bool.
CPtpClockInputFrequencyEnabled interface{}
// This object specifies whether the node is enabled for TOD. The type is
// bool.
CPtpClockTODEnabled interface{}
// This object specifies whether the node is enabled for PTP input clocking
// using the 1pps interface. The type is bool.
CPtpClockOutput1ppsEnabled interface{}
// This object specifies whether an offset is configured in order to
// compensate for a known phase error such as network asymmetry. The type is
// bool.
CPtpClockOutput1ppsOffsetEnabled interface{}
// This object specifies the fixed offset value configured to be added for the
// 1pps output. The type is interface{} with range: 0..4294967295.
CPtpClockOutput1ppsOffsetValue interface{}
// This object specifies whether the added (fixed) offset to the 1pps output
// is negative or not. When object returns TRUE the offset is negative and
// when object returns FALSE the offset is positive. The type is bool.
CPtpClockOutput1ppsOffsetNegative interface{}
// This object specifies the 1pps interface used for PTP input clocking. The
// type is string.
CPtpClockInput1ppsInterface interface{}
// This object specifies the 1pps interface used for PTP output clocking. The
// type is string.
CPtpClockOutput1ppsInterface interface{}
// This object specifies the interface used for PTP TOD. The type is string.
CPtpClockTODInterface interface{}
}
func (cPtpClockNodeEntry *CISCOPTPMIB_CPtpClockNodeTable_CPtpClockNodeEntry) GetEntityData() *types.CommonEntityData {
cPtpClockNodeEntry.EntityData.YFilter = cPtpClockNodeEntry.YFilter
cPtpClockNodeEntry.EntityData.YangName = "cPtpClockNodeEntry"
cPtpClockNodeEntry.EntityData.BundleName = "cisco_ios_xe"
cPtpClockNodeEntry.EntityData.ParentYangName = "cPtpClockNodeTable"
cPtpClockNodeEntry.EntityData.SegmentPath = "cPtpClockNodeEntry" + types.AddKeyToken(cPtpClockNodeEntry.CPtpClockDomainIndex, "cPtpClockDomainIndex") + types.AddKeyToken(cPtpClockNodeEntry.CPtpClockTypeIndex, "cPtpClockTypeIndex") + types.AddKeyToken(cPtpClockNodeEntry.CPtpClockInstanceIndex, "cPtpClockInstanceIndex")
cPtpClockNodeEntry.EntityData.AbsolutePath = "CISCO-PTP-MIB:CISCO-PTP-MIB/cPtpClockNodeTable/" + cPtpClockNodeEntry.EntityData.SegmentPath
cPtpClockNodeEntry.EntityData.CapabilitiesTable = cisco_ios_xe.GetCapabilities()
cPtpClockNodeEntry.EntityData.NamespaceTable = cisco_ios_xe.GetNamespaces()
cPtpClockNodeEntry.EntityData.BundleYangModelsLocation = cisco_ios_xe.GetModelsPath()
cPtpClockNodeEntry.EntityData.Children = types.NewOrderedMap()
cPtpClockNodeEntry.EntityData.Leafs = types.NewOrderedMap()
cPtpClockNodeEntry.EntityData.Leafs.Append("cPtpClockDomainIndex", types.YLeaf{"CPtpClockDomainIndex", cPtpClockNodeEntry.CPtpClockDomainIndex})
cPtpClockNodeEntry.EntityData.Leafs.Append("cPtpClockTypeIndex", types.YLeaf{"CPtpClockTypeIndex", cPtpClockNodeEntry.CPtpClockTypeIndex})
cPtpClockNodeEntry.EntityData.Leafs.Append("cPtpClockInstanceIndex", types.YLeaf{"CPtpClockInstanceIndex", cPtpClockNodeEntry.CPtpClockInstanceIndex})
cPtpClockNodeEntry.EntityData.Leafs.Append("cPtpClockInput1ppsEnabled", types.YLeaf{"CPtpClockInput1ppsEnabled", cPtpClockNodeEntry.CPtpClockInput1ppsEnabled})
cPtpClockNodeEntry.EntityData.Leafs.Append("cPtpClockInputFrequencyEnabled", types.YLeaf{"CPtpClockInputFrequencyEnabled", cPtpClockNodeEntry.CPtpClockInputFrequencyEnabled})
cPtpClockNodeEntry.EntityData.Leafs.Append("cPtpClockTODEnabled", types.YLeaf{"CPtpClockTODEnabled", cPtpClockNodeEntry.CPtpClockTODEnabled})
cPtpClockNodeEntry.EntityData.Leafs.Append("cPtpClockOutput1ppsEnabled", types.YLeaf{"CPtpClockOutput1ppsEnabled", cPtpClockNodeEntry.CPtpClockOutput1ppsEnabled})
cPtpClockNodeEntry.EntityData.Leafs.Append("cPtpClockOutput1ppsOffsetEnabled", types.YLeaf{"CPtpClockOutput1ppsOffsetEnabled", cPtpClockNodeEntry.CPtpClockOutput1ppsOffsetEnabled})
cPtpClockNodeEntry.EntityData.Leafs.Append("cPtpClockOutput1ppsOffsetValue", types.YLeaf{"CPtpClockOutput1ppsOffsetValue", cPtpClockNodeEntry.CPtpClockOutput1ppsOffsetValue})
cPtpClockNodeEntry.EntityData.Leafs.Append("cPtpClockOutput1ppsOffsetNegative", types.YLeaf{"CPtpClockOutput1ppsOffsetNegative", cPtpClockNodeEntry.CPtpClockOutput1ppsOffsetNegative})
cPtpClockNodeEntry.EntityData.Leafs.Append("cPtpClockInput1ppsInterface", types.YLeaf{"CPtpClockInput1ppsInterface", cPtpClockNodeEntry.CPtpClockInput1ppsInterface})
cPtpClockNodeEntry.EntityData.Leafs.Append("cPtpClockOutput1ppsInterface", types.YLeaf{"CPtpClockOutput1ppsInterface", cPtpClockNodeEntry.CPtpClockOutput1ppsInterface})
cPtpClockNodeEntry.EntityData.Leafs.Append("cPtpClockTODInterface", types.YLeaf{"CPtpClockTODInterface", cPtpClockNodeEntry.CPtpClockTODInterface})
cPtpClockNodeEntry.EntityData.YListKeys = []string {"CPtpClockDomainIndex", "CPtpClockTypeIndex", "CPtpClockInstanceIndex"}
return &(cPtpClockNodeEntry.EntityData)