Hi, 

I don't know if it can help for your use case, but foreman manage BMC ifaces 
and there is a snippet to configure it at provisioning time 
(https://github.com/theforeman/community-templates/blob/develop/provisioning_templates/snippet/bmc_nic_setup.erb)
 
We use it to configure IPMI ifaces on our Dell servers. If you configure a BMC 
iface in foreman, maybe you can use these infos (user/password) too establish 
the VNC connection. 

Have a nice day. 

Cheers. 

----- Le 30 Oct 17, à 19:16, Sean O'Keeffe <[email protected]> a écrit : 

> 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
> | https://github.com/newrelic/puppet-dell/blob/master/lib/facter/idrac.rb ]

> On Mon, 30 Oct 2017 at 13:31, Lukas Zapletal < [ mailto:[email protected] |
> [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
>> < [ mailto:[email protected] | [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 [ mailto:foreman-users%[email protected] |
>> > [email protected] ] .
>>> To post to this group, send email to [ 
>>> mailto:[email protected] |
>> > [email protected] ] .
>>> Visit this group at [ https://groups.google.com/group/foreman-users |
>> > https://groups.google.com/group/foreman-users ] .
>>> For more options, visit [ https://groups.google.com/d/optout |
>> > 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 [ mailto:foreman-users%[email protected] |
>> [email protected] ] .
>> To post to this group, send email to [ mailto:[email protected] 
>> |
>> [email protected] ] .
>> Visit this group at [ https://groups.google.com/group/foreman-users |
>> https://groups.google.com/group/foreman-users ] .
>> For more options, visit [ https://groups.google.com/d/optout |
>> 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 [ mailto:[email protected] |
> [email protected] ] .
> To post to this group, send email to [ mailto:[email protected] |
> [email protected] ] .
> Visit this group at [ https://groups.google.com/group/foreman-users |
> https://groups.google.com/group/foreman-users ] .
> For more options, visit [ https://groups.google.com/d/optout |
> https://groups.google.com/d/optout ] .

-- 
Baptiste AGASSE 
Lyra Network France, Senior GNU/Linux engineer 
109 Rue de l'innovation, 31670 Labège - France 
Phone: (+33)5.67.22.31.87 
Fax: (+33)5.67.22.31.61 
Website: http://www.lyra-network.com 

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

Reply via email to