Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The infoblox_ip_association resource enables you to manage DHCP related properties of the host record object that was created using the infoblox_ip_allocation resource. You can update the host record created using the allocation resource with details of the VM created in the cloud environment. The VM details include a MAC address in case of an IPv4 address and a DUID in case of an IPv6 address.

...

Parameter

Required/Optional

Description

Example Value

internal_id

Required

Specifies the value of the Terraform Internal ID extensible attribute listed as a a prerequisite for the plug-in, it is generated for the host record when creating the infoblox_ip_allocation resource and is located in the id field of the appropriate infoblox_ip_allocation resource.
Note:

  • The reference to the internal_id field of infoblox_ip_allocation will continue to work until the next release.

  • The id and internal_id fields of the infoblox_ip_allocation resource use the same values.

infoblox_ip_allocation.foo.id

enable_dhcp

Optional

Specifies whether the host record must be created in the DHCP server side.
The default value is false.

true

mac_addr

Required only if the host record has an IPv4 address

Applies only to IPv4 addresses.
It specifies the MAC address to associate the IP address with. It is the MAC address of the network interface of the cloud instance that corresponds to the host record created using the infoblox_ip_allocation resource.
The default value is an empty string, which is internally transformed to 00:00:00:00:00:00

Note: When you keep the default value, the enable_dhcp flag in NIOS for the referenced IPv4 address, is automatically set to false even though the field is set to true in the terraform.tfstate file.

02:42:97:87:70:f9

duid

Required only if the host record has an IPv6 address

Applies only for IPv6 addresses.
It specifies the DHCPv6 Unique Identifier (DUID) of the address object.
The default is an empty string.

Note: If the host record contains of an IPv6 address, you must enter a value in this field. Otherwise, NIOS returns an error when the association resource is created.

34:df:37:1a:d9:7f (The DUID could be the same type of value as the MAC address of a network interface).

...