yaml: format with prettier
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I193f690f3612fe72ec69030f81f4d5096a761601
diff --git a/yaml/xyz/openbmc_project/BIOSConfig/Manager.interface.yaml b/yaml/xyz/openbmc_project/BIOSConfig/Manager.interface.yaml
index 98daf3a..7a1903b 100644
--- a/yaml/xyz/openbmc_project/BIOSConfig/Manager.interface.yaml
+++ b/yaml/xyz/openbmc_project/BIOSConfig/Manager.interface.yaml
@@ -10,50 +10,49 @@
To set the new value on existing attribute name.
It will create or add the pending attributes.
parameters:
- - name: AttributeName
- type: string
- description: >
- AttributeName which has to be changed.
- - name: AttributeValue
- type: variant[int64,string]
- description: >
- New attribute value
+ - name: AttributeName
+ type: string
+ description: >
+ AttributeName which has to be changed.
+ - name: AttributeValue
+ type: variant[int64,string]
+ description: >
+ New attribute value
errors:
- - xyz.openbmc_project.Common.Error.InternalFailure
- - xyz.openbmc_project.BIOSConfig.Common.Error.AttributeReadOnly
- - xyz.openbmc_project.BIOSConfig.Common.Error.AttributeNotFound
+ - xyz.openbmc_project.Common.Error.InternalFailure
+ - xyz.openbmc_project.BIOSConfig.Common.Error.AttributeReadOnly
+ - xyz.openbmc_project.BIOSConfig.Common.Error.AttributeNotFound
- name: GetAttribute
description: >
To get the attribute value of existing attributes.
parameters:
- - name: AttributeName
- type: string
- description: >
- To get the bios attribute current values and
- pending values if previously set by setAttribute or
- SetPendingAttributes.
+ - name: AttributeName
+ type: string
+ description: >
+ To get the bios attribute current values and
+ pending values if previously set by setAttribute or
+ SetPendingAttributes.
returns:
- - name: AttributeValueType
- type: enum[self.AttributeType]
- description: >
- PLDM attribute Type present in PLDM spec
- - name: CurrentValue
- type: variant[int64,string]
- description: >
- The attribute current value.
- - name: PendingValue
- type: variant[int64,string]
- description: >
- The pending attribute value if its available.
+ - name: AttributeValueType
+ type: enum[self.AttributeType]
+ description: >
+ PLDM attribute Type present in PLDM spec
+ - name: CurrentValue
+ type: variant[int64,string]
+ description: >
+ The attribute current value.
+ - name: PendingValue
+ type: variant[int64,string]
+ description: >
+ The pending attribute value if its available.
errors:
- - xyz.openbmc_project.Common.Error.InternalFailure
- - xyz.openbmc_project.BIOSConfig.Common.Error.AttributeNotFound
+ - xyz.openbmc_project.Common.Error.InternalFailure
+ - xyz.openbmc_project.BIOSConfig.Common.Error.AttributeNotFound
properties:
-
- name: ResetBIOSSettings
type: enum[self.ResetFlag]
default: NoAction
@@ -65,110 +64,108 @@
- name: BaseBIOSTable
type: dict[string,struct[enum[self.AttributeType],boolean,string,string,string,variant[int64,string],variant[int64,string],array[struct[enum[self.BoundType], variant[int64, string]]]]]
description: >
- map{attributeName,struct{attributeType,readonlyStatus,displayname,
- description,menuPath,current,default,
- array{struct{optionstring,optionvalue}}}}
- Example 1:
- {"DdrFreqLimit",
- {xyz.openbmc_project.BIOSConfig.Manager.AttributeType.String,
- false,
- "Memory Operating Speed Selection",
- "Force specific Memory Operating Speed or use Auto setting.",
- "Advanced/Memory Configuration/Memory Operating Speed Selection",
- "0x00",
- "0x0B",
- { {"OneOf", "auto"},
- {"OneOf", "2133"},
- {"OneOf", "2400"},
- {"OneOf", "2664"},
- {"OneOf", "2933"}
- }
- }
- }
- Example 2:
- {"BIOSSerialDebugLevel",
- {xyz.openbmc_project.BIOSConfig.Manager.AttributeType.Integer,
- false,
- "BIOS Serial Debug level",
- "BIOS Serial Debug level during system boot.",
- "Advanced/Debug Feature Selection",
- 0x00,
- 0x01,
- { {"MinBound", 0},
- {"MaxBound", 4},
- {"ScalarIncrement",1}
- }
- }
- }
-
+ map{attributeName,struct{attributeType,readonlyStatus,displayname,
+ description,menuPath,current,default,
+ array{struct{optionstring,optionvalue}}}}
+ Example 1:
+ {"DdrFreqLimit",
+ {xyz.openbmc_project.BIOSConfig.Manager.AttributeType.String,
+ false,
+ "Memory Operating Speed Selection",
+ "Force specific Memory Operating Speed or use Auto setting.",
+ "Advanced/Memory Configuration/Memory Operating Speed Selection",
+ "0x00",
+ "0x0B",
+ { {"OneOf", "auto"},
+ {"OneOf", "2133"},
+ {"OneOf", "2400"},
+ {"OneOf", "2664"},
+ {"OneOf", "2933"}
+ }
+ }
+ }
+ Example 2:
+ {"BIOSSerialDebugLevel",
+ {xyz.openbmc_project.BIOSConfig.Manager.AttributeType.Integer,
+ false,
+ "BIOS Serial Debug level",
+ "BIOS Serial Debug level during system boot.",
+ "Advanced/Debug Feature Selection",
+ 0x00,
+ 0x01,
+ { {"MinBound", 0},
+ {"MaxBound", 4},
+ {"ScalarIncrement",1}
+ }
+ }
+ }
- name: PendingAttributes
type: dict[string,struct[enum[self.AttributeType],variant[int64,string]]]
description: >
- The Pending attribute name and new value.
- ex- { {"QuietBoot",Type.Integer, 0x1},
- { "DdrFreqLimit",Type.String,"2933"}
- }
+ The Pending attribute name and new value.
+ ex- { {"QuietBoot",Type.Integer, 0x1},
+ { "DdrFreqLimit",Type.String,"2933"}
+ }
errors:
- - xyz.openbmc_project.Common.Error.InvalidArgument
- - xyz.openbmc_project.BIOSConfig.Common.Error.AttributeNotFound
- - xyz.openbmc_project.BIOSConfig.Common.Error.AttributeReadOnly
+ - xyz.openbmc_project.Common.Error.InvalidArgument
+ - xyz.openbmc_project.BIOSConfig.Common.Error.AttributeNotFound
+ - xyz.openbmc_project.BIOSConfig.Common.Error.AttributeReadOnly
enumerations:
- name: AttributeType
description: >
- Attribute Type.
+ Attribute Type.
values:
- - name: Enumeration
- description: >
- Enumeration value Type.
- - name: String
- description: >
- string value Type.
- - name: Password
- description: >
- Encoded string value Type
- - name: Integer
- description: >
- Integer value Type.
- - name: Boolean
- description: >
- Boolean value Type
+ - name: Enumeration
+ description: >
+ Enumeration value Type.
+ - name: String
+ description: >
+ string value Type.
+ - name: Password
+ description: >
+ Encoded string value Type
+ - name: Integer
+ description: >
+ Integer value Type.
+ - name: Boolean
+ description: >
+ Boolean value Type
- name: ResetFlag
description: >
- Reset BIOS setting type requested by user.
+ Reset BIOS setting type requested by user.
values:
- - name: NoAction
- description: >
- Default value, In order to cancel the reset BIOS settings.
- - name: FactoryDefaults
- description: >
- Used to set factory default settings.
- - name: FailSafeDefaults
- description: >
- Used to set the fail safe settings.
+ - name: NoAction
+ description: >
+ Default value, In order to cancel the reset BIOS settings.
+ - name: FactoryDefaults
+ description: >
+ Used to set factory default settings.
+ - name: FailSafeDefaults
+ description: >
+ Used to set the fail safe settings.
- name: BoundType
description: >
- Contain BoundType value for string and integer
+ Contain BoundType value for string and integer
values:
- - name: LowerBound
- description: >
- Used to define the lower bound value.
- - name: UpperBound
- description: >
- Used to define the upper bound value.
- - name: ScalarIncrement
- description: >
- Used to define scalar value of integer.
- - name: MinStringLength
- description: >
- Used to define minimum string length.
- - name: MaxStringLength
- description: >
- Used to define maximum string length.
- - name: OneOf
- description: >
- Used to define the enumeration options.
-
+ - name: LowerBound
+ description: >
+ Used to define the lower bound value.
+ - name: UpperBound
+ description: >
+ Used to define the upper bound value.
+ - name: ScalarIncrement
+ description: >
+ Used to define scalar value of integer.
+ - name: MinStringLength
+ description: >
+ Used to define minimum string length.
+ - name: MaxStringLength
+ description: >
+ Used to define maximum string length.
+ - name: OneOf
+ description: >
+ Used to define the enumeration options.
diff --git a/yaml/xyz/openbmc_project/BIOSConfig/Password.interface.yaml b/yaml/xyz/openbmc_project/BIOSConfig/Password.interface.yaml
index 913201f..2f20786 100644
--- a/yaml/xyz/openbmc_project/BIOSConfig/Password.interface.yaml
+++ b/yaml/xyz/openbmc_project/BIOSConfig/Password.interface.yaml
@@ -8,27 +8,25 @@
description: >
Change the BIOS setup password.
parameters:
- - name: UserName
- type: string
- description: >
- User name - user / admin.
- - name: CurrentPassword
- type: string
- description: >
- Current user/ admin Password.
- - name: NewPassword
- type: string
- description: >
- New user/ admin Password.
+ - name: UserName
+ type: string
+ description: >
+ User name - user / admin.
+ - name: CurrentPassword
+ type: string
+ description: >
+ Current user/ admin Password.
+ - name: NewPassword
+ type: string
+ description: >
+ New user/ admin Password.
errors:
- - xyz.openbmc_project.Common.Error.InternalFailure
- - xyz.openbmc_project.BIOSConfig.Common.Error.PasswordNotSettable
- - xyz.openbmc_project.BIOSConfig.Common.Error.InvalidCurrentPassword
+ - xyz.openbmc_project.Common.Error.InternalFailure
+ - xyz.openbmc_project.BIOSConfig.Common.Error.PasswordNotSettable
+ - xyz.openbmc_project.BIOSConfig.Common.Error.InvalidCurrentPassword
properties:
-
- - name: PasswordInitialized
- type: boolean
- description: >
- To indicate BIOS password related details are recevied or not.
-
+ - name: PasswordInitialized
+ type: boolean
+ description: >
+ To indicate BIOS password related details are recevied or not.