mirror of
https://github.com/jbowdre/phpIPAM-for-vRA8.git
synced 2024-11-21 06:22:19 +00:00
No description
636c5814b5
Bumps [requests](https://github.com/psf/requests) from 2.21.0 to 2.32.2. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](https://github.com/psf/requests/compare/v2.21.0...v2.32.2) --- updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
docs | ||
src | ||
.gitignore | ||
Dockerfile | ||
open_source_licenses.txt | ||
pom.xml | ||
README.md | ||
README_VMware.md |
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
Prerequisites
- phpIPAM 1.5 must be installed, configured, and available over HTTPS
- Consult the phpIPAM installation docs
- Subnets must be defined in phpIPAM.
- (Optional) A Custom Field defined to identify subnets which should be available to vRA.
- Note: I previously used the built-in
isPool
field, but this is not ideal with versions of phpIPAM 1.5 since a change on April 4, 2022 which made the subnet and broadcast addresses (x.x.x.0
andx.x.x.255
) assignable on networks with this field set. Use a Custom Field instead.
- Note: I previously used the built-in
- 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:
- Administration > phpIPAM Settings > Feature Settings and enable the API option.
- Administration > phpIPAM Settings > Users and create a new user to be used by vRA.
- 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:
- Go to Cloud Assembly > Infrastructure > Integrations and Add Integration.
- Select the IPAM integration type.
- Give it a name, then click Manage IPAM Providers > Import Provider Package.
- Upload
phpIPAM.zip
(get it here). - Back at the New Integration page, click the Provider dropdown and select phpIPAM.
- Enter the API App ID, Username, Password, and Hostname of the phpIPAM server (fully-qualified name or IP address).
- (Optional) Configure the subnet filter.
- Click Validate to verify the information. It may take a minute or two for the validation to complete.
- 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.