Skip to content

Incorrect enum associations in Dimm interface #8

@kellycouch

Description

@kellycouch

\openbmc\phosphor-dbus-interfaces\xyz\openbmc_project\Inventory\Item\Dimm.interface.yaml

Contains two enums: Type and DeviceType.

Currently, enum DeviceType is associated with property MemoryType and enum Type is not associated with any property.

Both are incorrect. See SMBIOS specification which these are intended to align with.

Current:

- name: MemoryType
  type: enum[self.DeviceType]
  description: >
      Type of memory.
- name: MemoryTypeDetail
  type: string
  description: >
      Additional detail on Memory, such as Synchronous, Static column, etc.

Proposed:

- name: MemoryType
  type: enum[self.Type]
  description: >
      Type of memory.
- name: MemoryTypeDetail
  type: enum[self.DeviceType]
  description: >
      Additional detail on Memory, such as Synchronous, Static column, etc.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions