Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release notes for v2.8.0 in CHANGELOG and other documentation files #417

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
# Changelog

## [v2.8.0](https://github.com/infobloxopen/terraform-provider-infoblox/tree/v2.8.0) (2024-10-30)
- New Feature:
- Support for Creating Objects with the Next Available IP Address and Next Available Network Obtained Using the Extensible Attribute Filter.
- Add support for aliases and disable flag in Host Records.
- New Resources:
- infoblox_zone_delegated
- New Datasources:
- infoblox_zone_delegated

## [v2.7.0](https://github.com/infobloxopen/terraform-provider-infoblox/tree/v2.7.0) (2024-06-20)
- New Feature: Added support for Import block.
- New Resources:
Expand Down
2 changes: 1 addition & 1 deletion GETTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Specify the plugin version in the .tf file as follows:
required_providers {
infoblox = {
source = "infobloxopen/infoblox"
version = ">= 2.7.0"
version = ">= 2.8.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
This is a provider plug-in for Terraform to manage Infoblox NIOS (Network Identity Operating System) resources using Terraform infrastructure as code solutions.
The plug-in enables lifecycle management of Infoblox NIOS DDI resources.

The latest version of Infoblox provider is [v2.7.0](https://github.com/infobloxopen/terraform-provider-infoblox/releases/tag/v2.7.0)
The latest version of Infoblox provider is [v2.8.0](https://github.com/infobloxopen/terraform-provider-infoblox/releases/tag/v2.8.0)

## Provider Features

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ terraform {
required_providers {
infoblox = {
source = "infobloxopen/infoblox"
version = ">= 2.7.0"
version = ">= 2.8.0"
}
}
}
Expand Down
13 changes: 11 additions & 2 deletions docs/resources/infoblox_ip_allocation.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ resource "infoblox_ip_allocation" "ip_allocation" {

When you perform a `create` or an `update` operation using this allocation resource, the following read-only parameters are computed:

* `allocated_ipv4_addr`: if you allocated a dynamic IP address, this value is the IP address allocated from the specified IPv4 CIDR.
* `allocated_ipv4_addr`: if you allocated a dynamic IP address, this value is the IP address allocated from the specified IPv4 CIDR or `filter_params`.
If you allocated a static IP address, this value is the IP address that you specified in the `ipv4_addr` field.
You can reference this field for the IP address when using other resources. Example:
```hcl
Expand All @@ -103,8 +103,17 @@ resource "infoblox_ip_aloocation" "allocation1" {
}
# You can add a reference for the IP address as follows: infoblox_ip_allocation.allocation1.allocated_ipv4_addr
```
```hcl
resource "infoblox_ip_allocation" "ipv4_allocation_with_ea" {
fqdn = local.vm_name
//Extensible attributes of parent network
filter_params = jsonencode({
"*Site": local.site
})
}
```

* `allocated_ipv6_addr`: if you allocated a dynamic IP address, this value is the IP address allocated from the specified IPv6 CIDR.
* `allocated_ipv6_addr`: if you allocated a dynamic IP address, this value is the IP address allocated from the specified IPv6 CIDR or `filter_params`.
If you allocated a static IP address, this value is the IP address that you specified `ipv6_addr` field.
You can reference this field for the IP address when using other resources. See the previous description for an example.

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/infoblox_ipv4_network.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The following list describes the parameters you can define in a `infoblox_ipv4_n
* `filter_params`: optional, specifies the extensible attributes of the parent network or network container that must be used as filters to retrieve the next available network for creating the network object. Example: `jsonencode({"*Site": "Turkey"})`.
* `object`: optional, specifies the type of object from which to allocate the network. The values can be `network` or `networkcontainer`. The default value is `networkcontainer`.

!> Once a network object is created, the `reserve_ip` and `gateway` fields cannot be edited.
!> Once a network object is created, the `filter_params`, `reserve_ip` and `gateway` fields cannot be edited.

!> IP addresses that are reserved by setting the `reserve_ip` field are used for network maintenance by the cloud providers. Therefore, Infoblox does not recommend using these IP addresses for other purposes.

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/infoblox_ipv6_network.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The following list describes the parameters you can define in a `infoblox_ipv6_n
* `filter_params`: optional, specifies the extensible attributes of the parent network or network container that must be used as filters to retrieve the next available network for creating the network object. Example: `jsonencode({"*Site": "Turkey"})`.
* `object`: optional, specifies the type of object from which to allocate the network. The values can be `network` or `networkcontainer`. The default value is `networkcontainer`.

!> Once a network object is created, the `reserve_ipv6` and `gateway` fields cannot be edited.
!> Once a network object is created, the `filter_params`, `reserve_ipv6` and `gateway` fields cannot be edited.

!> IP addresses that are reserved by setting the `reserve_ipv6` field are used for network maintenance by the cloud providers. Therefore, Infoblox does not recommend using these IP addresses for other purposes.

Expand Down
31 changes: 31 additions & 0 deletions examples/create-prerequisites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,37 @@ echo
curl -k -X POST -H 'Content-Type: application/json' $CURL_AUTH "${WAPI_URL}/zone_auth" -d '{"view":"nondefault_dnsview2","fqdn":"example4.org"}'
echo

# Create a custom network view and a zone for Dynamic allocation using next available IP and network.
curl -k -X POST -H 'Content-Type: application/json' $CURL_AUTH "${WAPI_URL}/networkview" -d '{"name":"custom"}'
echo
curl -k -X POST -H 'Content-Type: application/json' $CURL_AUTH "${WAPI_URL}/networkview" -d '{"name":"test"}'
echo

curl -k -X POST -H 'Content-Type: application/json' $CURL_AUTH "${WAPI_URL}/zone_auth" -d '{"view":"custom","fqdn":"test.com"}'
echo
curl -k -X POST -H 'Content-Type: application/json' $CURL_AUTH "${WAPI_URL}/zone_auth" -d '{"view":"custom","fqdn":"ex.org"}'
echo
curl -k -X POST -H 'Content-Type: application/json' $CURL_AUTH "${WAPI_URL}/zone_auth" -d '{"view":"custom","fqdn":"test_fwzone"}'
echo
curl -k -X POST -H 'Content-Type: application/json' $CURL_AUTH "${WAPI_URL}/zone_auth" -d '{"view":"custom","fqdn":"example.com"}'
echo
curl -k -X POST -H 'Content-Type: application/json' $CURL_AUTH "${WAPI_URL}/zone_auth" -d '{"view":"test","fqdn":"test.com"}'
echo

# Create a network and network container with extensible attributes for Next available functionality.
curl -k -X POST -H 'Content-Type: application/json' $CURL_AUTH "${WAPI_URL}/network" -d '{"network": "10.1.0.0/24", "extattrs": {"Site": {"value": "Turkey"}}}'
echo
curl -k -X POST -H 'Content-Type: application/json' $CURL_AUTH "${WAPI_URL}/ipv6network" -d '{"network": "551:0db8:85a3::/64", "extattrs": {"Site": {"value": "Turkey"}}}'
echo
curl -k -X POST -H 'Content-Type: application/json' $CURL_AUTH "${WAPI_URL}/network" -d '{"network": "10.10.11.1", "extattrs": {"Site": {"value": "Nainital"}}}'
echo
curl -k -X POST -H 'Content-Type: application/json' $CURL_AUTH "${WAPI_URL}/networkcontainer" -d '{"network": "10.10.11.0/28", "extattrs": {"Site": {"value": "Blr"}}}'
echo
curl -k -X POST -H 'Content-Type: application/json' $CURL_AUTH "${WAPI_URL}/ipv6network" -d '{"network": "556:0db8:85a3::/64", "extattrs": {"Site": {"value": "Blr"}}}'
echo
curl -k -X POST -H 'Content-Type: application/json' $CURL_AUTH "${WAPI_URL}/ipv6networkcontainer" -d '{"network": "555:0db8:85a3::/64", "extattrs": {"Site": {"value": "Uzbekistan"}}}'
echo

for view in default default.nondefault_netview nondefault_dnsview1 nondefault_dnsview2; do
for zone in 2002:1f93::/64; do
curl -k -X POST -H 'Content-Type: application/json' $CURL_AUTH "${WAPI_URL}/zone_auth" -d "{\"view\":\"${view}\",\"fqdn\":\"${zone}\",\"zone_format\":\"IPV6\"}"
Expand Down
Loading