summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/Software/Version.interface.yaml
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2016-11-23 07:27:01 -0600
committerPatrick Williams <patrick@stwcx.xyz>2017-01-24 21:40:40 +0000
commit3350f3edfb8afa936d3571690b83397ffdf19f11 (patch)
treeefdbb2eb63b3856b548574254d7696799bc44aec /xyz/openbmc_project/Software/Version.interface.yaml
parent3b0cbc9ac0ad2ea38df48c82140b0a29f317bb77 (diff)
downloadphosphor-dbus-interfaces-3350f3edfb8afa936d3571690b83397ffdf19f11.tar.gz
phosphor-dbus-interfaces-3350f3edfb8afa936d3571690b83397ffdf19f11.zip
Software: add initial software-version mgmt
Change-Id: I3b50488b8383c595b4b41375ea0d62d62bdc0eed Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'xyz/openbmc_project/Software/Version.interface.yaml')
-rw-r--r--xyz/openbmc_project/Software/Version.interface.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Software/Version.interface.yaml b/xyz/openbmc_project/Software/Version.interface.yaml
new file mode 100644
index 0000000..f655af0
--- /dev/null
+++ b/xyz/openbmc_project/Software/Version.interface.yaml
@@ -0,0 +1,32 @@
+description: >
+ Simple definition of a Software or Firmware version.
+properties:
+ - name: Version
+ type: string
+ description: >
+ The version identifier.
+ - name: Purpose
+ type: enum[self.VersionPurpose]
+ description: >
+ The purpose of the version. As in, what can it be used for or
+ applied to?
+enumerations:
+ - name: VersionPurpose
+ description: >
+ An enumeration of possible purposes of the version.
+ values:
+ - name: Unknown
+ description: >
+ The version is of unknown purpose.
+ - name: Other
+ description: >
+ The version is of some other purpose.
+ - name: System
+ description: >
+ The version is an aggregate for the system as a whole.
+ - name: BMC
+ description: >
+ The version is a version for the BMC.
+ - name: Host
+ description: >
+ The version is a version for a managed host.
OpenPOWER on IntegriCloud