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>
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.