Documentation ¶
Overview ¶
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
Index ¶
- type CISCOPTPMIB
- type CISCOPTPMIB_CPtpClockCurrentDSTable
- type CISCOPTPMIB_CPtpClockCurrentDSTable_CPtpClockCurrentDSEntry
- type CISCOPTPMIB_CPtpClockDefaultDSTable
- type CISCOPTPMIB_CPtpClockDefaultDSTable_CPtpClockDefaultDSEntry
- type CISCOPTPMIB_CPtpClockNodeTable
- type CISCOPTPMIB_CPtpClockNodeTable_CPtpClockNodeEntry
- type CISCOPTPMIB_CPtpClockParentDSTable
- type CISCOPTPMIB_CPtpClockParentDSTable_CPtpClockParentDSEntry
- type CISCOPTPMIB_CPtpClockPortAssociateTable
- type CISCOPTPMIB_CPtpClockPortAssociateTable_CPtpClockPortAssociateEntry
- type CISCOPTPMIB_CPtpClockPortDSTable
- type CISCOPTPMIB_CPtpClockPortDSTable_CPtpClockPortDSEntry
- type CISCOPTPMIB_CPtpClockPortRunningTable
- type CISCOPTPMIB_CPtpClockPortRunningTable_CPtpClockPortRunningEntry
- type CISCOPTPMIB_CPtpClockPortTable
- type CISCOPTPMIB_CPtpClockPortTable_CPtpClockPortEntry
- type CISCOPTPMIB_CPtpClockPortTransDSTable
- type CISCOPTPMIB_CPtpClockPortTransDSTable_CPtpClockPortTransDSEntry
- type CISCOPTPMIB_CPtpClockRunningTable
- type CISCOPTPMIB_CPtpClockRunningTable_CPtpClockRunningEntry
- type CISCOPTPMIB_CPtpClockTimePropertiesDSTable
- type CISCOPTPMIB_CPtpClockTimePropertiesDSTable_CPtpClockTimePropertiesDSEntry
- type CISCOPTPMIB_CPtpClockTransDefaultDSTable
- type CISCOPTPMIB_CPtpClockTransDefaultDSTable_CPtpClockTransDefaultDSEntry
- type CISCOPTPMIB_CPtpSystemDomainTable
- type CISCOPTPMIB_CPtpSystemDomainTable_CPtpSystemDomainEntry
- type CISCOPTPMIB_CPtpSystemTable
- type CISCOPTPMIB_CPtpSystemTable_CPtpSystemEntry
- type CISCOPTPMIB_CiscoPtpMIBSystemInfo
- type ClockMechanismType
- type ClockPortState
- type ClockProfileType
- type ClockQualityAccuracyType
- type ClockRoleType
- type ClockStateType
- type ClockTimeSourceType
- type ClockTxModeType
- type ClockType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type 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 }
CISCOPTPMIB
func (*CISCOPTPMIB) GetEntityData ¶
func (cISCOPTPMIB *CISCOPTPMIB) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockCurrentDSTable ¶
type CISCOPTPMIB_CPtpClockCurrentDSTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // An entry in the table, containing information about a single PTP clock // Current Datasets for a domain. The type is slice of // CISCOPTPMIB_CPtpClockCurrentDSTable_CPtpClockCurrentDSEntry. CPtpClockCurrentDSEntry []*CISCOPTPMIB_CPtpClockCurrentDSTable_CPtpClockCurrentDSEntry }
CISCOPTPMIB_CPtpClockCurrentDSTable Table of information about the PTP clock Current Datasets for all domains.
func (*CISCOPTPMIB_CPtpClockCurrentDSTable) GetEntityData ¶
func (cPtpClockCurrentDSTable *CISCOPTPMIB_CPtpClockCurrentDSTable) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockCurrentDSTable_CPtpClockCurrentDSEntry ¶
type CISCOPTPMIB_CPtpClockCurrentDSTable_CPtpClockCurrentDSEntry 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. CPtpClockCurrentDSDomainIndex interface{} // This attribute is a key. This object specifies the clock type as defined in // the Textual convention description. The type is ClockType. CPtpClockCurrentDSClockTypeIndex interface{} // This attribute is a key. This object specifies the instance of the clock // for this clock type in the given domain. The type is interface{} with // range: 0..255. CPtpClockCurrentDSInstanceIndex interface{} // The current clock dataset StepsRemoved value. This object specifies the // distance measured by the number of Boundary clocks between the local clock // and the Foreign master as indicated in the stepsRemoved field of Announce // messages. The type is interface{} with range: 0..4294967295. Units are // steps. CPtpClockCurrentDSStepsRemoved interface{} // This object specifies the current clock dataset ClockOffset value. The // value of the computation of the offset in time between a slave and a master // clock. The type is string with length: 1..255. Units are Time Interval. CPtpClockCurrentDSOffsetFromMaster interface{} // This object specifies the current clock dataset MeanPathDelay value. The // mean path delay between a pair of ports as measure by the delay // request-response mechanism. The type is string with length: 1..255. CPtpClockCurrentDSMeanPathDelay interface{} }
CISCOPTPMIB_CPtpClockCurrentDSTable_CPtpClockCurrentDSEntry An entry in the table, containing information about a single PTP clock Current Datasets for a domain.
func (*CISCOPTPMIB_CPtpClockCurrentDSTable_CPtpClockCurrentDSEntry) GetEntityData ¶
func (cPtpClockCurrentDSEntry *CISCOPTPMIB_CPtpClockCurrentDSTable_CPtpClockCurrentDSEntry) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockDefaultDSTable ¶
type CISCOPTPMIB_CPtpClockDefaultDSTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // An entry in the table, containing information about a single PTP clock // Default Datasets for a domain. The type is slice of // CISCOPTPMIB_CPtpClockDefaultDSTable_CPtpClockDefaultDSEntry. CPtpClockDefaultDSEntry []*CISCOPTPMIB_CPtpClockDefaultDSTable_CPtpClockDefaultDSEntry }
CISCOPTPMIB_CPtpClockDefaultDSTable Table of information about the PTP clock Default Datasets for all domains.
func (*CISCOPTPMIB_CPtpClockDefaultDSTable) GetEntityData ¶
func (cPtpClockDefaultDSTable *CISCOPTPMIB_CPtpClockDefaultDSTable) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockDefaultDSTable_CPtpClockDefaultDSEntry ¶
type CISCOPTPMIB_CPtpClockDefaultDSTable_CPtpClockDefaultDSEntry 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. CPtpClockDefaultDSDomainIndex interface{} // This attribute is a key. This object specifies the clock type as defined in // the Textual convention description. The type is ClockType. CPtpClockDefaultDSClockTypeIndex interface{} // This attribute is a key. This object specifies the instance of the clock // for this clock type in the given domain. The type is interface{} with // range: 0..255. CPtpClockDefaultDSInstanceIndex interface{} // This object specifies whether the Two Step process is used. The type is // bool. CPtpClockDefaultDSTwoStepFlag interface{} // This object specifies the default Datasets clock identity. The type is // string with length: 1..255. CPtpClockDefaultDSClockIdentity interface{} // This object specifies the default Datasets clock Priority1. The type is // interface{} with range: -2147483648..2147483647. CPtpClockDefaultDSPriority1 interface{} // This object specifies the default Datasets clock Priority2. The type is // interface{} with range: -2147483648..2147483647. CPtpClockDefaultDSPriority2 interface{} // Whether the SlaveOnly flag is set. The type is bool. CPtpClockDefaultDSSlaveOnly interface{} // This object specifies the default dataset Quality Class. The type is // interface{} with range: 0..255. CPtpClockDefaultDSQualityClass interface{} // This object specifies the default dataset Quality Accurarcy. The type is // ClockQualityAccuracyType. CPtpClockDefaultDSQualityAccuracy interface{} // This object specifies the default dataset Quality offset. The type is // interface{} with range: -2147483648..2147483647. CPtpClockDefaultDSQualityOffset interface{} }
CISCOPTPMIB_CPtpClockDefaultDSTable_CPtpClockDefaultDSEntry An entry in the table, containing information about a single PTP clock Default Datasets for a domain.
func (*CISCOPTPMIB_CPtpClockDefaultDSTable_CPtpClockDefaultDSEntry) GetEntityData ¶
func (cPtpClockDefaultDSEntry *CISCOPTPMIB_CPtpClockDefaultDSTable_CPtpClockDefaultDSEntry) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockNodeTable ¶
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 }
CISCOPTPMIB_CPtpClockNodeTable Table of information about the PTP system for a given domain.
func (*CISCOPTPMIB_CPtpClockNodeTable) GetEntityData ¶
func (cPtpClockNodeTable *CISCOPTPMIB_CPtpClockNodeTable) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockNodeTable_CPtpClockNodeEntry ¶
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{} }
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.
func (*CISCOPTPMIB_CPtpClockNodeTable_CPtpClockNodeEntry) GetEntityData ¶
func (cPtpClockNodeEntry *CISCOPTPMIB_CPtpClockNodeTable_CPtpClockNodeEntry) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockParentDSTable ¶
type CISCOPTPMIB_CPtpClockParentDSTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // An entry in the table, containing information about a single PTP clock // Parent Datasets for a domain. The type is slice of // CISCOPTPMIB_CPtpClockParentDSTable_CPtpClockParentDSEntry. CPtpClockParentDSEntry []*CISCOPTPMIB_CPtpClockParentDSTable_CPtpClockParentDSEntry }
CISCOPTPMIB_CPtpClockParentDSTable Table of information about the PTP clock Parent Datasets for all domains.
func (*CISCOPTPMIB_CPtpClockParentDSTable) GetEntityData ¶
func (cPtpClockParentDSTable *CISCOPTPMIB_CPtpClockParentDSTable) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockParentDSTable_CPtpClockParentDSEntry ¶
type CISCOPTPMIB_CPtpClockParentDSTable_CPtpClockParentDSEntry 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. CPtpClockParentDSDomainIndex interface{} // This attribute is a key. This object specifies the clock type as defined in // the Textual convention description. The type is ClockType. CPtpClockParentDSClockTypeIndex interface{} // This attribute is a key. This object specifies the instance of the clock // for this clock type in the given domain. The type is interface{} with // range: 0..255. CPtpClockParentDSInstanceIndex interface{} // This object specifies the value of portIdentity of the port on the master // that issues the Sync messages used in synchronizing this clock. The type is // string. CPtpClockParentDSParentPortIdentity interface{} // This object specifies the Parent Dataset ParentStats value. This value // indicates whether the values of ParentDSOffset and ParentDSClockPhChRate // have been measured and are valid. A TRUE value shall indicate valid data. // The type is bool. CPtpClockParentDSParentStats interface{} // This object specifies the Parent Dataset ParentOffsetScaledLogVariance // value. This value is the variance of the parent clocks phase as measured // by the local clock. The type is interface{} with range: -128..127. CPtpClockParentDSOffset interface{} // This object specifies the clock's parent dataset ParentClockPhaseChangeRate // value. This value is an estimate of the parent clocks phase change rate as // measured by the slave clock. The type is interface{} with range: // -2147483648..2147483647. CPtpClockParentDSClockPhChRate interface{} // This object specifies the parent dataset Grandmaster clock identity. The // type is string with length: 1..255. CPtpClockParentDSGMClockIdentity interface{} // This object specifies the parent dataset Grandmaster clock priority1. The // type is interface{} with range: -2147483648..2147483647. CPtpClockParentDSGMClockPriority1 interface{} // This object specifies the parent dataset grandmaster clock priority2. The // type is interface{} with range: -2147483648..2147483647. CPtpClockParentDSGMClockPriority2 interface{} // This object specifies the parent dataset grandmaster clock quality class. // The type is interface{} with range: 0..255. CPtpClockParentDSGMClockQualityClass interface{} // This object specifies the parent dataset grandmaster clock quality // accuracy. The type is ClockQualityAccuracyType. CPtpClockParentDSGMClockQualityAccuracy interface{} // This object specifies the parent dataset grandmaster clock quality offset. // The type is interface{} with range: 0..4294967295. CPtpClockParentDSGMClockQualityOffset interface{} }
CISCOPTPMIB_CPtpClockParentDSTable_CPtpClockParentDSEntry An entry in the table, containing information about a single PTP clock Parent Datasets for a domain.
func (*CISCOPTPMIB_CPtpClockParentDSTable_CPtpClockParentDSEntry) GetEntityData ¶
func (cPtpClockParentDSEntry *CISCOPTPMIB_CPtpClockParentDSTable_CPtpClockParentDSEntry) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockPortAssociateTable ¶
type CISCOPTPMIB_CPtpClockPortAssociateTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // An entry in the table, containing information about a single associated // port for the given clockport. The type is slice of // CISCOPTPMIB_CPtpClockPortAssociateTable_CPtpClockPortAssociateEntry. CPtpClockPortAssociateEntry []*CISCOPTPMIB_CPtpClockPortAssociateTable_CPtpClockPortAssociateEntry }
CISCOPTPMIB_CPtpClockPortAssociateTable 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.
func (*CISCOPTPMIB_CPtpClockPortAssociateTable) GetEntityData ¶
func (cPtpClockPortAssociateTable *CISCOPTPMIB_CPtpClockPortAssociateTable) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockPortAssociateTable_CPtpClockPortAssociateEntry ¶
type CISCOPTPMIB_CPtpClockPortAssociateTable_CPtpClockPortAssociateEntry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. This object specifies the given port's domain // number. The type is interface{} with range: 0..255. CPtpClockPortCurrentDomainIndex interface{} // This attribute is a key. This object specifies the given port's clock type. // The type is ClockType. CPtpClockPortCurrentClockTypeIndex interface{} // This attribute is a key. This object specifies the instance of the clock // for this clock type in the given domain. The type is interface{} with // range: 0..255. CPtpClockPortCurrentClockInstanceIndex interface{} // This attribute is a key. This object specifies the PTP Port Number for the // given port. The type is interface{} with range: 0..65535. CPtpClockPortCurrentPortNumberIndex interface{} // This attribute is a key. This object specifies the associated port's serial // number in the current port's context. The type is interface{} with range: // 1..65535. CPtpClockPortAssociatePortIndex interface{} // This object specifies the peer port's network address type used for PTP // communication. The type is InetAddressType. CPtpClockPortAssociateAddressType interface{} // This object specifies the peer port's network address used for PTP // communication. The type is string with length: 0..255. CPtpClockPortAssociateAddress interface{} // The number of packets sent to this peer port from the current port. The // type is interface{} with range: 0..18446744073709551615. Units are packets. CPtpClockPortAssociatePacketsSent interface{} // The number of packets received from this peer port by the current port. The // type is interface{} with range: 0..18446744073709551615. Units are packets. CPtpClockPortAssociatePacketsReceived interface{} // This object specifies the input errors associated with the peer port. The // type is interface{} with range: 0..18446744073709551615. Units are packets. CPtpClockPortAssociateInErrors interface{} // This object specifies the output errors associated with the peer port. The // type is interface{} with range: 0..18446744073709551615. Units are packets. CPtpClockPortAssociateOutErrors interface{} }
CISCOPTPMIB_CPtpClockPortAssociateTable_CPtpClockPortAssociateEntry An entry in the table, containing information about a single associated port for the given clockport.
func (*CISCOPTPMIB_CPtpClockPortAssociateTable_CPtpClockPortAssociateEntry) GetEntityData ¶
func (cPtpClockPortAssociateEntry *CISCOPTPMIB_CPtpClockPortAssociateTable_CPtpClockPortAssociateEntry) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockPortDSTable ¶
type CISCOPTPMIB_CPtpClockPortDSTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // An entry in the table, containing port dataset information for a single // clock port. The type is slice of // CISCOPTPMIB_CPtpClockPortDSTable_CPtpClockPortDSEntry. CPtpClockPortDSEntry []*CISCOPTPMIB_CPtpClockPortDSTable_CPtpClockPortDSEntry }
CISCOPTPMIB_CPtpClockPortDSTable Table of information about the clock ports dataset for a particular domain.
func (*CISCOPTPMIB_CPtpClockPortDSTable) GetEntityData ¶
func (cPtpClockPortDSTable *CISCOPTPMIB_CPtpClockPortDSTable) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockPortDSTable_CPtpClockPortDSEntry ¶
type CISCOPTPMIB_CPtpClockPortDSTable_CPtpClockPortDSEntry 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. CPtpClockPortDSDomainIndex interface{} // This attribute is a key. This object specifies the clock type as defined in // the Textual convention description. The type is ClockType. CPtpClockPortDSClockTypeIndex interface{} // This attribute is a key. This object specifies the instance of the clock // for this clock type in the given domain. The type is interface{} with // range: 0..255. CPtpClockPortDSClockInstanceIndex interface{} // This attribute is a key. This object specifies the PTP portnumber // associated with this PTP port. The type is interface{} with range: // 1..65535. CPtpClockPortDSPortNumberIndex interface{} // This object specifies the PTP clock port name. The type is string with // length: 1..64. CPtpClockPortDSName interface{} // This object specifies the PTP clock port Identity. The type is string. CPtpClockPortDSPortIdentity interface{} // This object specifies the Announce message transmission interval associated // with this clock port. The type is interface{} with range: // -2147483648..2147483647. CPtpClockPortDSAnnouncementInterval interface{} // This object specifies the Announce receipt timeout associated with this // clock port. The type is interface{} with range: -2147483648..2147483647. CPtpClockPortDSAnnounceRctTimeout interface{} // This object specifies the Sync message transmission interval. The type is // interface{} with range: -2147483648..2147483647. CPtpClockPortDSSyncInterval interface{} // This object specifies the Delay_Req message transmission interval. The type // is interface{} with range: -2147483648..2147483647. CPtpClockPortDSMinDelayReqInterval interface{} // This object specifies the Pdelay_Req message transmission interval. The // type is interface{} with range: -2147483648..2147483647. CPtpClockPortDSPeerDelayReqInterval interface{} // This object specifies the delay mechanism used. If the clock is an // end-to-end clock, the value of the is e2e, else if the clock is a peer // to-peer clock, the value shall be p2p. The type is ClockMechanismType. CPtpClockPortDSDelayMech interface{} // This object specifies the peer meanPathDelay. The type is string with // length: 1..255. CPtpClockPortDSPeerMeanPathDelay interface{} // This object specifies the grant duration allocated by the master. The type // is interface{} with range: 0..4294967295. CPtpClockPortDSGrantDuration interface{} // This object specifies the PTP version being used. The type is interface{} // with range: -2147483648..2147483647. CPtpClockPortDSPTPVersion interface{} }
CISCOPTPMIB_CPtpClockPortDSTable_CPtpClockPortDSEntry An entry in the table, containing port dataset information for a single clock port.
func (*CISCOPTPMIB_CPtpClockPortDSTable_CPtpClockPortDSEntry) GetEntityData ¶
func (cPtpClockPortDSEntry *CISCOPTPMIB_CPtpClockPortDSTable_CPtpClockPortDSEntry) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockPortRunningTable ¶
type CISCOPTPMIB_CPtpClockPortRunningTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // An entry in the table, containing runing dataset information about a single // clock port. The type is slice of // CISCOPTPMIB_CPtpClockPortRunningTable_CPtpClockPortRunningEntry. CPtpClockPortRunningEntry []*CISCOPTPMIB_CPtpClockPortRunningTable_CPtpClockPortRunningEntry }
CISCOPTPMIB_CPtpClockPortRunningTable Table of information about the clock ports running dataset for a particular domain.
func (*CISCOPTPMIB_CPtpClockPortRunningTable) GetEntityData ¶
func (cPtpClockPortRunningTable *CISCOPTPMIB_CPtpClockPortRunningTable) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockPortRunningTable_CPtpClockPortRunningEntry ¶
type CISCOPTPMIB_CPtpClockPortRunningTable_CPtpClockPortRunningEntry 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. CPtpClockPortRunningDomainIndex interface{} // This attribute is a key. This object specifies the clock type as defined in // the Textual convention description. The type is ClockType. CPtpClockPortRunningClockTypeIndex interface{} // This attribute is a key. This object specifies the instance of the clock // for this clock type in the given domain. The type is interface{} with // range: 0..255. CPtpClockPortRunningClockInstanceIndex interface{} // This attribute is a key. This object specifies the PTP portnumber // associated with this clock port. The type is interface{} with range: // 1..65535. CPtpClockPortRunningPortNumberIndex interface{} // This object specifies the PTP clock port name. The type is string with // length: 1..64. CPtpClockPortRunningName interface{} // This object specifies the port state returned by PTP engine. initializing // - In this state a port initializes its data sets, hardware, // and communication facilities. faulty - The fault state // of the protocol. disabled - The port shall not place any // messages on its communication path. listening - The port is waiting for // the announceReceiptTimeout to expire or to // receive an Announce message from a master. preMaster - // The port shall behave in all respects as though it were in // the MASTER state except that it shall not place any // messages on its communication path except for Pdelay_Req, // Pdelay_Resp, Pdelay_Resp_Follow_Up, signaling, or // management messages. master - The port is behaving as a master port. // passive - The port shall not place any messages on its // communication path except for Pdelay_Req, Pdelay_Resp, // Pdelay_Resp_Follow_Up, or signaling messages, or management // messages that are a required response to // another management message uncalibrated - The local port is preparing to // synchronize to the master port. slave - The port is synchronizing to // the selected master port. The type is ClockPortState. CPtpClockPortRunningState interface{} // This object specifies the Clock Role. The type is ClockRoleType. CPtpClockPortRunningRole interface{} // This object specifies the interface on the router being used by the PTP // Clock for PTP communication. The type is interface{} with range: // 0..2147483647. CPtpClockPortRunningInterfaceIndex interface{} // This object specifirst the IP version being used for PTP communication (the // mapping used). The type is interface{} with range: -2147483648..2147483647. CPtpClockPortRunningIPversion interface{} // This object specifies the type of encapsulation if the interface is adding // extra layers (eg. VLAN, Pseudowire encapsulation...) for the PTP messages. // The type is interface{} with range: -2147483648..2147483647. CPtpClockPortRunningEncapsulationType interface{} // This object specifies the clock transmission mode as unicast: Using // unicast commnuication channel. multicast: Using Multicast communication // channel. multicast-mix: Using multicast-unicast communication channel. The // type is ClockTxModeType. CPtpClockPortRunningTxMode interface{} // This object specifie the clock receive mode as unicast: Using // unicast commnuication channel. multicast: Using Multicast communication // channel. multicast-mix: Using multicast-unicast communication channel. The // type is ClockTxModeType. CPtpClockPortRunningRxMode interface{} // This object specifies the packets received on the clock port (cummulative). // The type is interface{} with range: 0..18446744073709551615. Units are // packets. CPtpClockPortRunningPacketsReceived interface{} // This object specifies the packets sent on the clock port (cummulative). The // type is interface{} with range: 0..18446744073709551615. Units are packets. CPtpClockPortRunningPacketsSent interface{} }
CISCOPTPMIB_CPtpClockPortRunningTable_CPtpClockPortRunningEntry An entry in the table, containing runing dataset information about a single clock port.
func (*CISCOPTPMIB_CPtpClockPortRunningTable_CPtpClockPortRunningEntry) GetEntityData ¶
func (cPtpClockPortRunningEntry *CISCOPTPMIB_CPtpClockPortRunningTable_CPtpClockPortRunningEntry) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockPortTable ¶
type CISCOPTPMIB_CPtpClockPortTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // An entry in the table, containing information about a single clock port. // The type is slice of CISCOPTPMIB_CPtpClockPortTable_CPtpClockPortEntry. CPtpClockPortEntry []*CISCOPTPMIB_CPtpClockPortTable_CPtpClockPortEntry }
CISCOPTPMIB_CPtpClockPortTable Table of information about the clock ports for a particular domain.
func (*CISCOPTPMIB_CPtpClockPortTable) GetEntityData ¶
func (cPtpClockPortTable *CISCOPTPMIB_CPtpClockPortTable) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockPortTable_CPtpClockPortEntry ¶
type CISCOPTPMIB_CPtpClockPortTable_CPtpClockPortEntry 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. CPtpClockPortDomainIndex interface{} // This attribute is a key. This object specifies the clock type as defined in // the Textual convention description. The type is ClockType. CPtpClockPortClockTypeIndex interface{} // This attribute is a key. This object specifies the instance of the clock // for this clock type in the given domain. The type is interface{} with // range: 0..255. CPtpClockPortClockInstanceIndex interface{} // This attribute is a key. This object specifies the PTP Portnumber for this // port. The type is interface{} with range: 1..65535. CPtpClockPortTablePortNumberIndex interface{} // This object specifies the PTP clock port name configured on the router. The // type is string with length: 1..64. CPtpClockPortName interface{} // This object describes the current role (slave/master) of the port. The type // is ClockRoleType. CPtpClockPortRole interface{} // This object specifies that one-step clock operation between the PTP master // and slave device is enabled. The type is bool. CPtpClockPortSyncOneStep interface{} // This object specifies the current peer's network address used for PTP // communication. Based on the scenario and the setup involved, the values // might look like these - Scenario Value // ------------------- ---------------- Single Master master port // Multiple Masters selected master port Single Slave slave // port Multiple Slaves <empty> (In relevant setups, information on // available slaves and available masters will be available through // cPtpClockPortAssociateTable). The type is InetAddressType. CPtpClockPortCurrentPeerAddressType interface{} // This object specifies the current peer's network address used for PTP // communication. Based on the scenario and the setup involved, the values // might look like these - Scenario Value // ------------------- ---------------- Single Master master port // Multiple Masters selected master port Single Slave slave // port Multiple Slaves <empty> (In relevant setups, information on // available slaves and available masters will be available through // cPtpClockPortAssociateTable). The type is string with length: 0..255. CPtpClockPortCurrentPeerAddress interface{} // This object specifies - For a master port - the number of PTP slave // sessions (peers) associated with this PTP port. For a slave port - the // number of masters available to this slave port (might or might not be // peered). The type is interface{} with range: 0..4294967295. CPtpClockPortNumOfAssociatedPorts interface{} }
CISCOPTPMIB_CPtpClockPortTable_CPtpClockPortEntry An entry in the table, containing information about a single clock port.
func (*CISCOPTPMIB_CPtpClockPortTable_CPtpClockPortEntry) GetEntityData ¶
func (cPtpClockPortEntry *CISCOPTPMIB_CPtpClockPortTable_CPtpClockPortEntry) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockPortTransDSTable ¶
type CISCOPTPMIB_CPtpClockPortTransDSTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // An entry in the table, containing clock port Transparent dataset // information about a single clock port. The type is slice of // CISCOPTPMIB_CPtpClockPortTransDSTable_CPtpClockPortTransDSEntry. CPtpClockPortTransDSEntry []*CISCOPTPMIB_CPtpClockPortTransDSTable_CPtpClockPortTransDSEntry }
CISCOPTPMIB_CPtpClockPortTransDSTable Table of information about the Transparent clock ports running dataset for a particular domain.
func (*CISCOPTPMIB_CPtpClockPortTransDSTable) GetEntityData ¶
func (cPtpClockPortTransDSTable *CISCOPTPMIB_CPtpClockPortTransDSTable) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockPortTransDSTable_CPtpClockPortTransDSEntry ¶
type CISCOPTPMIB_CPtpClockPortTransDSTable_CPtpClockPortTransDSEntry 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. CPtpClockPortTransDSDomainIndex interface{} // This attribute is a key. This object specifies the instance of the clock // for this clock type in the given domain. The type is interface{} with // range: 0..255. CPtpClockPortTransDSInstanceIndex interface{} // This attribute is a key. This object specifies the PTP port number // associated with this port. The type is interface{} with range: 1..65535. CPtpClockPortTransDSPortNumberIndex interface{} // This object specifies the value of the PortIdentity attribute of the local // port. The type is string with length: 1..255. CPtpClockPortTransDSPortIdentity interface{} // This object specifies the value of the logarithm to the base 2 of the // minPdelayReqInterval. The type is interface{} with range: // -2147483648..2147483647. CPtpClockPortTransDSlogMinPdelayReqInt interface{} // This object specifies the value TRUE if the port is faulty and FALSE if the // port is operating normally. The type is bool. CPtpClockPortTransDSFaultyFlag interface{} // This object specifies, (if the delayMechanism used is P2P) the value is the // estimate of the current one-way propagation delay, i.e., <meanPathDelay> on // the link attached to this port computed using the peer delay mechanism. If // the value of the delayMechanism used is E2E, then the value will be zero. // The type is string with length: 1..255. CPtpClockPortTransDSPeerMeanPathDelay interface{} }
CISCOPTPMIB_CPtpClockPortTransDSTable_CPtpClockPortTransDSEntry An entry in the table, containing clock port Transparent dataset information about a single clock port
func (*CISCOPTPMIB_CPtpClockPortTransDSTable_CPtpClockPortTransDSEntry) GetEntityData ¶
func (cPtpClockPortTransDSEntry *CISCOPTPMIB_CPtpClockPortTransDSTable_CPtpClockPortTransDSEntry) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockRunningTable ¶
type CISCOPTPMIB_CPtpClockRunningTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // An entry in the table, containing information about a single PTP clock // running Datasets for a domain. The type is slice of // CISCOPTPMIB_CPtpClockRunningTable_CPtpClockRunningEntry. CPtpClockRunningEntry []*CISCOPTPMIB_CPtpClockRunningTable_CPtpClockRunningEntry }
CISCOPTPMIB_CPtpClockRunningTable Table of information about the PTP clock Running Datasets for all domains.
func (*CISCOPTPMIB_CPtpClockRunningTable) GetEntityData ¶
func (cPtpClockRunningTable *CISCOPTPMIB_CPtpClockRunningTable) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockRunningTable_CPtpClockRunningEntry ¶
type CISCOPTPMIB_CPtpClockRunningTable_CPtpClockRunningEntry 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. CPtpClockRunningDomainIndex interface{} // This attribute is a key. This object specifies the clock type as defined in // the Textual convention description. The type is ClockType. CPtpClockRunningClockTypeIndex interface{} // This attribute is a key. This object specifies the instance of the clock // for this clock type in the given domain. The type is interface{} with // range: 0..255. CPtpClockRunningInstanceIndex interface{} // This object specifies the Clock state returned by PTP engine which was // described earlier. Freerun state. Applies to a slave device that is not // locked to a master. This is the initial state a slave starts out with when // it is not getting any PTP packets from the master or because of some other // input error (erroneous packets, etc). Holdover state. In this state the // slave device is locked to a master but communication with the master is // lost or the timestamps in the ptp packets are incorrect. But since the // slave was locked to the master, it can run with the same accuracy for // sometime. The slave can continue to operate in this state for some time. If // communication with the master is not restored for a while, the device is // moved to the FREERUN state. Acquiring state. The slave device is receiving // packets from a master and is trying to acquire a lock. Freq_locked state. // Slave device is locked to the Master with respect to frequency, but not // phase aligned Phase_aligned state. Locked to the master with respect to // frequency and phase. The type is ClockStateType. CPtpClockRunningState interface{} // This object specifies the total number of all packet Unicast and multicast // that have been sent out for this clock in this domain for this type. The // type is interface{} with range: 0..18446744073709551615. CPtpClockRunningPacketsSent interface{} // This object specifies the total number of all packet Unicast and multicast // that have been received for this clock in this domain for this type. The // type is interface{} with range: 0..18446744073709551615. CPtpClockRunningPacketsReceived interface{} }
CISCOPTPMIB_CPtpClockRunningTable_CPtpClockRunningEntry An entry in the table, containing information about a single PTP clock running Datasets for a domain.
func (*CISCOPTPMIB_CPtpClockRunningTable_CPtpClockRunningEntry) GetEntityData ¶
func (cPtpClockRunningEntry *CISCOPTPMIB_CPtpClockRunningTable_CPtpClockRunningEntry) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockTimePropertiesDSTable ¶
type CISCOPTPMIB_CPtpClockTimePropertiesDSTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // An entry in the table, containing information about a single PTP clock // timeproperties Datasets for a domain. The type is slice of // CISCOPTPMIB_CPtpClockTimePropertiesDSTable_CPtpClockTimePropertiesDSEntry. CPtpClockTimePropertiesDSEntry []*CISCOPTPMIB_CPtpClockTimePropertiesDSTable_CPtpClockTimePropertiesDSEntry }
CISCOPTPMIB_CPtpClockTimePropertiesDSTable Table of information about the PTP clock Timeproperties Datasets for all domains.
func (*CISCOPTPMIB_CPtpClockTimePropertiesDSTable) GetEntityData ¶
func (cPtpClockTimePropertiesDSTable *CISCOPTPMIB_CPtpClockTimePropertiesDSTable) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockTimePropertiesDSTable_CPtpClockTimePropertiesDSEntry ¶
type CISCOPTPMIB_CPtpClockTimePropertiesDSTable_CPtpClockTimePropertiesDSEntry 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. CPtpClockTimePropertiesDSDomainIndex interface{} // This attribute is a key. This object specifies the clock type as defined in // the Textual convention description. The type is ClockType. CPtpClockTimePropertiesDSClockTypeIndex interface{} // This attribute is a key. This object specifies the instance of the clock // for this clock type in the given domain. The type is interface{} with // range: 0..255. CPtpClockTimePropertiesDSInstanceIndex interface{} // This object specifies the timeproperties dataset value of whether current // UTC offset is valid. The type is bool. CPtpClockTimePropertiesDSCurrentUTCOffsetValid interface{} // This object specifies the timeproperties dataset value of current UTC // offset. In PTP systems whose epoch is the PTP epoch, the value of // timePropertiesDS.currentUtcOffset is the offset between TAI and UTC; // otherwise the value has no meaning. The value shall be in units of seconds. // The initialization value shall be selected as follows: a) If the // timePropertiesDS.ptpTimescale (see 8.2.4.8) is TRUE, the value is the value // obtained from a primary reference if the value is known at the time of // initialization, else. b) The value shall be the current number of leap // seconds (7.2.3) when the node is designed. The type is interface{} with // range: -2147483648..2147483647. CPtpClockTimePropertiesDSCurrentUTCOffset interface{} // This object specifies the Leap59 value in the clock Current Dataset. The // type is bool. CPtpClockTimePropertiesDSLeap59 interface{} // This object specifies the Leap61 value in the clock Current Dataset. The // type is bool. CPtpClockTimePropertiesDSLeap61 interface{} // This object specifies the Timetraceable value in the clock Current Dataset. // The type is bool. CPtpClockTimePropertiesDSTimeTraceable interface{} // This object specifies the Frequency Traceable value in the clock Current // Dataset. The type is bool. CPtpClockTimePropertiesDSFreqTraceable interface{} // This object specifies the PTP Timescale value in the clock Current Dataset. // The type is bool. CPtpClockTimePropertiesDSPTPTimescale interface{} // This object specifies the Timesource value in the clock Current Dataset. // The type is ClockTimeSourceType. CPtpClockTimePropertiesDSSource interface{} }
CISCOPTPMIB_CPtpClockTimePropertiesDSTable_CPtpClockTimePropertiesDSEntry An entry in the table, containing information about a single PTP clock timeproperties Datasets for a domain.
func (*CISCOPTPMIB_CPtpClockTimePropertiesDSTable_CPtpClockTimePropertiesDSEntry) GetEntityData ¶
func (cPtpClockTimePropertiesDSEntry *CISCOPTPMIB_CPtpClockTimePropertiesDSTable_CPtpClockTimePropertiesDSEntry) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockTransDefaultDSTable ¶
type CISCOPTPMIB_CPtpClockTransDefaultDSTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // An entry in the table, containing information about a single PTP // Transparent clock Default Datasets for a domain. The type is slice of // CISCOPTPMIB_CPtpClockTransDefaultDSTable_CPtpClockTransDefaultDSEntry. CPtpClockTransDefaultDSEntry []*CISCOPTPMIB_CPtpClockTransDefaultDSTable_CPtpClockTransDefaultDSEntry }
CISCOPTPMIB_CPtpClockTransDefaultDSTable Table of information about the PTP Transparent clock Default Datasets for all domains.
func (*CISCOPTPMIB_CPtpClockTransDefaultDSTable) GetEntityData ¶
func (cPtpClockTransDefaultDSTable *CISCOPTPMIB_CPtpClockTransDefaultDSTable) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpClockTransDefaultDSTable_CPtpClockTransDefaultDSEntry ¶
type CISCOPTPMIB_CPtpClockTransDefaultDSTable_CPtpClockTransDefaultDSEntry 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. CPtpClockTransDefaultDSDomainIndex interface{} // This attribute is a key. This object specifies the instance of the clock // for this clock type in the given domain. The type is interface{} with // range: 0..255. CPtpClockTransDefaultDSInstanceIndex interface{} // This object specifies the value of the clockIdentity attribute of the local // clock. The type is string with length: 1..255. CPtpClockTransDefaultDSClockIdentity interface{} // This object specifies the number of PTP ports of the device. The type is // interface{} with range: 0..4294967295. CPtpClockTransDefaultDSNumOfPorts interface{} // This object, if the transparent clock is an end-to-end transparent clock, // has the value shall be E2E; If the transparent clock is a peer-to-peer // transparent clock, the value shall be P2P. The type is ClockMechanismType. CPtpClockTransDefaultDSDelay interface{} // This object specifies the value of the primary syntonization domain. The // initialization value shall be 0. The type is interface{} with range: // -2147483648..2147483647. CPtpClockTransDefaultDSPrimaryDomain interface{} }
CISCOPTPMIB_CPtpClockTransDefaultDSTable_CPtpClockTransDefaultDSEntry An entry in the table, containing information about a single PTP Transparent clock Default Datasets for a domain.
func (*CISCOPTPMIB_CPtpClockTransDefaultDSTable_CPtpClockTransDefaultDSEntry) GetEntityData ¶
func (cPtpClockTransDefaultDSEntry *CISCOPTPMIB_CPtpClockTransDefaultDSTable_CPtpClockTransDefaultDSEntry) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpSystemDomainTable ¶
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 }
CISCOPTPMIB_CPtpSystemDomainTable Table of information about the PTP system for all clock modes -- ordinary, boundary or transparent.
func (*CISCOPTPMIB_CPtpSystemDomainTable) GetEntityData ¶
func (cPtpSystemDomainTable *CISCOPTPMIB_CPtpSystemDomainTable) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpSystemDomainTable_CPtpSystemDomainEntry ¶
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{} }
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.
func (*CISCOPTPMIB_CPtpSystemDomainTable_CPtpSystemDomainEntry) GetEntityData ¶
func (cPtpSystemDomainEntry *CISCOPTPMIB_CPtpSystemDomainTable_CPtpSystemDomainEntry) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpSystemTable ¶
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 }
CISCOPTPMIB_CPtpSystemTable Table of count information about the PTP system for all domains.
func (*CISCOPTPMIB_CPtpSystemTable) GetEntityData ¶
func (cPtpSystemTable *CISCOPTPMIB_CPtpSystemTable) GetEntityData() *types.CommonEntityData
type CISCOPTPMIB_CPtpSystemTable_CPtpSystemEntry ¶
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{} }
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.
func (*CISCOPTPMIB_CPtpSystemTable_CPtpSystemEntry) GetEntityData ¶
func (cPtpSystemEntry *CISCOPTPMIB_CPtpSystemTable_CPtpSystemEntry) GetEntityData() *types.CommonEntityData
type 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{} }
CISCOPTPMIB_CiscoPtpMIBSystemInfo
func (*CISCOPTPMIB_CiscoPtpMIBSystemInfo) GetEntityData ¶
func (ciscoPtpMIBSystemInfo *CISCOPTPMIB_CiscoPtpMIBSystemInfo) GetEntityData() *types.CommonEntityData
type ClockMechanismType ¶
type ClockMechanismType string
ClockMechanismType represents the delay mechanism.
const ( ClockMechanismType_e2e ClockMechanismType = "e2e" ClockMechanismType_p2p ClockMechanismType = "p2p" ClockMechanismType_disabled ClockMechanismType = "disabled" )
type ClockPortState ¶
type ClockPortState string
ClockPortState represents selected master port.
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" )
type ClockProfileType ¶
type ClockProfileType string
ClockProfileType represents a device.
const ( ClockProfileType_default_ ClockProfileType = "default" ClockProfileType_telecom ClockProfileType = "telecom" ClockProfileType_vendorspecific ClockProfileType = "vendorspecific" )
type ClockQualityAccuracyType ¶
type ClockQualityAccuracyType string
ClockQualityAccuracyType represents the protocol.
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" )
type ClockRoleType ¶
type ClockRoleType string
ClockRoleType represents another clock (master).
const ( ClockRoleType_master ClockRoleType = "master" ClockRoleType_slave ClockRoleType = "slave" )
type ClockStateType ¶
type ClockStateType string
ClockStateType represents frequency and phase.
const ( ClockStateType_freerun ClockStateType = "freerun" ClockStateType_holdover ClockStateType = "holdover" ClockStateType_acquiring ClockStateType = "acquiring" ClockStateType_frequencyLocked ClockStateType = "frequencyLocked" ClockStateType_phaseAligned ClockStateType = "phaseAligned" )
type ClockTimeSourceType ¶
type ClockTimeSourceType string
ClockTimeSourceType represents the protocol.
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" )
type ClockTxModeType ¶
type ClockTxModeType string
ClockTxModeType represents multicast-mix. Using multicast-unicast communication channel
const ( ClockTxModeType_unicast ClockTxModeType = "unicast" ClockTxModeType_multicast ClockTxModeType = "multicast" ClockTxModeType_multicastmix ClockTxModeType = "multicastmix" )