bmcweb provides an implementation of the Redfish API. This document details the Redfish schemas supported by bmcweb. This document also discusses some of the details of that implementation and different implementations available for certain areas.
The redfish implementation shall pass the Redfish Service Validator with no warnings or errors
The following redfish schemas and fields are targeted for OpenBMC. This is a living document, and these schemas are subject to change.
The latest Redfish schemas can be found here
If using a previously unused schema, you will need to add it to the included
schema list in scripts/update_schemas.py
and run update_schemas.py
.
Fields common to all schemas
- @odata.id
- @odata.type
- Id
- Name
- AccountService
- AggregationService
- Cables
- CertificateService
- Chassis
- EventService
- JsonSchemas
- Links/ManagerProvidingService
- Links/Sessions
- Managers
- RedfishVersion
- Registries
- SessionService
- Systems
- Tasks
- TelemetryService
- UUID
- UpdateService
- AccountLockoutDuration
- AccountLockoutThreshold
- Accounts
- Description
- HTTPBasicAuth
- LDAP
- MaxPasswordLength
- MinPasswordLength
- MultiFactorAuth/ClientCertificate/Certificates
- MultiFactorAuth/ClientCertificate/CertificateMappingAttribute
- MultiFactorAuth/ClientCertificate/Enabled
- MultiFactorAuth/ClientCertificate/RespondToUnauthenticatedClients
- Oem/OpenBMC/AuthMethods/BasicAuth
- Oem/OpenBMC/AuthMethods/Cookie
- Oem/OpenBMC/AuthMethods/SessionToken
- Oem/OpenBMC/AuthMethods/TLS
- Oem/OpenBMC/AuthMethods/XToken
- Roles
- ServiceEnabled
- Members
Members@odata.count
- CertificateString
- Id
- Issuer/City
- Issuer/CommonName
- Issuer/Country
- Issuer/Organization
- Issuer/OrganizationalUnit
- Issuer/State
- KeyUsage
- Subject/City
- Subject/Country
- Subject/CommonName
- Subject/Organization
- Subject/OrganizationalUnit
- Subject/State
- ValidNotAfter
- ValidNotBefore
- AggregationSources
- Description
- ServiceEnabled
- Members
Members@odata.count
- HostName
- Password
- Description
- Members
Members@odata.count
- AccountTypes
- Description
- Enabled
- Links/Role
- Locked
Locked@Redfish.AllowableValues
- Password
- PasswordChangeRequired
- RoleId
- StrictAccountTypes
- UserName
- Description
- Members
Members@odata.count
- Description
- Members
- By default will contain 3 roles, "Administrator", "Operator", and "ReadOnly"
Members@odata.count
- AssignedPrivileges
- For the default roles, the following privileges will be assigned by default
- Administrator: Login, ConfigureManager, ConfigureUsers, ConfigureSelf, ConfigureComponents
- Operator: Login, ConfigureComponents, ConfigureSelf
- ReadOnly: Login, ConfigureSelf
- For the default roles, the following privileges will be assigned by default
- Description
- IsPredefined
- Will be set to true for all default roles. If the given role is non-default, or has been modified from default, will be marked as false.
- OemPrivileges
- RoleId
- Description
- Members
Members@odata.count
- CableType
- LengthMeters
- Status
- Actions
- CertificateLocations
- Description
- Description
- Links/Certificates
- Links/Certificates@odata.count
- Members
Members@odata.count
- Actions
- AssetTag
- ChassisType
- Drives
- HotPluggable
- Links/ComputerSystems
- Links/ManagedBy
- Location/PartLocation/ServiceLabel
- LocationIndicatorActive
- Manufacturer
- Model
- PartNumber
- Power
- PowerSubsystem
- PowerState
- PhysicalSecurity
- Sensors
- SerialNumber
- SparePartNumber
- Status
- Thermal
- ThermalSubsystem
- UUID
- Version
- Members (This is dependent on a entity manager association from Chassis to
Drives, The name of the association is
chassis<->drive
)
- Drives
Drives@odata.count
- Status (this is dependent on a entity manager association from Chassis to Drives)
- PowerControl
- PowerSupplies
- Redundancy
- Voltages
- Description
- Members
Members@odata.count
- Reading
- ReadingRangeMax
- ReadingRangeMin
- ReadingType
- ReadingUnits
- SpeedRPM
- Status
- Thresholds
- Fans
- Redundancy
- Temperatures
- MemberId
- Status
- ReadingCelsius
- UpperThresholdNonCritical
- UpperThresholdCritical
- LowerThresholdNonCritical
- LowerThresholdCritical
- MinReadingRange
- MaxReadingRange threshold fields only present if defined for sensor, otherwise absent
- MemberId
- Status
- Reading
- ReadingUnits
- UpperThresholdNonCritical
- UpperThresholdCritical
- LowerThresholdNonCritical
- LowerThresholdCritical
- MinReadingRange
- MaxReadingRange
- Redundancy threshold fields only present if defined for sensor, otherwise absent
- MemberId
- RedundancySet
- Mode
- Status
- MinNumNeeded
- MaxNumSupported
- Status
- ThermalMetrics
- TemperatureReadingsCelsius[]/DataSourceUri
- TemperatureReadingsCelsius[]/Reading
- TemperatureReadingsCelsius@odata.count
- Description
- Members
Members@odata.count
- Location
- Manufacturer
- Model
- PartNumber
- SerialNumber
- SparePartNumber
- Status
- MemberId
- PowerConsumedWatts
- PowerMetrics/IntervalInMin
- PowerMetrics/MinConsumedWatts
- PowerMetrics/MaxConsumedWatts
- PowerMetrics/AverageConsumedWatts
- RelatedItem
- Should list systems and related chassis
- MemberId
- Status
- ReadingVolts
- UpperThresholdNonCritical
- UpperThresholdCritical
- LowerThresholdNonCritical
- LowerThresholdCritical
- MinReadingRange
- MaxReadingRange
- PhysicalContext
- RelatedItem
- MemberId
- Status
- LininputVoltage
- Model
- manufacturer
- FirmwareVersion
- SerialNumber
- PartNumber
- RelatedItem
- Redundancy
- MemberId
- RedundancySet
- Mode
- Status
- MinNumNeeded
- MaxNumSupported
- Description
- Members
Members@odata.count
- EfficiencyRatings
- EfficiencyPercent
- FirmwareVersion
- Location
- Manufacturer
- Model
- PartNumber
- SerialNumber
- SparePartNumber
- Status
- Actions
- DeliveryRetryAttempts
- Defaults to 3
- DeliveryRetryIntervalSeconds
- EventFormatTypes
- RegistryPrefixes
- ResourceTypes
- SSEFilterPropertiesSupported
- ServiceEnabled
- Status
- Subscriptions
- Members
Members@odata.count
- Id
- Destination
- EventTypes
- Context
- OriginResources
- RegistryPrefixes
- Protocol
- Description
Members@odata.count
- Members
- Schema
- Description
- Languages
Languages@odata.count
- Location
Location@odata.count
- Members
Members@odata.count
- Actions
- DateTime
- DateTimeLocalOffset
- Description
- EthernetInterfaces
- FirmwareVersion
- GraphicalConsole
- LastResetTime
- Links/ActiveSoftwareImage
- Links/ManagerForChassis
- Links/ManagerForChassis@odata.count
- Links/ManagerForServers
- Links/ManagerForServers@odata.count
- Links/ManagerInChassis
- Links/SoftwareImages
- Links/SoftwareImages@odata.count
- LogServices
- ManagerType
- Manufacturer
- Model
- NetworkProtocol
- Oem
- PartNumber
- PowerState
- SerialConsole
- SerialNumber
- ServiceEntryPointUUID
- SparePartNumber
- Status
- UUID
- Description
- Members
Members@odata.count
- DHCPv4
- DHCPv6
- Description
- EthernetInterfaceType
- FQDN
- HostName
- IPv4Addresses
- IPv4StaticAddresses
- IPv6AddressPolicyTable
- IPv6Addresses
- IPv6DefaultGateway
- IPv6StaticAddresses
- IPv6StaticDefaultGateways
- InterfaceEnabled
- Links/RelatedInterfaces
- LinkStatus
- MACAddress
- NameServers
- SpeedMbps
- StatelessAddressAutoConfig
- StaticNameServers
- Status
- VLAN/VLANEnable
- VLAN/VLANId
- VLAN/Tagged
The LogService resource provides properties for monitoring and configuring events for the service or resource to which it is associated.
Within bmcweb, the LogService object resides under the System resource. It tracks all events for the system.
The LogService supports multiple log entry types. bmcweb has support for the
Event
type. This is the new Redfish-defined type.
bmcweb supports two different implementations of the
LogService/EventLog/Entries
URI.
The default implementation uses rsyslog to write Redfish events from the journal to the persistent /var/log/ filesystem. The bmcweb software then looks for these files in /var/log/ and returns the appropriate Redfish EventLog Entries for these. More details on adding events can be found here
The other implementation of EventLog Entries can be enabled by compiling bmcweb
with the -DBMCWEB_ENABLE_REDFISH_DBUS_LOG_ENTRIES=ON
option. This will cause
bmcweb to look to phosphor-logging for any D-Bus log entries. These will
then be translated to Redfish EventLog Entries.
These two implementations do not work together, so choosing one will disable the other.
- Description
- Members
Members@odata.count
- Entries
- OverWritePolicy
- Actions
- Status
- DateTime
- MaxNumberOfRecords
- Message
- Created
- EntryType
- ServiceRootUptimeSeconds
- FreeStorageSpaceKiB
- MemoryStatistics/AvailableBytes
- MemoryStatistics/BuffersAndCacheBytes
- MemoryStatistics/FreeBytes
- MemoryStatistics/SharedBytes
- MemoryStatistics/TotalBytes
- ProcessorStatistics/KernelPercent
- ProcessorStatistics/UserPercent
- Description
- FQDN
- HTTP
- HTTPS
- HostName
- IPMI
- NTP
- SSH
- Status
- Description
- Members
Members@odata.count
- CertificateString
- Description
- Issuer
- KeyUsage
- Subject
- ValidNotAfter
- ValidNotBefore
- Description
- error
- Description
- Members
- Should support Base, CommonMessages, and EventingMessages
Members@odata.count
- Description
- Languages
Languages@odata.count
- Location
Location@odata.count
- Registry
- Description
- ServiceEnabled
- SessionTimeout
- Sessions
- Description
- Members
Members@odata.count
- ClientOriginIPAddress
- Description
- Roles
- UserName
- Members
- Should support one system
Members@odata.count
- Actions
- Description
- Links/ActiveSoftwareImage
- Links/SoftwareImages
- Links/SoftwareImages@odata.count
- Actions
- AssetTag
- Bios
- BiosVersion
- Boot
- BootProgress
- Description
- HostWatchdogTimer
- IdlePowerSaver/Enable
- IdlePowerSaver/EnterUtilizationPercent
- IdlePowerSaver/EnterDwellTimeSeconds
- IdlePowerSaver/ExitUtilizationPercent
- IdlePowerSaver/ExitDwellTimeSeconds
- IndicatorLED
- LastResetTime
- Links/Chassis
- Links/ManagedBy
- LocationIndicatorActive
- LogServices
- Manufacturer
- Memory
- MemorySummary
- Model
- PartNumber
- PowerMode
- PowerRestorePolicy
- PowerState
- ProcessorSummary
- Processors
- SerialNumber
- Status
- Storage
- SubModel
- SystemType
- Members
Members@odata.count
- Description
- Members
Members@odata.count
- Location
- Model
- PartNumber
- SerialNumber
- SparePartNumber
- Status
- Description
- Members
- Should default to one member, named SEL
Members@odata.count
- Actions
- DateTime
- DateTimeLocalOffset
- Description
- Entries
- OverWritePolicy
- Description
- Members
Members@odata.count
- AdditionalDataURI
- Created
- EntryType
- Message
- Modified
- Resolved
- Severity
- Members
Members@odata.count
- Description
- @odata.nextLink
- MessageArgs
- Severity
- SensorType
- Message
- MessageId
- Created
- EntryCode
- EntryType
- Members
Members@odata.count
- AllowedSpeedsMHz
- BaseModuleType
- BusWidthBits
- CapacityMiB
- DataWidthBits
- ErrorCorrection
- FirmwareRevision
- Manufacturer
- Model
- OperatingSpeedMhz
- PartNumber
- RankCount
- SerialNumber
- SparePartNumber
- Status
- Description
- HealthData
- Description
- Members
Members@odata.count
- Manufacturer
- Model
- PartNumber
- PCIeInterface
- LanesInUse
- MaxLanes
- MaxPCIeType
- PCIeType
- SerialNumber
- Slot
- Lanes
- PCIeType
- SlotType
- SparePartNumber
- Status
- Members
- Should Support CPU1 and CPU2 for dual socket systems
Members@odata.count
- InstructionSet
- Manufacturer
- MaxSpeedMHz
- PartNumber
- ProcessorArchitecture
- ProcessorId
- ProcessorType
- SerialNumber
- Socket
- SparePartNumber
- Status
- ThrottleCauses
- Throttled
- TotalCores
- TotalThreads
- Version
- Parameters/AllowableValues
- Parameters/DataType
- Parameters/Required
- Members
Members@odata.count
- Drives
Drives@odata.count
- Status
- CapacityBytes
- EncryptionStatus
- Links
- Status
- CompletedTaskOverWritePolicy
- DateTime
- LifeCycleEventOnTaskStateChange
- ServiceEnabled
- Status
- Tasks
- Members
Members@odata.count
- MaxReports
- MetricReportDefinitions
- MetricReports
- MinCollectionInterval
- Status
- Triggers
- SupportedCollectionFunctions
- Members
Members@odata.count
- AppendLimit
- Id
- MetricReport
- MetricReportDefinitionEnabled
- MetricReportDefinitionType
- Metrics
- Name
- ReportActions
- ReportUpdates
- Schedule
- Status
- Members
Members@odata.count
- Id
- MetricReportDefinition
- MetricValues
- Name
- Timestamp
- Members
Members@odata.count
- Actions
- Description
- FirmwareInventory
- HttpPushUri
- HttpPushUriOptions
- MaxImageSizeBytes
- ServiceEnabled
- Members
- Should Support BMC, ME, CPLD and BIOS
Members@odata.count
- Description
RelatedItem@odata.count
- RelatedItem
- Status
- Updateable
- Version