Skip to content

jakebentz/phpIPAM-for-vRA8

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phpIPAM Integration for vRealize Automation 8.x

This integration allows vRealize Automation 8.x to use phpIPAM for assigning static IP addresses to provisioned virtual machines. Built against vRA 8.2.0.12946 and phpIPAM 1.5.

Details on how I built this (as well as notes on how I configured phpIPAM to work correctly with this plugin) can be found here: https://virtuallypotato.com/integrating-phpipam-with-vrealize-automation-8

Prerequisite:

phpIPAM 1.5 must be installed, configured, and available over HTTPS. Subnets must be defined in phpIPAM, and those which should be available to vRA can be marked as an IP pool (marking as pool is optional as of v1.0.6). A trusted SSL certificate is not required; vRA will prompt to confirm the certificate when the connection is initially validated.

Usage

From the phpIPAM web interface:

  1. Administration > phpIPAM Settings > Feature Settings and enable the API option.

  2. Administration > phpIPAM Settings > Users and create a new user to be used by vRA.

  3. Administration > phpIPAM Settings > API and create a new API key with Read/Write permissions and SSL with User Token security. Make a note of the selected App ID field (not the auto-generated App Code).

In vRealize Automation:

  1. Go to Cloud Assembly > Infrastructure > Integrations and Add Integration.

  2. Select the IPAM integration type.

  3. Give it a name, then click Manage IPAM Providers > Import Provider Package.

  4. Upload phpIPAM.zip (get it here).

  5. Back at the New Integration page, click the Provider dropdown and select phpIPAM.

  6. Enter the API App ID, Username, Password, and Hostname of the phpIPAM server (fully-qualified name or IP address).

  7. Click Validate to verify the information. It may take a minute or two for the validation to complete.

  8. Once validated, click Add.

You can then learn how to utilize the new IPAM integration here

See VMware's IPAM SDK README for information on how to adapt the code if needed.