Demo of how cinderlib can be used by any python program (an interpreter in this demo) to access storage arrays using OpenStack’s Cinder drivers.
In the Demo we’ll be instantiating 3 different backends on the same interpreter session (LVM, XtremIO, and Kaminario), and for each one of them create a volume and locally attach it, and then create a snapshot.
Afterwards we’ll save the JSON serialization of everything (backends, volumes, snapshots, and connection information) into a file, exit the interpreter, check that the connections are there, and then start a new interpreter, load the configuration (which initializes and recreates the backends) and for each of the 3 backends detach the volumes and delete the snapshots and volumes.