You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix for NPA-420 , added ms_server field in datasource (#488)
* Fix for NPA-420 , added ms_server field in datasource
* added empty string checks in convertDhcpMemberToMap function
* test case changes and Allocate IP function changes in network and fixed address object
* rebased and resolved conflict
* documentation changes for options field
* changed the name of the resource for fixed address and range
* vendor directory changes with latest commit id from go-client
Copy file name to clipboardExpand all lines: docs/data-sources/infoblox_alias_record.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ Use the `infoblox_alias_record` data resource for the Alias record to retrieve t
14
14
*`comment`: the text describing the record. This is a regular comment. Example: `Temporary Alias-record`.
15
15
*`creator`: the creator of the record. Valid value is `STATIC`.
16
16
*`ext_attrs`: the set of extensible attributes of the record, if any. The content is formatted as string of JSON map. Example: `"{\"Site\":\"Greece\"}"`
17
+
*`cloud_info`: Structure containing all cloud API related information for this object. Example: `"{\"authority_type\":\"GM\",\"delegated_scope\":\"NONE\",\"owned_by_adaptor\":false}"`
17
18
18
19
For usage of filters, add the fields as keys and appropriate values to be passed to the keys like `name`, `view`, `zone`, `comment`, `target_name`, and `target_type` corresponding to object.
19
20
From the below list of supported arguments for filters, use only the searchable fields for retrieving the matching records.
Copy file name to clipboardExpand all lines: docs/data-sources/infoblox_ipv4_fixed_address.md
+19-12Lines changed: 19 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,24 +8,31 @@ The `infoblox_ipv4_fixed_address` data source to retrieve the following informat
8
8
*`comment`: Comment for the fixed address; maximum 256 characters. Example: `fixed address`
9
9
*`dhcp_client_identifier`: The DHCP client ID for the fixed address. The field is required only when match_client is set to CLIENT_ID. Example: `20`
10
10
*`disable`: Determines whether a fixed address is disabled or not. When this is set to False, the fixed address is enabled. Example: `false`
11
-
*`extattrs`: Extensible attributes associated with the object. Example: `"{\"*Site\":\"Antarctica\"}"`
11
+
*`ext_attrs`: Extensible attributes associated with the object. Example: `"{\"*Site\":\"Antarctica\"}"`
12
12
*`ipv4addr`: The IPv4 Address of the fixed address. If the `ipv4addr` field is not provided and the `network` field is set, the next available IP address in the network will be allocated. Example: `10.0.0.34`
13
13
*`mac`: The MAC address value for this fixed address. The field is required only when match_client is set to its default value - MAC_ADDRESS. Example: `00-1A-2B-3C-4D-5E`
14
14
*`match_client`: The match client for the fixed address.Valid values are CIRCUIT_ID, CLIENT_ID , MAC_ADDRESS, REMOTE_ID and RESERVED. Default value is MAC_ADDRESS. Example: `CLIENT_ID`
15
15
*`name`: This field contains the name of this fixed address. Example: `fixedAddressName`
16
16
*`network`: The network to which this fixed address belongs, in IPv4 Address/CIDR format. Example: `10.0.0.0/24`
17
17
*`network_view`: The name of the network view in which this fixed address resides. The default value is The default network view. Example: `default`
18
-
*`options`: An array of DHCP option structs that lists the DHCP options associated with the object.
19
-
*`cloud_info`: Structure containing all cloud API related information for this object. Example: `"{\"authority_type\":\"GM\",\"delegated_scope\":\"NONE\",\"owned_by_adaptor\":false}"`
18
+
*`options`: An array of DHCP option structs that lists the DHCP options associated with the object. The description of the fields of `options` is as follows:
19
+
*`name`: The Name of the DHCP option. Example: `domain-name-servers`.
20
+
*`num`: The code of the DHCP option. Example: `6`.
21
+
*`value`: The value of the option. Example: `11.22.33.44`.
22
+
*`vendor_class`: The name of the space this DHCP option is associated to. Default value is `DHCP`.
23
+
*`use_option`:Only applies to special options that are displayed separately from other options and have a use flag. These options are `router`,
24
+
`router-templates`, `domain-name-servers`, `domain-name`, `broadcast-address`, `broadcast-address-offset`, `dhcp-lease-time`, and `dhcp6.name-servers`.
25
+
20
26
```terraform
21
27
options {
22
-
name = "dhcp-lease-time"
23
-
value = "43200"
24
-
vendor_class = "DHCP"
25
-
num = 51
26
-
use_option = true
27
-
}
28
+
name = "dhcp-lease-time"
29
+
value = "43200"
30
+
vendor_class = "DHCP"
31
+
num = 51
32
+
use_option = false
33
+
}
28
34
```
35
+
*`cloud_info`: Structure containing all cloud API related information for this object. Example: `"{\"authority_type\":\"GM\",\"delegated_scope\":\"NONE\",\"owned_by_adaptor\":false}"`
29
36
*`use_options`: Use option is a flag that indicates whether the options field are used or not. The default value is false. Example: `false`
30
37
31
38
For usage of filters, add the fields as keys and appropriate values to be passed to the keys like `comment`, `ipv4addr` corresponding to object.
@@ -38,7 +45,7 @@ From the below list of supported arguments for filters, use only the searchable
Copy file name to clipboardExpand all lines: docs/data-sources/infoblox_ipv4_range.md
+13-3Lines changed: 13 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,16 @@ Use the `infoblox_ipv4_range` data source to retrieve the following information
9
9
*`start_addr`: The IPv4 Address starting address of the range. Example: `21.20.2.20`.
10
10
*`end_addr`: The IPv4 Address end address of the range. Example: `21.20.2.40`
11
11
*`disable`: Determines whether a range is disabled or not. When this is set to False, the range is enabled. Default value: `false`.
12
-
*`extattrs`: Extensible attributes associated with the object. Example: `"{\"*Site\":\"Antarctica\"}"`
13
-
*`failover_association`: The name of the failover association: the server in this failover association will serve the IPv4 range in case the main server is out of service. `server_association_type` must be set to `FAILOVER` or `FAILOVER_MS` if you want the failover association specified here to serve the range.
12
+
*`ext_attrs`: Extensible attributes associated with the object. Example: `"{\"*Site\":\"Antarctica\"}"`
13
+
*`failover_association`: The name of the failover association: the server in this failover association will serve the IPv4 range in case the main server is out of service. Example: `dhcp_failover`.
14
14
*`server_association_type`: The type of server that is going to serve the range. Valid values are `FAILOVER`,`MEMBER`,`MS_FAILOVER`,`MS_SERVER`,`NONE`. Default value: `NONE`.
15
-
*`options`: An array of DHCP option structs that lists the DHCP options associated with the object.
15
+
*`options`: An array of DHCP option structs that lists the DHCP options associated with the object. The description of the fields of `options` is as follows:
16
+
*`name`: The Name of the DHCP option. Example: `domain-name-servers`.
17
+
*`num`: The code of the DHCP option. Example: `6`.
18
+
*`value`: The value of the option. Example: `11.22.33.44`.
19
+
*`vendor_class`: The name of the space this DHCP option is associated to. Default value is `DHCP`.
20
+
*`use_option`:Only applies to special options that are displayed separately from other options and have a use flag. These options are `router`,
21
+
`router-templates`, `domain-name-servers`, `domain-name`, `broadcast-address`, `broadcast-address-offset`, `dhcp-lease-time`, and `dhcp6.name-servers`.
16
22
```terraform
17
23
options {
18
24
name = "dhcp-lease-time"
@@ -23,6 +29,7 @@ options {
23
29
}
24
30
```
25
31
*`use_options`: Use option is a flag that indicates whether the options field are used or not. The default value is false. Example: `false`
32
+
*`ms_server`: The Microsoft server that will provide service for this range. server_association_type needs to be set to MS_SERVER if you want the server specified here to serve the range. Example: `10.23.23.2`
26
33
*`member`: The member that will provide service for this range. `server_association_type` needs to be set to `MEMBER` if you want the server specified here to serve the range. `member` has the following three fields `name`, `ipv4addr` and `ipv6addr`.The description of the fields of `member` is as follows:
27
34
*`name`: The name of the Grid member. Example: `infoblox.localdomain`.
28
35
*`ipv4addr`: The IPv4 Address of the Grid Member. Example: `11.10.1.0`.
@@ -54,6 +61,8 @@ member = {
54
61
55
62
!> Please consider using only fields as the keys in terraform datasource filters, kindly don't use alias names as keys from the above table.
56
63
64
+
!> The search functionality using the filters argument is not supported for member and ms_server fields.
Copy file name to clipboardExpand all lines: docs/data-sources/infoblox_ipv4_range_template.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,18 @@ Use the `infoblox_ipv4_range_template` data resource for the IPV4 Range Template
7
7
*`offset`: The start address offset for the range. Example: `30`.
8
8
*`use_options`: Use flag for options. Example: `true`.
9
9
*`cloud_api_compatible`: The flag controls whether this template can be used to create network objects in a cloud-computing deployment. Example: `true`.
10
-
*`options`: An array of DHCP option structs that lists the DHCP options associated with the object. Example:
10
+
*`options`: An array of DHCP option structs that lists the DHCP options associated with the object. The description of the fields of `options` is as follows:
11
+
*`name`: The Name of the DHCP option. Example: `domain-name-servers`.
12
+
*`num`: The code of the DHCP option. Example: `6`.
13
+
*`value`: The value of the option. Example: `11.22.33.44`.
14
+
*`vendor_class`: The name of the space this DHCP option is associated to. Default value is `DHCP`.
15
+
*`use_option`:Only applies to special options that are displayed separately from other options and have a use flag. These options are `router`,
16
+
`router-templates`, `domain-name-servers`, `domain-name`, `broadcast-address`, `broadcast-address-offset`, `dhcp-lease-time`, and `dhcp6.name-servers`.
11
17
```terraform
12
-
option {
18
+
options {
13
19
name = "domain-name-servers"
14
20
value = "11.22.33.44"
21
+
num = 6
15
22
use_option = true
16
23
}
17
24
```
@@ -51,6 +58,8 @@ From the below list of supported arguments for filters, use only the searchable
51
58
52
59
!> Please consider using only fields as the keys in terraform datasource filters, kindly don't use alias names as keys from the above table.
53
60
61
+
!>The search functionality using the filters argument is not supported for member and ms_server fields.
62
+
54
63
### Example for using the filters:
55
64
```hcl
56
65
data "infoblox_ipv4_range_template" "range_template_read" {
Copy file name to clipboardExpand all lines: docs/data-sources/infoblox_ipv4_shared_network.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,18 @@ Use the `infoblox_ipv4_shared_network` data source to retrieve the following inf
7
7
*`network_view`: The name of the network view in which this shared network resides. Example: `default`
8
8
*`disable`: The disable flag for the IPv4 shared network object. Example: `true`
9
9
*`use_options`: Use flag for options. Example: `true`.
10
-
*`options`: An array of DHCP option structs that lists the DHCP options associated with the object. Example:
10
+
*`options`: An array of DHCP option structs that lists the DHCP options associated with the object. The description of the fields of `options` is as follows:
11
+
*`name`: The Name of the DHCP option. Example: `domain-name-servers`.
12
+
*`num`: The code of the DHCP option. Example: `6`.
13
+
*`value`: The value of the option. Example: `11.22.33.44`.
14
+
*`vendor_class`: The name of the space this DHCP option is associated to. Default value is `DHCP`.
15
+
*`use_option`:Only applies to special options that are displayed separately from other options and have a use flag. These options are `router`,
16
+
`router-templates`, `domain-name-servers`, `domain-name`, `broadcast-address`, `broadcast-address-offset`, `dhcp-lease-time`, and `dhcp6.name-servers`.
11
17
```terraform
12
-
option {
18
+
options {
13
19
name = "domain-name-servers"
14
20
value = "11.22.33.44"
21
+
num = 6
15
22
use_option = true
16
23
}
17
24
```
@@ -26,9 +33,9 @@ From the below list of supported arguments for filters, use only the searchable
Copy file name to clipboardExpand all lines: docs/resources/infoblox_alias_record.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ The following list describes the parameters you can define in the `infoblox_alia
10
10
*`target_type`: required, specifies the type of the target object. Valid values are: `A`, `AAAA`, `MX`, `NAPTR`, `PTR`, `SPF`, `SRV` and `TXT`.
11
11
*`ttl`: optional, specifies the "time to live" value for the alias-record. There is no default value for this parameter. If a value is not specified, then in NIOS, the value is inherited from the parent zone of the DNS record for this resource. A TTL value of 0 (zero) means caching should be disabled for this record. Example: `3600`.
12
12
*`disable`: optional, specifies whether the alias record is disabled or not. Default value is `false`.
13
-
*`dns_view`: required, specifies the DNS view in which the zone exists. If a value is not specified, the name `default` is set as the DNS view. Example: `dns_view_1`.
13
+
*`dns_view`: optional, specifies the DNS view in which the zone exists. If a value is not specified, the name `default` is set as the DNS view. Example: `dns_view_1`.
14
14
*`comment`: optional, describes the alias-record. Example: `an example alias-record`.
15
15
*`ext_attrs`: optional, specifies the set of NIOS extensible attributes that are attached to the alias-record. Example: `jsonencode({"Site":"Singapore"})`.
Copy file name to clipboardExpand all lines: docs/resources/infoblox_ipv4_fixed_address.md
+13-7Lines changed: 13 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,21 +10,27 @@ The `infoblox_ipv4_fixed_address` resource, enables you to allocate, update, or
10
10
*`comment`: optional, Comment for the fixed address; maximum 256 characters. Example: `fixed address`
11
11
*`dhcp_client_identifier`: optional, The DHCP client ID for the fixed address. The field is required only when match_client is set to CLIENT_ID. Example: `20`
12
12
*`disable`: optional, Determines whether a fixed address is disabled or not. When this is set to False, the fixed address is enabled. Example: `false`
13
-
*`extattrs`: optional, Extensible attributes associated with the object. Example: `"{\"*Site\":\"Antarctica\"}"`
13
+
*`ext_attrs`: optional, Extensible attributes associated with the object. Example: `"{\"*Site\":\"Antarctica\"}"`
14
14
*`ipv4addr`: optional, The IPv4 Address of the fixed address. If the `ipv4addr` field is not provided and the `network` field is set, the next available IP address in the network will be allocated. Example: `10.0.0.34`
15
15
*`mac`: optional, The MAC address value for this fixed address. The field is required only when match_client is set to its default value - MAC_ADDRESS. Example: `00-1A-2B-3C-4D-5E`
16
16
*`match_client`: optional, The match client for the fixed address.Valid values are CIRCUIT_ID, CLIENT_ID , MAC_ADDRESS, REMOTE_ID and RESERVED. Default value is MAC_ADDRESS. Example: `CLIENT_ID`
17
17
*`name`: optional, This field contains the name of this fixed address. Example: `fixedAddressName`
18
18
*`network`: optional, The network to which this fixed address belongs, in IPv4 Address/CIDR format. Example: `10.0.0.0/24`
19
19
*`network_view`: optional, The name of the network view in which this fixed address resides. The default value is The default network view. Example: `default`
20
-
*`options`: optional, An array of DHCP option structs that lists the DHCP options associated with the object.
20
+
*`options`: optional, specifies an array of DHCP option structs that lists the DHCP options associated with the object. The description of the fields of `options` is as follows:
21
+
*`name`: required, specifies the Name of the DHCP option. Example: `domain-name-servers`.
22
+
*`num`: required, specifies the code of the DHCP option. Example: `6`.
23
+
*`value`: required, specifies the value of the option. Example: `11.22.33.44`.
24
+
*`vendor_class`: optional, specifies the name of the space this DHCP option is associated to. Default value is `DHCP`.
25
+
*`use_option`: optional, only applies to special options that are displayed separately from other options and have a use flag. These options are `router`,
26
+
`router-templates`, `domain-name-servers`, `domain-name`, `broadcast-address`, `broadcast-address-offset`, `dhcp-lease-time`, and `dhcp6.name-servers`.
21
27
```terraform
22
28
options {
23
29
name = "dhcp-lease-time"
24
30
value = "43200"
25
31
vendor_class = "DHCP"
26
32
num = 51
27
-
use_option = true
33
+
use_option = false
28
34
}
29
35
```
30
36
*`use_options`: optional, Use option is a flag that indicates whether the options field are used or not. The default value is false. Example: `false`
@@ -34,7 +40,7 @@ options {
34
40
```hcl
35
41
//example for fixed address with maximal parameters and using next available ip function
36
42
//ipv4addr not specified and network is given so next available ip in the network will be allocated
0 commit comments