Files
designate/doc/source/contributor/integrations.rst
Takashi Kajinami 182241a184 Remove deprecated and ineffective neutron options
These were deprecated during 2023.2 cycle[1], and have been unused
since the fallback to admin user credential has been removed.

[1] fd09a0cfc3

Change-Id: Ie8c9d099a45ebd684248662dfb9e17f51a3136d4
2024-08-22 13:16:49 +09:00

2.9 KiB

orphan

OpenStack Integrations

This page overviews integrations with other services like Neutron and others to make use of Designate more convenient.

Reverse - FloatingIP

The FloatingIP PTR feature of Designate relies on information of the FloatingIP which is in a different service than Designate itself. It can be in any service as long as there is a "plugin" for it that can be loaded via the configuration setting called "network_api".

  • Controller, views and schemas in the V2 API
  • RPC Client towards Central used by the API and Sink
  • Logic in Central to make it convenient for setting, unsetting, listing and getting FloatingIP PTR records compared to the Records themselves which would be more work. (This is outlined in code docstrings for the specific methods.)
  • Sink handlers for the various backend to help us be more consistent.

Record invalidation

Happens mainly happens via comparing a Tenant's FloatingIPs towards the list we have of Records which are of a certain plugin type and with the use of a Sink handler that listens for incoming events from the various services.

Configuring Neutron

Configuring the FloatingIP feature is really simple:

[network_api:neutron]
endpoints = RegionOne|http://localhost:9696
endpoint_type = publicURL
timeout = 30
insecure = False
ca_certificates_file = /etc/path/to/ca.pem

Note that using admin_user, admin_password and admin_tenant_name is optional, if not present we'll piggyback on the context.auth_token passed in by the API.

Note

If "endpoints" is not configured and there's no service catalog is present in the context passed by the API to Central the request will fail in a NoEndpoint exception.

Neutron Designate direct integration

Neutron supports creating DNS Recordsets as neutron ports are created, and pushing that information into designate.

The configuration for this is in the Networking Guide

Designate Sink

designate-sink is a component of designate that can listen to the event stream of other openstack services and perform actions based on them.