Options for ONTAP automation
Beginning with ONTAP 9.6, ONTAP includes an expansive REST API that provides the foundation for automating the deployment and administration of your storage systems. You can access the REST API directly or through the NetApp Python client library. In addition, NetApp supports ONTAP automation using Ansible as well as other high-level software abstractions.
|The ONTAPI API, also known as the Network Manageability SDK or ZAPI, is the legacy technology for programmatically accessing and administering ONTAP storage systems. The ONTAP REST API is now the strategic technology and should be selected where possible.|
Accessing the ONTAP REST API natively
You can access the ONTAP REST API directly using any programming language that supports a REST client. Popular language choices include Python, PowerShell, and Java. You should begin by reviewing the documentation at this site, including Getting started with the REST API.
Adapt legacy ONTAPI code to use REST
If you have existing code using the ONTAPI API, NetApp provides support for converting your code to use the newer ONTAP REST API. See ONTAPI to REST API mapping information for information about mapping the ONTAPI calls to the equivalent REST API calls.
Using the NetApp Python client library
The Python client library is a package you can use when writing scripts to access the ONTAP REST API. It provides support for several underlying services, including connection management, asynchronous request processing, and exception handling. By using the Python client library, you can quickly develop robust code to support your ONTAP automation goals. You should begin by reviewing the documentation at this site, including Using Python.
Ansible is an open-source software tool that supports provisioning, configuration management, and application deployment. Since its release and subsequent acquisition by RedHat, it has continued to grow in popularity. NetApp provides Ansible-certified modules that customers can use to automate the administration of their ONTAP storage systems. You should begin by reviewing the documentation at this site, including ONTAP and Ansible automation.