George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 1 | { |
| 2 | # Power on boot types: |
| 3 | |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 4 | # Initiate a power on using the Redfish API interface. |
| 5 | "Redfish Power On": { |
| 6 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 7 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 8 | "chassis": "^Off$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 9 | "host": "^Disabled$" |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 10 | }, |
| 11 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 12 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 13 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 14 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 15 | "os_ping": "^1$", |
| 16 | "os_login": "^1$", |
| 17 | "os_run_cmd": "^1$" |
| 18 | }, |
| 19 | "bmc_reboot": 0, |
| 20 | "method_type": "keyword", |
| 21 | "method": "Redfish Power Operation On", |
| 22 | "lib_file_path": "bmc_redfish_utils.robot" |
| 23 | }, |
| 24 | # Initiate a power on using the IPMI interface. |
| 25 | "IPMI Power On": { |
| 26 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 27 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 28 | "chassis": "^Off$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 29 | "host": "^Disabled$" |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 30 | }, |
| 31 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 32 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 33 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 34 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 35 | "os_ping": "^1$", |
| 36 | "os_login": "^1$", |
| 37 | "os_run_cmd": "^1$" |
| 38 | }, |
| 39 | "bmc_reboot": 0, |
| 40 | "method_type": "keyword", |
| 41 | "method": "Run External IPMI Standard Command power on -N 10 -R 1", |
| 42 | "lib_file_path": "ipmi_client.robot" |
| 43 | }, |
| 44 | |
| 45 | # Power off boot types: |
| 46 | |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 47 | # Initiate a power off using the Redfish API interface. |
| 48 | "Redfish Power Off": { |
| 49 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 50 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 51 | "chassis": "^On$" |
| 52 | }, |
| 53 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 54 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 55 | "chassis": "^Off$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 56 | "host": "^Disabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 57 | "os_ping": "^0$", |
| 58 | "os_login": "^0$", |
| 59 | "os_run_cmd": "^0$" |
| 60 | }, |
| 61 | "bmc_reboot": 0, |
| 62 | "method_type": "keyword", |
| 63 | "method": "Redfish Power Operation GracefulShutdown", |
| 64 | "lib_file_path": "bmc_redfish_utils.robot" |
| 65 | }, |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 66 | # Initiate a hard power off using the Redfish API interface. |
| 67 | "Redfish Hard Power Off": { |
| 68 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 69 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 70 | "chassis": "^On$" |
| 71 | }, |
| 72 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 73 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 74 | "chassis": "^Off$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 75 | "host": "^Disabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 76 | "os_ping": "^0$", |
| 77 | "os_login": "^0$", |
| 78 | "os_run_cmd": "^0$" |
| 79 | }, |
| 80 | "bmc_reboot": 0, |
| 81 | "method_type": "keyword", |
| 82 | "method": "Redfish Power Operation ForceOff", |
| 83 | "lib_file_path": "bmc_redfish_utils.robot" |
| 84 | }, |
| 85 | # Initiate a power off using the IPMI interface. |
| 86 | "IPMI Power Off": { |
| 87 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 88 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 89 | "chassis": "^On$" |
| 90 | }, |
| 91 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 92 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 93 | "chassis": "^Off$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 94 | "host": "^Disabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 95 | "os_ping": "^0$", |
| 96 | "os_login": "^0$", |
| 97 | "os_run_cmd": "^0$" |
| 98 | }, |
| 99 | "bmc_reboot": 0, |
| 100 | "method_type": "keyword", |
| 101 | "method": "Run External IPMI Standard Command power off -N 10 -R 1", |
| 102 | "lib_file_path": "ipmi_client.robot" |
| 103 | }, |
| 104 | # Initiate a power soft using the IPMI interface. |
| 105 | "IPMI Power Soft": { |
| 106 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 107 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 108 | "chassis": "^On$" |
| 109 | }, |
| 110 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 111 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 112 | "chassis": "^Off$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 113 | "host": "^Disabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 114 | "os_ping": "^0$", |
| 115 | "os_login": "^0$", |
| 116 | "os_run_cmd": "^0$" |
| 117 | }, |
| 118 | "bmc_reboot": 0, |
| 119 | "method_type": "keyword", |
| 120 | "method": "Run External IPMI Standard Command power soft -N 10 -R 1", |
| 121 | "lib_file_path": "ipmi_client.robot" |
| 122 | }, |
| 123 | # Run a "shutdown" command on the OS_HOST. |
| 124 | "Host Power Off": { |
| 125 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 126 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 127 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 128 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 129 | "os_ping": "^1$", |
| 130 | "os_login": "^1$", |
| 131 | "os_run_cmd": "^1$" |
| 132 | }, |
| 133 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 134 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 135 | "chassis": "^Off$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 136 | "host": "^Disabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 137 | "os_ping": "^0$", |
| 138 | "os_login": "^0$", |
| 139 | "os_run_cmd": "^0$" |
| 140 | }, |
| 141 | "bmc_reboot": 0, |
| 142 | "method_type": "keyword", |
| 143 | "method": "utils.Initiate OS Host Power Off", |
| 144 | "lib_file_path": "utils.robot" |
| 145 | }, |
| 146 | |
| 147 | # OBMC re-boot boot types: |
| 148 | |
| 149 | # APOR - Auto Power On Restart - Note that this is functionally equivalent |
| 150 | # to 'PDU AC Cycle (run)'. |
| 151 | "APOR": { |
| 152 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 153 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 154 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 155 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 156 | "os_ping": "^1$", |
| 157 | "os_login": "^1$", |
| 158 | "os_run_cmd": "^1$" |
| 159 | }, |
| 160 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 161 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 162 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 163 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 164 | "os_ping": "^1$", |
| 165 | "os_login": "^1$", |
| 166 | "os_run_cmd": "^1$" |
| 167 | }, |
| 168 | "bmc_reboot": 1, |
| 169 | "method_type": "keyword", |
| 170 | "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle", |
| 171 | "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot" |
| 172 | }, |
| 173 | # Run a "reboot" on the OBMC while host is running. |
| 174 | "OBMC Reboot (run)": { |
| 175 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 176 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 177 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 178 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 179 | "os_ping": "^1$", |
| 180 | "os_login": "^1$", |
| 181 | "os_run_cmd": "^1$" |
| 182 | }, |
| 183 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 184 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 185 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 186 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 187 | "os_ping": "^1$", |
| 188 | "os_login": "^1$", |
| 189 | "os_run_cmd": "^1$" |
| 190 | }, |
| 191 | "bmc_reboot": 1, |
| 192 | "method_type": "keyword", |
| 193 | "method": "BMC Execute Command /sbin/reboot fork=${1}" |
| 194 | }, |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 195 | # Run a Redfish "reboot" on the OBMC while host is running. |
| 196 | "Redfish OBMC Reboot (run)": { |
| 197 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 198 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 199 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 200 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 201 | "os_ping": "^1$", |
| 202 | "os_login": "^1$", |
| 203 | "os_run_cmd": "^1$" |
| 204 | }, |
| 205 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 206 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 207 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 208 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 209 | "os_ping": "^1$", |
| 210 | "os_login": "^1$", |
| 211 | "os_run_cmd": "^1$" |
| 212 | }, |
| 213 | "bmc_reboot": 1, |
| 214 | "method_type": "keyword", |
| 215 | "method": "Redfish BMC Reset Operation", |
| 216 | "lib_file_path": "bmc_redfish_utils.robot" |
| 217 | }, |
| 218 | # Run a "reboot" on the OBMC while host is off. |
| 219 | "OBMC Reboot (off)": { |
| 220 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 221 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 222 | "chassis": "^Off$" |
| 223 | }, |
| 224 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 225 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 226 | "chassis": "^Off$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 227 | "host": "^Disabled$" |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 228 | }, |
| 229 | "bmc_reboot": 1, |
| 230 | "method_type": "keyword", |
| 231 | "method": "BMC Execute Command /sbin/reboot fork=${1}" |
| 232 | }, |
| 233 | # Run a "reboot" on the OBMC while host is off. |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 234 | "Redfish OBMC Reboot (off)": { |
| 235 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 236 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 237 | "chassis": "^Off$" |
| 238 | }, |
| 239 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 240 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 241 | "chassis": "^Off$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 242 | "host": "^Disabled$" |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 243 | }, |
| 244 | "bmc_reboot": 1, |
| 245 | "method_type": "keyword", |
| 246 | "method": "Redfish BMC Reset Operation", |
| 247 | "lib_file_path": "bmc_redfish_utils.robot" |
| 248 | }, |
| 249 | # Cycle AC via the PDU while host is off. |
| 250 | "PDU AC Cycle (run)": { |
| 251 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 252 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 253 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 254 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 255 | "os_ping": "^1$", |
| 256 | "os_login": "^1$", |
| 257 | "os_run_cmd": "^1$" |
| 258 | }, |
| 259 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 260 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 261 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 262 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 263 | "os_ping": "^1$", |
| 264 | "os_login": "^1$", |
| 265 | "os_run_cmd": "^1$" |
| 266 | }, |
| 267 | "bmc_reboot": 1, |
| 268 | "method_type": "keyword", |
| 269 | "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle", |
| 270 | "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot" |
| 271 | }, |
| 272 | # Cycle AC via the PDU while host is off. |
| 273 | "PDU AC Cycle (off)": { |
| 274 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 275 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 276 | "chassis": "^Off$" |
| 277 | }, |
| 278 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 279 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 280 | "chassis": "^Off$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 281 | "host": "^Disabled$" |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 282 | }, |
| 283 | "bmc_reboot": 1, |
| 284 | "method_type": "keyword", |
| 285 | "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle", |
| 286 | "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot" |
| 287 | }, |
| 288 | # Initiate an mc reset warm using the IPMI interface while chassis is |
| 289 | # powered on. |
| 290 | "IPMI MC Reset Warm (run)": { |
| 291 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 292 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 293 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 294 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 295 | "os_ping": "^1$", |
| 296 | "os_login": "^1$", |
| 297 | "os_run_cmd": "^1$" |
| 298 | }, |
| 299 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 300 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 301 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 302 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 303 | "os_ping": "^1$", |
| 304 | "os_login": "^1$", |
| 305 | "os_run_cmd": "^1$" |
| 306 | }, |
| 307 | "bmc_reboot": 1, |
| 308 | "method_type": "keyword", |
| 309 | "method": "Run External IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn", |
| 310 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 311 | }, |
| 312 | # Initiate an mc reset warm using the IPMI interface while chassis is |
| 313 | # powered off. |
| 314 | "IPMI MC Reset Warm (off)": { |
| 315 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 316 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 317 | "chassis": "^Off$" |
| 318 | }, |
| 319 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 320 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 321 | "chassis": "^Off$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 322 | "host": "^Disabled$" |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 323 | }, |
| 324 | "bmc_reboot": 1, |
| 325 | "method_type": "keyword", |
| 326 | "method": "Run External IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn", |
| 327 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 328 | }, |
| 329 | # Initiate an mc reset cold using the IPMI interface while chassis is |
| 330 | # powered on. |
| 331 | "IPMI MC Reset Cold (run)": { |
| 332 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 333 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 334 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 335 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 336 | "os_ping": "^1$", |
| 337 | "os_login": "^1$", |
| 338 | "os_run_cmd": "^1$" |
| 339 | }, |
| 340 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 341 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 342 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 343 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 344 | "os_ping": "^1$", |
| 345 | "os_login": "^1$", |
| 346 | "os_run_cmd": "^1$" |
| 347 | }, |
| 348 | "bmc_reboot": 1, |
| 349 | "method_type": "keyword", |
| 350 | "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn", |
| 351 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 352 | }, |
| 353 | # Initiate an mc reset cold using the IPMI interface while chassis is |
| 354 | # powered off. |
| 355 | "IPMI MC Reset Cold (off)": { |
| 356 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 357 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 358 | "chassis": "^Off$" |
| 359 | }, |
| 360 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 361 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 362 | "chassis": "^Off$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 363 | "host": "^Disabled$" |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 364 | }, |
| 365 | "bmc_reboot": 1, |
| 366 | "method_type": "keyword", |
| 367 | "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn", |
| 368 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 369 | }, |
| 370 | # Initiate an mc reset warm using the IPMI standard interface while chassis |
| 371 | # is powered on. |
| 372 | "IPMI Std MC Reset Warm (run)": { |
| 373 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 374 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 375 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 376 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 377 | "os_ping": "^1$", |
| 378 | "os_login": "^1$", |
| 379 | "os_run_cmd": "^1$" |
| 380 | }, |
| 381 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 382 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 383 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 384 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 385 | "os_ping": "^1$", |
| 386 | "os_login": "^1$", |
| 387 | "os_run_cmd": "^1$" |
| 388 | }, |
| 389 | "bmc_reboot": 1, |
| 390 | "method_type": "keyword", |
| 391 | "method": "Run IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn", |
| 392 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 393 | }, |
| 394 | # Initiate an mc reset warm using the IPMI standard interface while chassis |
| 395 | # is powered off. |
| 396 | "IPMI Std MC Reset Warm (off)": { |
| 397 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 398 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 399 | "chassis": "^Off$" |
| 400 | }, |
| 401 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 402 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 403 | "chassis": "^Off$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 404 | "host": "^Disabled$" |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 405 | }, |
| 406 | "bmc_reboot": 1, |
| 407 | "method_type": "keyword", |
| 408 | "method": "Run IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn", |
| 409 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 410 | }, |
| 411 | # Initiate an mc reset cold using the IPMI standard interface while chassis |
| 412 | # is powered on. |
| 413 | "IPMI Std MC Reset Cold (run)": { |
| 414 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 415 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 416 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 417 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 418 | "os_ping": "^1$", |
| 419 | "os_login": "^1$", |
| 420 | "os_run_cmd": "^1$" |
| 421 | }, |
| 422 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 423 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 424 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 425 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 426 | "os_ping": "^1$", |
| 427 | "os_login": "^1$", |
| 428 | "os_run_cmd": "^1$" |
| 429 | }, |
| 430 | "bmc_reboot": 1, |
| 431 | "method_type": "keyword", |
| 432 | "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn", |
| 433 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 434 | }, |
| 435 | # Initiate an mc reset cold using the IPMI standard interface while chassis |
| 436 | # is powered off. |
| 437 | "IPMI Std MC Reset Cold (off)": { |
| 438 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 439 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 440 | "chassis": "^Off$" |
| 441 | }, |
| 442 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 443 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 444 | "chassis": "^Off$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 445 | "host": "^Disabled$" |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 446 | }, |
| 447 | "bmc_reboot": 1, |
| 448 | "method_type": "keyword", |
| 449 | "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn", |
| 450 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 451 | }, |
| 452 | |
| 453 | # Host OS re-boot boot types: |
| 454 | |
| 455 | # Initiate a power cycle using the IPMI interface (equivalent to off/on). |
| 456 | "IPMI Power Cycle": { |
| 457 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 458 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 459 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 460 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 461 | "os_ping": "^1$", |
| 462 | "os_login": "^1$", |
| 463 | "os_run_cmd": "^1$" |
| 464 | }, |
| 465 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 466 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 467 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 468 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 469 | "os_ping": "^1$", |
| 470 | "os_login": "^1$", |
| 471 | "os_run_cmd": "^1$" |
| 472 | }, |
| 473 | "bmc_reboot": 0, |
| 474 | "method_type": "keyword", |
| 475 | "method": "Run External IPMI Standard Command power cycle -N 10 -R 1", |
| 476 | "lib_file_path": "ipmi_client.robot" |
| 477 | }, |
| 478 | # Initiate a power reset using the IPMI interface (equivalent to off/on). |
| 479 | # Functionally equivalent to "IPMI Power Cycle". |
| 480 | "IPMI Power Reset": { |
| 481 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 482 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 483 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 484 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 485 | "os_ping": "^1$", |
| 486 | "os_login": "^1$", |
| 487 | "os_run_cmd": "^1$" |
| 488 | }, |
| 489 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 490 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 491 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 492 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 493 | "os_ping": "^1$", |
| 494 | "os_login": "^1$", |
| 495 | "os_run_cmd": "^1$" |
| 496 | }, |
| 497 | "bmc_reboot": 0, |
| 498 | "method_type": "keyword", |
| 499 | "method": "Run External IPMI Standard Command power reset -N 10 -R 1", |
| 500 | "lib_file_path": "ipmi_client.robot" |
| 501 | }, |
| 502 | # Do an auto reboot by setting auto reboot to "yes" and going to quiesce state. |
| 503 | "Auto Reboot": { |
| 504 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 505 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 506 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 507 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 508 | "os_ping": "^1$", |
| 509 | "os_login": "^1$", |
| 510 | "os_run_cmd": "^1$" |
| 511 | }, |
| 512 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 513 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 514 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 515 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 516 | "os_ping": "^1$", |
| 517 | "os_login": "^1$", |
| 518 | "os_run_cmd": "^1$" |
| 519 | }, |
| 520 | "bmc_reboot": 0, |
| 521 | "method_type": "keyword", |
| 522 | "method": "utils.Initiate Auto Reboot 1000", |
| 523 | "lib_file_path": "utils.robot" |
| 524 | }, |
| 525 | # Run a "reboot" command on the OS_HOST. |
| 526 | "Host Reboot": { |
| 527 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 528 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 529 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 530 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 531 | "os_ping": "^1$", |
| 532 | "os_login": "^1$", |
| 533 | "os_run_cmd": "^1$" |
| 534 | }, |
| 535 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 536 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 537 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 538 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 539 | "os_ping": "^1$", |
| 540 | "os_login": "^1$", |
| 541 | "os_run_cmd": "^1$" |
| 542 | }, |
| 543 | "bmc_reboot": 0, |
| 544 | "method_type": "keyword", |
| 545 | "method": "utils.Initiate OS Host Reboot", |
| 546 | "lib_file_path": "utils.robot" |
| 547 | }, |
| 548 | # Initiate host reboot using the Redfish API interface (GracefulRestart). |
| 549 | "RF SYS GracefulRestart": { |
| 550 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 551 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 552 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 553 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 554 | "os_ping": "^1$", |
| 555 | "os_login": "^1$", |
| 556 | "os_run_cmd": "^1$" |
| 557 | }, |
| 558 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 559 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 560 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 561 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 562 | "os_ping": "^1$", |
| 563 | "os_login": "^1$", |
| 564 | "os_run_cmd": "^1$" |
| 565 | }, |
| 566 | "bmc_reboot": 0, |
| 567 | "method_type": "keyword", |
| 568 | "method": "Redfish Power Operation GracefulRestart", |
| 569 | "lib_file_path": "bmc_redfish_utils.robot" |
| 570 | }, |
| 571 | # Initiate host reboot using the Redfish API interface (ForceRestart). |
| 572 | "RF SYS ForceRestart": { |
| 573 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 574 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 575 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 576 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 577 | "os_ping": "^1$", |
| 578 | "os_login": "^1$", |
| 579 | "os_run_cmd": "^1$" |
| 580 | }, |
| 581 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 582 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 583 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 584 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 585 | "os_ping": "^1$", |
| 586 | "os_login": "^1$", |
| 587 | "os_run_cmd": "^1$" |
| 588 | }, |
| 589 | "bmc_reboot": 0, |
| 590 | "method_type": "keyword", |
| 591 | "method": "Redfish Power Operation ForceRestart", |
| 592 | "lib_file_path": "bmc_redfish_utils.robot" |
| 593 | }, |
| 594 | # OPAL Terminate Immediate. |
| 595 | "OPAL TI": { |
| 596 | "start": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 597 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 598 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 599 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 600 | "os_ping": "^1$", |
| 601 | "os_login": "^1$", |
| 602 | "os_run_cmd": "^1$" |
| 603 | }, |
| 604 | "end": { |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 605 | "redfish": "^1$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 606 | "chassis": "^On$", |
George Keishing | b51d150 | 2021-03-25 03:30:33 -0500 | [diff] [blame] | 607 | "host": "^Enabled$", |
George Keishing | 18f15dd | 2021-03-09 11:17:35 -0600 | [diff] [blame] | 608 | "os_ping": "^1$", |
| 609 | "os_login": "^1$", |
| 610 | "os_run_cmd": "^1$" |
| 611 | }, |
| 612 | "bmc_reboot": 0, |
| 613 | "method_type": "keyword", |
| 614 | "method": "Inject OPAL TI", |
| 615 | "lib_file_path": "open_power_utils.robot" |
| 616 | } |
| 617 | } |