blob: 4ef840b0519a9cb9fa3ed6ff96b5e0e063a9f48d [file] [log] [blame]
Brad Bishopa948d262016-10-05 19:51:48 -04001description: >
Patrick Williamsa1347412022-12-06 10:56:22 -06002 Implement to provide basic item attributes. Required by all objects within
3 the inventory namespace.
Ed Tanousfd26ad12022-07-12 15:20:26 -07004
5 Any service implementing Inventory.Item on one or more objects must
6 implement org.freedesktop.DBus.ObjectManager on
7 /xyz/openbmc_project/inventory.
8
Brad Bishopa948d262016-10-05 19:51:48 -04009properties:
10 - name: PrettyName
Deepak Kodihalli1542bae2016-11-09 05:23:39 -060011 type: string
Brad Bishopa948d262016-10-05 19:51:48 -040012 description: >
13 The human readable name of the item.
14 - name: Present
Deepak Kodihalli1542bae2016-11-09 05:23:39 -060015 type: boolean
Brad Bishopa948d262016-10-05 19:51:48 -040016 description: >
17 Whether or not the item is present.
Shounak Mitrad4fad162022-08-08 21:53:41 +000018
19associations:
Benjamin Fair36b527a2022-11-02 20:41:21 +000020 - name: containing
21 description: >
22 Any inventory Items (usually Boards or Chassis) can optionally
Patrick Williamsa1347412022-12-06 10:56:22 -060023 implement the 'containing' association to provide one or more links to
24 Items which it physically contains.
Benjamin Fair36b527a2022-11-02 20:41:21 +000025 reverse_name: contained_by
26 required_endpoint_interfaces:
27 - xyz.openbmc_project.Inventory.Item
28 - name: contained_by
29 description: >
30 Any inventory Items can optionally implement the 'contained_by'
31 association to provide a link to exactly one Item (usually a Board or
32 Chassis) which physically contains it.
33 reverse_name: containing
34 required_endpoint_interfaces:
35 - xyz.openbmc_project.Inventory.Item
Shounak Mitrad4fad162022-08-08 21:53:41 +000036 - name: sensors
37 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060038 Sensors may implement an 'inventory' to 'sensors' association with the
39 inventory item related to it.
Shounak Mitrad4fad162022-08-08 21:53:41 +000040 reverse_names:
41 - inventory
42 required_endpoint_interfaces:
Benjamin Fair36b527a2022-11-02 20:41:21 +000043 - xyz.openbmc_project.Sensor.Value
George Liud0aa13b2022-10-31 14:17:32 +080044 - name: cooled_by
45 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060046 Objects that implement Item can optionally implement the 'cooled_by'
47 association to provide a link to one or more fans.
George Liud0aa13b2022-10-31 14:17:32 +080048 reverse_name: cooling
49 required_endpoint_interfaces:
50 - xyz.openbmc_project.Inventory.Item.Fan
George Liu9eb460c2022-10-31 13:59:26 +080051 - name: identified_by
52 description: >
53 Objects that implement Item can optionally implement the
Patrick Williamsa1347412022-12-06 10:56:22 -060054 'identified_by' association to provide a link to one or more LED
55 Groups.
George Liu9eb460c2022-10-31 13:59:26 +080056 reverse_name: identifying
57 required_endpoint_interfaces:
58 - xyz.openbmc_project.Led.Group
George Liue7c10bd2022-11-03 21:12:53 +080059 - name: fault_identified_by
60 description: >
61 Objects that implement Item can optionally implement the
Patrick Williamsa1347412022-12-06 10:56:22 -060062 'fault_identified_by' association to provide a link to one or more LED
63 Groups.
George Liue7c10bd2022-11-03 21:12:53 +080064 reverse_name: fault_identifying
65 required_endpoint_interfaces:
66 - xyz.openbmc_project.Led.Group
George Liu380bb022022-11-10 08:31:25 +080067 - name: powered_by
68 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060069 Objects that implement Item can optionally implement the 'powered_by'
70 association to provide a link to one or more power supplies.
George Liu380bb022022-11-10 08:31:25 +080071 reverse_name: powering
72 required_endpoint_interfaces:
73 - xyz.openbmc_project.Inventory.Item.PowerSupply