Versions Compared

Key

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


Excerpt


Note
title

Note

The infoblox_ipv4_allocation resource is deprecated and is not supported from Infoblox IPAM Plug-In version 2.3.0. Infoblox strongly recommends that you use Infoblox_ip_allocation resource for allocation of IP addresses. This resource will be deprecated in an upcoming release. For more information, see IP Address Allocation.

The resource allows allocation of the next available IP address from a specified network block if an IP address is not explicitly specified. The IP address can be allocated by specifying it in the resource definition or can be allocated automatically by defining the CIDR field. The allocated IP address is marked as ‘used’ in the appropriate network block.

The allocation is done by creating a Host record in NIOS. The Host record can be created at the DNS server side by using the enable_dns flag, which is enabled by default. If you disable the flag, the record is not created in the DNS server side, but is visible on the IPAM tab in NIOS Grid Manager.

When you create the Host record at the DNS server side, specify the host name in the FQDN format. The name must include the zone name and the host name as shown in the following example:
enable_dns=true
fqdn=hostname1.zone.com

If you disable the enable_dns flag, specify only the host name as fqdn. For example:
fqdn=hostname1

The following table describes the parameters you can define in the IP address allocation resource blocks:

ParameterRequired/OptionalDescriptionExample Value

fqdn

Required

Specifies the name (in FQDN format) of a host for which an IP address needs to be allocated.

When enable_dns is set to true, specify the zone name along with the host name in format: <hostname>.<zone>.com.
When enable_dns is set to false, specify only the host name: <hostname>.

In a cloud environment, a VM name could be used as a host name.

ip-12-34-56-78.us-west-2.compute.internal

network_view

Optional

Specifies the network view from which to get the specified network block. If a value is not specified, the default network view is considered.

networkview_name

dns_view

Optional

Specifies the DNS view in which to create DNS resource records that are associated with the IP address. If a value is not specified, the default DNS view is considered.

This parameter is relevant only when enable_dns is set to true.

dns_view_name

enable_dns

Optional

A flag that specifies whether DNS records associated with the resource must be created. The default value is true.

true

cidr

Required only for dynamic allocation

It specifies the network block (in CIDR format) from where to allocate an IP address.

For static allocation, do not use this field

10.4.3.128/20

ip_addr

Required only for static allocation

It specifies an IP address that should be allocated (marked as ‘Used’ in NIOS Grid Manager).

For dynamic allocation, do not use this field.

10.4.3.138

ttl

Optional

Specifies the time to live value for the DNS record. This parameter is relevant only when enable_dns is to true.
If a value is not specified, then in NIOS, the value is inherited from the parent object of the DNS record for this resource.

3600

commentOptional

Describes the resource.

Allocating an IPv4 address.
ext_attrsOptionalSet of NIOS extensible attributes that are attached to the resource.jsonencode({})


...