/NetApp-ONTAP-APITest-Wrapper

The NetApp APITest Wrapper is an unofficial GUI wrapper for the NetApp apitest application made available in a single binary. The tool's primary purpose is to aid in troubleshooting API connections with NetApp appliances.

Primary LanguageC#MIT LicenseMIT

icons8-netapp-cute-color-32 NetApp / ONTAP APITest Wrapper

Download: https://github.com/dlamkins/NetApp-ONTAP-APITest-Wrapper/releases/latest/download/NetApp.APITest.Wrapper.exe

The NetApp APITest Wrapper is an unofficial GUI wrapper for the NetApp apitest application made available in a single binary. The tool's primary purpose is to aid in troubleshooting API connections with NetApp appliances. Commands for system-get-version and qtree-list-iter are available in the dropdown.

image image

What does the tool do?

The tool performs several basic checks:

  • Checks to see if the appliance can be successfully pinged.
  • Checks to see if the appliance is listening for HTTP/HTTPS API calls.
  • Performs the selected API call, which should return some basic data if successful.

This application is blocked by my anti-virus software.

If you want to use the application, you will need to unblock it. The tool is likely to trigger av software as it bundles the NetApp tool within it and extracts it to run it. In the future, we may look at making the API calls directly instead of feeding them through the apitest application, but I don't have access to a NetApp appliance any more to work on that sort of development.

HTTP fails, but HTTPS succeeds?

v8.6 (or something - I can't quite remember) of ONTAP disables HTTP (80) by default and enforces API calls over HTTPS (443). You're fine as long as one or the other works (whatever your client is using). Honestly, in $currentYear you should be using HTTPS regardless. If you still have HTTP enabled... 😔 consider disabling it.

Common Error Codes

Shown in the Raw Output you'll see an XML response provided by the apitest tool. It will indicate an errorno and status="failed" if there was an issue.

Code Error Message Common Cause
10060 Can't connect to host (err=10060). Nothing appears to be even listening on the port we reached out to - check the IP and that the API is enabled.
13011 HTTP POST failed This likely isn't the correct IP, and you're hitting another system that happens to be hosting a web server.

Feel free to suggest updates to this table.

Credits

Thank you Icons8 for the icon used by the application.