IPMI LAN command story design - try 3rd send

Tom Joseph tomjose at linux.vnet.ibm.com
Fri Dec 15 16:08:08 AEDT 2017



On Friday 15 December 2017 03:25 AM, Jeremy Kerr wrote:
> Hi Vernon,
>
>> I would agree. ipmitool is broken. It should have a
>> network-start-configure mechanism that would set the set-complete bit.
>> The you could send any number of its network configuration parameters.
>> Then it should have a network-finish-configure command that would clear
>> the set-complete bit.
> Or, even simpler: allow multiple parameter changes on one invocation:
>
>   ipmitool [...] lan set 1 ipsrc static ipaddr 192.168.0.2 netmask 255.255.255.0
>
> [which changes all parameters under one transition of the set-complete
> flag]
>
> Then, there's no need to modify existing users' behaviour, and no
> concern about forgetting to apply.

Jeremy,

I was carried away by the ipmitool implementation when i was trying to 
understand how this works.

But this looks like a neat way to get the network settings applied.

>
> Regards,
>
>
> Jeremy
>



More information about the openbmc mailing list