April 2018
Intermediate to advanced
280 pages
8h 37m
English
Let's begin by writing a simple application that lists the available VMs running on your OpenStack Compute service node.
We first need to import the OpenStack library into our application program. We will import the Connection class into our program to demonstrate how we can use it. The application program must establish a connection to the OpenStack cloud. This is achieved by creating an object of the connection class and passing the security information and credentials to the constructor of this class. We must pass the following information to the constructor: