Skip to content

Instantly share code, notes, and snippets.

@lxwinspur
Last active September 3, 2020 06:47
Show Gist options
  • Save lxwinspur/2afffff2e445fddf90dfed6eceef4014 to your computer and use it in GitHub Desktop.
Save lxwinspur/2afffff2e445fddf90dfed6eceef4014 to your computer and use it in GitHub Desktop.
bios
{
"entries":[
{
"attribute_name" : "Led",
"possible_values" : [ "On", "Off" ],
"default_values" : [ "Off" ],
"readOnly" : false,
"helpText" : "Led HelpText",
"displayName" : "Led DisplayName",
"dbus":
{
"object_path" : "/xyz/openbmc_project/led/physical/front_fan",
"interface" : "xyz.openbmc_project.Led.Physical",
"property_name" : "State",
"property_type" : "string",
"property_values" : ["xyz.openbmc_project.Led.Physical.Action.On","xyz.openbmc_project.Led.Physical.Action.Off"] }
},
{
"attribute_name" : "CodeUpdatePolicy",
"possible_values" : [ "Concurrent", "Disruptive" ],
"default_values" : [ "Concurrent" ],
"readOnly" : true,
"helpText" : "CodeUpdatePolicy HelpText",
"displayName" : "CodeUpdatePolicy DisplayName"
}
]
}
{
"entries":[
{
"attribute_name" : "OUTLET",
"lower_bound" : 0,
"upper_bound" : 68002,
"scalar_increment" : 1,
"default_value" : 0,
"readOnly" : false,
"helpText" : "OUTLET HelpText",
"displayName" : "OUTLET DisplayName",
"dbus":{
"object_path" : "/xyz/openbmc_project/sensors/voltage/p3v_bat",
"interface" : "xyz.openbmc_project.Sensor.Value",
"property_type" : "double",
"property_name" : "Value"
}
}
]
}
{
"entries" : [
{
"attribute_name" : "Model",
"string_type" : "ASCII",
"minimum_string_length" : 1,
"maximum_string_length" : 100,
"default_string_length" : 8,
"default_string" : "FP5280G2",
"readOnly" : false,
"helpText" : "Model HelpText",
"displayName" : "Model DisplayName",
"dbus" : {
"object_path" : "/xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0",
"interface" : "xyz.openbmc_project.Inventory.Item",
"property_name" : "PrettyName",
"property_type" : "string"
}
},
{
"attribute_name" : "str_example3",
"string_type" : "Unknown",
"minimum_string_length" : 1,
"maximum_string_length" : 100,
"default_string_length" : 2,
"default_string" : "ef",
"readOnly" : true,
"helpText" : "str_example3 HelpText",
"displayName" : "str_example3 DisplayName"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment