Documentation ¶
Overview ¶
This module contains a collection of YANG definitions for Cisco IOS-XR infra-alarm-logger package operational data.
This module contains definitions for the following management objects:
alarm-logger: Alarm Logger operational data
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 AlAlarmBistate ¶
type AlAlarmBistate string
AlAlarmBistate represents Al alarm bistate
const ( // not available AlAlarmBistate_not_available AlAlarmBistate = "not-available" // active AlAlarmBistate_active AlAlarmBistate = "active" // clear AlAlarmBistate_clear AlAlarmBistate = "clear" )
type AlAlarmSeverity ¶
type AlAlarmSeverity string
AlAlarmSeverity represents Al alarm severity
const ( // unknown AlAlarmSeverity_unknown AlAlarmSeverity = "unknown" // emergency AlAlarmSeverity_emergency AlAlarmSeverity = "emergency" // alert AlAlarmSeverity_alert AlAlarmSeverity = "alert" // critical AlAlarmSeverity_critical AlAlarmSeverity = "critical" // error AlAlarmSeverity_error_ AlAlarmSeverity = "error" // warning AlAlarmSeverity_warning AlAlarmSeverity = "warning" // notice AlAlarmSeverity_notice AlAlarmSeverity = "notice" // informational AlAlarmSeverity_informational AlAlarmSeverity = "informational" // debugging AlAlarmSeverity_debugging AlAlarmSeverity = "debugging" )
type AlarmLogger ¶
type AlarmLogger struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Describes buffer utilization and parameters configured. BufferStatus AlarmLogger_BufferStatus // Table that contains the database of logged alarms. Alarms AlarmLogger_Alarms }
AlarmLogger Alarm Logger operational data
func (*AlarmLogger) GetEntityData ¶
func (alarmLogger *AlarmLogger) GetEntityData() *types.CommonEntityData
type AlarmLogger_Alarms ¶
type AlarmLogger_Alarms struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // One of the logged alarms. The type is slice of AlarmLogger_Alarms_Alarm. Alarm []*AlarmLogger_Alarms_Alarm }
AlarmLogger_Alarms Table that contains the database of logged alarms
func (*AlarmLogger_Alarms) GetEntityData ¶
func (alarms *AlarmLogger_Alarms) GetEntityData() *types.CommonEntityData
type AlarmLogger_Alarms_Alarm ¶
type AlarmLogger_Alarms_Alarm struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Event ID. The type is interface{} with range: // 0..4294967295. EventId interface{} // Source Identifier(Location).Indicates the node in which the alarm was // generated. The type is string. SourceId interface{} // Time when the alarm was generated. It is expressed in number of // milliseconds since 00:00 :00 UTC, January 1, 1970. The type is interface{} // with range: 0..18446744073709551615. Units are millisecond. Timestamp interface{} // Category of the alarm. The type is string. Category interface{} // Group of messages to which this alarm belongs to. The type is string. Group interface{} // Alarm code which further qualifies the alarm within a message group. The // type is string. Code interface{} // Severity of the alarm. The type is AlAlarmSeverity. Severity interface{} // State of the alarm (bistate alarms only). The type is AlAlarmBistate. State interface{} // Correlation Identifier. The type is interface{} with range: 0..4294967295. CorrelationId interface{} // Indicates the event id admin-level. The type is bool. IsAdmin interface{} // Full text of the Alarm. The type is string. AdditionalText interface{} }
AlarmLogger_Alarms_Alarm One of the logged alarms
func (*AlarmLogger_Alarms_Alarm) GetEntityData ¶
func (alarm *AlarmLogger_Alarms_Alarm) GetEntityData() *types.CommonEntityData
type AlarmLogger_BufferStatus ¶
type AlarmLogger_BufferStatus struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Current Logging Buffer Size (Bytes). The type is interface{} with range: // 0..4294967295. Units are byte. LogBufferSize interface{} // Maximum Logging Buffer Size (Bytes) . The type is interface{} with range: // 0..4294967295. Units are byte. MaxLogBufferSize interface{} // Number of Records in the Buffer. The type is interface{} with range: // 0..4294967295. RecordCount interface{} // Percentage of the buffer utilization which, when exceeded, triggers the // generation of a notification for the clients of the XML agent. The type is // interface{} with range: 0..4294967295. Units are percentage. CapacityThreshold interface{} // Severity Filter. The type is AlAlarmSeverity. SeverityFilter interface{} }
AlarmLogger_BufferStatus Describes buffer utilization and parameters configured
func (*AlarmLogger_BufferStatus) GetEntityData ¶
func (bufferStatus *AlarmLogger_BufferStatus) GetEntityData() *types.CommonEntityData
Click to show internal directories.
Click to hide internal directories.