2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-05-08 09:40:11 +00:00
Files
xcat-core/xCAT-server/lib/xcat/plugins
Vinícius Ferrão d71c7f7ac6 Improve rspconfig SET readback and fix backupgateway SET target
On some BMCs (notably Supermicro), a GET immediately after SET
returns the old value until the BMC applies the change. This made
rspconfig output misleading for network setting operations.

- Store the canonical SET value after normalization and compare
  with the GET readback for ip, netmask, gateway, and backupgateway.
  When they differ, annotate the output:
  "BMC Gateway: 10.20.0.1 (requested 10.20.0.254, not yet reflected)"
- Consolidate ip/netmask/gateway/backupgateway display into one block
- Fix backupgateway SET: was routed through the gateway branch
  writing parameter 0x0C instead of 0x0E. Now has its own branch
  writing the correct IPMI parameter.
- ip=dhcp is unaffected (separate code path, never stores a value)

Tested on Supermicro IPMI BMC (10.20.0.51).

Fixes #3445
2026-05-03 21:01:42 -03:00
..
2026-04-23 02:01:33 -03:00
2016-07-20 11:40:27 -04:00
2018-01-24 03:16:41 -05:00
2017-09-07 15:50:11 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2024-05-07 16:19:25 +02:00
2026-04-28 03:35:53 -03:00
2024-05-07 16:19:25 +02:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2023-01-18 11:00:59 -05:00
2024-02-21 11:59:50 +01:00
2016-07-20 11:40:27 -04:00
2024-05-07 16:19:25 +02:00
2024-05-07 16:19:25 +02:00
2024-05-07 16:19:25 +02:00
2024-05-07 16:19:25 +02:00
2023-01-18 11:00:59 -05:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2019-10-28 14:33:54 -04:00
2024-05-07 16:19:25 +02:00
2024-05-07 16:19:25 +02:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2022-11-29 11:50:18 -05:00
2016-07-20 11:40:27 -04:00
2023-01-18 11:00:59 -05:00
2024-05-07 16:19:25 +02:00
2020-02-02 14:40:24 -05:00
2016-07-20 11:40:27 -04:00
2024-04-13 12:36:08 +05:30
2022-06-28 11:46:41 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2022-08-15 10:16:22 -04:00
2018-08-21 15:18:12 -04:00
2020-07-20 08:39:28 -04:00
2018-08-21 15:18:12 -04:00