yaml: format with prettier
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I193f690f3612fe72ec69030f81f4d5096a761601
diff --git a/yaml/xyz/openbmc_project/VirtualMedia/Legacy.interface.yaml b/yaml/xyz/openbmc_project/VirtualMedia/Legacy.interface.yaml
index 2a028dd..b55f65a 100644
--- a/yaml/xyz/openbmc_project/VirtualMedia/Legacy.interface.yaml
+++ b/yaml/xyz/openbmc_project/VirtualMedia/Legacy.interface.yaml
@@ -6,32 +6,32 @@
- name: Mount
description: Perform a mount to HOST operation on given object.
parameters:
- - name: ImageURL
- type: string
- description: >
- Url to image. It should start with either `smb://` or
- `https://` prefix
- - name: ReadWrite
- type: boolean
- description: False if the image should be read-only.
- - name: FileDescriptor
- type: variant[int32,unixfd]
- description: >
- File descriptor of named pipe used for passing null-delimited
- secret data (username and password). When there is no data to
- pass `-1` should be passed as `INT`.
+ - name: ImageURL
+ type: string
+ description: >
+ Url to image. It should start with either `smb://` or
+ `https://` prefix
+ - name: ReadWrite
+ type: boolean
+ description: False if the image should be read-only.
+ - name: FileDescriptor
+ type: variant[int32,unixfd]
+ description: >
+ File descriptor of named pipe used for passing null-delimited
+ secret data (username and password). When there is no data to
+ pass `-1` should be passed as `INT`.
returns:
- - name: Status
- type: boolean
- description: mounting status. True on success.
+ - name: Status
+ type: boolean
+ description: mounting status. True on success.
errors:
- - xyz.openbmc_project.Common.Error.InternalFailure
+ - xyz.openbmc_project.Common.Error.InternalFailure
- name: Unmount
description: Perform an unmount from HOST on given object.
returns:
- - name: Status
- type: boolean
- description: the unmount status. True on success.
+ - name: Status
+ type: boolean
+ description: the unmount status. True on success.
errors:
- - xyz.openbmc_project.Common.Error.InternalFailure
+ - xyz.openbmc_project.Common.Error.InternalFailure
diff --git a/yaml/xyz/openbmc_project/VirtualMedia/MountPoint.interface.yaml b/yaml/xyz/openbmc_project/VirtualMedia/MountPoint.interface.yaml
index 2ef679e..a9f7ffb 100644
--- a/yaml/xyz/openbmc_project/VirtualMedia/MountPoint.interface.yaml
+++ b/yaml/xyz/openbmc_project/VirtualMedia/MountPoint.interface.yaml
@@ -7,7 +7,7 @@
type: string
description: Name of the Network Block Devices that will be used.
flags:
- - const
+ - const
errors:
- xyz.openbmc_project.Common.Error.InternalFailure
@@ -15,7 +15,7 @@
type: byte
description: Mounting mode, supported values are 0-proxy, 1-legacy.
flags:
- - const
+ - const
errors:
- xyz.openbmc_project.Common.Error.InternalFailure
@@ -23,7 +23,7 @@
type: string
description: Name of mounted device.
flags:
- - const
+ - const
errors:
- xyz.openbmc_project.Common.Error.InternalFailure
@@ -31,18 +31,18 @@
type: string
description: Path to socket used to mount the image.
flags:
- - const
+ - const
errors:
- xyz.openbmc_project.Common.Error.InternalFailure
- name: Timeout
type: uint16
description: >
- Client connection timeout in seconds.
- If VirtualMedia cannot connect successfully with served
- image the connection is dropped after that timeout.
+ Client connection timeout in seconds.
+ If VirtualMedia cannot connect successfully with served
+ image the connection is dropped after that timeout.
flags:
- - const
+ - const
errors:
- xyz.openbmc_project.Common.Error.InternalFailure
@@ -50,17 +50,17 @@
type: uint16
description: Size of data block.
flags:
- - const
+ - const
errors:
- xyz.openbmc_project.Common.Error.InternalFailure
- name: RemainingInactivityTimeout
type: uint16
description: >
- Seconds to drop connection by server, for activated endpoint,
- 0 otherwise.
+ Seconds to drop connection by server, for activated endpoint,
+ 0 otherwise.
flags:
- - const
+ - const
errors:
- xyz.openbmc_project.Common.Error.InternalFailure
@@ -68,16 +68,16 @@
type: string
description: URL to mounted image.
flags:
- - const
+ - const
errors:
- xyz.openbmc_project.Common.Error.InternalFailure
- name: WriteProtected
type: boolean
description: >
- Mounting mode, 'True' if the image is read only,
- 'False' otherwise.
+ Mounting mode, 'True' if the image is read only,
+ 'False' otherwise.
flags:
- - const
+ - const
errors:
- xyz.openbmc_project.Common.Error.InternalFailure
diff --git a/yaml/xyz/openbmc_project/VirtualMedia/Process.interface.yaml b/yaml/xyz/openbmc_project/VirtualMedia/Process.interface.yaml
index 069bc2d..11283a2 100644
--- a/yaml/xyz/openbmc_project/VirtualMedia/Process.interface.yaml
+++ b/yaml/xyz/openbmc_project/VirtualMedia/Process.interface.yaml
@@ -7,7 +7,7 @@
description: >
`True`, if object is occupied by active process, `False` otherwise.
flags:
- - const
+ - const
errors:
- xyz.openbmc_project.Common.Error.InternalFailure
@@ -16,6 +16,6 @@
description: >
If process terminates this property will contain returned exit code.
flags:
- - const
+ - const
errors:
- - xyz.openbmc_project.Common.Error.InternalFailure
\ No newline at end of file
+ - xyz.openbmc_project.Common.Error.InternalFailure
diff --git a/yaml/xyz/openbmc_project/VirtualMedia/Proxy.interface.yaml b/yaml/xyz/openbmc_project/VirtualMedia/Proxy.interface.yaml
index a43e8e2..8299c72 100644
--- a/yaml/xyz/openbmc_project/VirtualMedia/Proxy.interface.yaml
+++ b/yaml/xyz/openbmc_project/VirtualMedia/Proxy.interface.yaml
@@ -5,17 +5,17 @@
- name: Mount
description: Perform a mount to HOST operation on given object.
returns:
- - name: Status
- type: boolean
- description: mounting status. True on success.
+ - name: Status
+ type: boolean
+ description: mounting status. True on success.
errors:
- - xyz.openbmc_project.Common.Error.InternalFailure
+ - xyz.openbmc_project.Common.Error.InternalFailure
- name: Unmount
description: Perform an unmount from HOST on given object.
returns:
- - name: Status
- type: boolean
- description: the unmount status. True on success.
+ - name: Status
+ type: boolean
+ description: the unmount status. True on success.
errors:
- - xyz.openbmc_project.Common.Error.InternalFailure
+ - xyz.openbmc_project.Common.Error.InternalFailure
diff --git a/yaml/xyz/openbmc_project/VirtualMedia/Stats.interface.yaml b/yaml/xyz/openbmc_project/VirtualMedia/Stats.interface.yaml
index 9895b06..a6ef168 100644
--- a/yaml/xyz/openbmc_project/VirtualMedia/Stats.interface.yaml
+++ b/yaml/xyz/openbmc_project/VirtualMedia/Stats.interface.yaml
@@ -6,7 +6,7 @@
type: uint64
description: Number of read IOs since image mounting.
flags:
- - const
+ - const
errors:
- xyz.openbmc_project.Common.Error.InternalFailure
@@ -14,6 +14,6 @@
type: uint64
description: Number of write IOs since image mounting.
flags:
- - const
+ - const
errors:
- - xyz.openbmc_project.Common.Error.InternalFailure
\ No newline at end of file
+ - xyz.openbmc_project.Common.Error.InternalFailure