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/Stats.interface.yaml b/xyz/openbmc_project/VirtualMedia/Stats.interface.yaml
new file mode 100644
index 0000000..9895b06
--- /dev/null
+++ b/xyz/openbmc_project/VirtualMedia/Stats.interface.yaml
@@ -0,0 +1,19 @@
+description: >
+ Provides statistic information about object.
+
+properties:
+ - name: ReadIO
+ type: uint64
+ description: Number of read IOs since image mounting.
+ flags:
+ - const
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
+
+ - name: WriteIO
+ type: uint64
+ description: Number of write IOs since image mounting.
+ flags:
+ - const
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
\ No newline at end of file