Documentation ¶
Overview ¶
This module contains a collection of YANG definitions for Cisco IOS-XR infra-syslog package operational data.
This module contains definitions for the following management objects:
logging: Logging History data syslog: syslog
Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved.
Index ¶
- type GetSyslog
- type GetSyslog_Input
- type GetSyslog_Input_Filters
- type GetSyslog_Output
- type GetSyslog_Output_Data
- type GetSyslog_Output_Data_Syslog
- type GetSyslog_Output_Data_Syslog_Messages
- type GetSyslog_Output_Data_Syslog_Messages_Message
- type Logging
- type Logging_History
- type Syslog
- type Syslog_AnRemoteServers
- type Syslog_AnRemoteServers_AnRemoteLogServer
- type Syslog_LoggingFiles
- type Syslog_LoggingFiles_FileLogDetail
- type Syslog_LoggingStatistics
- type Syslog_LoggingStatistics_BufferLoggingStats
- type Syslog_LoggingStatistics_ConsoleLoggingStats
- type Syslog_LoggingStatistics_FileLoggingStat
- type Syslog_LoggingStatistics_LoggingStats
- type Syslog_LoggingStatistics_MonitorLoggingStats
- type Syslog_LoggingStatistics_RemoteLoggingStat
- type Syslog_LoggingStatistics_TlsRemoteLoggingStat
- type Syslog_LoggingStatistics_TrapLoggingStats
- type Syslog_Messages
- type Syslog_Messages_Message
- type SystemMessageSeverity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetSyslog ¶
type GetSyslog struct { EntityData types.CommonEntityData YFilter yfilter.YFilter Input GetSyslog_Input Output GetSyslog_Output }
GetSyslog
func (*GetSyslog) GetEntityData ¶
func (getSyslog *GetSyslog) GetEntityData() *types.CommonEntityData
type GetSyslog_Input ¶
type GetSyslog_Input struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // A set of filters of syslog messages to be returned. Filters GetSyslog_Input_Filters }
GetSyslog_Input
func (*GetSyslog_Input) GetEntityData ¶
func (input *GetSyslog_Input) GetEntityData() *types.CommonEntityData
type GetSyslog_Input_Filters ¶
type GetSyslog_Input_Filters struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Start timestamp of syslog messages to be returned. The type is string with // pattern: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[\+\-]\d{2}:\d{2}). StartTime interface{} // End timestamp of syslog messages to be returned. The type is string with // pattern: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[\+\-]\d{2}:\d{2}). EndTime interface{} }
GetSyslog_Input_Filters A set of filters of syslog messages to be returned
func (*GetSyslog_Input_Filters) GetEntityData ¶
func (filters *GetSyslog_Input_Filters) GetEntityData() *types.CommonEntityData
type GetSyslog_Output ¶
type GetSyslog_Output struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Output for RPC operation. Data GetSyslog_Output_Data }
GetSyslog_Output
func (*GetSyslog_Output) GetEntityData ¶
func (output *GetSyslog_Output) GetEntityData() *types.CommonEntityData
type GetSyslog_Output_Data ¶
type GetSyslog_Output_Data struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // syslog. Syslog GetSyslog_Output_Data_Syslog }
GetSyslog_Output_Data Output for RPC operation
func (*GetSyslog_Output_Data) GetEntityData ¶
func (data *GetSyslog_Output_Data) GetEntityData() *types.CommonEntityData
type GetSyslog_Output_Data_Syslog ¶
type GetSyslog_Output_Data_Syslog struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Message table information. Messages GetSyslog_Output_Data_Syslog_Messages }
GetSyslog_Output_Data_Syslog syslog
func (*GetSyslog_Output_Data_Syslog) GetEntityData ¶
func (syslog *GetSyslog_Output_Data_Syslog) GetEntityData() *types.CommonEntityData
type GetSyslog_Output_Data_Syslog_Messages ¶
type GetSyslog_Output_Data_Syslog_Messages struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // A system message. The type is slice of // GetSyslog_Output_Data_Syslog_Messages_Message. Message []*GetSyslog_Output_Data_Syslog_Messages_Message }
GetSyslog_Output_Data_Syslog_Messages Message table information
func (*GetSyslog_Output_Data_Syslog_Messages) GetEntityData ¶
func (messages *GetSyslog_Output_Data_Syslog_Messages) GetEntityData() *types.CommonEntityData
type GetSyslog_Output_Data_Syslog_Messages_Message ¶
type GetSyslog_Output_Data_Syslog_Messages_Message struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Message ID of the system message. The type is // interface{} with range: 0..4294967295. MessageId interface{} // Message card location: 'RP', 'DRP', 'LC', 'SC', 'SP' or 'UNK' . The type is // string. CardType interface{} // Message source location. The type is string with pattern: // ([a-zA-Z0-9_]*\d+/){1,2}([a-zA-Z0-9_]*\d+). NodeName interface{} // Time in milliseconds since 00:00:00 UTC, January 11970 of when message was // generated. The type is interface{} with range: 0..18446744073709551615. // Units are millisecond. TimeStamp interface{} // Time of day of event in DDD MMM DD YYYY HH:MM :SS format, e.g Wed Apr 01 // 2009 15:50:26. The type is string. TimeOfDay interface{} // Time Zone in UTC+/-HH:MM format, e.g UTC+5:30, UTC-6. The type is string. TimeZone interface{} // Process name. The type is string. ProcessName interface{} // Message category. The type is string. Category interface{} // Message group. The type is string. Group interface{} // Message name. The type is string. MessageName interface{} // Message severity. The type is SystemMessageSeverity. Severity interface{} // Additional message text. The type is string. Text interface{} }
GetSyslog_Output_Data_Syslog_Messages_Message A system message
func (*GetSyslog_Output_Data_Syslog_Messages_Message) GetEntityData ¶
func (message *GetSyslog_Output_Data_Syslog_Messages_Message) GetEntityData() *types.CommonEntityData
type Logging ¶
type Logging struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Syslog Info . History Logging_History }
Logging Logging History data
func (*Logging) GetEntityData ¶
func (logging *Logging) GetEntityData() *types.CommonEntityData
type Logging_History ¶
type Logging_History struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Syslog Properties. The type is string. Properties interface{} // Syslog Message. The type is string. Message interface{} }
Logging_History Syslog Info
func (*Logging_History) GetEntityData ¶
func (history *Logging_History) GetEntityData() *types.CommonEntityData
type Syslog ¶
type Syslog struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Logging Files information. LoggingFiles Syslog_LoggingFiles // Logging AN remote servers information. AnRemoteServers Syslog_AnRemoteServers // Message table information. Messages Syslog_Messages // Logging statistics information. LoggingStatistics Syslog_LoggingStatistics }
Syslog syslog
func (*Syslog) GetEntityData ¶
func (syslog *Syslog) GetEntityData() *types.CommonEntityData
type Syslog_AnRemoteServers ¶
type Syslog_AnRemoteServers struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // AN Remote Log Servers. The type is slice of // Syslog_AnRemoteServers_AnRemoteLogServer. AnRemoteLogServer []*Syslog_AnRemoteServers_AnRemoteLogServer }
Syslog_AnRemoteServers Logging AN remote servers information
func (*Syslog_AnRemoteServers) GetEntityData ¶
func (anRemoteServers *Syslog_AnRemoteServers) GetEntityData() *types.CommonEntityData
type Syslog_AnRemoteServers_AnRemoteLogServer ¶
type Syslog_AnRemoteServers_AnRemoteLogServer struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // IP Address. The type is string. IpAddress interface{} // VRF Name. The type is string. VrfName interface{} // VRF Severity. The type is string. VrfSeverity interface{} // Remote-Host Discriminator. The type is string. RhDiscriminator interface{} }
Syslog_AnRemoteServers_AnRemoteLogServer AN Remote Log Servers
func (*Syslog_AnRemoteServers_AnRemoteLogServer) GetEntityData ¶
func (anRemoteLogServer *Syslog_AnRemoteServers_AnRemoteLogServer) GetEntityData() *types.CommonEntityData
type Syslog_LoggingFiles ¶
type Syslog_LoggingFiles struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Logging Files. The type is slice of Syslog_LoggingFiles_FileLogDetail. FileLogDetail []*Syslog_LoggingFiles_FileLogDetail }
Syslog_LoggingFiles Logging Files information
func (*Syslog_LoggingFiles) GetEntityData ¶
func (loggingFiles *Syslog_LoggingFiles) GetEntityData() *types.CommonEntityData
type Syslog_LoggingFiles_FileLogDetail ¶
type Syslog_LoggingFiles_FileLogDetail struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // File path for logging messages. The type is string. FilePath interface{} // File name for logging messages. The type is string. FileName interface{} }
Syslog_LoggingFiles_FileLogDetail Logging Files
func (*Syslog_LoggingFiles_FileLogDetail) GetEntityData ¶
func (fileLogDetail *Syslog_LoggingFiles_FileLogDetail) GetEntityData() *types.CommonEntityData
type Syslog_LoggingStatistics ¶
type Syslog_LoggingStatistics struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Logging statistics. LoggingStats Syslog_LoggingStatistics_LoggingStats // Console logging statistics. ConsoleLoggingStats Syslog_LoggingStatistics_ConsoleLoggingStats // Monitor loggingstatistics. MonitorLoggingStats Syslog_LoggingStatistics_MonitorLoggingStats // Trap logging statistics. TrapLoggingStats Syslog_LoggingStatistics_TrapLoggingStats // Buffer logging statistics. BufferLoggingStats Syslog_LoggingStatistics_BufferLoggingStats // Remote logging statistics. The type is slice of // Syslog_LoggingStatistics_RemoteLoggingStat. RemoteLoggingStat []*Syslog_LoggingStatistics_RemoteLoggingStat // TLS Remote logging statistics. The type is slice of // Syslog_LoggingStatistics_TlsRemoteLoggingStat. TlsRemoteLoggingStat []*Syslog_LoggingStatistics_TlsRemoteLoggingStat // File logging statistics. The type is slice of // Syslog_LoggingStatistics_FileLoggingStat. FileLoggingStat []*Syslog_LoggingStatistics_FileLoggingStat }
Syslog_LoggingStatistics Logging statistics information
func (*Syslog_LoggingStatistics) GetEntityData ¶
func (loggingStatistics *Syslog_LoggingStatistics) GetEntityData() *types.CommonEntityData
type Syslog_LoggingStatistics_BufferLoggingStats ¶
type Syslog_LoggingStatistics_BufferLoggingStats struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Is log enabled. The type is bool. IsLogEnabled interface{} // Configured severity. The type is SystemMessageSeverity. Severity interface{} // Message count. The type is interface{} with range: 0..4294967295. MessageCount interface{} // Buffer size in bytes if logging buffer isenabled. The type is interface{} // with range: 0..4294967295. Units are byte. BufferSize interface{} }
Syslog_LoggingStatistics_BufferLoggingStats Buffer logging statistics
func (*Syslog_LoggingStatistics_BufferLoggingStats) GetEntityData ¶
func (bufferLoggingStats *Syslog_LoggingStatistics_BufferLoggingStats) GetEntityData() *types.CommonEntityData
type Syslog_LoggingStatistics_ConsoleLoggingStats ¶
type Syslog_LoggingStatistics_ConsoleLoggingStats struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Is log enabled. The type is bool. IsLogEnabled interface{} // Configured severity. The type is SystemMessageSeverity. Severity interface{} // Message count. The type is interface{} with range: 0..4294967295. MessageCount interface{} // Buffer size in bytes if logging buffer isenabled. The type is interface{} // with range: 0..4294967295. Units are byte. BufferSize interface{} }
Syslog_LoggingStatistics_ConsoleLoggingStats Console logging statistics
func (*Syslog_LoggingStatistics_ConsoleLoggingStats) GetEntityData ¶
func (consoleLoggingStats *Syslog_LoggingStatistics_ConsoleLoggingStats) GetEntityData() *types.CommonEntityData
type Syslog_LoggingStatistics_FileLoggingStat ¶
type Syslog_LoggingStatistics_FileLoggingStat struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // File name for logging messages. The type is string. FileName interface{} // Message count. The type is interface{} with range: 0..4294967295. MessageCount interface{} }
Syslog_LoggingStatistics_FileLoggingStat File logging statistics
func (*Syslog_LoggingStatistics_FileLoggingStat) GetEntityData ¶
func (fileLoggingStat *Syslog_LoggingStatistics_FileLoggingStat) GetEntityData() *types.CommonEntityData
type Syslog_LoggingStatistics_LoggingStats ¶
type Syslog_LoggingStatistics_LoggingStats struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Is log enabled. The type is bool. IsLogEnabled interface{} // Number of messages dropped. The type is interface{} with range: // 0..4294967295. DropCount interface{} // Number of messages flushed. The type is interface{} with range: // 0..4294967295. FlushCount interface{} // Number of messages overrun. The type is interface{} with range: // 0..4294967295. OverrunCount interface{} }
Syslog_LoggingStatistics_LoggingStats Logging statistics
func (*Syslog_LoggingStatistics_LoggingStats) GetEntityData ¶
func (loggingStats *Syslog_LoggingStatistics_LoggingStats) GetEntityData() *types.CommonEntityData
type Syslog_LoggingStatistics_MonitorLoggingStats ¶
type Syslog_LoggingStatistics_MonitorLoggingStats struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Is log enabled. The type is bool. IsLogEnabled interface{} // Configured severity. The type is SystemMessageSeverity. Severity interface{} // Message count. The type is interface{} with range: 0..4294967295. MessageCount interface{} // Buffer size in bytes if logging buffer isenabled. The type is interface{} // with range: 0..4294967295. Units are byte. BufferSize interface{} }
Syslog_LoggingStatistics_MonitorLoggingStats Monitor loggingstatistics
func (*Syslog_LoggingStatistics_MonitorLoggingStats) GetEntityData ¶
func (monitorLoggingStats *Syslog_LoggingStatistics_MonitorLoggingStats) GetEntityData() *types.CommonEntityData
type Syslog_LoggingStatistics_RemoteLoggingStat ¶
type Syslog_LoggingStatistics_RemoteLoggingStat struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // Remote hostname. The type is string. RemoteHostName interface{} // Message count. The type is interface{} with range: 0..4294967295. MessageCount interface{} }
Syslog_LoggingStatistics_RemoteLoggingStat Remote logging statistics
func (*Syslog_LoggingStatistics_RemoteLoggingStat) GetEntityData ¶
func (remoteLoggingStat *Syslog_LoggingStatistics_RemoteLoggingStat) GetEntityData() *types.CommonEntityData
type Syslog_LoggingStatistics_TlsRemoteLoggingStat ¶
type Syslog_LoggingStatistics_TlsRemoteLoggingStat struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // TLS Remote hostname. The type is string. RemoteHostName interface{} // Message count. The type is interface{} with range: 0..4294967295. MessageCount interface{} }
Syslog_LoggingStatistics_TlsRemoteLoggingStat TLS Remote logging statistics
func (*Syslog_LoggingStatistics_TlsRemoteLoggingStat) GetEntityData ¶
func (tlsRemoteLoggingStat *Syslog_LoggingStatistics_TlsRemoteLoggingStat) GetEntityData() *types.CommonEntityData
type Syslog_LoggingStatistics_TrapLoggingStats ¶
type Syslog_LoggingStatistics_TrapLoggingStats struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Is log enabled. The type is bool. IsLogEnabled interface{} // Configured severity. The type is SystemMessageSeverity. Severity interface{} // Message count. The type is interface{} with range: 0..4294967295. MessageCount interface{} // Buffer size in bytes if logging buffer isenabled. The type is interface{} // with range: 0..4294967295. Units are byte. BufferSize interface{} }
Syslog_LoggingStatistics_TrapLoggingStats Trap logging statistics
func (*Syslog_LoggingStatistics_TrapLoggingStats) GetEntityData ¶
func (trapLoggingStats *Syslog_LoggingStatistics_TrapLoggingStats) GetEntityData() *types.CommonEntityData
type Syslog_Messages ¶
type Syslog_Messages struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // A system message. The type is slice of Syslog_Messages_Message. Message []*Syslog_Messages_Message }
Syslog_Messages Message table information
func (*Syslog_Messages) GetEntityData ¶
func (messages *Syslog_Messages) GetEntityData() *types.CommonEntityData
type Syslog_Messages_Message ¶
type Syslog_Messages_Message struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Message ID of the system message. The type is // interface{} with range: 0..4294967295. MessageId interface{} // Message card location: 'RP', 'DRP', 'LC', 'SC', 'SP' or 'UNK' . The type is // string. CardType interface{} // Message source location. The type is string with pattern: // ([a-zA-Z0-9_]*\d+/){1,2}([a-zA-Z0-9_]*\d+). NodeName interface{} // Time in milliseconds since 00:00:00 UTC, January 11970 of when message was // generated. The type is interface{} with range: 0..18446744073709551615. // Units are millisecond. TimeStamp interface{} // Time of day of event in DDD MMM DD YYYY HH:MM :SS format, e.g Wed Apr 01 // 2009 15:50:26. The type is string. TimeOfDay interface{} // Time Zone in UTC+/-HH:MM format, e.g UTC+5:30, UTC-6. The type is string. TimeZone interface{} // Process name. The type is string. ProcessName interface{} // Message category. The type is string. Category interface{} // Message group. The type is string. Group interface{} // Message name. The type is string. MessageName interface{} // Message severity. The type is SystemMessageSeverity. Severity interface{} // Additional message text. The type is string. Text interface{} }
Syslog_Messages_Message A system message
func (*Syslog_Messages_Message) GetEntityData ¶
func (message *Syslog_Messages_Message) GetEntityData() *types.CommonEntityData
type SystemMessageSeverity ¶
type SystemMessageSeverity string
SystemMessageSeverity represents System message severity
const ( // Unknown SystemMessageSeverity_message_severity_unknown SystemMessageSeverity = "message-severity-unknown" // Emergency SystemMessageSeverity_message_severity_emergency SystemMessageSeverity = "message-severity-emergency" // Alert SystemMessageSeverity_message_severity_alert SystemMessageSeverity = "message-severity-alert" // Critical SystemMessageSeverity_message_severity_critical SystemMessageSeverity = "message-severity-critical" // Error SystemMessageSeverity_message_severity_error SystemMessageSeverity = "message-severity-error" // Warning SystemMessageSeverity_message_severity_warning SystemMessageSeverity = "message-severity-warning" // Notice SystemMessageSeverity_message_severity_notice SystemMessageSeverity = "message-severity-notice" // Informational SystemMessageSeverity_message_severity_informational SystemMessageSeverity = "message-severity-informational" // Debug SystemMessageSeverity_message_severity_debug SystemMessageSeverity = "message-severity-debug" )