Project

General

Profile

Actions

Feature #2595

closed

Expose more existing rubyipmi features as BMC smart-proxy APIs

Added by Konstantin Orekhov almost 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
BMC
Target version:
-
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Dominic Cleal almost 11 years ago

  • Category set to BMC
  • Status changed from New to Assigned
  • Assignee set to Konstantin Orekhov
Actions #2

Updated by Konstantin Orekhov almost 11 years ago

Submitted another enhancement request to add SEL (system event log) feature to rubyipmi - https://github.com/logicminds/rubyipmi/issues/6
in addition to https://github.com/logicminds/rubyipmi/issues/7 to add "sensors/get <sensor name>".

Actions #3

Updated by Corey Osman about 9 years ago

  • 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.

Actions #4

Updated by The Foreman Bot about 7 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/505 added
Actions #5

Updated by The Foreman Bot almost 7 years ago

  • Pull request https://github.com/theforeman/smart-proxy/pull/521 added
Actions #6

Updated by Nick L. almost 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #7

Updated by Konstantin Orekhov over 6 years ago

Nick Liu wrote:

Applied in changeset a9332b68542b3a4473cd1ce84c8740c093e21f3a.

Is this feature released? If so, which version of Foreman this is included in?

Actions #8

Updated by Marek Hulán over 6 years ago

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.

Actions #9

Updated by Nick L. over 6 years ago

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.

Actions

Also available in: Atom PDF