yaml: format with prettier
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I193f690f3612fe72ec69030f81f4d5096a761601
diff --git a/yaml/xyz/openbmc_project/Smbios/MDR_V2.interface.yaml b/yaml/xyz/openbmc_project/Smbios/MDR_V2.interface.yaml
index 987e0ee..4582ac2 100644
--- a/yaml/xyz/openbmc_project/Smbios/MDR_V2.interface.yaml
+++ b/yaml/xyz/openbmc_project/Smbios/MDR_V2.interface.yaml
@@ -5,154 +5,154 @@
description: >
Get the directory with directory index.
parameters:
- - name: dirIndex
- type: byte
- description: >
- Directory index of SMBIOS.
+ - name: dirIndex
+ type: byte
+ description: >
+ Directory index of SMBIOS.
returns:
- - name: dir
- type: array[byte]
- description: >
- Directory of agent.
+ - name: dir
+ type: array[byte]
+ description: >
+ Directory of agent.
errors:
- - self.Error.InvalidParameter
+ - self.Error.InvalidParameter
- name: GetDataInformation
description: >
Get the data info with id index and data set ID.
parameters:
- - name: idIndex
- type: byte
- description: >
- Index of SMBIOS directory.
+ - name: idIndex
+ type: byte
+ description: >
+ Index of SMBIOS directory.
returns:
- - name: dataInfo
- type: array[byte]
- description: >
- Data information of SMBIOS.
+ - name: dataInfo
+ type: array[byte]
+ description: >
+ Data information of SMBIOS.
errors:
- - self.Error.InvalidParameter
+ - self.Error.InvalidParameter
- name: SendDirectoryInformation
description: >
- Send directory information to SMBIOS directory.
+ Send directory information to SMBIOS directory.
parameters:
- - name: dirVersion
- type: byte
- description: >
- A counter which increments each time directory updated.
- - name: dirIndex
- type: byte
- description: >
- Directory index of SMBIOS.
- - name: returnedEntries
- type: byte
- description: >
- Indicates number of directory entries.
- - name: remainingEntries
- type: byte
- description: >
- Remaining entries which are higher than index in this transfer.
- - name: dirEntry
- type: array[byte]
- description: >
- Data set ID of SMBIOS table.
+ - name: dirVersion
+ type: byte
+ description: >
+ A counter which increments each time directory updated.
+ - name: dirIndex
+ type: byte
+ description: >
+ Directory index of SMBIOS.
+ - name: returnedEntries
+ type: byte
+ description: >
+ Indicates number of directory entries.
+ - name: remainingEntries
+ type: byte
+ description: >
+ Remaining entries which are higher than index in this transfer.
+ - name: dirEntry
+ type: array[byte]
+ description: >
+ Data set ID of SMBIOS table.
returns:
- - name: status
- type: boolean
- description: >
- Need to continue directory transmisson or not.
+ - name: status
+ type: boolean
+ description: >
+ Need to continue directory transmisson or not.
errors:
- - self.Error.InvalidParameter
+ - self.Error.InvalidParameter
- name: GetDataOffer
description: >
- Get data set ID.
+ Get data set ID.
returns:
- - name: offer
- type: array[byte]
- description: >
- Data set ID.
+ - name: offer
+ type: array[byte]
+ description: >
+ Data set ID.
errors:
- - self.Error.UpdateInProgress
+ - self.Error.UpdateInProgress
- name: SendDataInformation
description: >
- Send data information with directory index.
+ Send data information with directory index.
parameters:
- - name: idIndex
- type: byte
- description: >
- Index of SMBIOS directory.
- - name: flag
- type: byte
- description: >
- Valid flag to set dir entry status.
- - name: dataLen
- type: uint32
- description: >
- The length of the data in bytes.
- - name: dataVer
- type: uint32
- description: >
- The version number of this data.
- - name: timeStamp
- type: uint32
- description: >
- Timestamp determinded by the agent.
+ - name: idIndex
+ type: byte
+ description: >
+ Index of SMBIOS directory.
+ - name: flag
+ type: byte
+ description: >
+ Valid flag to set dir entry status.
+ - name: dataLen
+ type: uint32
+ description: >
+ The length of the data in bytes.
+ - name: dataVer
+ type: uint32
+ description: >
+ The version number of this data.
+ - name: timeStamp
+ type: uint32
+ description: >
+ Timestamp determinded by the agent.
returns:
- - name: status
- type: boolean
- description: >
- Whether data changes.
+ - name: status
+ type: boolean
+ description: >
+ Whether data changes.
errors:
- - self.Error.InvalidParameter
+ - self.Error.InvalidParameter
- name: FindIdIndex
description: >
Find id index by data info.
parameters:
- - name: dataInfo
- type: array[byte]
- description: >
- Data info of data entry.
+ - name: dataInfo
+ type: array[byte]
+ description: >
+ Data info of data entry.
returns:
- - name: idIndex
- type: int32
- description: >
- Id index of data entry.
+ - name: idIndex
+ type: int32
+ description: >
+ Id index of data entry.
errors:
- - self.Error.InvalidId
+ - self.Error.InvalidId
- name: AgentSynchronizeData
description: >
Synchronize SMBIOS data from file.
returns:
- - name: status
- type: boolean
- description: >
- Whether synchronization succeed or not.
+ - name: status
+ type: boolean
+ description: >
+ Whether synchronization succeed or not.
- name: SynchronizeDirectoryCommonData
description: >
Synchronize directory common data.
parameters:
- - name: idIndex
- type: byte
- description: >
- Index of SMBIOS directory.
- - name: size
- type: uint32
- description: >
- Size of data that BIOS prepare to transfer.
+ - name: idIndex
+ type: byte
+ description: >
+ Index of SMBIOS directory.
+ - name: size
+ type: uint32
+ description: >
+ Size of data that BIOS prepare to transfer.
returns:
- - name: commonData
- type: array[uint32]
- description: >
- Directory common data includes data size, version and timestamp.
+ - name: commonData
+ type: array[uint32]
+ description: >
+ Directory common data includes data size, version and timestamp.
properties:
- name: DirectoryEntries
type: byte
description: >
- Numbers of directory entries.
+ Numbers of directory entries.