blob: ccdc7ac4bc578c380f1d6cde3d562ab4f63450b0 [file] [log] [blame]
George Liue151e2d2020-02-11 10:30:37 +08001{
George Liu1ec85d42020-02-12 16:05:32 +08002 "effecterPDRs": [
George Liue151e2d2020-02-11 10:30:37 +08003 {
George Liu1ec85d42020-02-12 16:05:32 +08004 "pdrType": 11,
5 "entries": [
George Liue151e2d2020-02-11 10:30:37 +08006 {
George Liuc4ea6a92020-07-14 15:48:44 +08007 "entity_path": "/xyz/openbmc_project/foo",
George Liu1ec85d42020-02-12 16:05:32 +08008 "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 Liue151e2d2020-02-11 10:30:37 +080051 },
52 {
George Liuc4ea6a92020-07-14 15:48:44 +080053 "entity_path": "/xyz/openbmc_project/foo",
George Liu1ec85d42020-02-12 16:05:32 +080054 "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 Liue151e2d2020-02-11 10:30:37 +0800101 }
102 ]
Chicago Duanc94d4942020-01-14 15:25:21 +0800103 },
104 {
105 "pdrType": 9,
106 "entries": [
107 {
George Liuc4ea6a92020-07-14 15:48:44 +0800108 "entity_path": "/xyz/openbmc_project/foo",
109 "type": 0,
110 "instance": 0,
111 "container": 0,
Chicago Duanc94d4942020-01-14 15:25:21 +0800112 "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 Liue151e2d2020-02-11 10:30:37 +0800125 }
126 ]
Chicago Duanc94d4942020-01-14 15:25:21 +0800127}