George Liu | e151e2d | 2020-02-11 10:30:37 +0800 | [diff] [blame] | 1 | { |
George Liu | 1ec85d4 | 2020-02-12 16:05:32 +0800 | [diff] [blame] | 2 | "effecterPDRs": [ |
George Liu | e151e2d | 2020-02-11 10:30:37 +0800 | [diff] [blame] | 3 | { |
George Liu | 1ec85d4 | 2020-02-12 16:05:32 +0800 | [diff] [blame] | 4 | "pdrType": 11, |
| 5 | "entries": [ |
George Liu | e151e2d | 2020-02-11 10:30:37 +0800 | [diff] [blame] | 6 | { |
George Liu | c4ea6a9 | 2020-07-14 15:48:44 +0800 | [diff] [blame] | 7 | "entity_path": "/xyz/openbmc_project/foo", |
George Liu | 1ec85d4 | 2020-02-12 16:05:32 +0800 | [diff] [blame] | 8 | "type": 33, |
| 9 | "instance": 0, |
| 10 | "container": 0, |
| 11 | "effecters": [ |
| 12 | { |
| 13 | "set": { |
| 14 | "id": 196, |
| 15 | "size": 1, |
| 16 | "states": [ |
| 17 | 1 |
| 18 | ] |
| 19 | }, |
| 20 | "dbus": { |
| 21 | "path": "/foo/bar", |
| 22 | "interface": "xyz.openbmc_project.Foo.Bar", |
| 23 | "property_name": "propertyName", |
| 24 | "property_type": "string", |
| 25 | "property_values": [ |
| 26 | "xyz.openbmc_project.Foo.Bar.V1" |
| 27 | ] |
| 28 | } |
| 29 | }, |
| 30 | { |
| 31 | "set": { |
| 32 | "id": 196, |
| 33 | "size": 1, |
| 34 | "states": [ |
| 35 | 1, |
| 36 | 2 |
| 37 | ] |
| 38 | }, |
| 39 | "dbus": { |
| 40 | "path": "/foo/bar", |
| 41 | "interface": "xyz.openbmc_project.Foo.Bar", |
| 42 | "property_name": "propertyName", |
| 43 | "property_type": "string", |
| 44 | "property_values": [ |
| 45 | "xyz.openbmc_project.Foo.Bar.V1", |
| 46 | "xyz.openbmc_project.Foo.Bar.V2" |
| 47 | ] |
| 48 | } |
| 49 | } |
| 50 | ] |
George Liu | e151e2d | 2020-02-11 10:30:37 +0800 | [diff] [blame] | 51 | }, |
| 52 | { |
George Liu | c4ea6a9 | 2020-07-14 15:48:44 +0800 | [diff] [blame] | 53 | "entity_path": "/xyz/openbmc_project/foo", |
George Liu | 1ec85d4 | 2020-02-12 16:05:32 +0800 | [diff] [blame] | 54 | "type": 100, |
| 55 | "instance": 0, |
| 56 | "container": 0, |
| 57 | "effecters": [ |
| 58 | { |
| 59 | "set": { |
| 60 | "id": 197, |
| 61 | "size": 1, |
| 62 | "states": [ |
| 63 | 1 |
| 64 | ] |
| 65 | }, |
| 66 | "dbus": { |
| 67 | "path": "/foo/bar", |
| 68 | "interface": "xyz.openbmc_project.Foo.Bar", |
| 69 | "property_name": "propertyName", |
| 70 | "property_type": "string", |
| 71 | "property_values": [ |
| 72 | "xyz.openbmc_project.Foo.Bar.V1" |
| 73 | ] |
| 74 | } |
| 75 | }, |
| 76 | { |
| 77 | "set": { |
| 78 | "id": 198, |
| 79 | "size": 2, |
| 80 | "states": [ |
| 81 | 1, |
| 82 | 2, |
| 83 | 5, |
| 84 | 15 |
| 85 | ] |
| 86 | }, |
| 87 | "dbus": { |
| 88 | "path": "/foo/bar/baz", |
| 89 | "interface": "xyz.openbmc_project.Foo.Bar.Baz", |
| 90 | "property_name": "propertyName", |
| 91 | "property_type": "string", |
| 92 | "property_values": [ |
| 93 | "xyz.openbmc_project.Foo.Bar.Baz.V1", |
| 94 | "xyz.openbmc_project.Foo.Bar.Baz.V2", |
| 95 | "xyz.openbmc_project.Foo.Bar.Baz.V5", |
| 96 | "xyz.openbmc_project.Foo.Bar.Baz.V15" |
| 97 | ] |
| 98 | } |
| 99 | } |
| 100 | ] |
George Liu | e151e2d | 2020-02-11 10:30:37 +0800 | [diff] [blame] | 101 | } |
| 102 | ] |
Chicago Duan | c94d494 | 2020-01-14 15:25:21 +0800 | [diff] [blame] | 103 | }, |
| 104 | { |
| 105 | "pdrType": 9, |
| 106 | "entries": [ |
| 107 | { |
George Liu | c4ea6a9 | 2020-07-14 15:48:44 +0800 | [diff] [blame] | 108 | "entity_path": "/xyz/openbmc_project/foo", |
| 109 | "type": 0, |
| 110 | "instance": 0, |
| 111 | "container": 0, |
Chicago Duan | c94d494 | 2020-01-14 15:25:21 +0800 | [diff] [blame] | 112 | "base_unit": 21, |
| 113 | "rate_unit": 3, |
| 114 | "effecter_resolution_init": 1, |
| 115 | "effecter_data_size": 4, |
| 116 | "range_field_format": 4, |
| 117 | "dbus": { |
| 118 | "path": "/foo/bar", |
| 119 | "interface": "xyz.openbmc_project.Foo.Bar", |
| 120 | "property_name": "propertyName", |
| 121 | "property_type": "uint64_t" |
| 122 | } |
| 123 | } |
| 124 | ] |
George Liu | e151e2d | 2020-02-11 10:30:37 +0800 | [diff] [blame] | 125 | } |
| 126 | ] |
Chicago Duan | c94d494 | 2020-01-14 15:25:21 +0800 | [diff] [blame] | 127 | } |