After some very effective new hire training sessions and some first customer meetings I thought it could be a good idea to wipe off the dust and do some python stuff. Maybe you know that Nutanix has a beautiful REST API which you can use to develop great things like portal solutions or integrations. I thought it´s a good option to have a short way to see all protected and controller VM´s managed by PRISM.

Using the REST API Explorer in PRISM showed up some really easy GET calls to the VMs managed by Nutanix. It also gave me some attributes to get more informations (like controllerVm or protectedDomainName). With these I build this simple command-line application:

When starting this from the command-line you can select the protected VMs (1) or the Controller VMs (2).

Selection_Screen

Just a quick example, more to come…