Open johnnybubonic opened 2 years ago
Hi @johnnybubonic, I have no need for in-band access I'm afraid, but happy to advise on a PR.
For Supermicro specifically, SUM might be able to activate the license locally. This definitely sounds like something it should be able to do.
Yeah, already leveraging SUM for the actual activation but needed a way to get the BMC MAC locally. I'll have to revisit this.
If its of any use, I've been working on a Go library that wraps around various hardware vendor utilities - https://github.com/metal-toolbox/ironlib/ to expose a common set of interface methods.
Howdy. I appreciate the apparent large amount of work you've put into this project.
Would it be possible to add in-band (i.e. local) support? I ask because I'm trying to add functionality via Golang to issue BMC license activations locally for Super Micro. (Yes, their IPMI requires licensing for some features.) It seems that it can at least be done remotely with RCMP+ (which I found out via a packet dump...), but it'd be a boon to datacenter operations if they're able to do it from a crashcart or before network is provisioned to the BMC.
I'm unsure about Windows (multi-platform infra is just... a joy) but it seems Linux provides certain character devices (/dev/ipmi0, /dev/imb, etc.) that allow for pretty easy in-band management.
If you do decide to support this, the IPMIUtil source may be a good starting point as it supports both remote and in-band for a multitude of OSes and may provide some hints.