/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/ |
H A D | chassis-powercycle | 13 CHASSIS_ID=$1 14 IO_EXP_SLOT_PWR_STATUS=$((CHASSIS_ID - 1)) 18 IO_EXP_SLOT_12V_STATUS=$((CHASSIS_ID + 23)) 33 local target_slot="$CHASSIS_ID" 86 CHASSIS_ID=$1 93 if [ "$CHASSIS_ID" -le 8 ] 110 msg="Failed to set slot$CHASSIS_ID power off" 114 echo "Succeed to set slot$CHASSIS_ID power off" 123 msg="Failed to set slot$CHASSIS_ID power on" 146 msg="Chassis$CHASSIS_ID cycle success" [all …]
|
H A D | chassis-poweron | 13 CHASSIS_ID=$1 15 IO_EXP_SLOT_PWR_STATUS=$((CHASSIS_ID - 1)) 17 IO_EXP_SLOT_12V_STATUS=$((CHASSIS_ID + 23)) 51 …busctl set-property "$CHASSIS_BUS_NAME""$CHASSIS_ID" "$CHASSIS_OBJ_PATH""$CHASSIS_ID" "$CHASSIS_IN… 52 echo "Chassis$CHASSIS_ID is power on" 54 …busctl set-property "$CHASSIS_BUS_NAME""$CHASSIS_ID" "$CHASSIS_OBJ_PATH""$CHASSIS_ID" "$CHASSIS_IN… 55 msg="Failed to power on Chassis$CHASSIS_ID, Chassis$CHASSIS_ID is power off" 81 /usr/libexec/phosphor-state-manager/wait-until-mctp-connection-done "$CHASSIS_ID" 89 systemctl restart "phosphor-discover-system-state@$CHASSIS_ID.service" 90 echo "Power on Host$CHASSIS_ID"
|
H A D | host-powercycle | 8 CHASSIS_ID=$1 10 CHASSIS_BUS=$((CHASSIS_ID - 1)) 14 EID=$((CHASSIS_ID * 10)) 34 …busctl set-property "$HOST_BUS_NAME""$CHASSIS_ID" "$HOST_OBJ_PATH""$CHASSIS_ID" "$HOST_INTF_NAME" … 43 …busctl set-property "$HOST_BUS_NAME""$CHASSIS_ID" "$HOST_OBJ_PATH""$CHASSIS_ID" "$HOST_INTF_NAME" … 44 msg="Do power cycle fail, fail to set host$CHASSIS_ID power off" 60 msg="Do power cycle, failed to set host$CHASSIS_ID power on" 67 …busctl set-property "$HOST_BUS_NAME""$CHASSIS_ID" "$HOST_OBJ_PATH""$CHASSIS_ID" "$HOST_INTF_NAME" …
|
H A D | chassis-poweroff | 13 CHASSIS_ID=$1 14 IO_EXP_SLOT_PWR_STATUS=$((CHASSIS_ID - 1)) 17 IO_EXP_SLOT_12V_STATUS=$((CHASSIS_ID + 23)) 27 local target_slot="$CHASSIS_ID" 84 msg="Failed to set slot$CHASSIS_ID power off" 94 …busctl set-property "$CHASSIS_BUS_NAME""$CHASSIS_ID" "$CHASSIS_OBJ_PATH""$CHASSIS_ID" "$CHASSIS_IN… 95 echo "Chassis$CHASSIS_ID is power off" 97 …busctl set-property "$CHASSIS_BUS_NAME""$CHASSIS_ID" "$CHASSIS_OBJ_PATH""$CHASSIS_ID" "$CHASSIS_IN… 98 msg="Failed to power off Chassis$CHASSIS_ID, Chassis$CHASSIS_ID is power on" 135 echo "Chassis$CHASSIS_ID is already off"
|
H A D | check-i3c-hub | 11 CHASSIS_ID=$1 12 IO_EXP_SLOT_PWR_STATUS=$((CHASSIS_ID - 1)) 82 if [ "$CHASSIS_ID" -ge 1 ] && [ "$CHASSIS_ID" -le 8 ] 87 echo "Chassis$CHASSIS_ID is on, check i3c hub is enabled" 88 check_i3c_hub_status "$CHASSIS_ID" "on" 91 echo "Chassis$CHASSIS_ID is off, check i3c hub is disabled" 92 check_i3c_hub_status "$CHASSIS_ID" "off" 94 echo "Chassis$CHASSIS_ID status is unknown, skipped"
|
H A D | host-poweron-failure | 8 CHASSIS_ID=$1 10 IO_EXP_SLOT_PWR_STATUS=$((CHASSIS_ID - 1)) 18 /bin/systemctl stop obmc-host-startmin@"${CHASSIS_ID}".target 21 …n/sh -c "busctl set-property $(mapper get-service /xyz/openbmc_project/state/host"${CHASSIS_ID}") \ 22 /xyz/openbmc_project/state/host${CHASSIS_ID} \
|
H A D | chassis-poweron-failure | 11 CHASSIS_ID=$1 12 IO_EXP_SLOT_PWR_STATUS=$((CHASSIS_ID - 1)) 20 /bin/systemctl stop obmc-chassis-poweron@"${CHASSIS_ID}".target 23 …h -c "busctl set-property $(mapper get-service /xyz/openbmc_project/state/chassis"${CHASSIS_ID}") \ 24 /xyz/openbmc_project/state/chassis${CHASSIS_ID} \
|
/openbmc/openbmc/meta-facebook/meta-greatlakes/recipes-phosphor/state/phosphor-state-manager/ |
H A D | chassis-powercycle | 12 CHASSIS_ID=$1 14 if [ "$CHASSIS_ID" -le 4 ] 24 echo "chassis$CHASSIS_ID power off fail" 35 …busctl set-property "$CHASSIS_BUS_NAME""$CHASSIS_ID" "$CHASSIS_OBJ_PATH""$CHASSIS_ID" "$CHASSIS_IN… 38 …busctl set-property "$CHASSIS_BUS_NAME""$CHASSIS_ID" "$CHASSIS_OBJ_PATH""$CHASSIS_ID" "$CHASSIS_IN…
|
H A D | chassis-poweron | 7 CHASSIS_ID=$1 22 …busctl set-property "$CHASSIS_BUS_NAME""$CHASSIS_ID" "$CHASSIS_OBJ_PATH""$CHASSIS_ID" "$CHASSIS_IN… 25 …busctl set-property "$CHASSIS_BUS_NAME""$CHASSIS_ID" "$CHASSIS_OBJ_PATH""$CHASSIS_ID" "$CHASSIS_IN…
|
H A D | chassis-poweroff | 7 CHASSIS_ID=$1 22 …busctl set-property "$CHASSIS_BUS_NAME""$CHASSIS_ID" "$CHASSIS_OBJ_PATH""$CHASSIS_ID" "$CHASSIS_IN… 25 …busctl set-property "$CHASSIS_BUS_NAME""$CHASSIS_ID" "$CHASSIS_OBJ_PATH""$CHASSIS_ID" "$CHASSIS_IN…
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | slot-unplug | 17 CHASSIS_ID="$1" 19 busctl set-property "xyz.openbmc_project.State.Host$CHASSIS_ID" \ 20 "/xyz/openbmc_project/state/host$CHASSIS_ID" \ 23 busctl set-property "xyz.openbmc_project.State.Chassis$CHASSIS_ID" \ 24 "/xyz/openbmc_project/state/chassis$CHASSIS_ID" \
|
H A D | slot-plug-in | 17 CHASSIS_ID="$1" 19 busctl set-property "xyz.openbmc_project.State.Chassis$CHASSIS_ID" \ 20 "/xyz/openbmc_project/state/chassis$CHASSIS_ID" \
|
/openbmc/openbmc-test-automation/redfish/systems/ |
H A D | test_sensor_monitoring.robot | 29 ${resp}= Redfish.Get /redfish/v1/Chassis/${CHASSIS_ID} 33 ... /redfish/v1/Chassis/${CHASSIS_ID}/Sensors 35 ... /redfish/v1/Chassis/${CHASSIS_ID}/Thermal 37 ... /redfish/v1/Chassis/${CHASSIS_ID}/Power 40 ${resp}= Redfish.Get /redfish/v1/Chassis/${CHASSIS_ID}/Power 48 ${resp}= Redfish.Get /redfish/v1/Chassis/${CHASSIS_ID}/Thermal 111 # /redfish/v1/Chassis/${CHASSIS_ID}/Power 116 # "@odata.id": "/redfish/v1/Chassis/${CHASSIS_ID}/Power#/Voltages/0", 150 ... /redfish/v1/Chassis/${CHASSIS_ID}/Sensors/${sensor_name}
|
H A D | test_powersubsystem_settings.robot | 71 ${resp}= Redfish.Get ${REDFISH_CHASSIS_URI}/${CHASSIS_ID}/PowerSubsystem/PowerSupplies 101 ${resp}= Redfish.Get ${REDFISH_CHASSIS_URI}/${CHASSIS_ID}/PowerSubsystem/PowerSupplies 117 ... ${REDFISH_CHASSIS_URI}/${CHASSIS_ID}/PowerSubsystem/PowerSupplies Members@odata.count
|
H A D | test_systems_inventory.robot | 124 ${serial_number}= Redfish.Get Attribute ${REDFISH_CHASSIS_URI}${CHASSIS_ID} SerialNumber 133 …${motherboard_manufacturer}= Redfish.Get Attribute ${REDFISH_CHASSIS_URI}${CHASSIS_ID} Manufact… 142 …${motherboard_part_number}= Redfish.Get Attribute ${REDFISH_CHASSIS_URI}${CHASSIS_ID} PartNumber 213 ... ${REDFISH_CHASSIS_URI}${CHASSIS_ID}/Power PowerSupplies
|
H A D | test_thermal_ambient_temperatures.robot | 53 ... ${REDFISH_CHASSIS_URI}/${CHASSIS_ID}/Thermal ${reading_type}
|
/openbmc/openbmc-test-automation/redfish/dmtf_tools/ |
H A D | test_redfishtool_general.robot | 34 ${sensor_status}= Redfishtool Get /redfish/v1/Chassis/${CHASSIS_ID}/Sensors 44 ${chassis_data}= Redfishtool Get /redfish/v1/Chassis/${CHASSIS_ID}/
|
/openbmc/phosphor-state-manager/service_files/ |
H A D | phosphor-create-chassis-poweron-log@.service | 17 xyz.openbmc_project.Logging.Entry.Level.Informational 1 CHASSIS_ID %i"
|
/openbmc/openbmc-test-automation/systest/ |
H A D | test_bmc_poll_errors.robot | 44 Redfish.Get /redfish/v1/Chassis/${CHASSIS_ID}/Sensors
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_fru.robot | 31 ... /redfish/v1/Chassis/${CHASSIS_ID}/PowerSubsystem/PowerSupplies
|
H A D | test_ipmi_sensor.robot | 331 ... /redfish/v1/Chassis/${CHASSIS_ID}/Sensors/power_total_power Reading 356 ${power}= Redfish.Get Properties /redfish/v1/Chassis/${CHASSIS_ID}/Power 453 @{redfish_readings}= Redfish.Get Attribute /redfish/v1/Chassis/${CHASSIS_ID}/Power Voltages
|
/openbmc/openbmc-test-automation/lib/ |
H A D | resource.robot | 37 ${CHASSIS_ID} chassis variable
|
H A D | energy_scale_utils.robot | 12 ${power_cap_uri} /redfish/v1/Chassis/${CHASSIS_ID}/EnvironmentMetrics
|
/openbmc/openbmc-test-automation/redfish/service_root/ |
H A D | test_service_root.robot | 53 ${HTTP_OK} /redfish/v1/Chassis/${CHASSIS_ID}
|
H A D | test_sessions_management.robot | 170 ... required_values=[{'@odata.id': '/redfish/v1/Chassis/${CHASSIS_ID}'}]
|