We want to see a list of available virtual machine images that the Glance server knows about.

Using Glance's Client, we can do this using the following code

..code-block:: python

from glance.client import Client

c = Client("glance.example.com", 9292)

print c.get_images()



loading table of contents...