Limit serial workflows to IOM1 only — IOM2 unreachable over serial
The serial cable connects to IOM1's console port. IOM2 cannot be queried or configured via the serial connection. Updated all serial-path code to reflect this: workflow_serial.py: - fetch_current_config: query IOM1 only, single-row table - collect_network_config: prompt for IOM1 settings only, drop IOM2 section - apply_configuration: apply to IOM1 only, single-row result table - print_summary: IOM1-only table, updated warning text workflow_check.py (_check_via_serial): - Query IOM1 only for network settings, IOM firmware, and Fabric Card firmware CLAUDE.md updated to document the IOM1-only serial limitation. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
10
CLAUDE.md
10
CLAUDE.md
@@ -39,12 +39,12 @@ modules/
|
||||
## Workflows
|
||||
|
||||
### 1 — Serial Network Configuration (`workflow_serial.py`)
|
||||
5-step workflow using the USB serial cable:
|
||||
5-step workflow using the USB serial cable. **Serial access is limited to IOM1 only** — the cable connects to IOM1's console port; IOM2 cannot be queried or configured this way.
|
||||
1. Detect USB serial device (`/dev/ttyUSB*`, `/dev/ttyACM*`, `/dev/ttyU*`)
|
||||
2. Open 115200-baud 8N1 connection and wake the IOM console
|
||||
3. Query current network settings via Redfish (`GET` over `127.0.0.1`)
|
||||
4. Collect new settings from user (Static IP or DHCP)
|
||||
5. Apply via Redfish `PATCH` over `127.0.0.1`
|
||||
3. Query IOM1 current network settings via Redfish (`GET` over `127.0.0.1`)
|
||||
4. Collect new settings from user (Static IP or DHCP) for IOM1
|
||||
5. Apply via Redfish `PATCH` over `127.0.0.1` to IOM1
|
||||
|
||||
### 2 — Firmware Update (`workflow_firmware.py`)
|
||||
Updates IOM firmware and/or Fabric Card firmware over the network:
|
||||
@@ -58,7 +58,7 @@ Updates IOM firmware and/or Fabric Card firmware over the network:
|
||||
|
||||
### 3 — System Check (`workflow_check.py`)
|
||||
Read-only diagnostic workflow — queries current network settings and firmware versions, makes no changes:
|
||||
- **Serial:** logs in via serial console, queries both IOMs using `_serial_redfish_request()` (curl over the serial session); covers network settings, IOM firmware, and Fabric Card firmware
|
||||
- **Serial:** logs in via serial console, queries IOM1 only using `_serial_redfish_request()` (curl over the serial session); covers network settings, IOM firmware, and Fabric Card firmware. IOM2 is not reachable over serial.
|
||||
- **Network:** prompts for management IP(s), queries via direct HTTPS using `Admin` credentials; reuses `_redfish_request()`, `_get_iom_fw_version()`, `_get_fabric_fw_version()` from `redfish.py`
|
||||
- Displays results in two tables: network configuration and firmware versions
|
||||
- User selects Serial, Network, or Cancel at the sub-menu prompt
|
||||
|
||||
Reference in New Issue
Block a user