IPMI LAN command story design - try 3rd send

Patrick Venture venture at google.com
Fri Dec 15 10:35:23 AEDT 2017


Along with any change here, and sorry I haven't followed the email
thread is that the network configuration is applied when "access on"
is sent over IPMI and not when the "set complete" flag is set.  That's
an easy move of code from one place to another in the IPMI daemon.

On Thu, Dec 14, 2017 at 1:55 PM, Jeremy Kerr <jk at ozlabs.org> 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.
>
> Regards,
>
>
> Jeremy


More information about the openbmc mailing list