Infoblox Integration


The CloudCenter platform supports IP Address Management (IPAM) integration to manage IP address for deployments.

This section provides information on integration with Infoblox, an IPAM provider, by executing multiple callout scripts on the CCO. See Callout Scripts for additional information on each callout script.

See the InfloBlox Integration video for a short demonstration of how the CloudCenter platform supports Infoblox for IP address and DNS name assignment.

Prerequisites for IPAM Integrations

See Callout Scripts for cloud support details.

If you make changes to the callouts or attributes for a Cloud Region, you must restart the CCO for the changes to take effect.

Setup the IPAM Module

The sections below contain sample scripts for a generic Infoblox integration.

  1. Make changes to callout scripts according to your test environment.

  2. Model a sleep job, add some environment variables, run the job and check the callout log, and verify that the variables are exported correctly.   

  3. Model a multi-tier web app, add some environment variables, run the job, check the callout log, and verify that the variables are exported correctly.

The Infoblox API

Use the Infoblox-API-Python module to integrate with Infoblox.

The following example displays a script that uses the Infoblox-API-Python module. This script requires python-requests 2.5 and can be called directly from the callout:
import infoblox, sys
#Check to see if command line included enough arguments.
if (len(sys.argv) < 3):
	print "Usage: <fqdn> <network CIDR>"
#Assign command line arguments to named variables
fqdn = sys.argv[1]
network = sys.argv[2]
#Setup connection object for Infoblox
iba_api = infoblox.Infoblox('', 'admin', 'infoblox', '1.6', 'default', 'default', False)
	#Create new host record with supplied network and fqdn arguments
    ip = iba_api.create_host_record(network, fqdn)
    print "nicCount=1"
    print "nicIP_1=" + ip
except Exception as e:
    print e

The Callout Configuration File

This is an example of integrating callout with the Infoblox application.

  • No labels
Terms & Conditions Privacy Statement Cookies Trademarks