Skip to Content
Hybrid Cloud for Developers
book

Hybrid Cloud for Developers

by Manoj Hirway
April 2018
Intermediate to advanced content levelIntermediate to advanced
280 pages
8h 37m
English
Packt Publishing
Content preview from Hybrid Cloud for Developers

Writing your first OpenStack application

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:

  • auth_url: The keystone authentication URL. This is the URL of your OpenStack keystone service. It is usually set to the IP address or domain ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hybrid Cloud for Architects

Hybrid Cloud for Architects

Alok Shrivastwa
OpenStack: Building a Cloud Environment

OpenStack: Building a Cloud Environment

Alok Shrivastwa, Sunil Sarat, Kevin Jackson, Cody Bunch, Egle Sigler, Tony Campbell

Publisher Resources

ISBN: 9781788830874Supplemental Content