Skip to main content

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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cinderlib-4.1.0.tar.gz (117.0 kB view details)

Uploaded Source

Built Distribution

cinderlib-4.1.0-py3-none-any.whl (77.3 kB view details)

Uploaded Python 3

File details

Details for the file cinderlib-4.1.0.tar.gz.

File metadata

  • Download URL: cinderlib-4.1.0.tar.gz
  • Upload date:
  • Size: 117.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.11

File hashes

Hashes for cinderlib-4.1.0.tar.gz
Algorithm Hash digest
SHA256 4af452ad3fe5121a74ed240807d03228746d7cf005632624328ac6acd265ccb3
MD5 b1710a9485d9e686d4431388dcba9a95
BLAKE2b-256 64f0e799d9405b6276d2d3116fbe46e59020f016f6daa049559c37589df3527c

See more details on using hashes here.

Provenance

File details

Details for the file cinderlib-4.1.0-py3-none-any.whl.

File metadata

  • Download URL: cinderlib-4.1.0-py3-none-any.whl
  • Upload date:
  • Size: 77.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.11

File hashes

Hashes for cinderlib-4.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e9c639903f4ad1ebeada66a7e2fa51bf8db701d3c750e4569d71d71cc5b534fa
MD5 9764761455f815ec5f71fe28edc8abe6
BLAKE2b-256 46419981da8361b64789a343ba6bde1a2f9424b101ea20e03008b33a11c37f8a

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page