Skip to content

Commit

Permalink
Add missed feature template
Browse files Browse the repository at this point in the history
  • Loading branch information
seconroy committed Nov 28, 2024
1 parent e51783d commit 02757ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/resources/vpn_interface_multilink_feature_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ resource "sdwan_vpn_interface_multilink_feature_template" "example" {
- Default value: `5`
- `tunnel_interface_vmanage_connection_preference_variable` (String) Variable name
- `tunnel_qos_mode` (String) Set tunnel QoS mode
- Choices: `spoke`
- Choices: `hub`, `spoke`
- `tunnel_qos_mode_variable` (String) Variable name
- `write_rule` (String) Name of rewrite rule
- `write_rule_variable` (String) Variable name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ attributes:
- model_name: mode
tf_name: tunnel_qos_mode
exclude_ignore: true
enum_values: ["hub"]
example: spoke
- model_name: value
tf_name: tunnel_interface_color
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -331,10 +331,10 @@ func (r *VPNInterfaceMultilinkFeatureTemplateResource) Schema(ctx context.Contex
Optional: true,
},
"tunnel_qos_mode": schema.StringAttribute{
MarkdownDescription: helpers.NewAttributeDescription("Set tunnel QoS mode").AddStringEnumDescription("spoke").String,
MarkdownDescription: helpers.NewAttributeDescription("Set tunnel QoS mode").AddStringEnumDescription("hub", "spoke").String,
Optional: true,
Validators: []validator.String{
stringvalidator.OneOf("spoke"),
stringvalidator.OneOf("hub", "spoke"),
},
},
"tunnel_qos_mode_variable": schema.StringAttribute{
Expand Down

0 comments on commit 02757ed

Please sign in to comment.