blob: 61760102cc4a10dd8efe30dd51c318c5934aef70 [file] [log] [blame]
Patrick Williams3350f3e2016-11-23 07:27:01 -06001description: >
Andrew Geissler4e41bf72020-01-06 13:40:23 -06002 Simple definition of a Software or Firmware version. Note that this
3 interface may be implemented by D-Bus objects that do not necessarily
4 contain a software level. For example an OpenBMC log may implement this
5 interface to store the software level of the BMC or Host for debug purposes.
6 If looking for real software versions associated with a device then ensure
7 this interface is under the /xyz/openbmc_project/software object path.
Patrick Williams3350f3e2016-11-23 07:27:01 -06008properties:
9 - name: Version
10 type: string
11 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050012 The version identifier.
Patrick Williams3350f3e2016-11-23 07:27:01 -060013 - name: Purpose
14 type: enum[self.VersionPurpose]
15 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050016 The purpose of the version. As in, what can it be used for or
17 applied to?
Patrick Williamsf05e2052021-12-01 10:25:03 -060018
Patrick Williams8da396c2022-03-14 14:21:02 -050019 This property is deprecated in favor of Compatible strings and inventory
20 associations. The enumeration should not be expanded further.
Patrick Williams3350f3e2016-11-23 07:27:01 -060021enumerations:
22 - name: VersionPurpose
23 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050024 An enumeration of possible purposes of the version.
Patrick Williams3350f3e2016-11-23 07:27:01 -060025 values:
Patrick Williams8da396c2022-03-14 14:21:02 -050026 - name: Unknown
27 description: >
28 The version is of unknown purpose.
29 - name: Other
30 description: >
31 The version is of some other purpose.
32 - name: System
33 description: >
34 The version is an aggregate for the system as a whole.
35 - name: BMC
36 description: >
37 The version is a version for the BMC.
38 - name: Host
39 description: >
40 The version is a version for a managed host.
41 - name: PSU
42 description: >
43 The version is a version for a PSU.