Prompt for IOM1 or IOM2 in serial configure workflow
Previously hardcoded to IOM1. Now asks which IOM the serial cable is connected to after login, and threads that choice through all Redfish paths in fetch_current_config and collect_network_config. apply_configuration and print_summary already used cfg.iom1.iom for paths so needed no changes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -39,12 +39,12 @@ modules/
|
||||
## Workflows
|
||||
|
||||
### 1 — Serial Network Configuration (`workflow_serial.py`)
|
||||
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.
|
||||
5-step workflow using the USB serial cable. The serial cable connects to one IOM's console port at a time — the user is prompted to select IOM1 or IOM2 after login, and all Redfish paths use that selection.
|
||||
1. Detect USB serial device (`/dev/ttyUSB*`, `/dev/ttyACM*`, `/dev/ttyU*`)
|
||||
2. Open 115200-baud 8N1 connection and wake the IOM console
|
||||
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
|
||||
3. Prompt for IOM1 or IOM2, then 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`
|
||||
|
||||
### 2 — Firmware Update (`workflow_firmware.py`)
|
||||
Updates IOM firmware and/or Fabric Card firmware over the network:
|
||||
|
||||
Reference in New Issue
Block a user