MDNS

MDNS Base

class designate.mdns.base.BaseEndpoint(tg)[source]

Bases: object

RPC_API_NAMESPACE = None
RPC_API_VERSION = None
central_api
pool_manager_api

MDNS Handler

MDNS Notify

MDNS RPC API

class designate.mdns.rpcapi.MdnsAPI(topic=None)[source]

Bases: object

Client side of the mdns RPC API.

Notify API version history:

1.0 - Added notify_zone_changed and poll_for_serial_number. 1.1 - Added get_serial_number. 2.0 - Changed method signatures
XFR API version history:
1.0 - Added perform_zone_xfr.
RPC_NOTIFY_API_VERSION = '2.0'
RPC_XFR_API_VERSION = '1.0'
classmethod get_instance()[source]

The rpc.get_client() which is called upon the API object initialization will cause a assertion error if the designate.rpc.TRANSPORT isn’t setup by rpc.init() before.

This fixes that by creating the rpcapi when demanded.

get_serial_number(*args, **kwargs)
notify_zone_changed(*args, **kwargs)
perform_zone_xfr(*args, **kwargs)
poll_for_serial_number(*args, **kwargs)
designate.mdns.rpcapi.reset()[source]

MDNS Service

MDNS XFR