summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2018-05-22 15:21:48 -0500
committerMatt Spinler <spinler@us.ibm.com>2018-05-22 15:25:53 -0500
commit90ebe2de07efe918b0bf6488409700461f0a2a40 (patch)
tree855cdf013410a2068eedce0943133abfa7b34c7e
parent779da1a6155783b058176e6480b9536a7df877bf (diff)
downloadphosphor-dbus-interfaces-90ebe2de07efe918b0bf6488409700461f0a2a40.tar.gz
phosphor-dbus-interfaces-90ebe2de07efe918b0bf6488409700461f0a2a40.zip
Create ObjectPath interface
The xyz.openbmc_project.Common.ObjectPath interface contains a single property that holds an object path. This can be used when an object wants to show information about another D-Bus object and using an association is not possible. Change-Id: I3eb45ef6c7e27c889db139e2d8178be9e4461704 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
-rw-r--r--xyz/openbmc_project/Common/ObjectPath.interface.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Common/ObjectPath.interface.yaml b/xyz/openbmc_project/Common/ObjectPath.interface.yaml
new file mode 100644
index 0000000..ad3a410
--- /dev/null
+++ b/xyz/openbmc_project/Common/ObjectPath.interface.yaml
@@ -0,0 +1,12 @@
+description: >
+ An interface which contains a D-Bus object path.
+
+ This may be used along with other interfaces when a particular
+ D-Bus object needs to show information about another object
+ and using associations is not possible.
+
+properties:
+ - name: Path
+ type: string
+ description: >
+ The object path of a D-Bus object.
OpenPOWER on IntegriCloud