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

[UX2.0] Adds Service DHCP Server Resource and Data Source #375

Merged
merged 10 commits into from
Nov 29, 2024
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.5.2 (unreleased)

- Update documentation categories
- Add `sdwan_service_dhcp_server_feature` resource and data source
- Add `sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature` resource and data source

## 0.5.1

- Enhance update logic of policy objects, [link](https://github.com/CiscoDevNet/terraform-provider-sdwan/pull/360)
Expand Down
79 changes: 79 additions & 0 deletions docs/data-sources/service_dhcp_server_feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_service_dhcp_server_feature Data Source - terraform-provider-sdwan"
subcategory: "Features"
description: |-
This data source can read the Service DHCP Server Feature.
---

# sdwan_service_dhcp_server_feature (Data Source)

This data source can read the Service DHCP Server Feature.

## Example Usage

```terraform
data "sdwan_service_dhcp_server_feature" "example" {
id = "f6b2c44c-693c-4763-b010-895aa3d236bd"
feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `feature_profile_id` (String) Feature Profile ID
- `id` (String) The id of the Feature

### Read-Only

- `default_gateway` (String) Set IP address of default gateway
- `default_gateway_variable` (String) Variable name
- `description` (String) The description of the Feature
- `dns_servers` (Set of String) Configure one or more DNS server IP addresses
- `dns_servers_variable` (String) Variable name
- `domain_name` (String) Set domain name client uses to resolve hostnames
- `domain_name_variable` (String) Variable name
- `exclude` (Set of String) Configure IPv4 address to exclude from DHCP address pool
- `exclude_variable` (String) Variable name
- `interface_mtu` (Number) Set MTU on interface to DHCP client
- `interface_mtu_variable` (String) Variable name
- `lease_time` (Number) Configure how long a DHCP-assigned IP address is valid
- `lease_time_variable` (String) Variable name
- `name` (String) The name of the Feature
- `network_address` (String) Network Address
- `network_address_variable` (String) Variable name
- `option_codes` (Attributes List) Configure Options Code (see [below for nested schema](#nestedatt--option_codes))
- `static_leases` (Attributes List) Configure static IP addresses (see [below for nested schema](#nestedatt--static_leases))
- `subnet_mask` (String) Subnet Mask
- `subnet_mask_variable` (String) Variable name
- `tftp_servers` (Set of String) Configure TFTP server IP addresses
- `tftp_servers_variable` (String) Variable name
- `version` (Number) The version of the Feature

<a id="nestedatt--option_codes"></a>
### Nested Schema for `option_codes`

Read-Only:

- `ascii` (String) Set ASCII value
- `ascii_variable` (String) Variable name
- `code` (Number) Set Option Code
- `code_variable` (String) Variable name
- `hex` (String) Set HEX value
- `hex_variable` (String) Variable name
- `ip` (Set of String) Set ip address
- `ip_variable` (String) Variable name


<a id="nestedatt--static_leases"></a>
### Nested Schema for `static_leases`

Read-Only:

- `ip_address` (String) Set client’s static IP address
- `ip_address_variable` (String) Variable name
- `mac_address` (String) Set MAC address of client
- `mac_address_variable` (String) Variable name
2 changes: 1 addition & 1 deletion docs/data-sources/service_ipv4_acl_feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Read-Only:
- `destination_ports` (Attributes List) Destination Port List (see [below for nested schema](#nestedatt--sequences--match_entries--destination_ports))
- `dscps` (Set of Number) DSCP number
- `icmp_messages` (Set of String) ICMP Message
- `packet_length` (Number) Packet Length
- `packet_length` (String) Packet Length
- `protocols` (Set of Number) protocol number list with at least one item
- `source_data_prefix` (String) Source Data IP Prefix
- `source_data_prefix_list_id` (String)
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/service_ipv6_acl_feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Read-Only:
- `destination_ports` (Attributes List) Destination Port List (see [below for nested schema](#nestedatt--sequences--match_entries--destination_ports))
- `icmp_messages` (Set of String) ICMP6 Message
- `next_header` (Number) next header number
- `packet_length` (Number) Packet Length
- `packet_length` (String) Packet Length
- `source_data_prefix` (String) Source Data IP Prefix
- `source_data_prefix_list_id` (String)
- `source_ports` (Attributes List) Source Port List (see [below for nested schema](#nestedatt--sequences--match_entries--source_ports))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_service_lan_vpn_feature_associate_multicast_feature Data Source - terraform-provider-sdwan"
subcategory: "Feature"
subcategory: "Features"
description: |-
This data source can read the Service LAN VPN Feature Associate Multicast Feature .
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_service_lan_vpn_feature_associate_routing_bgp_feature Data Source - terraform-provider-sdwan"
subcategory: "Feature"
subcategory: "Features"
description: |-
This data source can read the Service LAN VPN Feature Associate Routing BGP Feature .
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature Data Source - terraform-provider-sdwan"
subcategory: "Feature"
subcategory: "Features"
description: |-
This data source can read the Service LAN VPN Feature Associate Routing EIGRP Feature .
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_service_lan_vpn_feature_associate_routing_ospf_feature Data Source - terraform-provider-sdwan"
subcategory: "Feature"
subcategory: "Features"
description: |-
This data source can read the Service LAN VPN Feature Associate Routing OSPF Feature .
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature Data Source - terraform-provider-sdwan"
subcategory: "Feature"
subcategory: "Features"
description: |-
This data source can read the Service LAN VPN Feature Associate Routing OSPFv3 IPv4 Feature .
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature Data Source - terraform-provider-sdwan"
subcategory: "Feature"
subcategory: "Features"
description: |-
This data source can read the Service LAN VPN Feature Associate Routing OSPFv3 IPv6 Feature .
---
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature Data Source - terraform-provider-sdwan"
subcategory: "Features"
description: |-
This data source can read the Service LAN VPN Interface Ethernet Feature Associate DHCP Server Feature .
---

# sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature (Data Source)

This data source can read the Service LAN VPN Interface Ethernet Feature Associate DHCP Server Feature .

## Example Usage

```terraform
data "sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature" "example" {
feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
service_lan_vpn_feature_id = "140331f6-5418-4755-a059-13c77eb96037"
service_lan_vpn_interface_ethernet_feature_id = "140331f6-5418-4755-a059-13c77eb96037"
id = "f6b2c44c-693c-4763-b010-895aa3d236bd"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `feature_profile_id` (String) Feature Profile ID
- `id` (String) The id of the object
- `service_lan_vpn_feature_id` (String) Service LAN VPN Feature ID
- `service_lan_vpn_interface_ethernet_feature_id` (String) Service LAN VPN Interface Ethernet Feature ID

### Read-Only

- `service_dhcp_server_feature_id` (String) Service DHCP Server Feature ID
2 changes: 1 addition & 1 deletion docs/data-sources/transport_ipv4_acl_feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Read-Only:
- `destination_ports` (Attributes List) Destination Port List (see [below for nested schema](#nestedatt--sequences--match_entries--destination_ports))
- `dscps` (Set of Number) DSCP number
- `icmp_messages` (Set of String) ICMP Message
- `packet_length` (Number) Packet Length
- `packet_length` (String) Packet Length
- `protocols` (Set of Number) protocol number list with at least one item
- `source_data_prefix` (String) Source Data IP Prefix
- `source_data_prefix_list_id` (String)
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/transport_ipv6_acl_feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Read-Only:
- `destination_ports` (Attributes List) Destination Port List (see [below for nested schema](#nestedatt--sequences--match_entries--destination_ports))
- `icmp_messages` (Set of String) ICMP6 Message
- `next_header` (Number) next header number
- `packet_length` (Number) Packet Length
- `packet_length` (String) Packet Length
- `source_data_prefix` (String) Source Data IP Prefix
- `source_data_prefix_list_id` (String)
- `source_ports` (Attributes List) Source Port List (see [below for nested schema](#nestedatt--sequences--match_entries--source_ports))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature Data Source - terraform-provider-sdwan"
subcategory: "Feature"
subcategory: "Features"
description: |-
This data source can read the Transport WAN VPN Feature Associate Routing BGP Feature .
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature Data Source - terraform-provider-sdwan"
subcategory: "Feature"
subcategory: "Features"
description: |-
This data source can read the Transport WAN VPN Feature Associate Routing OSPF Feature .
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature Data Source - terraform-provider-sdwan"
subcategory: "Feature"
subcategory: "Features"
description: |-
This data source can read the Transport WAN VPN Feature Associate Routing OSPFv3 IPv4 Feature .
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature Data Source - terraform-provider-sdwan"
subcategory: "Feature"
subcategory: "Features"
description: |-
This data source can read the Transport WAN VPN Feature Associate Routing OSPFv3 IPv6 Feature .
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature Data Source - terraform-provider-sdwan"
subcategory: "Feature"
subcategory: "Features"
description: |-
This data source can read the Transport WAN VPN Interface Ethernet Feature Associate IPv6 Tracker Feature .
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature Data Source - terraform-provider-sdwan"
subcategory: "Feature"
subcategory: "Features"
description: |-
This data source can read the Transport WAN VPN Interface Ethernet Feature Associate IPv6 Tracker Group Feature .
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature Data Source - terraform-provider-sdwan"
subcategory: "Feature"
subcategory: "Features"
description: |-
This data source can read the Transport WAN VPN Interface Ethernet Feature Associate Tracker Feature .
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature Data Source - terraform-provider-sdwan"
subcategory: "Feature"
subcategory: "Features"
description: |-
This data source can read the Transport WAN VPN Interface Ethernet Feature Associate Tracker Group Feature .
---
Expand Down
6 changes: 6 additions & 0 deletions docs/guides/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ description: |-

# Changelog

## 0.5.2 (unreleased)

- Update documentation categories
- Add `sdwan_service_dhcp_server_feature` resource and data source
- Add `sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature` resource and data source

## 0.5.1

- Enhance update logic of policy objects, [link](https://github.com/CiscoDevNet/terraform-provider-sdwan/pull/360)
Expand Down
Loading
Loading