Refer to the exhibit. Why does the Python code for Cisco NX-API print an error message?

QuestionsCategory: 350-601Refer to the exhibit. Why does the Python code for Cisco NX-API print an error message?
Admin Staff asked 9 months ago
Refer to the exhibit.
 Image
Why does the Python code for Cisco NX-API print an error message?

A. The JSON is not a supported format for the NX-API.

B. The "type" is wrong in the header of the request and should be "cli_conf"

C. NX-API does not allow configuration for features via the requests module.

D. The "type" is wrong in the body of the request and should be "cli_conf"








 

Suggested Answer: D

Commands that belong to different message types should not be mixed. For example, show commands are cli_show message type and are not supported in cli_conf mode.
Reference:
https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus7000/sw/programmability/guide/cisco_nexus7000_programmability_guide_8x/b-
 cisco-nexus7000-programmability-guide-8x_chapter_011.html

This question is in 350-601 DCCOR exam 
For getting CCNP Data Center Certificate


Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Cisco.
Trademarks, certification & product names are used for reference only and belong to Cisco.

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.