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’¶count_records
(*args, **kwargs)¶count_recordsets
(*args, **kwargs)¶count_report
(*args, **kwargs)¶count_tenants
(*args, **kwargs)¶count_zones
(*args, **kwargs)¶create_blacklist
(*args, **kwargs)¶create_pool
(*args, **kwargs)¶create_record
(*args, **kwargs)¶create_recordset
(*args, **kwargs)¶create_tld
(*args, **kwargs)¶create_tsigkey
(*args, **kwargs)¶create_zone
(*args, **kwargs)¶create_zone_export
(*args, **kwargs)¶create_zone_import
(*args, **kwargs)¶create_zone_transfer_accept
(*args, **kwargs)¶create_zone_transfer_request
(*args, **kwargs)¶delete_blacklist
(*args, **kwargs)¶delete_pool
(*args, **kwargs)¶delete_record
(*args, **kwargs)¶delete_recordset
(*args, **kwargs)¶delete_tld
(*args, **kwargs)¶delete_tsigkey
(*args, **kwargs)¶delete_zone
(*args, **kwargs)¶delete_zone_export
(*args, **kwargs)¶delete_zone_import
(*args, **kwargs)¶delete_zone_transfer_accept
(*args, **kwargs)¶delete_zone_transfer_request
(*args, **kwargs)¶export_zone
(*args, **kwargs)¶find_blacklist
(*args, **kwargs)¶find_blacklists
(*args, **kwargs)¶find_pool
(*args, **kwargs)¶find_pools
(*args, **kwargs)¶find_record
(*args, **kwargs)¶find_records
(*args, **kwargs)¶find_recordset
(*args, **kwargs)¶find_recordsets
(*args, **kwargs)¶find_service_status
(*args, **kwargs)¶find_service_statuses
(*args, **kwargs)¶find_tenants
(*args, **kwargs)¶find_tlds
(*args, **kwargs)¶find_tsigkeys
(*args, **kwargs)¶find_zone
(*args, **kwargs)¶find_zone_exports
(*args, **kwargs)¶find_zone_imports
(*args, **kwargs)¶find_zone_transfer_accept
(*args, **kwargs)¶find_zone_transfer_accepts
(*args, **kwargs)¶find_zone_transfer_request
(*args, **kwargs)¶find_zone_transfer_requests
(*args, **kwargs)¶find_zones
(*args, **kwargs)¶get_absolute_limits
(*args, **kwargs)¶get_blacklist
(*args, **kwargs)¶get_floatingip
(*args, **kwargs)¶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_pool
(*args, **kwargs)¶get_quota
(*args, **kwargs)¶get_quotas
(*args, **kwargs)¶get_record
(*args, **kwargs)¶get_recordset
(*args, **kwargs)¶get_tenant
(*args, **kwargs)¶get_tld
(*args, **kwargs)¶get_tsigkey
(*args, **kwargs)¶get_zone
(*args, **kwargs)¶get_zone_export
(*args, **kwargs)¶get_zone_import
(*args, **kwargs)¶get_zone_ns_records
(*args, **kwargs)¶get_zone_transfer_accept
(*args, **kwargs)¶get_zone_transfer_request
(*args, **kwargs)¶list_floatingips
(*args, **kwargs)¶purge_zones
(*args, **kwargs)¶reset_quotas
(*args, **kwargs)¶set_quota
(*args, **kwargs)¶sync_record
(*args, **kwargs)¶sync_zone
(*args, **kwargs)¶sync_zones
(*args, **kwargs)¶touch_zone
(*args, **kwargs)¶update_blacklist
(*args, **kwargs)¶update_floatingip
(*args, **kwargs)¶update_pool
(*args, **kwargs)¶update_record
(*args, **kwargs)¶update_recordset
(*args, **kwargs)¶update_status
(*args, **kwargs)¶update_tld
(*args, **kwargs)¶update_tsigkey
(*args, **kwargs)¶update_zone
(*args, **kwargs)¶update_zone_export
(*args, **kwargs)¶update_zone_import
(*args, **kwargs)¶update_zone_transfer_accept
(*args, **kwargs)¶update_zone_transfer_request
(*args, **kwargs)¶xfr_zone
(*args, **kwargs)¶designate.central.service.
Service
(threads=None)[source]¶Bases: designate.service.RPCService
, designate.service.Service
RPC_API_VERSION
= ‘6.2’¶delete_zone
(*args, **kwargs)[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
mdns_api
¶pool_manager_api
¶purge_zones
(context, criterion, limit=None)[source]¶Purge deleted zones. :returns: number of purged zones
quota
¶scheduler
¶service_name
¶storage
¶target
= <Target version=6.2>¶update_floatingip
(*args, **kwargs)[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
(*args, **kwargs)[source]¶Parameters: |
|
---|---|
Returns: | updated zone |
update_zone
(*args, **kwargs)[source]¶Update zone. Perform checks and then call _update_zone()
Returns: | 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.