e4a64ba7 | 16-May-2025 |
Thang Tran <thuutran@amperecomputing.com> |
Item: separate PCIe Function's properties into new interface
Currently, the PCIeDevice interface describes properties for up to eight PCIe functions, but no association to individual PCIe functions
Item: separate PCIe Function's properties into new interface
Currently, the PCIeDevice interface describes properties for up to eight PCIe functions, but no association to individual PCIe functions is defined. To implement the Redfish Drive and NetworkInterface schemas, this change is necessary because those schemas associate with the specific PCIe function resources that produce them.
This commit moves PCIe Function properties from PCIe Device to an independent PCIeFunction interface. The dbus object tree layout could be: ``` /xyz/openbmc_project/inventory/item/PCIeDevice0 | xyz.openbmc_project.Inventory.Item.PCIeDevice |---/xyz/openbmc_project/inventory/item/PCIeDevice0/PCIeFunction0 | xyz.openbmc_project.Inventory.Item.PCIeFunction |---/xyz/openbmc_project/inventory/item/PCIeDevice0/PCIeFunction1 | xyz.openbmc_project.Inventory.Item.PCIeFunction |---/xyz/openbmc_project/inventory/item/PCIeDevice0/PCIeFunction2 | xyz.openbmc_project.Inventory.Item.PCIeFunction ```
TODO: The PCIe function's properties in the PCIeDevice interface shall be removed when bmcweb [1] and peci-pcie [2] are updated.
[1]: https://github.com/openbmc/bmcweb/blob/0fa3418803cb0af347903ae0b7d741f63d49cd32/redfish-core/lib/pcie.hpp#L628 [2]: https://github.com/openbmc/peci-pcie/blob/ec7361d5bce6be90effc2bed0adfea3df48f13d1/src/peci_pcie.cpp#L612
Change-Id: Ifba85d4ecb4847b737f1ace86bf8520ec31c0f03 Signed-off-by: Thang Tran <thuutran@amperecomputing.com>
show more ...
|
df32eb57 | 26-Apr-2023 |
Myung Bae <myungbae@us.ibm.com> |
Add association between FabricAdapter and Port
As a course of implementing PortCollection and Port schemas, this commit adds a new association to describe the links between FabricAdapter and Port.
Add association between FabricAdapter and Port
As a course of implementing PortCollection and Port schemas, this commit adds a new association to describe the links between FabricAdapter and Port.
- FabricAdapter may be "connected_to" one or more ports, - A port may also be "connecting" one or more items.
The generic associations of 'containing' and 'contained_by' are considered, but they are for the physically "containing" items.
Related schemas are:
- https://redfish.dmtf.org/schemas/v1/Port.v1_8_0.json
``` "Links": { "description": "The links to other resources that are related to this resource.", "properties": { "AssociatedEndpoints": { "description": "An array of links to the endpoints at the other end of the link.", "items": { "$ref": "http://redfish.dmtf.org/schemas/v1/Endpoint.json#/definitions/Endpoint" }, "longDescription": "This property shall contain an array of links to resources of type Endpoint that represent the endpoints to which this port is connected.", "readonly": true, "type": "array" }, "AssociatedEndpoints@odata.count": { "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" }, ```
- https://redfish.dmtf.org/schemas/v1/FabricAdapter.v1_5_0.json
``` "Ports": { "$ref": "http://redfish.dmtf.org/schemas/v1/PortCollection.json#/definitions/PortCollection", "description": "The link to the collection of ports that exist on the fabric adapter.", "longDescription": "This property shall contain a link to a Resource Collection of type PortCollection.", "readonly": true }, ```
Change-Id: I2cc8caf0128bf1cfa619312e689fe02039977e44 Signed-off-by: Myung Bae <myungbae@us.ibm.com>
show more ...
|
5167e22a | 15-May-2021 |
Sharad Yadav <sharady@nvidia.com> |
Inventory: Add Decorator.Dimension interface
Inventory items can report their dimensions (if applicable and if specified by the manufacturer) via management APIs like Redfish.
For this purpose, thi
Inventory: Add Decorator.Dimension interface
Inventory items can report their dimensions (if applicable and if specified by the manufacturer) via management APIs like Redfish.
For this purpose, this commit introduces a Decorator.Dimension interface containing the following properties:
1. Height - The height of the item in meters. 2. Width - The width of the item in meters. 3. Depth - The depth of the item in meters.
Signed-off-by: Sharad Yadav <sharady@nvidia.com> Change-Id: I2ac2dcd9743e8991c05eaf68acf856553ceecc55
show more ...
|