VirtualMedia dbus interface definition.
This interfaces definition was created on base of the VirtualMedia
design proposed in this document:
https://github.com/openbmc/docs/blob/master/designs/VirtualMedia.md
It also takes into account the design changes proposed in this review:
https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/29573
Signed-off-by: Zbigniew Kurzynski <zbigniew.kurzynski@intel.com>
Change-Id: Ie5b1cdb9a8e01a54e79784837edf3b1d1f1fb017
diff --git a/xyz/openbmc_project/VirtualMedia/Process.interface.yaml b/xyz/openbmc_project/VirtualMedia/Process.interface.yaml
new file mode 100644
index 0000000..069bc2d
--- /dev/null
+++ b/xyz/openbmc_project/VirtualMedia/Process.interface.yaml
@@ -0,0 +1,21 @@
+description: >
+ Provides general information about the object status.
+
+properties:
+ - name: Active
+ type: boolean
+ description: >
+ `True`, if object is occupied by active process, `False` otherwise.
+ flags:
+ - const
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
+
+ - name: ExitCode
+ type: int32
+ description: >
+ If process terminates this property will contain returned exit code.
+ flags:
+ - const
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
\ No newline at end of file