Infoblox and ipam

Hello,

I was wondering if it is possible to have foreman send a request to an
infoblox to get the next-available ip in a network/subnet and subsequently
register a dns entry on the returned available ip-address. Would this
classify as an 'ipam' integration?
Does is already exist for infoblox? For another DNS/IP solution?

Best Regards,
Jo

Thx Klaas.

does this work when provisioning a virtual machine from a template (clone
and customize) and needing a fixed ip for the VM?
Is this using the freeip API call?

Thanks again,
Jo

··· Op maandag 7 november 2016 09:09:27 UTC+1 schreef Jo De Troy: > > Hello, > > I was wondering if it is possible to have foreman send a request to an > infoblox to get the next-available ip in a network/subnet and subsequently > register a dns entry on the returned available ip-address. Would this > classify as an 'ipam' integration? > Does is already exist for infoblox? For another DNS/IP solution? > > Best Regards, > Jo >

Hello,

I'm trying to understand the IPAM part when creating a subnet.
At this moment the choices for IPAM are: DHCP, Internal DB or None.

In case the subnet doesn't have a DHCP server available I'd like to be
able to request the next available ip from the Infoblox API and use that
returned ip-address for the Host I'm creating. Is that possible with the
current versions? Or would that need a new IPAM mode, specific for Infoblox?

When creating a new Host it seems like I need to specify an ip-address in
the interface, it would be nice to make use of IPAM even for non-dhcp or
internal DB. Just specifying the subnet and let Foreman contact Infoblox to
get an free ip-address in the given subnet.

The freeip API call that was recently added, how would that work? Should I
import all used ip's in the internal DB? Or is there a better way?

Best Regards,
Jo

··· Op maandag 7 november 2016 09:09:27 UTC+1 schreef Jo De Troy: > > Hello, > > I was wondering if it is possible to have foreman send a request to an > infoblox to get the next-available ip in a network/subnet and subsequently > register a dns entry on the returned available ip-address. Would this > classify as an 'ipam' integration? > Does is already exist for infoblox? For another DNS/IP solution? > > Best Regards, > Jo >

Hello,
there are https://github.com/theforeman/smart_proxy_dhcp_infoblox and https://github.com/theforeman/smart_proxy_dns_infoblox
they should cover your needs.

Klaas Demter

----- Ursprüngliche Mail -----

··· Von: "Jo De Troy" An: "Foreman users" Gesendet: Sonntag, 6. November 2016 17:27:38 Betreff: [foreman-users] infoblox and ipam

Hello,

I was wondering if it is possible to have foreman send a request to an
infoblox to get the next-available ip in a network/subnet and subsequently
register a dns entry on the returned available ip-address. Would this
classify as an ‘ipam’ integration?
Does is already exist for infoblox? For another DNS/IP solution?

Best Regards,
Jo


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 foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Jo,
Did you ever get a solution? I am trying to do a similar thing. I have run the smart proxy dhcp/dns infoblox plugins but neither does what I want. The dhcp plugin almost works but it returns an IP address that does not respond to ping but already has a DNS name assigned to the IP address. The plugin should skip that IP address.

If you have a solution could you post what you found. Thanks.

Keith

Hello and welcome @keith28

I don’t have an answer for you, but just wondering if you’ve seen the provisioning docs:

https://docs.theforeman.org/guides/build/doc-Provisioning_Guide/index-foreman.html#chap-Infoblox-Integration

They might be of some help, and the networking chapter.

Thanks @mcorr.

The document confirmed that what I am seeing is expected behavior. I was hoping that I had configured something wrong.

Keith

Unfortunately, at the moment Foreman supports External IPAM as the new IPAM type, however there is no implementation for Infoblox. You can only use the “dumb” or “naive” DHCP or DB IPAM with Infoblox:

https://docs.theforeman.org/guides/build/doc-Provisioning_Guide/index-foreman.html#networking_resources

Writing an Infoblox External IPAM provider should not be that hard. Just write a new module for the IPAM smart proxy plugin: https://github.com/grizzthedj/smart_proxy_ipam