Add WriteProtected property to MountPoint interface
Bmcweb needs this property to set the WriteProtected field value
in RedFish.
Change-Id: Ia516adceabe63e70c75a71309f72eaf380b38853
Signed-off-by: Anna Platash <anna.platash@intel.com>
diff --git a/designs/virtual-media.md b/designs/virtual-media.md
index 3b15f77..e9c5a2c 100644
--- a/designs/virtual-media.md
+++ b/designs/virtual-media.md
@@ -8,6 +8,7 @@
Other contributors:
Przemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski@intel.com>
+Anna Platash <anna.platash@intel.com>
Created:
6/4/2019
@@ -357,16 +358,17 @@
Each object will also expose configuration of its own under
``xyz.openbmc_project.VirtualMedia.MountPoint`` (all properties are RO)
-| Name | type | input | return | description |
-| -------------------------- | -------- | ----- | ------ | ------------------------------------------------------------------------- |
-| EndPointId | Property | - | STRING | As per configuration |
-| Mode | Property | - | BYTE | As per configuration |
-| Device | Property | - | STRING | As per configuration |
-| Socket | Property | - | STRING | As per configuration |
-| Timeout | Property | - | UINT16 | As per configuration |
-| BlockSize | Property | - | UINT16 | As per configuration |
-| RemainingInactivityTimeout | Property | - | UINT16 | Seconds to drop connection by server, for activated endpoint, 0 otherwise |
-| ImageURL | Property | - | STRING | URL to mounted image |
+| Name | type | input | return | description |
+| -------------------------- | -------- | ----- | ------- | ------------------------------------------------------------------------- |
+| EndPointId | Property | - | STRING | As per configuration |
+| Mode | Property | - | BYTE | As per configuration |
+| Device | Property | - | STRING | As per configuration |
+| Socket | Property | - | STRING | As per configuration |
+| Timeout | Property | - | UINT16 | As per configuration |
+| BlockSize | Property | - | UINT16 | As per configuration |
+| RemainingInactivityTimeout | Property | - | UINT16 | Seconds to drop connection by server, for activated endpoint, 0 otherwise |
+| ImageURL | Property | - | STRING | URL to mounted image |
+| WriteProtected | Property | - | BOOLEAN | 'True', if the image is mounted as read only, 'False' otherwise |
Another interface exposed by each object are stats under
```xyz.openbmc_project.VirtualMedia.Stats``` (all properties are RO):