Skip to main content
https://img.shields.io/pypi/v/rbd-iscsi-client.svg https://img.shields.io/travis/hemna/rbd-iscsi-client.svg Documentation Status Updates

This is a REST client that talks to ceph-iscsi’s rbd-target-api to export rbd images/volumes to an iSCSI initiator.

Overview

This python package is a client that talks to the ceph-iscsi rbd-target-api. rbd-target-api coordinates the rbd volume exports via iSCSI

Requirements

This package requires a running ceph cluster that has the ceph-iscsi gateway tools installed properly and running. The rbd-target-api must be configured and running

Installation

pip install rbd-iscsi-client

Features

This is a REST client that talks to ceph-iscsi’s rbd-target-api to export rbd images/volumes to an iSCSI initiator.

  • get_api - Get all the api endpoints

  • get_config - get the entire gateway config

  • get_targets - Get all of the target_iqn’s defined in the gateways

  • create_target_iqn - create a new target_iqn

  • delete_target_iqn - delete a target_iqn

  • get_clients - get the clients (initiators) defined in the gateways

  • get_client_info - get the client information

  • create_client - Register a new client (initiator) with the gateways

  • delete_client - unregister a client (initiator) from the gateways

  • set_client_auth - set CHAP credentials for the client (initiator)

  • get_disks - get list of volumes defined to the gateways

  • create_disk - create a new volume/disk that the gateways can export

  • find_disk - Find a disk that the gateway knows about

  • delete_disk - delete a disk from the gateway and pool

  • register_disk - Make the disk available to export to a client.

  • unregister_disk - Make a disk unavailable to export to a client.

  • export_disk - Export a registered disk to a client (initiator)

  • unexport_disk - unexport a disk from a client (initiator)

Credits

This package makes use of the rbd-target-api from ceph-iscsi package.

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Metadata

Release files for rbd-iscsi-client 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rbd-iscsi-client 0.1.8
File Size Uploaded
rbd-iscsi-client-0.1.8.tar.gz 23.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rbd-iscsi-client 0.1.8
File Interpreter ABI Platform
rbd_iscsi_client-0.1.8-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 38.9 kB

Release files / rbd-iscsi-client-0.1.8.tar.gz

Download URL rbd-iscsi-client-0.1.8.tar.gz
Size 23.8 kB
Tags Source
SHA-256 checksum
How to use checksums
12ada3b173c935dca2ec524c6ded775c99a759fdb256c05fda480dcebefab31a
BLAKE2b-256 checksum
How to use checksums
8361e301f9ebe3317779f95725cd3f17cc013f970314973ef2d6616c60450183
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

Release files / rbd_iscsi_client-0.1.8-py2.py3-none-any.whl

Download URL rbd_iscsi_client-0.1.8-py2.py3-none-any.whl
Size 15.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f9a379d82865cd11bc60b5dd60697bdc121fa5e092d00c32c7a9baebc3afb60e
BLAKE2b-256 checksum
How to use checksums
f97e983283d46121436e6153ccb69643e7dd998e75692cca38153654643f5fb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page