Home
last modified time | relevance | path

Searched refs:CHASSIS_ID (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/
H A Dchassis-powercycle13 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 Dchassis-poweron13 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 Dhost-powercycle8 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 Dchassis-poweroff13 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 Dcheck-i3c-hub11 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 Dhost-poweron-failure8 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 Dchassis-poweron-failure11 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 Dchassis-powercycle12 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 Dchassis-poweron7 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 Dchassis-poweroff7 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 Dslot-unplug17 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 Dslot-plug-in17 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 Dtest_sensor_monitoring.robot29 ${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 Dtest_powersubsystem_settings.robot71 ${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 Dtest_systems_inventory.robot124 ${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 Dtest_thermal_ambient_temperatures.robot53 ... ${REDFISH_CHASSIS_URI}/${CHASSIS_ID}/Thermal ${reading_type}
/openbmc/openbmc-test-automation/redfish/dmtf_tools/
H A Dtest_redfishtool_general.robot34 ${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 Dphosphor-create-chassis-poweron-log@.service17 xyz.openbmc_project.Logging.Entry.Level.Informational 1 CHASSIS_ID %i"
/openbmc/openbmc-test-automation/systest/
H A Dtest_bmc_poll_errors.robot44 Redfish.Get /redfish/v1/Chassis/${CHASSIS_ID}/Sensors
/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_fru.robot31 ... /redfish/v1/Chassis/${CHASSIS_ID}/PowerSubsystem/PowerSupplies
H A Dtest_ipmi_sensor.robot331 ... /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 Dresource.robot37 ${CHASSIS_ID} chassis variable
H A Denergy_scale_utils.robot12 ${power_cap_uri} /redfish/v1/Chassis/${CHASSIS_ID}/EnvironmentMetrics
/openbmc/openbmc-test-automation/redfish/service_root/
H A Dtest_service_root.robot53 ${HTTP_OK} /redfish/v1/Chassis/${CHASSIS_ID}
H A Dtest_sessions_management.robot170 ... required_values=[{'@odata.id': '/redfish/v1/Chassis/${CHASSIS_ID}'}]

12