Add WriteProtected property to MountPoint interface
Bmcweb needs this property to set the WriteProtected field value
in RedFish.
Signed-off-by: Anna Platash <anna.platash@intel.com>
Change-Id: I4def310f3b5f881a7ad6f3b2719da53fd9e85c96
diff --git a/xyz/openbmc_project/VirtualMedia/MountPoint.interface.yaml b/xyz/openbmc_project/VirtualMedia/MountPoint.interface.yaml
index e21b3cf..2ef679e 100644
--- a/xyz/openbmc_project/VirtualMedia/MountPoint.interface.yaml
+++ b/xyz/openbmc_project/VirtualMedia/MountPoint.interface.yaml
@@ -71,3 +71,13 @@
- const
errors:
- xyz.openbmc_project.Common.Error.InternalFailure
+
+ - name: WriteProtected
+ type: boolean
+ description: >
+ Mounting mode, 'True' if the image is read only,
+ 'False' otherwise.
+ flags:
+ - const
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure