Skip to content

Get IP for client device and create host record

Go to Automation

View in GitLab

Description

Resolve or allocate an IP for a client (using next_ip), read MAC from source host record, verify VLAN, optionally create a DHCP-enabled host record in Infoblox, and export address facts.

Credentials

  • infoblox_host
  • infoblox_username
  • infoblox_password

Input

  • target: target hostname
  • i_fqdn: FQDN used to fetch MAC
  • vlan_desc: descriptive text to locate VLAN
  • i_CIDR: CIDR fragment used to match VLAN (optional)

Output

  • set_stats keys: ip_adres, ip_gateway, ip_mask, ip_cidr
  • debug outputs: ip, cidr

Dependencies