QuestionQ93

VerifiedController-Based Network Automation

Question Image

Refer to the exhibit. A Cisco Catalyst SD-WAN Fabric Policy must be created in a nonproduction environment. To accomplish this, a Python script that retrieves the existing policy and changes the preferred route to MPLS must run during the maintenance window. Which code snippet must be added to the boxed section to complete the Python script? The beginning portion of the Python script is not shown.

Explanation

Cisco Catalyst SD-WAN Manager updates an existing policy definition by sending the modified policy-definition payload with an HTTP PUT request to /template/policy/definition/{type}/{id}. The definition ID in the URL identifies the resource being updated. Retaining verify=False matches the script’s existing request behavior for the nonproduction environment.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!