Automation
IPAM Automation
Cheat sheet · https://pcornel.dk/topic.php?topic=5862
Answer
IPAM automation allocates and records IP addresses, prefixes, VLANs and VRFs through an IPAM system's API, such as NetBox or phpIPAM, so provisioning never picks an address that is already in use.
Remember
- Allocate and mark used in one atomic call.
- IPAM must be the source of truth.
- Release addresses when systems are removed.
First checks
- IPAM API availability — automation
- Prefix utilisation report — capacity
- DNS/DHCP integration — consistency
Verify in this order
request → IPAM API → allocation → DNS/DHCP/config
Where it usually breaks
Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5862