Skip to main content

"REST client to talk to rbd-target-api"

Project description

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.

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

rbd-iscsi-client-0.1.6.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rbd_iscsi_client-0.1.6-py2.py3-none-any.whl (14.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file rbd-iscsi-client-0.1.6.tar.gz.

File metadata

  • Download URL: rbd-iscsi-client-0.1.6.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.5

File hashes

Hashes for rbd-iscsi-client-0.1.6.tar.gz
Algorithm Hash digest
SHA256 26136badac98ea376c294a45ef82d06f0108c71fe81f3cb8004ee49e7b79d683
MD5 d628037f084727294de02881edff3237
BLAKE2b-256 af64b03b317c7d81706dc705e7fbaa2982b45bacb3740af18fe88943c50f036e

See more details on using hashes here.

File details

Details for the file rbd_iscsi_client-0.1.6-py2.py3-none-any.whl.

File metadata

  • Download URL: rbd_iscsi_client-0.1.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.5

File hashes

Hashes for rbd_iscsi_client-0.1.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 40896938a669d6aff3639b77e537191c26f851560f5195b00fb618a033349abf
MD5 ea02b063d1f9ccd2eef8b4bcedb50e9f
BLAKE2b-256 46973e034a4b9e014b3182649acd459b9ed414294f4d4f2fedabdc384690b294

See more details on using hashes here.

Supported by

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