Documentation ¶
Overview ¶
This module contains a collection of YANG definitions for Cisco IOS-XR ptp package configuration.
This module contains definitions for the following management objects:
ptp: PTP global configuration
This YANG module augments the
Cisco-IOS-XR-ifmgr-cfg
module with configuration data.
Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved.
Index ¶
- type Ptp
- type Ptp_Clock
- type Ptp_Clock_Identity
- type Ptp_Clock_Profile
- type Ptp_Logging
- type Ptp_Logging_BestMasterClock
- type Ptp_Logging_Servo
- type Ptp_Profiles
- type Ptp_Profiles_Profile
- type Ptp_Profiles_Profile_AnnounceInterval
- type Ptp_Profiles_Profile_Communication
- type Ptp_Profiles_Profile_DelayRequestMinimumInterval
- type Ptp_Profiles_Profile_Interop
- type Ptp_Profiles_Profile_Interop_EgressConversion
- type Ptp_Profiles_Profile_Interop_EgressConversion_ClockClassMappings
- type Ptp_Profiles_Profile_Interop_EgressConversion_ClockClassMappings_ClockClassMapping
- type Ptp_Profiles_Profile_Interop_IngressConversion
- type Ptp_Profiles_Profile_Interop_IngressConversion_ClockClassMappings
- type Ptp_Profiles_Profile_Interop_IngressConversion_ClockClassMappings_ClockClassMapping
- type Ptp_Profiles_Profile_Masters
- type Ptp_Profiles_Profile_Masters_Master
- type Ptp_Profiles_Profile_Masters_Master_Ethernet
- type Ptp_Profiles_Profile_Masters_Master_Ethernet_DelayAsymmetry
- type Ptp_Profiles_Profile_Masters_Master_Ipv4OrIpv6
- type Ptp_Profiles_Profile_Masters_Master_Ipv4OrIpv6_DelayAsymmetry
- type Ptp_Profiles_Profile_Slaves
- type Ptp_Profiles_Profile_Slaves_Slave
- type Ptp_Profiles_Profile_Slaves_Slave_Ethernet
- type Ptp_Profiles_Profile_Slaves_Slave_Ipv4OrIpv6
- type Ptp_Profiles_Profile_SourceIpv4Address
- type Ptp_Profiles_Profile_SourceIpv6Address
- type Ptp_Profiles_Profile_SyncInterval
- type Ptp_TransparentClock
- type Ptp_TransparentClock_Domains
- type Ptp_TransparentClock_Domains_Domain
- type Ptp_UncalibratedClockClass2
- type Ptp_UtcOffset
- type Ptp_UtcOffset_LeapSecondFile
- type Ptp_UtcOffset_ScheduledOffsets
- type Ptp_UtcOffset_ScheduledOffsets_ScheduledOffset
- type Ptp_VirtualPort
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ptp ¶
type Ptp struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Clock class to be used while acquiring phase-lock to a parent clock. Note // that this is deprecated and should not be used. The type is interface{} // with range: 0..255. UncalibratedClockClass interface{} // Time-of-day priority. The type is interface{} with range: 1..254. The // default value is 100. TimeOfDayPriority interface{} // Frequency priority. The type is interface{} with range: 1..254. The default // value is 254. FrequencyPriority interface{} // Startup clock class value. The type is interface{} with range: 0..255. StartupClockClass interface{} // Enable the precision time protocol. The type is interface{}. Enable interface{} // Clocks with a clock-class higher than the minimum clock class will not be // considered for selection as a parent clock. The type is interface{} with // range: 0..255. MinClockClass interface{} // Disable PTP as a source for frequency as only physical layer frequency // sources are used. The type is interface{}. PhysicalLayerFrequency interface{} // Freerun clock class value. The type is interface{} with range: 0..255. FreerunClockClass interface{} // PTP local clock configuration. Clock Ptp_Clock // Table for profile configuration. Profiles Ptp_Profiles // UTC offset configuration. UtcOffset Ptp_UtcOffset // PTP logging configuration. Logging Ptp_Logging // Clock class to be used while acquiring phase-lock to a parent clock. UncalibratedClockClass2 Ptp_UncalibratedClockClass2 // Transparent clock configuration. TransparentClock Ptp_TransparentClock // PTP virtual port configuration. VirtualPort Ptp_VirtualPort }
Ptp PTP global configuration
func (*Ptp) GetEntityData ¶
func (ptp *Ptp) GetEntityData() *types.CommonEntityData
type Ptp_Clock ¶
type Ptp_Clock struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Local clock timescale. The type is PtpTimescale. Timescale interface{} // Local clock domain. The type is interface{} with range: 0..255. The default // value is 0. Domain interface{} // Local clock priority2. The type is interface{} with range: 0..255. The // default value is 128. Priority2 interface{} // Local clock time source. The type is PtpTimeSource. TimeSource interface{} // Local clock priority1. The type is interface{} with range: 0..255. The // default value is 128. Priority1 interface{} // Local clock class. The type is interface{} with range: 0..255. The default // value is 0. ClockClass interface{} // Local clock PTP profile. Profile Ptp_Clock_Profile // Local clock identity. Identity Ptp_Clock_Identity }
Ptp_Clock PTP local clock configuration
func (*Ptp_Clock) GetEntityData ¶
func (clock *Ptp_Clock) GetEntityData() *types.CommonEntityData
type Ptp_Clock_Identity ¶
type Ptp_Clock_Identity struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Clock identity type. The type is PtpClockId. The default value is // router-mac. ClockIdType interface{} // MAC Address. The type is string with pattern: // [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}. MacAddress interface{} // EUI-64 number. The type is string. Eui interface{} }
Ptp_Clock_Identity Local clock identity
func (*Ptp_Clock_Identity) GetEntityData ¶
func (identity *Ptp_Clock_Identity) GetEntityData() *types.CommonEntityData
type Ptp_Clock_Profile ¶
type Ptp_Clock_Profile struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Clock profile. The type is PtpClockProfile. The default value is default. ClockProfile interface{} // Telecom clock type. The type is PtpTelecomClock. TelecomClockType interface{} }
Ptp_Clock_Profile Local clock PTP profile
func (*Ptp_Clock_Profile) GetEntityData ¶
func (profile *Ptp_Clock_Profile) GetEntityData() *types.CommonEntityData
type Ptp_Logging ¶
type Ptp_Logging struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // PTP best master clock logging configuration. BestMasterClock Ptp_Logging_BestMasterClock // PTP PD Servo logging configuration. Servo Ptp_Logging_Servo }
Ptp_Logging PTP logging configuration
func (*Ptp_Logging) GetEntityData ¶
func (logging *Ptp_Logging) GetEntityData() *types.CommonEntityData
type Ptp_Logging_BestMasterClock ¶
type Ptp_Logging_BestMasterClock struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Enable best master clock changes logging. The type is interface{}. Changes interface{} }
Ptp_Logging_BestMasterClock PTP best master clock logging configuration
func (*Ptp_Logging_BestMasterClock) GetEntityData ¶
func (bestMasterClock *Ptp_Logging_BestMasterClock) GetEntityData() *types.CommonEntityData
type Ptp_Logging_Servo ¶
type Ptp_Logging_Servo struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Enable servo events logging. The type is interface{}. Events interface{} }
Ptp_Logging_Servo PTP PD Servo logging configuration
func (*Ptp_Logging_Servo) GetEntityData ¶
func (servo *Ptp_Logging_Servo) GetEntityData() *types.CommonEntityData
type Ptp_Profiles ¶
type Ptp_Profiles struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Profile configuration. The type is slice of Ptp_Profiles_Profile. Profile []*Ptp_Profiles_Profile }
Ptp_Profiles Table for profile configuration
func (*Ptp_Profiles) GetEntityData ¶
func (profiles *Ptp_Profiles) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile ¶
type Ptp_Profiles_Profile struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Profile. The type is string with pattern: // [\w\-\.:,_@#%$\+=\|;]+. ProfileName interface{} // Sync unicast grant duration, in seconds. The type is interface{} with // range: 60..1000. Units are second. The default value is 300. SyncGrantDuration interface{} // General COS. The type is interface{} with range: 0..7. The default value is // 6. GeneralCos interface{} // Sync timeout, in milliseconds. The type is interface{} with range: // 100..100000. Units are millisecond. The default value is 5000. SyncTimeout interface{} // Transport. The type is PtpEncap. The default value is ipv4. Transport interface{} // Announce Timeout. The type is interface{} with range: 2..10. The default // value is 3. AnnounceTimeout interface{} // COS. The type is interface{} with range: 0..7. The default value is 6. Cos interface{} // IPv4 TTL. The type is interface{} with range: 1..255. The default value is // 255. Ipv4ttl interface{} // Port state restriction. The type is PtpPortState. The default value is any. PortState interface{} // Delay-Response timeout, in milliseconds. The type is interface{} with // range: 100..100000. Units are millisecond. The default value is 5000. DelayResponseTimeout interface{} // Delay-Response unicast grant duration, in seconds. The type is interface{} // with range: 60..1000. Units are second. The default value is 300. DelayResponseGrantDuration interface{} // Event COS. The type is interface{} with range: 0..7. The default value is // 6. EventCos interface{} // DSCP. The type is interface{} with range: 0..63. The default value is 46. Dscp interface{} // IPv6 Hop Limit. The type is interface{} with range: 1..255. The default // value is 255. Ipv6HopLimit interface{} // General DSCP. The type is interface{} with range: 0..63. The default value // is 46. GeneralDscp interface{} // Clock Operation. The type is PtpClockOperation. The default value is // two-step. ClockOperation interface{} // Announce unicast grant duration, in seconds. The type is interface{} with // range: 60..1000. Units are second. The default value is 300. AnnounceGrantDuration interface{} // Invalid unicast grant request response. The type is // PtpInvalidUnicastGrantRequestResponse. The default value is reduce. UnicastGrantInvalidRequest interface{} // Event DSCP. The type is interface{} with range: 0..63. The default value is // 46. EventDscp interface{} // Announce interval. AnnounceInterval Ptp_Profiles_Profile_AnnounceInterval // Table for interop configuration. Interop Ptp_Profiles_Profile_Interop // Source IPv4 Address. SourceIpv4Address Ptp_Profiles_Profile_SourceIpv4Address // Table for slave configuration. Slaves Ptp_Profiles_Profile_Slaves // Sync interval. SyncInterval Ptp_Profiles_Profile_SyncInterval // Table for master configuration. Masters Ptp_Profiles_Profile_Masters // Communication model. Communication Ptp_Profiles_Profile_Communication // Minimum delay request interval. DelayRequestMinimumInterval Ptp_Profiles_Profile_DelayRequestMinimumInterval // Source IPv6 Address. SourceIpv6Address Ptp_Profiles_Profile_SourceIpv6Address }
Ptp_Profiles_Profile Profile configuration
func (*Ptp_Profiles_Profile) GetEntityData ¶
func (profile *Ptp_Profiles_Profile) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_AnnounceInterval ¶
type Ptp_Profiles_Profile_AnnounceInterval struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Interval or Frequency. The type is PtpTime. The default value is interval. TimeType interface{} // Time Period. The type is PtpTimePeriod. The default value is 2. TimePeriod interface{} }
Ptp_Profiles_Profile_AnnounceInterval Announce interval
func (*Ptp_Profiles_Profile_AnnounceInterval) GetEntityData ¶
func (announceInterval *Ptp_Profiles_Profile_AnnounceInterval) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_Communication ¶
type Ptp_Profiles_Profile_Communication struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Communication Model. The type is PtpTransport. The default value is // unicast. Model interface{} // Target address set. The type is bool. The default value is false. TargetAddressSet interface{} // Target address. The type is string. TargetAddress interface{} }
Ptp_Profiles_Profile_Communication Communication model
func (*Ptp_Profiles_Profile_Communication) GetEntityData ¶
func (communication *Ptp_Profiles_Profile_Communication) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_DelayRequestMinimumInterval ¶
type Ptp_Profiles_Profile_DelayRequestMinimumInterval struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Interval or Frequency. The type is PtpTime. The default value is interval. TimeType interface{} // Time Period. The type is PtpTimePeriod. The default value is 1. TimePeriod interface{} }
Ptp_Profiles_Profile_DelayRequestMinimumInterval Minimum delay request interval
func (*Ptp_Profiles_Profile_DelayRequestMinimumInterval) GetEntityData ¶
func (delayRequestMinimumInterval *Ptp_Profiles_Profile_DelayRequestMinimumInterval) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_Interop ¶
type Ptp_Profiles_Profile_Interop struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Profile to interoperate with. The type is PtpClockProfile. Profile interface{} // Domain number of the peer clock. The type is interface{} with range: // 0..255. Domain interface{} // Iteroperation configuration to be used on egress. EgressConversion Ptp_Profiles_Profile_Interop_EgressConversion // Iteroperation configuration to be used on ingress. IngressConversion Ptp_Profiles_Profile_Interop_IngressConversion }
Ptp_Profiles_Profile_Interop Table for interop configuration
func (*Ptp_Profiles_Profile_Interop) GetEntityData ¶
func (interop *Ptp_Profiles_Profile_Interop) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_Interop_EgressConversion ¶
type Ptp_Profiles_Profile_Interop_EgressConversion struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Clock Accuracy value to use for the peer clock. The type is interface{} // with range: 0..254. ClockAccuracy interface{} // Priority2 value to use for the peer clock. The type is interface{} with // range: 0..255. Priority2 interface{} // Default clock class to use when a more specific mapping is not available. // The type is interface{} with range: 0..255. ClockClassDefault interface{} // OSLV value to use for the peer clock. The type is interface{} with range: // 0..65535. OffsetScaledLogVariance interface{} // Priority1 value to use for the peer clock. The type is interface{} with // range: 0..255. Priority1 interface{} // Table for specific mappings for given clock class values. ClockClassMappings Ptp_Profiles_Profile_Interop_EgressConversion_ClockClassMappings }
Ptp_Profiles_Profile_Interop_EgressConversion Iteroperation configuration to be used on egress
func (*Ptp_Profiles_Profile_Interop_EgressConversion) GetEntityData ¶
func (egressConversion *Ptp_Profiles_Profile_Interop_EgressConversion) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_Interop_EgressConversion_ClockClassMappings ¶
type Ptp_Profiles_Profile_Interop_EgressConversion_ClockClassMappings struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Mapping for a given clock class value. The type is slice of // Ptp_Profiles_Profile_Interop_EgressConversion_ClockClassMappings_ClockClassMapping. ClockClassMapping []*Ptp_Profiles_Profile_Interop_EgressConversion_ClockClassMappings_ClockClassMapping }
Ptp_Profiles_Profile_Interop_EgressConversion_ClockClassMappings Table for specific mappings for given clock class values
func (*Ptp_Profiles_Profile_Interop_EgressConversion_ClockClassMappings) GetEntityData ¶
func (clockClassMappings *Ptp_Profiles_Profile_Interop_EgressConversion_ClockClassMappings) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_Interop_EgressConversion_ClockClassMappings_ClockClassMapping ¶
type Ptp_Profiles_Profile_Interop_EgressConversion_ClockClassMappings_ClockClassMapping struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Clock Class to map from. The type is interface{} // with range: 0..255. ClockClassFrom interface{} // Clock class to map to. The type is interface{} with range: 0..255. This // attribute is mandatory. ClockClassTo interface{} }
Ptp_Profiles_Profile_Interop_EgressConversion_ClockClassMappings_ClockClassMapping Mapping for a given clock class value
func (*Ptp_Profiles_Profile_Interop_EgressConversion_ClockClassMappings_ClockClassMapping) GetEntityData ¶
func (clockClassMapping *Ptp_Profiles_Profile_Interop_EgressConversion_ClockClassMappings_ClockClassMapping) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_Interop_IngressConversion ¶
type Ptp_Profiles_Profile_Interop_IngressConversion struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Clock Accuracy value to use for the peer clock. The type is interface{} // with range: 0..254. ClockAccuracy interface{} // Priority2 value to use for the peer clock. The type is interface{} with // range: 0..255. Priority2 interface{} // Default clock class to use when a more specific mapping is not available. // The type is interface{} with range: 0..255. ClockClassDefault interface{} // OSLV value to use for the peer clock. The type is interface{} with range: // 0..65535. OffsetScaledLogVariance interface{} // Priority1 value to use for the peer clock. The type is interface{} with // range: 0..255. Priority1 interface{} // Table for specific mappings for given clock class values. ClockClassMappings Ptp_Profiles_Profile_Interop_IngressConversion_ClockClassMappings }
Ptp_Profiles_Profile_Interop_IngressConversion Iteroperation configuration to be used on ingress
func (*Ptp_Profiles_Profile_Interop_IngressConversion) GetEntityData ¶
func (ingressConversion *Ptp_Profiles_Profile_Interop_IngressConversion) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_Interop_IngressConversion_ClockClassMappings ¶
type Ptp_Profiles_Profile_Interop_IngressConversion_ClockClassMappings struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Mapping for a given clock class value. The type is slice of // Ptp_Profiles_Profile_Interop_IngressConversion_ClockClassMappings_ClockClassMapping. ClockClassMapping []*Ptp_Profiles_Profile_Interop_IngressConversion_ClockClassMappings_ClockClassMapping }
Ptp_Profiles_Profile_Interop_IngressConversion_ClockClassMappings Table for specific mappings for given clock class values
func (*Ptp_Profiles_Profile_Interop_IngressConversion_ClockClassMappings) GetEntityData ¶
func (clockClassMappings *Ptp_Profiles_Profile_Interop_IngressConversion_ClockClassMappings) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_Interop_IngressConversion_ClockClassMappings_ClockClassMapping ¶
type Ptp_Profiles_Profile_Interop_IngressConversion_ClockClassMappings_ClockClassMapping struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Clock Class to map from. The type is interface{} // with range: 0..255. ClockClassFrom interface{} // Clock class to map to. The type is interface{} with range: 0..255. This // attribute is mandatory. ClockClassTo interface{} }
Ptp_Profiles_Profile_Interop_IngressConversion_ClockClassMappings_ClockClassMapping Mapping for a given clock class value
func (*Ptp_Profiles_Profile_Interop_IngressConversion_ClockClassMappings_ClockClassMapping) GetEntityData ¶
func (clockClassMapping *Ptp_Profiles_Profile_Interop_IngressConversion_ClockClassMappings_ClockClassMapping) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_Masters ¶
type Ptp_Profiles_Profile_Masters struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Master configuration. The type is slice of // Ptp_Profiles_Profile_Masters_Master. Master []*Ptp_Profiles_Profile_Masters_Master }
Ptp_Profiles_Profile_Masters Table for master configuration
func (*Ptp_Profiles_Profile_Masters) GetEntityData ¶
func (masters *Ptp_Profiles_Profile_Masters) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_Masters_Master ¶
type Ptp_Profiles_Profile_Masters_Master struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Master Transport Type. The type is PtpEncap. Transport interface{} // ethernet. The type is slice of // Ptp_Profiles_Profile_Masters_Master_Ethernet. Ethernet []*Ptp_Profiles_Profile_Masters_Master_Ethernet // ipv4 or ipv6. The type is slice of // Ptp_Profiles_Profile_Masters_Master_Ipv4OrIpv6. Ipv4OrIpv6 []*Ptp_Profiles_Profile_Masters_Master_Ipv4OrIpv6 }
Ptp_Profiles_Profile_Masters_Master Master configuration
func (*Ptp_Profiles_Profile_Masters_Master) GetEntityData ¶
func (master *Ptp_Profiles_Profile_Masters_Master) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_Masters_Master_Ethernet ¶
type Ptp_Profiles_Profile_Masters_Master_Ethernet struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Master MAC Address - only used if Transport is // Ethernet. The type is string with pattern: // [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}. MasterMacAddress interface{} // Master clock class. The type is interface{} with range: 0..255. MasterClockClass interface{} // Enable non-negotiated unicast on this interface. The type is bool. NonNegotiated interface{} // Master priority. The type is interface{} with range: 0..255. Priority interface{} // Communication Model. The type is PtpTransport. The default value is // unicast. Communication interface{} // The delay asymmetry for this master. DelayAsymmetry Ptp_Profiles_Profile_Masters_Master_Ethernet_DelayAsymmetry }
Ptp_Profiles_Profile_Masters_Master_Ethernet ethernet
func (*Ptp_Profiles_Profile_Masters_Master_Ethernet) GetEntityData ¶
func (ethernet *Ptp_Profiles_Profile_Masters_Master_Ethernet) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_Masters_Master_Ethernet_DelayAsymmetry ¶
type Ptp_Profiles_Profile_Masters_Master_Ethernet_DelayAsymmetry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YPresence bool // How much longer the master to slave path takes than the reverse. The type // is interface{} with range: -500000000..500000000. This attribute is // mandatory. Magnitude interface{} // The units to use for the delay asymmetry. The type is // PtpDelayAsymmetryUnits. This attribute is mandatory. Units interface{} }
Ptp_Profiles_Profile_Masters_Master_Ethernet_DelayAsymmetry The delay asymmetry for this master This type is a presence type.
func (*Ptp_Profiles_Profile_Masters_Master_Ethernet_DelayAsymmetry) GetEntityData ¶
func (delayAsymmetry *Ptp_Profiles_Profile_Masters_Master_Ethernet_DelayAsymmetry) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_Masters_Master_Ipv4OrIpv6 ¶
type Ptp_Profiles_Profile_Masters_Master_Ipv4OrIpv6 struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Master IP Address - used if Transport is not // Ethernet. The type is one of the following types: string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?, // or string with pattern: // ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?. MasterIpAddress interface{} // Master clock class. The type is interface{} with range: 0..255. MasterClockClass interface{} // Enable non-negotiated unicast on this interface. The type is bool. NonNegotiated interface{} // Master priority. The type is interface{} with range: 0..255. Priority interface{} // Communication Model. The type is PtpTransport. The default value is // unicast. Communication interface{} // The delay asymmetry for this master. DelayAsymmetry Ptp_Profiles_Profile_Masters_Master_Ipv4OrIpv6_DelayAsymmetry }
Ptp_Profiles_Profile_Masters_Master_Ipv4OrIpv6 ipv4 or ipv6
func (*Ptp_Profiles_Profile_Masters_Master_Ipv4OrIpv6) GetEntityData ¶
func (ipv4OrIpv6 *Ptp_Profiles_Profile_Masters_Master_Ipv4OrIpv6) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_Masters_Master_Ipv4OrIpv6_DelayAsymmetry ¶
type Ptp_Profiles_Profile_Masters_Master_Ipv4OrIpv6_DelayAsymmetry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YPresence bool // How much longer the master to slave path takes than the reverse. The type // is interface{} with range: -500000000..500000000. This attribute is // mandatory. Magnitude interface{} // The units to use for the delay asymmetry. The type is // PtpDelayAsymmetryUnits. This attribute is mandatory. Units interface{} }
Ptp_Profiles_Profile_Masters_Master_Ipv4OrIpv6_DelayAsymmetry The delay asymmetry for this master This type is a presence type.
func (*Ptp_Profiles_Profile_Masters_Master_Ipv4OrIpv6_DelayAsymmetry) GetEntityData ¶
func (delayAsymmetry *Ptp_Profiles_Profile_Masters_Master_Ipv4OrIpv6_DelayAsymmetry) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_Slaves ¶
type Ptp_Profiles_Profile_Slaves struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Slave configuration. The type is slice of // Ptp_Profiles_Profile_Slaves_Slave. Slave []*Ptp_Profiles_Profile_Slaves_Slave }
Ptp_Profiles_Profile_Slaves Table for slave configuration
func (*Ptp_Profiles_Profile_Slaves) GetEntityData ¶
func (slaves *Ptp_Profiles_Profile_Slaves) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_Slaves_Slave ¶
type Ptp_Profiles_Profile_Slaves_Slave struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Slave Transport Type. The type is PtpEncap. Transport interface{} // ethernet. The type is slice of Ptp_Profiles_Profile_Slaves_Slave_Ethernet. Ethernet []*Ptp_Profiles_Profile_Slaves_Slave_Ethernet // ipv4 or ipv6. The type is slice of // Ptp_Profiles_Profile_Slaves_Slave_Ipv4OrIpv6. Ipv4OrIpv6 []*Ptp_Profiles_Profile_Slaves_Slave_Ipv4OrIpv6 }
Ptp_Profiles_Profile_Slaves_Slave Slave configuration
func (*Ptp_Profiles_Profile_Slaves_Slave) GetEntityData ¶
func (slave *Ptp_Profiles_Profile_Slaves_Slave) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_Slaves_Slave_Ethernet ¶
type Ptp_Profiles_Profile_Slaves_Slave_Ethernet struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Slave MAC Address. The type is string with // pattern: [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}. SlaveMacAddress interface{} // Enable non-negotiated unicast on this interface. The type is bool. NonNegotiated interface{} }
Ptp_Profiles_Profile_Slaves_Slave_Ethernet ethernet
func (*Ptp_Profiles_Profile_Slaves_Slave_Ethernet) GetEntityData ¶
func (ethernet *Ptp_Profiles_Profile_Slaves_Slave_Ethernet) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_Slaves_Slave_Ipv4OrIpv6 ¶
type Ptp_Profiles_Profile_Slaves_Slave_Ipv4OrIpv6 struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Slave IP Address. The type is one of the following // types: string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?, // or string with pattern: // ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?. SlaveIpAddress interface{} // Enable non-negotiated unicast on this interface. The type is bool. NonNegotiated interface{} }
Ptp_Profiles_Profile_Slaves_Slave_Ipv4OrIpv6 ipv4 or ipv6
func (*Ptp_Profiles_Profile_Slaves_Slave_Ipv4OrIpv6) GetEntityData ¶
func (ipv4OrIpv6 *Ptp_Profiles_Profile_Slaves_Slave_Ipv4OrIpv6) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_SourceIpv4Address ¶
type Ptp_Profiles_Profile_SourceIpv4Address struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Enable source IP address. The type is bool. Enable interface{} // Source IP address to use. The type is string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. SourceIp interface{} }
Ptp_Profiles_Profile_SourceIpv4Address Source IPv4 Address
func (*Ptp_Profiles_Profile_SourceIpv4Address) GetEntityData ¶
func (sourceIpv4Address *Ptp_Profiles_Profile_SourceIpv4Address) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_SourceIpv6Address ¶
type Ptp_Profiles_Profile_SourceIpv6Address struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Enable source IPv6 address. The type is bool. Enable interface{} // Source IPv6 address to use. The type is string with pattern: // ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?. SourceIpv6 interface{} }
Ptp_Profiles_Profile_SourceIpv6Address Source IPv6 Address
func (*Ptp_Profiles_Profile_SourceIpv6Address) GetEntityData ¶
func (sourceIpv6Address *Ptp_Profiles_Profile_SourceIpv6Address) GetEntityData() *types.CommonEntityData
type Ptp_Profiles_Profile_SyncInterval ¶
type Ptp_Profiles_Profile_SyncInterval struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Interval or Frequency. The type is PtpTime. The default value is interval. TimeType interface{} // Time Period. The type is PtpTimePeriod. The default value is 1. TimePeriod interface{} }
Ptp_Profiles_Profile_SyncInterval Sync interval
func (*Ptp_Profiles_Profile_SyncInterval) GetEntityData ¶
func (syncInterval *Ptp_Profiles_Profile_SyncInterval) GetEntityData() *types.CommonEntityData
type Ptp_TransparentClock ¶
type Ptp_TransparentClock struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Table of domains containing transparent clock configuration. Domains Ptp_TransparentClock_Domains }
Ptp_TransparentClock Transparent clock configuration
func (*Ptp_TransparentClock) GetEntityData ¶
func (transparentClock *Ptp_TransparentClock) GetEntityData() *types.CommonEntityData
type Ptp_TransparentClock_Domains ¶
type Ptp_TransparentClock_Domains struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Transparent clock domain configuration. The type is slice of // Ptp_TransparentClock_Domains_Domain. Domain []*Ptp_TransparentClock_Domains_Domain }
Ptp_TransparentClock_Domains Table of domains containing transparent clock configuration
func (*Ptp_TransparentClock_Domains) GetEntityData ¶
func (domains *Ptp_TransparentClock_Domains) GetEntityData() *types.CommonEntityData
type Ptp_TransparentClock_Domains_Domain ¶
type Ptp_TransparentClock_Domains_Domain struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Domain. The type is string with pattern: (all). Domain interface{} }
Ptp_TransparentClock_Domains_Domain Transparent clock domain configuration
func (*Ptp_TransparentClock_Domains_Domain) GetEntityData ¶
func (domain *Ptp_TransparentClock_Domains_Domain) GetEntityData() *types.CommonEntityData
type Ptp_UncalibratedClockClass2 ¶
type Ptp_UncalibratedClockClass2 struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YPresence bool // Clock Class. The type is interface{} with range: 0..255. This attribute is // mandatory. ClockClass interface{} // Unless from holdover flag. The type is bool. UnlessFromHoldover interface{} }
Ptp_UncalibratedClockClass2 Clock class to be used while acquiring phase-lock to a parent clock. This type is a presence type.
func (*Ptp_UncalibratedClockClass2) GetEntityData ¶
func (uncalibratedClockClass2 *Ptp_UncalibratedClockClass2) GetEntityData() *types.CommonEntityData
type Ptp_UtcOffset ¶
type Ptp_UtcOffset struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Base UTC offset configuration. The type is interface{} with range: // 0..32767. Units are second. BaseOffset interface{} // Source file containing leap second information. LeapSecondFile Ptp_UtcOffset_LeapSecondFile // Table for scheduled UTC offset configuration. ScheduledOffsets Ptp_UtcOffset_ScheduledOffsets }
Ptp_UtcOffset UTC offset configuration
func (*Ptp_UtcOffset) GetEntityData ¶
func (utcOffset *Ptp_UtcOffset) GetEntityData() *types.CommonEntityData
type Ptp_UtcOffset_LeapSecondFile ¶
type Ptp_UtcOffset_LeapSecondFile struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YPresence bool // URL of source file. The type is string. This attribute is mandatory. SourceUrl interface{} // Polling frequency, in days. The type is interface{} with range: 1..365. // Units are day. PollingFrequency interface{} }
Ptp_UtcOffset_LeapSecondFile Source file containing leap second information This type is a presence type.
func (*Ptp_UtcOffset_LeapSecondFile) GetEntityData ¶
func (leapSecondFile *Ptp_UtcOffset_LeapSecondFile) GetEntityData() *types.CommonEntityData
type Ptp_UtcOffset_ScheduledOffsets ¶
type Ptp_UtcOffset_ScheduledOffsets struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Scheduled UTC offset configuration. The type is slice of // Ptp_UtcOffset_ScheduledOffsets_ScheduledOffset. ScheduledOffset []*Ptp_UtcOffset_ScheduledOffsets_ScheduledOffset }
Ptp_UtcOffset_ScheduledOffsets Table for scheduled UTC offset configuration
func (*Ptp_UtcOffset_ScheduledOffsets) GetEntityData ¶
func (scheduledOffsets *Ptp_UtcOffset_ScheduledOffsets) GetEntityData() *types.CommonEntityData
type Ptp_UtcOffset_ScheduledOffsets_ScheduledOffset ¶
type Ptp_UtcOffset_ScheduledOffsets_ScheduledOffset struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Offset application date, in ISO-8601 format // (YYYY-MM-DD). The type is string with pattern: [\w\-\.:,_@#%$\+=\|;]+. Date interface{} // UTC offset, in seconds. The type is interface{} with range: 0..32767. This // attribute is mandatory. Units are second. Offset interface{} }
Ptp_UtcOffset_ScheduledOffsets_ScheduledOffset Scheduled UTC offset configuration
func (*Ptp_UtcOffset_ScheduledOffsets_ScheduledOffset) GetEntityData ¶
func (scheduledOffset *Ptp_UtcOffset_ScheduledOffsets_ScheduledOffset) GetEntityData() *types.CommonEntityData
type Ptp_VirtualPort ¶
type Ptp_VirtualPort struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Virtual port clock accuracy. The type is interface{} with range: 0..254. ClockAccuracy interface{} // Enable the PTP Virtual Port. The type is interface{}. Enable interface{} // Virtual port priority2. The type is interface{} with range: 0..255. Priority2 interface{} // Virtual port local priority. The type is interface{} with range: 1..255. LocalPriority interface{} // Virtual port OSLV. The type is interface{} with range: 0..65535. OffsetScaledLogVariance interface{} // Virtual port priority1. The type is interface{} with range: 0..255. Priority1 interface{} // Virtual port clock class. The type is interface{} with range: 0..255. ClockClass interface{} }
Ptp_VirtualPort PTP virtual port configuration
func (*Ptp_VirtualPort) GetEntityData ¶
func (virtualPort *Ptp_VirtualPort) GetEntityData() *types.CommonEntityData