Age | Commit message (Collapse) | Author | Files | Lines |
|
A few example associations were added by [1]. This is to add additional
or missing port associations between FabricAdapter and Port, and to fix
some typos.
The assocication is defined by
https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/62881.
Some FRU examples were added before via
https://gerrit.openbmc.org/c/openbmc/openpower-vpd-parser/+/66540
These associations are used for bmcweb Port schema implementation.
This also fixes Redfish Service Validator related to Cables & Ports.
Tested:
- Verify bmcweb Port schema under `/redfish/v1/Systems/system/FabricAdapters`
- Verify the content of `/redfish/v1/Cables/` tree.
- Redfish Service Validator passes on Cables & Ports
[1] https://github.com/openbmc/openbmc/commit/9f0b0adcf1e79e676df0f879c5be4a7a1cb6cfa7
Change-Id: If047a672c99da54aaa12f5d0206d2dc0334590bf
Signed-off-by: Myung Bae <myungbae@us.ibm.com>
|
|
Add association between PCIe slot and PCIe device for Rainier and
Everest systems
Change-Id: I18323770a94a2e0b3cba441dfa3ec0c5ff577546
Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>
|
|
Downstream association JSON changes were not pushed to upstream from
long time. So syncing the upstream association JSON files with the
downstream association.
Change-Id: I11c030dd8295f473718f4465fd96d689a4b64386
Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>
|
|
Add the association configuration of throttle according to the latest
association interface[1].
[1] https://github.com/openbmc/phosphor-dbus-interfaces/commit/1abc0c57692b679753955b7273c1393369ef4987
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: I29b4d99a0dce0517f28ec4d63765d2b909a12122
|
|
This commit is to populate link(s) to processor associated with given
PCIeDevice which is established via the assoication with PCIeSlot.
https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/65076
Tested:
- dbus has the association between processor and slot
```
/xyz/openbmc_project/inventory/system/chassis/motherboard/pcieslot10 \
xyz.openbmc_project.Association.Definitions Associations
...
"connected_to" "connecting" "/xyz/openbmc_project/inventory/system/chassis/motherboard/dcm0/cpu0"
```
Change-Id: I983c8444e4e3b206c60cf86c83d5b5cbf575f386
Signed-off-by: Myung Bae <myungbae@us.ibm.com>
|
|
Add some example port associations to support FabricAdapter and Port.
The assocication is defined by
https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/62881.
FRU examples are added via
https://gerrit.openbmc.org/c/openbmc/openpower-vpd-parser/+/66540
These associations will be used for bmcweb Port schema implementation.
Tested:
- Verify bmcweb Port schema https://gerrit.openbmc.org/c/openbmc/bmcweb/+/61097
Change-Id: I8e892f029210d5391456e0ff5827b3d6a18d9c7a
Signed-off-by: Myung Bae <myungbae@us.ibm.com>
|
|
On Rainier and Everest the code to put the power supply input history
maximum and average values on D-Bus is being removed and replaced with a
single peak input power sensor.
Remove the associations to them since they are no longer around.
Note: The associations for the new sensor will be handled by the
psu-monitor application.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I07bb6523f60be0e56db5d85932da9193719c7406
|
|
LED endpoints with Identifying, Identified_by for System was missing in
Association json,as a result of that LocationIndicatorActive for system
was null in redfish GET output.
Also, from GUI, System identify LED was not functioning.
If we try to set it, it goes away once we refresh the page,and no impact
on led group.
So this has been addressed for P10bmc Rainier and Everest system.
Tested:-
-Toggling reflects on LocationIndicatorActive as well as LED state of
associated LED group.
-It Works fine with redfish curl command as well as GUI button.
$ curl -k -H "X-Auth-Token: $bmc_token" -X PATCH https://${bmc}/redfish/v1/Systems/system -d '{"LocationIndicatorActive": true}'
$
$ curl -k -H "X-Auth-Token: $bmc_token" -X GET https://${bmc}/redfish/v1/Systems/system |grep "LocationIndicatorActive"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6262 100 6262 0 0 42026 0 --:--:-- --:--: "LocationIndicatorActive": true,
- It shows up the result on hardware as below-
~# busctl introspect xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/enclosure_identify
NAME TYPE SIGNATURE RESULT/VALUE FLAGS
org.freedesktop.DBus.Introspectable interface - - -
.Introspect method - s -
org.freedesktop.DBus.Peer interface - - -
.GetMachineId method - s -
.Ping method - - -
org.freedesktop.DBus.Properties interface - - -
.Get method ss v -
.GetAll method s a{sv} -
.Set method ssv - -
.PropertiesChanged signal sa{sv}as - -
xyz.openbmc_project.Led.Group interface - - -
.Asserted property b true emits-change writable
~# cat /var/lib/phosphor-led-manager/savedGroups
{
"value0": [
"/xyz/openbmc_project/led/groups/bmc_booted",
"/xyz/openbmc_project/led/groups/enclosure_identify"
]
}#
Change-Id: I20dd57cc0c4edb0e28039ca9a276075914adc9f6
Signed-off-by: Alpana Kumari <alpankum@in.ibm.com>
|
|
This corrects the associations between processor and OCC.
The OCC is power_managing the processor.
The processor is power_managed_by the OCC.
Retrieving the element that OCC is managing:
as 1 "/xyz/openbmc_project/inventory/system/chassis/motherboard/dcm0/cpu0"
Signed-off-by: Chris Cain <cjcain@us.ibm.com>
Change-Id: I45bce16127c34c70dadc133530ece0ed15c10b98
|
|
Adding an association between the OCCs and processors, so that the
throttle status can be associated with the applicable processor.
The processor is power_managed_by the OCC.
The OCC is power_managing the processor.
Change-Id: I4f5b9f4ec347665316dae87e1995cebb52ef374c
Signed-off-by: Chris Cain <cjcain@us.ibm.com>
|
|
The commit adds chassis association for cable cards. This change
is with respect to the downstream change where duplicate entry
for cable card association has been removed.
It was found that chassis association is missing upstream.
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
Change-Id: I2bb9c80aa50f29e67bba3abe9d5e8fa7de89f4d7
|
|
Update the association configuration of fault identify according to
the latest association interface[1].
[1] https://github.com/openbmc/phosphor-dbus-interfaces/commit/e7c10bd5cdab6cd898e5cad0daab8c1128adc0c8
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I166c3dee16d8e709eb96982743fe30688b95012f
|
|
Update the association configuration of identify according to
the latest association interface[1].
[1] https://github.com/openbmc/phosphor-dbus-interfaces/commit/9eb460c6cfc2d7c2feb29c86f4beb31d4c3d9250
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I65ef596f3011720b968462f54d7a3b60e7c84002
|
|
Per association document[1], add/update the association between Fan
and Chassis.
[1] https://github.com/openbmc/phosphor-dbus-interfaces/commit/d0aa13b446ee1738d53fb1e04341946f5b0b7616
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I6c4d74b17fcfcbeb620832485928dcfd3460fc00
|
|
Per association document[1], add/update the association between
PowerSupply and Chassis.
[1] https://github.com/openbmc/phosphor-dbus-interfaces/commit/11efbb3c856af9d760e2d27ff276090d7b3510d5
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ia7e40b67c13f2900a4d91d7f911f47c15b12b6c5
|
|
The power supply INPUT_HISTORY is only supported on certain power
supplies. The power supplies that ship with Rainier 2S2U, Rainier 4U,
and Everest support the INPUT_HISTORY.
The MEX I/O drawer power supplies do not support INPUT_HISTORY.
Use associations from Rainier/Everest power supply inventory entries to
the input history aggregation interfaces to facilitate Redfish filtering
of PowerSupplyMetrics for input history.
Change-Id: I9afb2e57fefbf0cc10378bffe2efe4f4548920ca
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
|
|
Add the power supply temperature readings to the hwmon configuration and
the Rainier and Everest assocation files.
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
Change-Id: I00e7fde4a58da553b9374733b22b8608d0c9da41
|
|
Make the power supply sensors visible via redfish, chassis, all_sensors.
Input voltage, input power, output voltage, output current.
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
Change-Id: I79c9a07c849ad8015fb9fa42242aeab932b755c9
|
|
Add the associations from the sensors on the panel and the sensors on
the motherboard to their parent FRUs in the inventory.
The chassis association isn't needed here because hwmontempsensor
already creates it.
The association will be used for sensor callouts.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I4292646b0b101608f2bcd4c2d0f65e13f16d3d87
|
|
phosphor-led-manager already has platform and partition system attention
indicator D-Bus objects implementing xyz.openbmc_project.Led.Group. but,
was not added to association json which this commit is doing.
Signed-off-by: Lakshminarayana R. Kammath <lkammath@in.ibm.com>
Change-Id: I3803cbb2d07626e3af6474ea8e74d987f4a963b0
|
|
Make altitude sensor visible via redfish, chassis, all-sensors.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I7e032e74ad8889e7e80e197dccc7b65a26482c0a
|
|
Earlier enclosure_identify and enclosure_fault associations were missing in the inventory manager.
With this checkin we are adding those associations.
busctl get-property xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis xyz.openbmc_project.Association.Definitions Associations
a(sss) 24 "fault_led_group" "fault_inventory_object" "/xyz/openbmc_project/led/groups/enclosure_fault" "identify_led_group" "identify_inventory_object"
"/xyz/openbmc_project/led/groups/enclosure_identify" "chassis" "inventory" "/xyz/openbmc_project/inventory/system/chassis" ....
After closely looking into all the LED's it was identified that
enclosure_fault and enclosure_identify is missing in the association
and this commit is to enable same
Signed-off-by: Lakshminarayana R. Kammath <lkammath@in.ibm.com>
Change-Id: I42728d994e9110c56c607aeea98623fe2613af92
|
|
This commit adds associations for all the inventory that
gets represented as Assemblies in Redfish.
Change-Id: Id4e9e4ac870e5bed665462d161abde00c4b85554
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
Power supply, fans and pcie slots are tied to a particular
chassis and thus need the associations for redfish to use them.
Change-Id: I71b9596b811c910fac65c16af4f008954a934b30
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
The IBM rainier machine name is being replaced with the generic p10bmc.
Tested: Built rainier and verified files were installed:
rainier-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/rootfs/usr/share/phosphor-inventory-manager/ibm,everest_associations.json
rainier-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/rootfs/usr/share/phosphor-inventory-manager/ibm,rainier-4u_associations.json
rainier-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/rootfs/usr/share/phosphor-inventory-manager/ibm,rainier-2u_associations.json
Change-Id: I422374d25966e731147eebd1772d5cfc4f62f9d9
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|