With the new NOS release comes a new exciting option: Acropolis. The PRISM UI looks awesome slick like always and allows you to create networks and virtual machines with a few clicks. With this Acropolis Hypervisor Management you  have the power to use your Nutanix solution to automate your Test/Dev environment or run your Build automation for example.

Okay… But where´s the automation magic?

Within the PRISM UI there´s the well known REST API and with Acropolis there´s a new one: the Management API based on REST. With this API it´s just easy to create a network, create a virtual machine, test some stuff, delete the virtual machine, delete the network and validate the results.

I just wanted to show you how to automate the network creation with a short python snippet:

As you can see this short script create a network, sets the config (only a few parameters, all others can be found in the REST Explorer) and deletes the network, with the VLAN ID 100, after 60 seconds.

Screen Shot 2015-03-02 at 15.57.07

Imagine how easy it is to build an integration in your Build system like Jenkins, Maven, Ant etc. to deploy the tests directly on Nutanix without complex infrastructure administration or layered automation.

Screen Shot 2015-03-02 at 15.57.34

 

I will post some more automation magic in the next days 🙂