Alex Kavanagh f11ee38d26 Migrate from testr to stestr
Note that the interface doesn't have any unit tests yet.

Change-Id: I287ee425e7104a4ef62eb9244595c0809cc77ae7
2021-02-10 12:44:14 +00:00
2019-02-21 08:58:51 +00:00
2019-04-19 19:42:46 +00:00
2019-02-21 08:58:51 +00:00
2019-02-21 08:58:51 +00:00
2019-02-21 08:58:51 +00:00
2019-02-21 08:58:51 +00:00
2021-02-10 12:44:14 +00:00

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.

Description
Charm Interface - Designate
Readme 58 KiB
Languages
Python 100%