Charm Interface - Ceph RBD Mirroring
Go to file
Frode Nordahl 08f25a7862
Add function to create erasure coded pools
Rename the existing one to ``create_replicated_pool`` for clarity.
2019-02-28 09:09:50 +01:00
unit_tests Fix ``mon_hosts`` unit test 2019-02-26 12:23:02 +01:00
.gitignore Add ``ceph-rbd-mirror`` interface 2019-02-06 09:58:45 +01:00
.stestr.conf Add ``ceph-rbd-mirror`` interface 2019-02-06 09:58:45 +01:00
.travis.yml Fix Travis test matrix 2019-02-06 10:01:43 +01:00
LICENSE Add ``ceph-rbd-mirror`` interface 2019-02-06 09:58:45 +01:00
README.md Add ``ceph-rbd-mirror`` interface 2019-02-06 09:58:45 +01:00
interface.yaml Add ``ceph-rbd-mirror`` interface 2019-02-06 09:58:45 +01:00
requires.py Add function to create erasure coded pools 2019-02-28 09:09:50 +01:00
test-requirements.txt Add ``ceph-rbd-mirror`` interface 2019-02-06 09:58:45 +01:00
tox.ini Add ``ceph-rbd-mirror`` interface 2019-02-06 09:58:45 +01:00

README.md

Overview

This interface handles the communication between the Ceph Monitor cluster and a RBD Mirror client that has specific access key requirements.

Usage

No explicit handler is required to consume this interface in charms that consume this interface.

In addittion to the states automatically set based on relation data by charms.reactive.Endpoint, the interface provides the {{endpoint_name}}.available state.

metadata

To consume this interface in your charm or layer, add the following to layer.yaml:

includes: ['interface:ceph-rbd-mirror']

and add a requires interface of type ceph-rbd-mirror to your charm or layers metadata.yaml:

requires:
  ceph-local:
    interface: ceph-rbd-mirror
  ceph-remote:
    interface: ceph-rbd-mirror

Bugs

Please report bugs on Launchpad.

For development questions please refer to the OpenStack Charm Guide.