350-601 · Question #17
What is required for using Ansible with HTTP/HTTPS protocol in a Cisco NX-OS environment?
The correct answer is D. NX-API. NX-API is Cisco's programmability interface for NX-OS that exposes device configuration and operational data via HTTP and HTTPS using REST or JSON/XML-RPC calls. Ansible's NX-OS modules that communicate over HTTP/HTTPS rely on NX-API being enabled on the switch. SSH-based…
Question
What is required for using Ansible with HTTP/HTTPS protocol in a Cisco NX-OS environment?
Options
- AXML management interface
- BSSH
- COpen Agent Container
- DNX-API
How the community answered
(32 responses)- A6% (2)
- B3% (1)
- D91% (29)
Explanation
NX-API is Cisco's programmability interface for NX-OS that exposes device configuration and operational data via HTTP and HTTPS using REST or JSON/XML-RPC calls. Ansible's NX-OS modules that communicate over HTTP/HTTPS rely on NX-API being enabled on the switch. SSH-based Ansible modules use a different transport (the network_cli connection plugin). The Open Agent Container (OAC) is used to run third-party agents locally on the switch, and the XML management interface is a separate feature. Only NX-API provides the HTTP/HTTPS transport that these Ansible modules require.
Topics
Community Discussion
No community discussion yet for this question.