QuestionQ14

Controller-Based Network Automation

Question Image

Refer to the exhibit. An engineer needs to create a network Fabric by using the Cisco Catalyst Center (formerly DNA Center) API. Which line of code completes the snippet?

Explanation

The SD-Access Fabric creation endpoint accepts a JSON object whose fabricName field identifies the fabric. Passing a Python dictionary through requests.post(..., json=sda_fabric_info) serializes it as the required JSON body: {"fabricName": "DNAC_Guide_Fabric"}.

Learn more

Community Discussion

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