prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.
Change-Id: I0d25f27a5e449578967915d9f570cc29246927d7
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/libpldmresponder/examples/bios/enum_attrs.json b/libpldmresponder/examples/bios/enum_attrs.json
index e18ffef..bbf04ec 100644
--- a/libpldmresponder/examples/bios/enum_attrs.json
+++ b/libpldmresponder/examples/bios/enum_attrs.json
@@ -1,53 +1,53 @@
// This is a sample JSON configuration file for BIOS enumeration type
{
- "entries":[
- {
- "attribute_name" : "HMCManagedState",
- "possible_values" : [ "On", "Off" ],
- "default_values" : [ "On" ],
- // This BIOS attribute has a D-Bus property as backend.
- "dbus":
- {
- "object_path" : "/xyz/abc/def",
- "interface" : "xyz.openbmc_project.HMCManaged.State",
- "property_name" : "State",
- "property_type" : "string",
- // Number of property_values should match to the number of possible values.
- // Each is entry in the possible_values is mapped to entry in property_values.
- "property_values" : ["xyz.openbmc_project.State.On", "xyz.openbmc_project.State.Off"]
+ "entries": [
+ {
+ "attribute_name": "HMCManagedState",
+ "possible_values": ["On", "Off"],
+ "default_values": ["On"],
+ // This BIOS attribute has a D-Bus property as backend.
+ "dbus": {
+ "object_path": "/xyz/abc/def",
+ "interface": "xyz.openbmc_project.HMCManaged.State",
+ "property_name": "State",
+ "property_type": "string",
+ // Number of property_values should match to the number of possible values.
+ // Each is entry in the possible_values is mapped to entry in property_values.
+ "property_values": [
+ "xyz.openbmc_project.State.On",
+ "xyz.openbmc_project.State.Off"
+ ]
}
- },
- {
- "attribute_name" : "FWBootSide",
- "possible_values" : [ "Perm", "Temp" ],
- "default_values" : [ "Perm" ],
- "dbus":
- {
- "object_path" : "/xyz/abc/def",
- "interface" : "xyz.openbmc.FWBoot.Side",
- "property_name" : "Side",
- "property_type" : "bool",
- "property_values" : [true, false]
+ },
+ {
+ "attribute_name": "FWBootSide",
+ "possible_values": ["Perm", "Temp"],
+ "default_values": ["Perm"],
+ "dbus": {
+ "object_path": "/xyz/abc/def",
+ "interface": "xyz.openbmc.FWBoot.Side",
+ "property_name": "Side",
+ "property_type": "bool",
+ "property_values": [true, false]
}
- },
- {
- "attribute_name" : "InbandCodeUpdate",
- "possible_values" : [ "Allowed", "NotAllowed" ],
- "default_values" : [ "Allowed" ],
- "dbus":
- {
- "object_path" : "/xyz/abc/def",
- "interface" : "xyz.openbmc.InBandCodeUpdate",
- "property_name" : "Policy",
- "property_type" : "uint8_t",
- "property_values" : [0, 1]
+ },
+ {
+ "attribute_name": "InbandCodeUpdate",
+ "possible_values": ["Allowed", "NotAllowed"],
+ "default_values": ["Allowed"],
+ "dbus": {
+ "object_path": "/xyz/abc/def",
+ "interface": "xyz.openbmc.InBandCodeUpdate",
+ "property_name": "Policy",
+ "property_type": "uint8_t",
+ "property_values": [0, 1]
}
- },
- {
- // This is an example of BIOS Enumeration Read only attribute
- "attribute_name" : "CodeUpdatePolicy",
- "possible_values" : [ "Concurrent", "Disruptive" ],
- "default_values" : [ "Concurrent" ]
- }
+ },
+ {
+ // This is an example of BIOS Enumeration Read only attribute
+ "attribute_name": "CodeUpdatePolicy",
+ "possible_values": ["Concurrent", "Disruptive"],
+ "default_values": ["Concurrent"]
+ }
]
}