Last active
March 6, 2020 05:35
-
-
Save lxwinspur/2c3fd68cdb35e06480c4a5f7890e3a06 to your computer and use it in GitHub Desktop.
Example PDR JSON file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"effecterPDRs": [ | |
{ | |
"pdrType": 11, | |
"entries": [ | |
{ | |
"type": 33, | |
"instance": 0, | |
"container": 0, | |
"effecters": [ | |
{ | |
"set": { | |
"id": 196, | |
"size": 1, | |
"states": [ | |
1 | |
] | |
}, | |
"dbus": { | |
"path": "/foo/bar", | |
"interface": "xyz.openbmc_project.Foo.Bar", | |
"property_name": "propertyName", | |
"property_type": "string", | |
"property_values": [ | |
"xyz.openbmc_project.Foo.Bar.V1" | |
] | |
} | |
}, | |
{ | |
"set": { | |
"id": 196, | |
"size": 1, | |
"states": [ | |
1, | |
2 | |
] | |
}, | |
"dbus": { | |
"path": "/foo/bar", | |
"interface": "xyz.openbmc_project.Foo.Bar", | |
"property_name": "propertyName", | |
"property_type": "string", | |
"property_values": [ | |
"xyz.openbmc_project.Foo.Bar.V1", | |
"xyz.openbmc_project.Foo.Bar.V2" | |
] | |
} | |
} | |
] | |
}, | |
{ | |
"type": 100, | |
"instance": 0, | |
"container": 0, | |
"effecters": [ | |
{ | |
"set": { | |
"id": 197, | |
"size": 1, | |
"states": [ | |
1 | |
] | |
}, | |
"dbus": { | |
"path": "/foo/bar", | |
"interface": "xyz.openbmc_project.Foo.Bar", | |
"property_name": "propertyName", | |
"property_type": "string", | |
"property_values": [ | |
"xyz.openbmc_project.Foo.Bar.V1" | |
] | |
} | |
}, | |
{ | |
"set": { | |
"id": 198, | |
"size": 2, | |
"states": [ | |
1, | |
2, | |
5, | |
15 | |
] | |
}, | |
"dbus": { | |
"path": "/foo/bar/baz", | |
"interface": "xyz.openbmc_project.Foo.Bar.Baz", | |
"property_name": "propertyName", | |
"property_type": "string", | |
"property_values": [ | |
"xyz.openbmc_project.Foo.Bar.Baz.V1", | |
"xyz.openbmc_project.Foo.Bar.Baz.V2", | |
"xyz.openbmc_project.Foo.Bar.Baz.V5", | |
"xyz.openbmc_project.Foo.Bar.Baz.V15" | |
] | |
} | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"pdrType": 9, | |
"entries": [ | |
{ | |
"base_unit": 21, | |
"effecter_data_size": 4, | |
"dbus": { | |
"path": "/foo/bar", | |
"interface": "xyz.openbmc_project.Foo.Bar", | |
"property_name": "propertyName", | |
"property_type": "string" | |
} | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment