Feature #2595
closed
Expose more existing rubyipmi features as BMC smart-proxy APIs
Added by Konstantin Orekhov over 11 years ago.
Updated about 7 years ago.
Description
Additional BMC features in smart-proxy to expose already existing ones in rubyipmi/ipmitool (0.5.1)
- fru list
- bmc info
- power reset
- sel
- bmc ip source (dhcp/static)
- bmc reset <cold|warm> (this one needs to be added to rubyipmi library first, https://github.com/logicminds/rubyipmi/issues/4)
I'll be working on the above and submit a pull request.
- Category set to BMC
- Status changed from New to Assigned
- Assignee set to Konstantin Orekhov
- Description updated (diff)
I think this could be achieved by using the forwardable pattern or using @conn as a delegate to expose all the commands to the BMC ipmi class.
https://github.com/theforeman/smart-proxy/blob/develop/modules/bmc/ipmi.rb
It would be a lot of refactoring but definitely worth it since all Rubyipmi commands would be exposed automatically which we could probably write a smart enough BMC API call to run virtually any command and return 501 if its not implemented.
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/smart-proxy/pull/505 added
- Pull request https://github.com/theforeman/smart-proxy/pull/521 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
This added new API endpoints to Foreman proxy. Based on date, I think it is in 1.15. I don't see any change in Foreman that would use it.
Konstantin Orekhov wrote:
Nick Liu wrote:
Applied in changeset a9332b68542b3a4473cd1ce84c8740c093e21f3a.
Is this feature released? If so, which version of Foreman this is included in?
These new API methods were introduced in Smart Proxy 1.16. Foreman 1.16, however, does not use any of these new API methods.
Also available in: Atom
PDF