Direct usage of Cinder Block Storage drivers without the services
Project description
The Cinder Library, also known as cinderlib, is a Python library that leverages the Cinder project to provide an object oriented abstraction around Cinder’s storage drivers to allow their usage directly without running any of the Cinder services or surrounding services, such as KeyStone, MySQL or RabbitMQ.
Free software: Apache Software License 2.0
Documentation: https://docs.openstack.org/cinderlib/latest/
The library is intended for developers who only need the basic CRUD functionality of the drivers and don’t care for all the additional features Cinder provides such as quotas, replication, multi-tenancy, migrations, retyping, scheduling, backups, authorization, authentication, REST API, etc.
The library was originally created as an external project, so it didn’t have the broad range of backend testing Cinder does, and only a limited number of drivers were validated at the time. Drivers should work out of the box, and we’ll keep a list of drivers that have added the cinderlib functional tests to the driver gates confirming they work and ensuring they will keep working.
Features
Use a Cinder driver without running a DBMS, Message broker, or Cinder service.
Using multiple simultaneous drivers on the same application.
Basic operations support:
Create volume
Delete volume
Extend volume
Clone volume
Create snapshot
Delete snapshot
Create volume from snapshot
Connect volume
Disconnect volume
Local attach
Local detach
Validate connector
Extra Specs for specific backend functionality.
Backend QoS
Multi-pool support
Metadata persistence plugins:
Stateless: Caller stores JSON serialization.
Database: Metadata is stored in a database: MySQL, PostgreSQL, SQLite…
Custom plugin: Caller provides module to store Metadata and cinderlib calls it when necessary.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for cinderlib-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3efde27a7ddcb16640ea3b6ab6db24957063c707b0c41d443822906254d7cef1 |
|
MD5 | 8ea74d2466f077fd8b4e22b97d607c9d |
|
BLAKE2b-256 | aa8b028aaff006bb1876899d9f41c4acc629f0358d1ae138b3fb8d61f97c9020 |