I am releasing a new version of my Alfred workflow for Nutanix. In case you have missed my initial blog post check it out here. In the blog post you will understand how to install and use the workflow to allow you to execute administrative tasks on your Nutanix cluster using MacOS Spotlight. Also checkout the official Alfred WF for Nutanix page http://myvirtualcloud.net/?page_id=8167.
If you already have the Alfred Workflow for Nutanix installed you workflow will self-update to the latest release.
- Search cluster, hosts and vms
- View cluster, host and vm properties and state
- View hosts and vm alerts
- Snapshot vm
- Power on/off vm
- Enter/Exit host maintenance mode
This is a small release that fixes couple bugs and add a ‘Back’ button when you are under cluster-hosts or host-vms. Before this option the user would have to re-initiate the entire navigation flow or manually edit the command line in the search box – this change enable seamless navigation forward and backwards for Clusters > Cluster > Hosts > Host > VMS > VM.
Additionally, I have removed couple unnecessary fields from Cluster, Hosts and VMS view. If you would like to edit the fields visible in each view open the ntnx_get.py and edit the following keys: KEY_IGNORE_VM, KEY_IGNORE_HOST, KEY_IGNORE_CLUSTER. Please note that these keys will be automatically updated during a next release, so I recommend maintaining a copy of your selections (for a next release I will add a configuration file to avoid this selection change).
- Added new color-coded cluster, host and vm icons based entity state
- Added new shortcut to access NTNX GET context menu without typing
- Added cluster-hosts option to display only hosts that belong to the cluster
- Added option to enter and exit host from maintenance mode. When this option is selected all virtual machines in the host all live-migrated to other hosts. (this feature is only available for AHV clusters)
- Added support for vSphere clusters
- Implemented automated deployment for necessary Python packages.
*** important *** to enable the workflow to automatically download the packages you must run the following command using OS X terminal “pip install –user -U pip“.
This article was first published by Andre Leibovici (@andreleibovici) at myvirtualcloud.net.