#Nutanix has been built with a strong set of APIs for managing all cluster aspects and AHV virtual machines. REST API’s can be called from a browser and also from pretty much any existing language out there. I have been using mostly #Python Language to create my toys and prototypes, so I decided to share some instructions and code about how to use Python to connect to a Nutanix Cluster and manipulate objects. If you are not familiar with Python Language I recommend this Python For Beginners; Python is very easy to learn! If you are trying to connect to Nutanix API with an untrusted SSL certificate, you will get the InsecureRequestWarning: Unverified HTTPS. Adding certificate verification is strongly advised, but if you want to bypass the SSL certificate you will need to execute following code snippet.
https://www.dabcc.com/how-to-use-python-with-nutanix-rest-api-part-1/
No comments:
Post a Comment