IPMI LAN command story design - try 3rd send

Vernon Mauery vernon.mauery at linux.intel.com
Tue Dec 19 03:19:24 AEDT 2017


On 15-Dec-2017 10:38 AM, Tom Joseph wrote:
>
>
>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.

I agree. This makes it more like ip or ifconfig where you can set it all 
up with one command. So who is drafting the patch? :)

--Vernon


More information about the openbmc mailing list