-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds transport and service route policy profile parcels (#313)
- Loading branch information
Showing
76 changed files
with
9,430 additions
and
1,203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "sdwan_service_route_policy_profile_parcel Data Source - terraform-provider-sdwan" | ||
subcategory: "Profile Parcels" | ||
description: |- | ||
This data source can read the Service Route Policy profile parcel. | ||
--- | ||
|
||
# sdwan_service_route_policy_profile_parcel (Data Source) | ||
|
||
This data source can read the Service Route Policy profile parcel. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "sdwan_service_route_policy_profile_parcel" "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 profile parcel | ||
|
||
### Read-Only | ||
|
||
- `default_action` (String) Default Action | ||
- `description` (String) The description of the profile parcel | ||
- `name` (String) The name of the profile parcel | ||
- `sequences` (Attributes List) Route Policy List (see [below for nested schema](#nestedatt--sequences)) | ||
- `version` (Number) The version of the profile parcel | ||
|
||
<a id="nestedatt--sequences"></a> | ||
### Nested Schema for `sequences` | ||
|
||
Read-Only: | ||
|
||
- `actions` (Attributes List) Define list of actions (see [below for nested schema](#nestedatt--sequences--actions)) | ||
- `base_action` (String) Base Action | ||
- `id` (Number) Sequence Id | ||
- `match_entries` (Attributes List) Define match conditions (see [below for nested schema](#nestedatt--sequences--match_entries)) | ||
- `name` (String) Sequence Name | ||
- `protocol` (String) protocol such as IPV4, IPV6, or BOTH | ||
|
||
<a id="nestedatt--sequences--actions"></a> | ||
### Nested Schema for `sequences.actions` | ||
|
||
Read-Only: | ||
|
||
- `as_path_prepend` (Set of Number) | ||
- `community` (Set of String) | ||
- `community_additive` (Boolean) | ||
- `community_variable` (String) Variable name | ||
- `ipv4_next_hop` (String) Set Ipv4 Next Hop | ||
- `ipv6_next_hop` (String) Set Ipv6 Next Hop | ||
- `local_preference` (Number) Set Local Preference | ||
- `metric` (Number) Set Metric | ||
- `metric_type` (String) Set Metric Type | ||
- `omp_tag` (Number) Set OMP Tag | ||
- `origin` (String) Set Origin | ||
- `ospf_tag` (Number) Set OSPF Tag | ||
- `weight` (Number) Set Weight | ||
|
||
|
||
<a id="nestedatt--sequences--match_entries"></a> | ||
### Nested Schema for `sequences.match_entries` | ||
|
||
Read-Only: | ||
|
||
- `as_path_list_id` (String) | ||
- `bgp_local_preference` (Number) BGP Local Preference | ||
- `expanded_community_list_id` (String) | ||
- `extended_community_list_id` (String) | ||
- `ipv4_address_prefix_list_id` (String) | ||
- `ipv4_next_hop_prefix_list_id` (String) | ||
- `ipv6_address_prefix_list_id` (String) | ||
- `ipv6_next_hop_prefix_list_id` (String) | ||
- `metric` (Number) Select Metric | ||
- `omp_tag` (Number) Select OMP Tag | ||
- `ospf_tag` (Number) Select OSPF Tag | ||
- `standard_community_list_criteria` (String) Select a condition such as OR, AND or EXACT | ||
- `standard_community_lists` (Attributes List) Select a standard community list (see [below for nested schema](#nestedatt--sequences--match_entries--standard_community_lists)) | ||
|
||
<a id="nestedatt--sequences--match_entries--standard_community_lists"></a> | ||
### Nested Schema for `sequences.match_entries.standard_community_lists` | ||
|
||
Read-Only: | ||
|
||
- `id` (String) |
94 changes: 94 additions & 0 deletions
94
docs/data-sources/transport_route_policy_profile_parcel.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "sdwan_transport_route_policy_profile_parcel Data Source - terraform-provider-sdwan" | ||
subcategory: "Profile Parcels" | ||
description: |- | ||
This data source can read the Transport Route Policy profile parcel. | ||
--- | ||
|
||
# sdwan_transport_route_policy_profile_parcel (Data Source) | ||
|
||
This data source can read the Transport Route Policy profile parcel. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "sdwan_transport_route_policy_profile_parcel" "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 profile parcel | ||
|
||
### Read-Only | ||
|
||
- `default_action` (String) Default Action | ||
- `description` (String) The description of the profile parcel | ||
- `name` (String) The name of the profile parcel | ||
- `sequences` (Attributes List) Route Policy List (see [below for nested schema](#nestedatt--sequences)) | ||
- `version` (Number) The version of the profile parcel | ||
|
||
<a id="nestedatt--sequences"></a> | ||
### Nested Schema for `sequences` | ||
|
||
Read-Only: | ||
|
||
- `actions` (Attributes List) Define list of actions (see [below for nested schema](#nestedatt--sequences--actions)) | ||
- `base_action` (String) Base Action | ||
- `id` (Number) Sequence Id | ||
- `match_entries` (Attributes List) Define match conditions (see [below for nested schema](#nestedatt--sequences--match_entries)) | ||
- `name` (String) Sequence Name | ||
- `protocol` (String) protocol such as IPV4, IPV6, or BOTH | ||
|
||
<a id="nestedatt--sequences--actions"></a> | ||
### Nested Schema for `sequences.actions` | ||
|
||
Read-Only: | ||
|
||
- `as_path_prepend` (Set of Number) | ||
- `community` (Set of String) | ||
- `community_additive` (Boolean) | ||
- `community_variable` (String) Variable name | ||
- `ipv4_next_hop` (String) Set Ipv4 Next Hop | ||
- `ipv6_next_hop` (String) Set Ipv6 Next Hop | ||
- `local_preference` (Number) Set Local Preference | ||
- `metric` (Number) Set Metric | ||
- `metric_type` (String) Set Metric Type | ||
- `omp_tag` (Number) Set OMP Tag | ||
- `origin` (String) Set Origin | ||
- `ospf_tag` (Number) Set OSPF Tag | ||
- `weight` (Number) Set Weight | ||
|
||
|
||
<a id="nestedatt--sequences--match_entries"></a> | ||
### Nested Schema for `sequences.match_entries` | ||
|
||
Read-Only: | ||
|
||
- `as_path_list_id` (String) | ||
- `bgp_local_preference` (Number) BGP Local Preference | ||
- `expanded_community_list_id` (String) | ||
- `extended_community_list_id` (String) | ||
- `ipv4_address_prefix_list_id` (String) | ||
- `ipv4_next_hop_prefix_list_id` (String) | ||
- `ipv6_address_prefix_list_id` (String) | ||
- `ipv6_next_hop_prefix_list_id` (String) | ||
- `metric` (Number) Select Metric | ||
- `omp_tag` (Number) Select OMP Tag | ||
- `ospf_tag` (Number) Select OSPF Tag | ||
- `standard_community_list_criteria` (String) Select a condition such as OR, AND or EXACT | ||
- `standard_community_lists` (Attributes List) Select a standard community list (see [below for nested schema](#nestedatt--sequences--match_entries--standard_community_lists)) | ||
|
||
<a id="nestedatt--sequences--match_entries--standard_community_lists"></a> | ||
### Nested Schema for `sequences.match_entries.standard_community_lists` | ||
|
||
Read-Only: | ||
|
||
- `id` (String) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,151 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "sdwan_service_route_policy_profile_parcel Resource - terraform-provider-sdwan" | ||
subcategory: "Profile Parcels" | ||
description: |- | ||
This resource can manage a Service Route Policy profile parcel. | ||
Minimum SD-WAN Manager version: 20.12.0 | ||
--- | ||
|
||
# sdwan_service_route_policy_profile_parcel (Resource) | ||
|
||
This resource can manage a Service Route Policy profile parcel. | ||
- Minimum SD-WAN Manager version: `20.12.0` | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "sdwan_service_route_policy_profile_parcel" "example" { | ||
name = "Example" | ||
description = "My Example" | ||
feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" | ||
default_action = "accept" | ||
sequences = [ | ||
{ | ||
id = 1 | ||
name = "SEQ_1" | ||
base_action = "reject" | ||
protocol = "IPV4" | ||
actions = [ | ||
{ | ||
as_path_prepend = [65521] | ||
community_additive = false | ||
community = ["internet"] | ||
local_preference = 100 | ||
metric = 20 | ||
metric_type = "type1" | ||
omp_tag = 200 | ||
origin = "EGP" | ||
ospf_tag = 1200 | ||
weight = 2200 | ||
ipv4_next_hop = "10.0.0.1" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `feature_profile_id` (String) Feature Profile ID | ||
- `name` (String) The name of the profile parcel | ||
|
||
### Optional | ||
|
||
- `default_action` (String) Default Action | ||
- Choices: `reject`, `accept` | ||
- Default value: `reject` | ||
- `description` (String) The description of the profile parcel | ||
- `sequences` (Attributes List) Route Policy List (see [below for nested schema](#nestedatt--sequences)) | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The id of the profile parcel | ||
- `version` (Number) The version of the profile parcel | ||
|
||
<a id="nestedatt--sequences"></a> | ||
### Nested Schema for `sequences` | ||
|
||
Optional: | ||
|
||
- `actions` (Attributes List) Define list of actions (see [below for nested schema](#nestedatt--sequences--actions)) | ||
- `base_action` (String) Base Action | ||
- Choices: `reject`, `accept` | ||
- Default value: `reject` | ||
- `id` (Number) Sequence Id | ||
- Range: `1`-`65536` | ||
- `match_entries` (Attributes List) Define match conditions (see [below for nested schema](#nestedatt--sequences--match_entries)) | ||
- `name` (String) Sequence Name | ||
- `protocol` (String) protocol such as IPV4, IPV6, or BOTH | ||
- Choices: `IPV4`, `IPV6`, `BOTH` | ||
- Default value: `IPV4` | ||
|
||
<a id="nestedatt--sequences--actions"></a> | ||
### Nested Schema for `sequences.actions` | ||
|
||
Optional: | ||
|
||
- `as_path_prepend` (Set of Number) | ||
- `community` (Set of String) | ||
- `community_additive` (Boolean) - Default value: `false` | ||
- `community_variable` (String) Variable name | ||
- `ipv4_next_hop` (String) Set Ipv4 Next Hop | ||
- `ipv6_next_hop` (String) Set Ipv6 Next Hop | ||
- `local_preference` (Number) Set Local Preference | ||
- Range: `0`-`4294967295` | ||
- `metric` (Number) Set Metric | ||
- Range: `0`-`4294967295` | ||
- `metric_type` (String) Set Metric Type | ||
- Choices: `type1`, `type2` | ||
- `omp_tag` (Number) Set OMP Tag | ||
- Range: `0`-`4294967295` | ||
- `origin` (String) Set Origin | ||
- Choices: `EGP`, `IGP`, `Incomplete` | ||
- `ospf_tag` (Number) Set OSPF Tag | ||
- Range: `0`-`4294967295` | ||
- `weight` (Number) Set Weight | ||
- Range: `0`-`65535` | ||
|
||
|
||
<a id="nestedatt--sequences--match_entries"></a> | ||
### Nested Schema for `sequences.match_entries` | ||
|
||
Optional: | ||
|
||
- `as_path_list_id` (String) | ||
- `bgp_local_preference` (Number) BGP Local Preference | ||
- Range: `0`-`4294967295` | ||
- `expanded_community_list_id` (String) | ||
- `extended_community_list_id` (String) | ||
- `ipv4_address_prefix_list_id` (String) | ||
- `ipv4_next_hop_prefix_list_id` (String) | ||
- `ipv6_address_prefix_list_id` (String) | ||
- `ipv6_next_hop_prefix_list_id` (String) | ||
- `metric` (Number) Select Metric | ||
- Range: `0`-`4294967295` | ||
- `omp_tag` (Number) Select OMP Tag | ||
- Range: `0`-`4294967295` | ||
- `ospf_tag` (Number) Select OSPF Tag | ||
- Range: `0`-`4294967295` | ||
- `standard_community_list_criteria` (String) Select a condition such as OR, AND or EXACT | ||
- Choices: `OR`, `AND`, `EXACT` | ||
- `standard_community_lists` (Attributes List) Select a standard community list (see [below for nested schema](#nestedatt--sequences--match_entries--standard_community_lists)) | ||
|
||
<a id="nestedatt--sequences--match_entries--standard_community_lists"></a> | ||
### Nested Schema for `sequences.match_entries.standard_community_lists` | ||
|
||
Optional: | ||
|
||
- `id` (String) | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
terraform import sdwan_service_route_policy_profile_parcel.example "f6b2c44c-693c-4763-b010-895aa3d236bd" | ||
``` |
Oops, something went wrong.