designate.central.rpcapi.
CentralAPI
(topic=None)[source]¶Bases: object
Client side of the central RPC API.
API version history:
1.0 - Initial version 1.1 - Add new finder methods 1.2 - Add get_tenant and get_tenants 1.3 - Add get_absolute_limits 2.0 - Renamed most get_resources to find_resources 2.1 - Add quota methods 3.0 - RecordSet Changes 3.1 - Add floating ip ptr methods 3.2 - TLD Api changes 3.3 - Add methods for blacklisted domains 4.0 - Create methods now accept designate objects 4.1 - Add methods for server pools 4.2 - Add methods for pool manager integration 4.3 - Added Zone Transfer Methods 5.0 - Remove dead server code 5.1 - Add xfr_zone 5.2 - Add Zone Import methods 5.3 - Add Zone Export method 5.4 - Add asynchronous Zone Export methods 5.5 - Add deleted zone purging task 5.6 - Changed ‘purge_zones’ function args 6.0 - Renamed domains to zones 6.1 - Add ServiceStatus methods 6.2 - Changed ‘find_recordsets’ method args
LOGGING_BLACKLIST
= ['update_service_status']¶RPC_API_VERSION
= '6.2'¶find_blacklists
(context, criterion=None, marker=None, limit=None, sort_key=None, sort_dir=None)[source]¶find_records
(context, criterion=None, marker=None, limit=None, sort_key=None, sort_dir=None)[source]¶find_recordsets
(context, criterion=None, marker=None, limit=None, sort_key=None, sort_dir=None, force_index=False)[source]¶find_service_statuses
(context, criterion=None, marker=None, limit=None, sort_key=None, sort_dir=None)[source]¶find_tsigkeys
(context, criterion=None, marker=None, limit=None, sort_key=None, sort_dir=None)[source]¶find_zone_exports
(context, criterion=None, marker=None, limit=None, sort_key=None, sort_dir=None)[source]¶find_zone_imports
(context, criterion=None, marker=None, limit=None, sort_key=None, sort_dir=None)[source]¶find_zone_transfer_accepts
(context, criterion=None, marker=None, limit=None, sort_key=None, sort_dir=None)[source]¶find_zone_transfer_requests
(context, criterion=None, marker=None, limit=None, sort_key=None, sort_dir=None)[source]¶designate.central.service.
Service
[source]¶Bases: designate.service.RPCService
RPC_API_VERSION
= '6.2'¶delete_zone
(context, zone_id)[source]¶Delete or abandon a zone On abandon, delete the zone from the DB immediately. Otherwise, set action to DELETE and status to PENDING and poke Pool Manager’s “delete_zone” to update the resolvers. PM will then poke back to set action to NONE and status to DELETED
find_blacklists
(context, criterion=None, marker=None, limit=None, sort_key=None, sort_dir=None)[source]¶find_records
(context, criterion=None, marker=None, limit=None, sort_key=None, sort_dir=None)[source]¶find_recordsets
(context, criterion=None, marker=None, limit=None, sort_key=None, sort_dir=None, force_index=False)[source]¶find_service_statuses
(context, criterion=None, marker=None, limit=None, sort_key=None, sort_dir=None)[source]¶List service statuses.
find_tsigkeys
(context, criterion=None, marker=None, limit=None, sort_key=None, sort_dir=None)[source]¶find_zone_exports
(context, criterion=None, marker=None, limit=None, sort_key=None, sort_dir=None)[source]¶find_zone_imports
(context, criterion=None, marker=None, limit=None, sort_key=None, sort_dir=None)[source]¶find_zone_transfer_accepts
(context, criterion=None, marker=None, limit=None, sort_key=None, sort_dir=None)[source]¶find_zone_transfer_requests
(context, criterion=None, marker=None, limit=None, sort_key=None, sort_dir=None)[source]¶find_zones
(context, criterion=None, marker=None, limit=None, sort_key=None, sort_dir=None)[source]¶List existing zones including the ones flagged for deletion.
list_floatingips
(context)[source]¶List Floating IPs PTR
token pr Neutron in the SC
We lookup FIPs using the configured values for this deployment.
mdns_api
¶purge_zones
(context, criterion, limit=None)[source]¶Purge deleted zones. :returns: number of purged zones
quota
¶scheduler
¶service_name
¶stop
(graceful=True)[source]¶Stop a service.
graceful – indicates whether to wait for all threads to finish or terminate them instantly
storage
¶target
= <Target version=6.2>¶update_floatingip
(context, region, floatingip_id, values)[source]¶We strictly see if values[‘ptrdname’] is str or None and set / unset the requested FloatingIP’s PTR record based on that.
update_status
(context, zone_id, status, serial)[source]¶context – Security context information.
zone_id – The ID of the designate zone.
status – The status, ‘SUCCESS’ or ‘ERROR’.
serial – The consensus serial number for the zone.
updated zone
update_zone
(context, zone, increment_serial=True)[source]¶Update zone. Perform checks and then call _update_zone()
updated zone
worker_api
¶zone_api
¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.