-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
If user configures a sdwan_cisco_vpn_interface_feature_template resource with "tunnel_qos_mode", but does not specify the "tunnel_bandwidth" explicitly, the template creation will work, but later when pushing this template to a device, it will fail.
This is because when you configure it via UI, if the user specifies "tunnel_qos_mode", but does not specify the "tunnel_bandwidth" explicitly, the API payload contains the following attribute:
"tunnels-bandwidth":
{
"vipObjectType": "object",
"vipType": "notIgnore",
"vipValue": 50,
"vipVariableName": "vpn_if_tunnel_tunnels-bandwidth"
},
However terraform doesn't add that block at all when tunnel_bandwidth is not set. Ask is to:
- if tunnel_qos_mode is hub and tunnel_bandwidth is set, configure it like we do today
- if tunnel_qos_mode is to hub and tunnel_bandwidth is not set, tf should add the JSON block listed above in the payload
Metadata
Metadata
Assignees
Labels
No labels