I imagine the the API will require authentication. I think were need something like https://github.com/newrelic/puppet-dell/blob/master/lib/facter/idrac.rb
On Mon, 30 Oct 2017 at 13:31, Lukas Zapletal <[email protected]> wrote: > I can do the discovery part, but frankly not fully understand what > exactly how do we grab the fact value. Is that some value that needs > to be fetched from iDRAC API? > > LZ > > On Fri, Oct 27, 2017 at 12:47 PM, Konstantin Lepikhov > <[email protected]> wrote: > > Hi Greg! > > > > On 10/27/2017, at 10:25:20 AM you wrote: > > > >> On Thu, 2017-10-26 at 17:37 +0200, Konstantin Lepikhov wrote: > >> > > >> > You need to replace novnc js code in foreman by js code from kelleyk > >> > version + modify foreman host controller. Then you can connect > >> > to servers's bmc ikvm via foreman's websockify. > >> > > >> > Another thing - extend host inventory adding properties related > >> > connection/bmc_type. > >> > >> This sounds like an excellent thing to send a patch for, if you're > >> interested - or at least log a feature request with some tips on wiring > >> it up. Then it can be available for everyone :) > >> > >> Greg > >> > > I've checked the source, it doesn't looks hard to add it: > > > > 1) we need to extend discovery to provide extra attributes for kvm > > functionality (it could be either 'idrac_vnc' DELL or 'sm_vnc' for > Supermicro). > > > > 2) add novnc ikvm js to vendor/assets/javascripts. > > > > 3) add custom app/views/hosts/console/*.html.erb for ikvm vnc which > > includes ikvm nonvc. > > > > 4) extend console in app/controllers/hosts_controller.rb to handle _vnc > > atrributes for physical boxes too > > > > PROFIT. > > > > So I just need a hardware to test and then I can make a patch :) > > > > -- > > WBR et al. > > > > -- > > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To post to this group, send email to [email protected]. > > Visit this group at https://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > Later, > Lukas @lzap Zapletal > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
