Charm Interface - Designate
Go to file
James Page a458d7ebc6 Resync with original git repository
Change-Id: I43e584845753f05b8f7754a2901d98a3687c44c8
2019-02-21 08:58:51 +00:00
.gitignore Resync with original git repository 2019-02-21 08:58:51 +00:00
.gitreview Added .gitreview 2018-01-08 21:04:55 +00:00
.stestr.conf Resync with original git repository 2019-02-21 08:58:51 +00:00
.zuul.yaml Resync with original git repository 2019-02-21 08:58:51 +00:00
LICENSE Resync with original git repository 2019-02-21 08:58:51 +00:00
README.md Resync with original git repository 2019-02-21 08:58:51 +00:00
copyright Resync with original git repository 2019-02-21 08:58:51 +00:00
interface.yaml Resync with original git repository 2019-02-21 08:58:51 +00:00
provides.py Resync with original git repository 2019-02-21 08:58:51 +00:00
test-requirements.txt Resync with original git repository 2019-02-21 08:58:51 +00:00
tox.ini Resync with original git repository 2019-02-21 08:58:51 +00:00

README.md

Overview

Use this interface to expose public API endpoint of Designate service.

Usage

metadata

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

includes: ['interface:designate']

and the following to metadata.yaml:

requires:
  external-dns:
    interface: designate

handler example

@reactive.when('external-dns.available')
def expose_endpoint(endpoint):
    with provide_charm_instance() as instance:
        endpoint.expose_endpoint(instance.public_url)

deployment example

$ juju deploy designate
$ juju deploy neutron-api
$ juju add-relation designate:external-dns neutron-api:external-dns

Bugs

Please report bugs on Launchpad.

For development questions please refer to the OpenStack Charm Guide.