REST client that talks to ceph-iscsi's rbd-target-api to export rbd images/volumes to an iSCSI initiator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Brian Rosmaita f0227095b9 Drop lower constraints testing 2 months ago
.github Create python-package.yml 12 months ago
doc Format as a Cinder-related OpenStack project 5 months ago
rbd_iscsi_client Format as a Cinder-related OpenStack project 5 months ago
releasenotes/source Format as a Cinder-related OpenStack project 5 months ago
tools Format as a Cinder-related OpenStack project 5 months ago
.gitignore Format as a Cinder-related OpenStack project 5 months ago
.gitreview Format as a Cinder-related OpenStack project 5 months ago
.readthedocs.yml more 2 years ago
.stestr.conf Initial commit 2 years ago
.zuul.yaml Drop lower constraints testing 2 months ago
CONTRIBUTING.rst Format as a Cinder-related OpenStack project 5 months ago
ChangeLog Updated .travis.yml 1 year ago
HACKING.rst Format as a Cinder-related OpenStack project 5 months ago
LICENSE Format as a Cinder-related OpenStack project 5 months ago
README.rst [trivial] Add two missing periods 3 months ago
babel.cfg Format as a Cinder-related OpenStack project 5 months ago
requirements.txt Format as a Cinder-related OpenStack project 5 months ago
setup.cfg Format as a Cinder-related OpenStack project 5 months ago
setup.py Initial commit 2 years ago
test-requirements.txt Format as a Cinder-related OpenStack project 5 months ago
tox.ini Drop lower constraints testing 2 months ago

README.rst

RBD iSCSI Client

image

image

image

Overview

This python package is a client that talks to the ceph-iscsi rbd-target-api. The 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 originally created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.