The rsd_lib.resources.v2_1.chassis.log_entry
Module¶
- class rsd_lib.resources.v2_1.chassis.log_entry.LinksField(*args, **kwargs)¶
Bases:
CompositeField
- origin_of_condition = <sushy.resources.base.Field object>¶
This is the URI of the resource that caused the log entry
- class rsd_lib.resources.v2_1.chassis.log_entry.LogEntry(connector, path='', redfish_version=None, registries=None, reader=None, json_doc=None, root=None)¶
Bases:
ResourceBase
LogEntry resource class
This resource defines the record format for a log. It is designed to be used for SEL logs (from IPMI) as well as Event Logs and OEM-specific log formats. The EntryType field indicates the type of log and the resource includes several additional properties dependent on the EntryType.
- created = <sushy.resources.base.Field object>¶
The time the log entry was created.
- entry_code = <sushy.resources.base.Field object>¶
If the EntryType is SEL, this will have the entry code for the log entry.
- entry_type = <sushy.resources.base.Field object>¶
his is the type of log entry.
- event_id = <sushy.resources.base.Field object>¶
This is a unique instance identifier of an event.
- event_timestamp = <sushy.resources.base.Field object>¶
This is time the event occurred.
- event_type = <sushy.resources.base.Field object>¶
This indicates the type of an event recorded in this log.
- links = <rsd_lib.resources.v2_1.chassis.log_entry.LinksField object>¶
Contains references to other resources that are related to this resource.
- message = <sushy.resources.base.Field object>¶
This property decodes from EntryType: If it is Event then it is a message string. Otherwise, it is SEL or Oem specific. In most cases, this will be the actual Log Entry.
- message_args = <sushy.resources.base.Field object>¶
The values of this property shall be any arguments for the message.
- message_id = <sushy.resources.base.Field object>¶
This property decodes from EntryType: If it is Event then it is a message id. Otherwise, it is SEL or Oem specific. This value is only used for registries - for more information, see the specification.
- oem_record_format = <sushy.resources.base.Field object>¶
If the entry type is Oem, this will contain more information about the record format from the Oem.
- sensor_number = <sushy.resources.base.Field object>¶
This property decodes from EntryType: If it is SEL, it is the sensor number; if Event then the count of events. Otherwise, it is Oem specific.
- sensor_type = <sushy.resources.base.Field object>¶
If the EntryType is SEL, this will have the sensor type that the log entry pertains to.
- severity = <sushy.resources.base.Field object>¶
This is the severity of the log entry.
- class rsd_lib.resources.v2_1.chassis.log_entry.LogEntryCollection(connector, path, redfish_version=None, registries=None, root=None)¶
Bases:
ResourceCollectionBase