Skip to content

Commit

Permalink
Add transport management vpn interface ethernet profile parcel resour…
Browse files Browse the repository at this point in the history
…ce and data source (#218)
  • Loading branch information
seconroy authored May 8, 2024
1 parent bed5919 commit 11d1935
Show file tree
Hide file tree
Showing 683 changed files with 9,569 additions and 1,442 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
- Add `sdwan_system_logging_profile_parcel` resource and data source
- Add `sdwan_transport_management_vpn_profile_parcel` resource and data source
- Fix issue when updating certain policy definitions, [link](https://github.com/CiscoDevNet/terraform-provider-sdwan/issues/230)
- Add `sdwan_transport_management_vpn_interface_ethernet_profile_parcel` resource and data source

## 0.3.8

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_transport_management_vpn_interface_ethernet_profile_parcel Data Source - terraform-provider-sdwan"
subcategory: "Profile Parcels"
description: |-
This data source can read the Transport Management VPN Interface Ethernet profile parcel.
---

# sdwan_transport_management_vpn_interface_ethernet_profile_parcel (Data Source)

This data source can read the Transport Management VPN Interface Ethernet profile parcel.

## Example Usage

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

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

### Required

- `feature_profile_id` (String) Feature Profile ID
- `id` (String) The id of the profile parcel
- `transport_management_vpn_profile_parcel_id` (String) Transport Management VPN Profile Parcel ID

### Read-Only

- `arp_entries` (Attributes List) Configure ARP entries (see [below for nested schema](#nestedatt--arp_entries))
- `arp_timeout` (Number) Timeout value for dynamically learned ARP entries, <0..2678400> seconds
- `arp_timeout_variable` (String) Variable name
- `autonegotiate` (Boolean) Link autonegotiation
- `autonegotiate_variable` (String) Variable name
- `basic_configuration_description` (String)
- `basic_configuration_description_variable` (String) Variable name
- `description` (String) The description of the profile parcel
- `duplex` (String) Duplex mode
- `duplex_variable` (String) Variable name
- `enable_dhcpv6` (Boolean) Enable DHCPv6
- `icmp_redirect_disable` (Boolean) ICMP/ICMPv6 Redirect Disable
- `icmp_redirect_disable_variable` (String) Variable name
- `interface_mtu` (Number) Interface MTU
- `interface_mtu_variable` (String) Variable name
- `interface_name` (String)
- `interface_name_variable` (String) Variable name
- `ip_directed_broadcast` (Boolean) IP Directed-Broadcast
- `ip_directed_broadcast_variable` (String) Variable name
- `ip_mtu` (Number) IP MTU for GigabitEthernet main <576..Interface MTU>, GigabitEthernet subinterface <576..9216>, Other Interfaces <576..2000> in bytes
- `ip_mtu_variable` (String) Variable name
- `ipv4_address` (String) IP Address
- `ipv4_address_variable` (String) Variable name
- `ipv4_auto_detect_bandwidth` (Boolean) Interface auto detect bandwidth
- `ipv4_auto_detect_bandwidth_variable` (String) Variable name
- `ipv4_dhcp_distance` (Number) DHCP Distance
- `ipv4_dhcp_distance_variable` (String) Variable name
- `ipv4_dhcp_helper` (Set of String) List of DHCP IPv4 helper addresses (min 1, max 8)
- `ipv4_dhcp_helper_variable` (String) Variable name
- `ipv4_iperf_server` (String) Iperf server for auto bandwidth detect
- `ipv4_iperf_server_variable` (String) Variable name
- `ipv4_secondary_addresses` (Attributes List) Secondary IpV4 Addresses (see [below for nested schema](#nestedatt--ipv4_secondary_addresses))
- `ipv4_subnet_mask` (String) Subnet Mask
- `ipv4_subnet_mask_variable` (String) Variable name
- `ipv6_address` (String) IPv6 Address Secondary
- `ipv6_address_variable` (String) Variable name
- `load_interval` (Number) Interval for interface load calculation
- `load_interval_variable` (String) Variable name
- `mac_address` (String) MAC Address
- `mac_address_variable` (String) Variable name
- `media_type` (String) Media type
- `media_type_variable` (String) Variable name
- `name` (String) The name of the profile parcel
- `shutdown` (Boolean)
- `shutdown_variable` (String) Variable name
- `speed` (String) Set interface speed
- `speed_variable` (String) Variable name
- `tcp_mss` (Number) TCP MSS on SYN packets, in bytes
- `tcp_mss_variable` (String) Variable name
- `version` (Number) The version of the profile parcel

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

Read-Only:

- `ip_address` (String) IPV4 Address
- `ip_address_variable` (String) Variable name
- `mac_address` (String) MAC Address
- `mac_address_variable` (String) Variable name


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

Read-Only:

- `address` (String) IpV4 Address
- `address_variable` (String) Variable name
- `subnet_mask` (String) Subnet Mask
- `subnet_mask_variable` (String) Variable name
1 change: 1 addition & 0 deletions docs/guides/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ description: |-
- Add `sdwan_system_logging_profile_parcel` resource and data source
- Add `sdwan_transport_management_vpn_profile_parcel` resource and data source
- Fix issue when updating certain policy definitions, [link](https://github.com/CiscoDevNet/terraform-provider-sdwan/issues/230)
- Add `sdwan_transport_management_vpn_interface_ethernet_profile_parcel` resource and data source

## 0.3.8

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_transport_management_vpn_interface_ethernet_profile_parcel Resource - terraform-provider-sdwan"
subcategory: "Profile Parcels"
description: |-
This resource can manage a Transport Management VPN Interface Ethernet profile parcel.
Minimum SD-WAN Manager version: 20.12.0
---

# sdwan_transport_management_vpn_interface_ethernet_profile_parcel (Resource)

This resource can manage a Transport Management VPN Interface Ethernet profile parcel.
- Minimum SD-WAN Manager version: `20.12.0`

## Example Usage

```terraform
resource "sdwan_transport_management_vpn_interface_ethernet_profile_parcel" "example" {
name = "Example"
description = "My Example"
feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
transport_management_vpn_profile_parcel_id = "140331f6-5418-4755-a059-13c77eb96037"
shutdown = true
interface_name = "GigabitEthernet1"
basic_configuration_description = "Transport Management VPN Interface Ethernet"
ipv4_address = "1.2.3.4"
ipv4_subnet_mask = "0.0.0.0"
ipv4_secondary_addresses = [
{
address = "1.2.3.4"
subnet_mask = "0.0.0.0"
}
]
ipv4_dhcp_helper = ["1.2.3.4"]
ipv4_iperf_server = "example"
ipv4_auto_detect_bandwidth = false
ipv6_address = "2001:0:0:1::/64"
arp_entries = [
{
ip_address = "1.2.3.4"
mac_address = "00-B0-D0-63-C2-26"
}
]
duplex = "full"
mac_address = "00-B0-D0-63-C2-26"
ip_mtu = 1500
interface_mtu = 1500
tcp_mss = 505
speed = "2500"
arp_timeout = 1200
autonegotiate = false
media_type = "rj45"
load_interval = 30
icmp_redirect_disable = true
ip_directed_broadcast = false
}
```

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

### Required

- `interface_name` (String)
- `name` (String) The name of the profile parcel

### Optional

- `arp_entries` (Attributes List) Configure ARP entries (see [below for nested schema](#nestedatt--arp_entries))
- `arp_timeout` (Number) Timeout value for dynamically learned ARP entries, <0..2678400> seconds
- Range: `0`-`2147483`
- Default value: `1200`
- `arp_timeout_variable` (String) Variable name
- `autonegotiate` (Boolean) Link autonegotiation
- `autonegotiate_variable` (String) Variable name
- `basic_configuration_description` (String)
- `basic_configuration_description_variable` (String) Variable name
- `description` (String) The description of the profile parcel
- `duplex` (String) Duplex mode
- Choices: `full`, `half`, `auto`
- `duplex_variable` (String) Variable name
- `enable_dhcpv6` (Boolean) Enable DHCPv6
- `feature_profile_id` (String) Feature Profile ID
- `icmp_redirect_disable` (Boolean) ICMP/ICMPv6 Redirect Disable
- Default value: `true`
- `icmp_redirect_disable_variable` (String) Variable name
- `interface_mtu` (Number) Interface MTU
- Range: `1500`-`9216`
- Default value: `1500`
- `interface_mtu_variable` (String) Variable name
- `interface_name_variable` (String) Variable name
- `ip_directed_broadcast` (Boolean) IP Directed-Broadcast
- Default value: `false`
- `ip_directed_broadcast_variable` (String) Variable name
- `ip_mtu` (Number) IP MTU for GigabitEthernet main <576..Interface MTU>, GigabitEthernet subinterface <576..9216>, Other Interfaces <576..2000> in bytes
- Range: `576`-`9216`
- Default value: `1500`
- `ip_mtu_variable` (String) Variable name
- `ipv4_address` (String) IP Address
- `ipv4_address_variable` (String) Variable name
- `ipv4_auto_detect_bandwidth` (Boolean) Interface auto detect bandwidth
- Default value: `false`
- `ipv4_auto_detect_bandwidth_variable` (String) Variable name
- `ipv4_dhcp_distance` (Number) DHCP Distance
- Range: `1`-`65536`
- `ipv4_dhcp_distance_variable` (String) Variable name
- `ipv4_dhcp_helper` (Set of String) List of DHCP IPv4 helper addresses (min 1, max 8)
- `ipv4_dhcp_helper_variable` (String) Variable name
- `ipv4_iperf_server` (String) Iperf server for auto bandwidth detect
- `ipv4_iperf_server_variable` (String) Variable name
- `ipv4_secondary_addresses` (Attributes List) Secondary IpV4 Addresses (see [below for nested schema](#nestedatt--ipv4_secondary_addresses))
- `ipv4_subnet_mask` (String) Subnet Mask
- Choices: `255.255.255.255`, `255.255.255.254`, `255.255.255.252`, `255.255.255.248`, `255.255.255.240`, `255.255.255.224`, `255.255.255.192`, `255.255.255.128`, `255.255.255.0`, `255.255.254.0`, `255.255.252.0`, `255.255.248.0`, `255.255.240.0`, `255.255.224.0`, `255.255.192.0`, `255.255.128.0`, `255.255.0.0`, `255.254.0.0`, `255.252.0.0`, `255.240.0.0`, `255.224.0.0`, `255.192.0.0`, `255.128.0.0`, `255.0.0.0`, `254.0.0.0`, `252.0.0.0`, `248.0.0.0`, `240.0.0.0`, `224.0.0.0`, `192.0.0.0`, `128.0.0.0`, `0.0.0.0`
- `ipv4_subnet_mask_variable` (String) Variable name
- `ipv6_address` (String) IPv6 Address Secondary
- `ipv6_address_variable` (String) Variable name
- `load_interval` (Number) Interval for interface load calculation
- Range: `30`-`600`
- Default value: `30`
- `load_interval_variable` (String) Variable name
- `mac_address` (String) MAC Address
- `mac_address_variable` (String) Variable name
- `media_type` (String) Media type
- Choices: `auto-select`, `rj45`, `sfp`
- `media_type_variable` (String) Variable name
- `shutdown` (Boolean) - Default value: `true`
- `shutdown_variable` (String) Variable name
- `speed` (String) Set interface speed
- Choices: `10`, `100`, `1000`, `2500`, `10000`
- `speed_variable` (String) Variable name
- `tcp_mss` (Number) TCP MSS on SYN packets, in bytes
- Range: `500`-`1460`
- `tcp_mss_variable` (String) Variable name
- `transport_management_vpn_profile_parcel_id` (String) Transport Management VPN Profile Parcel ID

### Read-Only

- `id` (String) The id of the profile parcel
- `version` (Number) The version of the profile parcel

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

Optional:

- `ip_address` (String) IPV4 Address
- `ip_address_variable` (String) Variable name
- `mac_address` (String) MAC Address
- `mac_address_variable` (String) Variable name


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

Optional:

- `address` (String) IpV4 Address
- `address_variable` (String) Variable name
- `subnet_mask` (String) Subnet Mask
- Choices: `255.255.255.255`, `255.255.255.254`, `255.255.255.252`, `255.255.255.248`, `255.255.255.240`, `255.255.255.224`, `255.255.255.192`, `255.255.255.128`, `255.255.255.0`, `255.255.254.0`, `255.255.252.0`, `255.255.248.0`, `255.255.240.0`, `255.255.224.0`, `255.255.192.0`, `255.255.128.0`, `255.255.0.0`, `255.254.0.0`, `255.252.0.0`, `255.240.0.0`, `255.224.0.0`, `255.192.0.0`, `255.128.0.0`, `255.0.0.0`, `254.0.0.0`, `252.0.0.0`, `248.0.0.0`, `240.0.0.0`, `224.0.0.0`, `192.0.0.0`, `128.0.0.0`, `0.0.0.0`
- `subnet_mask_variable` (String) Variable name

## Import

Import is supported using the following syntax:

```shell
terraform import sdwan_transport_management_vpn_interface_ethernet_profile_parcel.example "f6b2c44c-693c-4763-b010-895aa3d236bd"
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
data "sdwan_transport_management_vpn_interface_ethernet_profile_parcel" "example" {
id = "f6b2c44c-693c-4763-b010-895aa3d236bd"
feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
transport_management_vpn_profile_parcel_id = "140331f6-5418-4755-a059-13c77eb96037"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
terraform import sdwan_transport_management_vpn_interface_ethernet_profile_parcel.example "f6b2c44c-693c-4763-b010-895aa3d236bd"
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
resource "sdwan_transport_management_vpn_interface_ethernet_profile_parcel" "example" {
name = "Example"
description = "My Example"
feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
transport_management_vpn_profile_parcel_id = "140331f6-5418-4755-a059-13c77eb96037"
shutdown = true
interface_name = "GigabitEthernet1"
basic_configuration_description = "Transport Management VPN Interface Ethernet"
ipv4_address = "1.2.3.4"
ipv4_subnet_mask = "0.0.0.0"
ipv4_secondary_addresses = [
{
address = "1.2.3.4"
subnet_mask = "0.0.0.0"
}
]
ipv4_dhcp_helper = ["1.2.3.4"]
ipv4_iperf_server = "example"
ipv4_auto_detect_bandwidth = false
ipv6_address = "2001:0:0:1::/64"
arp_entries = [
{
ip_address = "1.2.3.4"
mac_address = "00-B0-D0-63-C2-26"
}
]
duplex = "full"
mac_address = "00-B0-D0-63-C2-26"
ip_mtu = 1500
interface_mtu = 1500
tcp_mss = 505
speed = "2500"
arp_timeout = 1200
autonegotiate = false
media_type = "rj45"
load_interval = 30
icmp_redirect_disable = true
ip_directed_broadcast = false
}
Loading

0 comments on commit 11d1935

Please sign in to comment.