Skip to content

Commit

Permalink
Adds transport t1 e1 controller resource and data source (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
seconroy authored Oct 3, 2024
1 parent 3e7b8f3 commit a408759
Show file tree
Hide file tree
Showing 44 changed files with 2,017 additions and 831 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
- Add `sdwan_service_multicast_feature` resource and data source
- Add `sdwan_service_routing_eigrp_feature` resource and data source
- Add `sdwan_service_wireless_lan_feature` resource and data source
- Add `sdwan_transport_t1_e1_controller_feature` resource and data source

## 0.4.1

Expand Down
75 changes: 75 additions & 0 deletions docs/data-sources/transport_t1_e1_controller_feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_transport_t1_e1_controller_feature Data Source - terraform-provider-sdwan"
subcategory: "Features"
description: |-
This data source can read the Transport T1 E1 Controller Feature.
---

# sdwan_transport_t1_e1_controller_feature (Data Source)

This data source can read the Transport T1 E1 Controller Feature.

## Example Usage

```terraform
data "sdwan_transport_t1_e1_controller_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

- `description` (String) The description of the Feature
- `entries` (Attributes List) Controller tx-ex List (see [below for nested schema](#nestedatt--entries))
- `name` (String) The name of the Feature
- `slot` (String) Slot number
- `slot_variable` (String) Variable name
- `type` (String) Card Type
- `version` (Number) The version of the Feature

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

Read-Only:

- `cable_length` (String) Cable Config
- `channel_groups` (Attributes List) Channel Group List (see [below for nested schema](#nestedatt--entries--channel_groups))
- `clock_source` (String) Clock Source
- `description` (String) Description
- `description_variable` (String) Variable name
- `e1_description` (String) Card Type
- `e1_framing` (String) Framing
- `e1_framing_variable` (String) Variable name
- `e1_linecode` (String) LineCode
- `e1_linecode_variable` (String) Variable name
- `length_long` (String) length
- `length_long_variable` (String) Variable name
- `length_short` (String) length
- `length_short_variable` (String) Variable name
- `line_mode` (String) Line Mode
- `line_mode_variable` (String) Variable name
- `t1_description` (String) Card Type
- `t1_framing` (String) Framing
- `t1_framing_variable` (String) Variable name
- `t1_linecode` (String) LineCode
- `t1_linecode_variable` (String) Variable name

<a id="nestedatt--entries--channel_groups"></a>
### Nested Schema for `entries.channel_groups`

Read-Only:

- `channel_group` (Number) Number
- `channel_group_variable` (String) Variable name
- `time_slot` (String) Time slots
- `time_slot_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 @@ -34,6 +34,7 @@ description: |-
- Add `sdwan_service_multicast_feature` resource and data source
- Add `sdwan_service_routing_eigrp_feature` resource and data source
- Add `sdwan_service_wireless_lan_feature` resource and data source
- Add `sdwan_transport_t1_e1_controller_feature` resource and data source

## 0.4.1

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/expanded_community_list_policy_object.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ resource "sdwan_expanded_community_list_policy_object" "example" {
<a id="nestedatt--entries"></a>
### Nested Schema for `entries`

Required:
Optional:

- `community` (String) Expanded community value, e.g. `100:1000`

Expand Down
4 changes: 2 additions & 2 deletions docs/resources/other_ucse_feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ resource "sdwan_other_ucse_feature" "example" {
- `access_port_shared_type` (String) - Choices: `ge1`, `ge2`, `ge3`, `te2`, `te3`, `console`, `failover`
- `bay` (Number) Bay
- Range: `0`-`2`
- `default_gateway` (String) Assign default gateway
- `feature_profile_id` (String) Feature Profile ID
- `ipv4_address` (String) Assign IPv4 address
- `name` (String) The name of the Feature
- `slot` (Number) Slot
- Range: `0`-`3`
Expand All @@ -61,9 +59,11 @@ resource "sdwan_other_ucse_feature" "example" {
- `assign_priority` (Number) Assign priority
- Range: `0`-`7`
- `assign_priority_variable` (String) Variable name
- `default_gateway` (String) Assign default gateway
- `default_gateway_variable` (String) Variable name
- `description` (String) The description of the Feature
- `interfaces` (Attributes List) Interface name: GigabitEthernet0/<>/<> when present (see [below for nested schema](#nestedatt--interfaces))
- `ipv4_address` (String) Assign IPv4 address
- `ipv4_address_variable` (String) Variable name
- `vlan_id` (Number) Assign Vlan Id
- Range: `2`-`4095`
Expand Down
8 changes: 4 additions & 4 deletions docs/resources/service_lan_vpn_interface_gre_feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@ resource "sdwan_service_lan_vpn_interface_gre_feature" "example" {
### Required

- `feature_profile_id` (String) Feature Profile ID
- `interface_name` (String) Interface name (1..255)
- `ipv4_address` (String)
- `ipv4_subnet_mask` (String) - 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`
- `name` (String) The name of the Feature
- `tunnel_destination_ipv4_address` (String) Tunnel destination IP Address

### Optional

Expand All @@ -57,12 +53,15 @@ resource "sdwan_service_lan_vpn_interface_gre_feature" "example" {
- `description` (String) The description of the Feature
- `interface_description` (String) Interface description
- `interface_description_variable` (String) Variable name
- `interface_name` (String) Interface name (1..255)
- `interface_name_variable` (String) Variable name
- `ip_mtu` (Number) Interface MTU <576..9976>, in bytes
- Range: `576`-`9976`
- Default value: `1500`
- `ip_mtu_variable` (String) Variable name
- `ipv4_address` (String)
- `ipv4_address_variable` (String) Variable name
- `ipv4_subnet_mask` (String) - 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
- `service_lan_vpn_feature_id` (String) Service LAN VPN Feature ID
- `shutdown` (Boolean) Administrative state
Expand All @@ -71,6 +70,7 @@ resource "sdwan_service_lan_vpn_interface_gre_feature" "example" {
- `tcp_mss` (Number) TCP MSS on SYN packets, in bytes
- Range: `500`-`1460`
- `tcp_mss_variable` (String) Variable name
- `tunnel_destination_ipv4_address` (String) Tunnel destination IP Address
- `tunnel_destination_ipv4_address_variable` (String) Variable name
- `tunnel_route_via_loopback` (String) <1..32 characters> Interface name, can't be Loopback interface
- `tunnel_route_via_loopback_variable` (String) Variable name
Expand Down
20 changes: 10 additions & 10 deletions docs/resources/service_lan_vpn_interface_ipsec_feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,22 +57,14 @@ resource "sdwan_service_lan_vpn_interface_ipsec_feature" "example" {

### Required

- `application_tunnel_type` (String) Enable Application Tunnel Type
- Choices: `none`, `sig`
- `feature_profile_id` (String) Feature Profile ID
- `ike_preshared_key` (String) Use preshared key to authenticate IKE peer
- `interface_name` (String) Interface name: IPsec when present
- `ipv4_address` (String)
- `ipv4_subnet_mask` (String) - 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`
- `name` (String) The name of the Feature
- `tunnel_destination_ipv4_address` (String)
- `tunnel_destination_ipv4_subnet_mask` (String) - 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`
- `tunnel_source_interface` (String) <1..32 characters> Interface name: ge0/<0-..> or ge0/<0-..>.vlanid
- `tunnel_source_ipv4_address` (String)
- `tunnel_source_ipv4_subnet_mask` (String) - 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`

### Optional

- `application_tunnel_type` (String) Enable Application Tunnel Type
- Choices: `none`, `sig`
- `application_tunnel_type_variable` (String) Variable name
- `clear_dont_fragment` (Boolean) Enable clear dont fragment (Currently Only SDWAN Tunnel Interface)
- Default value: `false`
Expand Down Expand Up @@ -102,6 +94,7 @@ resource "sdwan_service_lan_vpn_interface_ipsec_feature" "example" {
- Choices: `main`, `aggressive`
- Default value: `main`
- `ike_integrity_protocol_variable` (String) Variable name
- `ike_preshared_key` (String) Use preshared key to authenticate IKE peer
- `ike_preshared_key_variable` (String) Variable name
- `ike_rekey_interval` (Number) IKE rekey interval <60..86400> seconds
- Range: `60`-`86400`
Expand All @@ -112,6 +105,7 @@ resource "sdwan_service_lan_vpn_interface_ipsec_feature" "example" {
- Default value: `1`
- `interface_description` (String) Interface description
- `interface_description_variable` (String) Variable name
- `interface_name` (String) Interface name: IPsec when present
- `interface_name_variable` (String) Variable name
- `ip_mtu` (Number) Interface MTU <68..9216>, in bytes
- Range: `68`-`9216`
Expand All @@ -129,7 +123,9 @@ resource "sdwan_service_lan_vpn_interface_ipsec_feature" "example" {
- Range: `64`-`4096`
- Default value: `512`
- `ipsec_replay_window_variable` (String) Variable name
- `ipv4_address` (String)
- `ipv4_address_variable` (String) Variable name
- `ipv4_subnet_mask` (String) - 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
- `perfect_forward_secrecy` (String) IPsec perfect forward secrecy settings
- Choices: `group-1`, `group-2`, `group-5`, `group-14`, `group-15`, `group-16`, `group-19`, `group-20`, `group-21`, `group-24`, `none`
Expand All @@ -144,12 +140,16 @@ resource "sdwan_service_lan_vpn_interface_ipsec_feature" "example" {
- `tcp_mss_variable` (String) Variable name
- `tracker_id` (String) Enable tracker for this interface
- `tracker_id_variable` (String) Variable name
- `tunnel_destination_ipv4_address` (String)
- `tunnel_destination_ipv4_address_variable` (String) Variable name
- `tunnel_destination_ipv4_subnet_mask_variable` (String) Variable name
- `tunnel_route_via` (String) <1..32 characters> Interface name: ge0/<0-..> or ge0/<0-..>.vlanid
- `tunnel_route_via_variable` (String) Variable name
- `tunnel_source_interface` (String) <1..32 characters> Interface name: ge0/<0-..> or ge0/<0-..>.vlanid
- `tunnel_source_interface_variable` (String) Variable name
- `tunnel_source_ipv4_address` (String)
- `tunnel_source_ipv4_address_variable` (String) Variable name
- `tunnel_source_ipv4_subnet_mask` (String) - 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`
- `tunnel_source_ipv4_subnet_mask_variable` (String) Variable name

### Read-Only
Expand Down
8 changes: 4 additions & 4 deletions docs/resources/service_lan_vpn_interface_svi_feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,6 @@ resource "sdwan_service_lan_vpn_interface_svi_feature" "example" {
### Required

- `feature_profile_id` (String) Feature Profile ID
- `interface_name` (String) Interface name: VLAN 1 - VLAN 4094 when present
- `ipv4_address` (String) IP Address
- `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`
- `name` (String) The name of the Feature

### Optional
Expand All @@ -129,6 +125,7 @@ resource "sdwan_service_lan_vpn_interface_svi_feature" "example" {
- Range: `1500`-`9216`
- Default value: `1500`
- `interface_mtu_variable` (String) Variable name
- `interface_name` (String) Interface name: VLAN 1 - VLAN 4094 when present
- `interface_name_variable` (String) Variable name
- `ip_directed_broadcast` (Boolean) IP Directed-Broadcast
- Default value: `false`
Expand All @@ -137,10 +134,13 @@ resource "sdwan_service_lan_vpn_interface_svi_feature" "example" {
- Range: `576`-`9216`
- Default value: `1500`
- `ip_mtu_variable` (String) Variable name
- `ipv4_address` (String) IP Address
- `ipv4_address_variable` (String) Variable name
- `ipv4_dhcp_helpers` (Set of String) List of DHCP helper addresses
- `ipv4_dhcp_helpers_variable` (String) Variable name
- `ipv4_secondary_addresses` (Attributes List) Assign secondary IP 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
- `ipv4_vrrps` (Attributes List) Enable ipv4 VRRP (see [below for nested schema](#nestedatt--ipv4_vrrps))
- `ipv6_address` (String) Assign IPv6 address
Expand Down
20 changes: 10 additions & 10 deletions docs/resources/service_routing_eigrp_feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,31 +56,31 @@ resource "sdwan_service_routing_eigrp_feature" "example" {

### Required

- `authentication_type` (String) Set EIGRP router authentication type
- Choices: `md5`, `hmac-sha-256`
- `autonomous_system_id` (Number) Set autonomous system ID <1..65535>
- Range: `1`-`65535`
- `feature_profile_id` (String) Feature Profile ID
- `hello_interval` (Number) Set EIGRP hello interval
- Range: `0`-`65535`
- Default value: `5`
- `hold_time` (Number) Set EIGRP hold time
- Range: `0`-`65535`
- Default value: `15`
- `name` (String) The name of the Feature
- `networks` (Attributes List) Configure the networks for EIGRP to advertise (see [below for nested schema](#nestedatt--networks))

### Optional

- `authentication_type` (String) Set EIGRP router authentication type
- Choices: `md5`, `hmac-sha-256`
- `authentication_type_variable` (String) Variable name
- `autonomous_system_id` (Number) Set autonomous system ID <1..65535>
- Range: `1`-`65535`
- `autonomous_system_id_variable` (String) Variable name
- `description` (String) The description of the Feature
- `filter` (Boolean) Selective route download
- Default value: `false`
- `filter_variable` (String) Variable name
- `hello_interval` (Number) Set EIGRP hello interval
- Range: `0`-`65535`
- Default value: `5`
- `hello_interval_variable` (String) Variable name
- `hmac_authentication_key` (String) Set hmac-sha-256 authentication key, Attribute conditional on `authentication_type` being equal to `hmac-sha-256`
- `hmac_authentication_key_variable` (String) Variable name
- `hold_time` (Number) Set EIGRP hold time
- Range: `0`-`65535`
- Default value: `15`
- `hold_time_variable` (String) Variable name
- `interfaces` (Attributes List) Configure IPv4 Static Routes (see [below for nested schema](#nestedatt--interfaces))
- `md5_keys` (Attributes List) Set keychain details, Attribute conditional on `authentication_type` being equal to `md5` (see [below for nested schema](#nestedatt--md5_keys))
Expand Down
Loading

0 comments on commit a408759

Please sign in to comment.