George Liu | 0e25529 | 2020-05-19 15:14:41 +0800 | [diff] [blame^] | 1 | { |
| 2 | "effecterPDRs": [ |
| 3 | { |
| 4 | "pdrType": 11, |
| 5 | "entries": [ |
| 6 | { |
| 7 | "type": 33, |
| 8 | "instance": 0, |
| 9 | "container": 0, |
| 10 | "effecters": [ |
| 11 | { |
| 12 | "set": { |
| 13 | "id": 196, |
| 14 | "size": 1, |
| 15 | "states": [ |
| 16 | 1, |
| 17 | 2 |
| 18 | ] |
| 19 | }, |
| 20 | "dbus": { |
| 21 | "path": "/xyz/openbmc_project/state/host0", |
| 22 | "interface": "xyz.openbmc_project.State.OperatingSystem.Status", |
| 23 | "property_name": "OperatingSystemState", |
| 24 | "property_type": "string", |
| 25 | "property_values": [ |
| 26 | "xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.Standby", |
| 27 | "xyz.openbmc_project.OperatingSystem.Status.OSStatus.BootComplete" |
| 28 | ] |
| 29 | } |
| 30 | } |
| 31 | ] |
| 32 | }, |
| 33 | { |
| 34 | "type": 45, |
| 35 | "instance": 0, |
| 36 | "container": 0, |
| 37 | "effecters": [ |
| 38 | { |
| 39 | "set": { |
| 40 | "id": 260, |
| 41 | "size": 2, |
| 42 | "states": [ |
| 43 | 9 |
| 44 | ] |
| 45 | }, |
| 46 | "dbus": { |
| 47 | "path": "/xyz/openbmc_project/state/chassis0", |
| 48 | "interface": "xyz.openbmc_project.State.Chassis", |
| 49 | "property_name": "RequestedPowerTransition", |
| 50 | "property_type": "string", |
| 51 | "property_values": [ |
| 52 | "xyz.openbmc_project.State.Chassis.Transition.Off" |
| 53 | ] |
| 54 | } |
| 55 | } |
| 56 | ] |
| 57 | } |
| 58 | ] |
| 59 | }, |
| 60 | { |
| 61 | "pdrType": 9, |
| 62 | "entries": [ |
| 63 | { |
| 64 | "type": 32768, |
| 65 | "instance": 0, |
| 66 | "base_unit": 21, |
| 67 | "rate_unit": 3, |
| 68 | "effecter_resolution_init": 1, |
| 69 | "effecter_data_size": 4, |
| 70 | "range_field_format": 4, |
| 71 | "dbus": { |
| 72 | "path": "/xyz/openbmc_project/control/host0/power_cap", |
| 73 | "interface": "xyz.openbmc_project.Control.Power.Cap", |
| 74 | "property_name": "PowerCap", |
| 75 | "property_type": "uint32_t" |
| 76 | } |
| 77 | } |
| 78 | ] |
| 79 | } |
| 80 | ] |
| 81 | } |
| 82 | |