Documentation
¶
Overview ¶
This module contains a collection of YANG definitions for Cisco IOS-XR shellutil package operational data.
This module contains definitions for the following management objects:
system-time: System time information
Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SystemTime ¶
type SystemTime struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// System clock information.
Clock SystemTime_Clock
// System uptime information.
Uptime SystemTime_Uptime
}
SystemTime System time information
func (*SystemTime) GetEntityData ¶
func (systemTime *SystemTime) GetEntityData() *types.CommonEntityData
type SystemTime_Clock ¶
type SystemTime_Clock struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Year [0..65535]. The type is interface{} with range: 0..65535.
Year interface{}
// Month [1..12]. The type is interface{} with range: 0..255.
Month interface{}
// Day [1..31]. The type is interface{} with range: 0..255.
Day interface{}
// Hour [0..23]. The type is interface{} with range: 0..255.
Hour interface{}
// Minute [0..59]. The type is interface{} with range: 0..255.
Minute interface{}
// Second [0..60], use 60 for leap-second. The type is interface{} with range:
// 0..255.
Second interface{}
// Millisecond [0..999]. The type is interface{} with range: 0..65535.
Millisecond interface{}
// Week Day [0..6]. The type is interface{} with range: 0..65535.
Wday interface{}
// Time zone. The type is string.
TimeZone interface{}
// Time source. The type is TimeSource.
TimeSource interface{}
}
SystemTime_Clock System clock information
func (*SystemTime_Clock) GetEntityData ¶
func (clock *SystemTime_Clock) GetEntityData() *types.CommonEntityData
type SystemTime_Uptime ¶
type SystemTime_Uptime struct {
EntityData types.CommonEntityData
YFilter yfilter.YFilter
// Host name. The type is string.
HostName interface{}
// Amount of time in seconds since this system was last initialized. The type
// is interface{} with range: 0..4294967295. Units are second.
Uptime interface{}
}
SystemTime_Uptime System uptime information
func (*SystemTime_Uptime) GetEntityData ¶
func (uptime *SystemTime_Uptime) GetEntityData() *types.CommonEntityData
type TimeSource ¶
type TimeSource string
TimeSource represents Time source
const ( // Error TimeSource_error_ TimeSource = "error" // Unsynchronized time TimeSource_none TimeSource = "none" // Network time protocol TimeSource_ntp TimeSource = "ntp" // User configured TimeSource_manual TimeSource = "manual" // Hardware calendar TimeSource_calendar TimeSource = "calendar" )
Click to show internal directories.
Click to hide internal directories.