2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-05-06 00:59:13 +00:00
Files
xcat-core/xCAT-server/lib/xcat/plugins
Vinícius Ferrão 2fa7fca1ad Allow rspconfig to disable VLAN on IPMI BMCs
rspconfig vlan= only accepted values 1-4096 with no way to disable
VLAN tagging. Users had to resort to raw IPMI commands to clear a
stale VLAN after ip=dhcp.

- Accept vlan=off/disable/disabled to clear VLAN tagging via
  standard IPMI parameter 0x14 with the enable bit unset
- Fix valid range from 1-4096 to 1-4094 (IEEE 802.1Q)
- Use strict digit matching to reject malformed inputs

To clear VLAN after a DHCP reset: rspconfig <node> vlan=off

Tested on Supermicro IPMI BMC (10.20.0.51).

Partially addresses #3725
2026-05-03 12:04:21 -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