Skip to content

[UX1.0] device template push will fail if per-tunnel qos used #429

@tzarski0

Description

@tzarski0

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions