From 18dba242d1f7dbcc2d811c40ca4941b15539ffb7 Mon Sep 17 00:00:00 2001 From: Tony Breeds Date: Tue, 12 Sep 2017 15:37:54 -0600 Subject: [PATCH] Retire Packaging Deb project repos This commit is part of a series to retire the Packaging Deb project. Step 2 is to remove all content from the project repos, replacing it with a README notification where to find ongoing work, and how to recover the repo if needed at some future point (as in https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project). Change-Id: Ib784ade7594933fc9e09461d2a294521e6224f72 --- .coveragerc | 7 - .gitignore | 56 - .gitreview | 4 - .testr.conf | 10 - LICENSE | 176 - README | 14 + README.rst | 96 - api-ref/source/conf.py | 232 -- api-ref/source/dns-api-v2-blacklist.inc | 241 -- api-ref/source/dns-api-v2-limits.inc | 54 - api-ref/source/dns-api-v2-pool.inc | 104 - api-ref/source/dns-api-v2-quota.inc | 196 - api-ref/source/dns-api-v2-recordset.inc | 627 --- .../source/dns-api-v2-reverse-floatingips.inc | 192 - api-ref/source/dns-api-v2-service-status.inc | 54 - api-ref/source/dns-api-v2-tld.inc | 240 -- api-ref/source/dns-api-v2-tsigkey.inc | 261 -- api-ref/source/dns-api-v2-version.inc | 37 - api-ref/source/dns-api-v2-zone-export.inc | 227 -- api-ref/source/dns-api-v2-zone-import.inc | 178 - ...-api-v2-zone-ownership-transfer-accept.inc | 156 - ...api-v2-zone-ownership-transfer-request.inc | 254 -- api-ref/source/dns-api-v2-zone-tasks.inc | 84 - api-ref/source/dns-api-v2-zone.inc | 364 -- api-ref/source/index.rst | 24 - api-ref/source/parameters.yaml | 897 ----- .../blacklists/blacklist-response.json | 10 - .../blacklists/create-blacklist-request.json | 4 - .../blacklists/list-blacklists-response.json | 27 - .../blacklists/update-blacklist-request.json | 4 - .../blacklists/update-blacklist-response.json | 10 - .../samples/limits/get-limits-response.json | 10 - .../samples/pools/list-pools-response.json | 46 - .../samples/pools/show-pool-response.json | 18 - .../samples/quotas/get-quotas-response.json | 7 - .../samples/quotas/set-quotas-request.json | 3 - .../samples/quotas/set-quotas-response.json | 7 - .../create-mx-recordset-request.json | 12 - .../create-mx-recordset-response.json | 23 - .../recordsets/create-recordset-request.json | 9 - .../recordsets/create-recordset-response.json | 21 - .../create-spf-recordset-request.json | 10 - .../create-spf-recordset-response.json | 20 - .../create-srv-recordset-request.json | 9 - .../create-srv-recordset-response.json | 20 - .../create-sshfp-recordset-request.json | 9 - .../create-sshfp-recordset-response.json | 20 - .../recordsets/delete-recordset-response.json | 22 - .../list-all-recordset-response.json | 32 - .../list-recordset-in-zone-response.json | 32 - .../recordsets/show-recordset-response.json | 21 - .../recordsets/update-recordset-request.json | 8 - .../recordsets/update-recordset-response.json | 22 - .../list-ptr-record-response.json | 31 - .../ptr-record-response.json | 13 - .../set-ptr-record-request.json | 5 - .../unset-ptr-record-request.json | 3 - .../service_status/service_status_list.json | 20 - .../samples/tlds/create-tld-request.json | 4 - .../samples/tlds/list-tlds-response.json | 26 - api-ref/source/samples/tlds/tld-response.json | 10 - .../samples/tlds/update-tld-request.json | 4 - .../samples/tlds/update-tld-response.json | 10 - .../tsigkeys/create-tsigkey-request.json | 7 - .../tsigkeys/list-tsigkeys-response.json | 45 - .../samples/tsigkeys/tsigkey-response.json | 13 - .../tsigkeys/update-tsigkey-request.json | 4 - .../tsigkeys/update-tsigkey-response.json | 13 - .../versions/get-versions-response.json | 26 - .../zones/create-zone-export-response.json | 14 - .../zones/create-zone-import-response.json | 13 - .../samples/zones/create-zone-request.json | 7 - .../create-zone-transfer-accept-request.json | 4 - .../create-zone-transfer-accept-response.json | 14 - .../create-zone-transfer-request-request.json | 3 - ...create-zone-transfer-request-response.json | 15 - .../samples/zones/delete-zone-response.json | 21 - .../zones/list-zone-export-response.json | 26 - .../zones/list-zone-import-response.json | 38 - .../list-zone-transfer-accept-response.json | 37 - .../list-zone-transfer-request-response.json | 32 - .../samples/zones/list-zones-response.json | 32 - .../zones/show-zone-export-content.txt | 18 - .../zones/show-zone-export-response.json | 15 - .../zones/show-zone-import-response.json | 14 - .../zones/show-zone-nameservers-response.json | 8 - .../show-zone-transfer-request-response.json | 10 - .../samples/zones/update-zone-request.json | 4 - .../samples/zones/update-zone-response.json | 21 - .../update-zone-transfer-request-request.json | 4 - ...update-zone-transfer-request-response.json | 11 - .../source/samples/zones/zone-response.json | 21 - api-ref/source/status.yaml | 56 - babel.cfg | 2 - contrib/archive/backends/impl_ipa/__init__.py | 432 -- contrib/archive/backends/impl_ipa/auth.py | 62 - contrib/archive/backends/impl_multi.py | 153 - contrib/consume.py | 39 - .../designate-ext-samplehandler/.gitignore | 22 - .../designate-ext-samplehandler/MANIFEST.in | 11 - .../designate-ext-samplehandler/README.rst | 4 - .../designate_ext_samplehandler/__init__.py | 0 .../notification_handler/__init__.py | 0 .../notification_handler/sample.py | 85 - .../designate_ext_samplehandler/version.py | 18 - .../requirements.txt | 2 - contrib/designate-ext-samplehandler/setup.cfg | 52 - contrib/designate-ext-samplehandler/setup.py | 22 - .../test-requirements.txt | 4 - contrib/djbdns/tinydns.init | 110 - contrib/djbdns/tinydns.service | 44 - contrib/dns_dump_dnspy.py | 32 - contrib/dns_dump_hex_to_text.py | 28 - contrib/dns_dump_raw.py | 29 - contrib/dns_dump_server.py | 31 - contrib/ipaextractor.py | 362 -- contrib/records_mass_create.py | 57 - contrib/vagrant/README.rst | 1 - contrib/vagrant/Vagrantfile | 169 - contrib/vagrant/local.conf | 129 - contrib/vagrant/setup_ubuntu_devstack | 61 - contrib/zoneextractor.py | 211 - designate.sublime-project | 61 - designate/__init__.py | 91 - designate/agent/__init__.py | 76 - designate/agent/handler.py | 253 -- designate/agent/service.py | 71 - designate/api/__init__.py | 123 - designate/api/admin/__init__.py | 45 - designate/api/admin/app.py | 43 - designate/api/admin/controllers/__init__.py | 0 .../admin/controllers/extensions/__init__.py | 0 .../admin/controllers/extensions/counts.py | 46 - .../admin/controllers/extensions/export.py | 35 - .../admin/controllers/extensions/quotas.py | 80 - .../admin/controllers/extensions/reports.py | 33 - .../controllers/extensions/target_sync.py | 54 - .../admin/controllers/extensions/tenants.py | 47 - .../api/admin/controllers/extensions/zones.py | 32 - designate/api/admin/controllers/root.py | 48 - designate/api/admin/views/__init__.py | 0 designate/api/admin/views/base.py | 198 - .../api/admin/views/extensions/__init__.py | 0 .../api/admin/views/extensions/quotas.py | 45 - .../api/admin/views/extensions/reports.py | 67 - designate/api/middleware.py | 407 -- designate/api/service.py | 66 - designate/api/v1/__init__.py | 149 - designate/api/v1/domains.py | 173 - designate/api/v1/extensions/__init__.py | 0 designate/api/v1/extensions/diagnostics.py | 34 - designate/api/v1/extensions/quotas.py | 83 - designate/api/v1/extensions/reports.py | 78 - designate/api/v1/extensions/sync.py | 52 - designate/api/v1/extensions/touch.py | 31 - designate/api/v1/limits.py | 46 - designate/api/v1/records.py | 277 -- designate/api/v1/servers.py | 226 -- designate/api/v1/tsigkeys.py | 155 - designate/api/v2/__init__.py | 47 - designate/api/v2/app.py | 44 - designate/api/v2/controllers/__init__.py | 0 designate/api/v2/controllers/blacklists.py | 140 - designate/api/v2/controllers/common.py | 50 - designate/api/v2/controllers/errors.py | 34 - designate/api/v2/controllers/floatingips.py | 106 - designate/api/v2/controllers/limits.py | 50 - designate/api/v2/controllers/pools.py | 150 - designate/api/v2/controllers/quotas.py | 78 - designate/api/v2/controllers/recordsets.py | 58 - designate/api/v2/controllers/rest.py | 157 - designate/api/v2/controllers/reverse.py | 21 - designate/api/v2/controllers/root.py | 63 - .../api/v2/controllers/service_status.py | 58 - designate/api/v2/controllers/tlds.py | 135 - designate/api/v2/controllers/tsigkeys.py | 139 - .../api/v2/controllers/zones/__init__.py | 203 - .../api/v2/controllers/zones/nameservers.py | 46 - .../api/v2/controllers/zones/recordsets.py | 158 - .../v2/controllers/zones/tasks/__init__.py | 42 - .../api/v2/controllers/zones/tasks/abandon.py | 52 - .../api/v2/controllers/zones/tasks/exports.py | 138 - .../api/v2/controllers/zones/tasks/imports.py | 122 - .../zones/tasks/transfer_accepts.py | 102 - .../zones/tasks/transfer_requests.py | 165 - .../api/v2/controllers/zones/tasks/xfr.py | 45 - designate/api/v2/patches.py | 59 - designate/api/versions.py | 62 - designate/backend/__init__.py | 29 - designate/backend/agent.py | 188 - designate/backend/agent_backend/__init__.py | 28 - designate/backend/agent_backend/base.py | 52 - designate/backend/agent_backend/impl_bind9.py | 154 - .../backend/agent_backend/impl_denominator.py | 247 -- .../backend/agent_backend/impl_djbdns.py | 356 -- designate/backend/agent_backend/impl_fake.py | 44 - designate/backend/agent_backend/impl_gdnsd.py | 252 -- designate/backend/agent_backend/impl_knot2.py | 231 -- designate/backend/agent_backend/impl_msdns.py | 119 - designate/backend/base.py | 107 - designate/backend/impl_akamai.py | 281 -- designate/backend/impl_bind9.py | 144 - designate/backend/impl_designate.py | 104 - designate/backend/impl_dynect.py | 395 -- designate/backend/impl_fake.py | 32 - designate/backend/impl_infoblox/__init__.py | 59 - designate/backend/impl_infoblox/config.py | 93 - designate/backend/impl_infoblox/connector.py | 268 -- .../backend/impl_infoblox/ibexceptions.py | 102 - .../impl_infoblox/object_manipulator.py | 205 - designate/backend/impl_nsd4.py | 107 - designate/backend/impl_pdns4.py | 82 - designate/backend/impl_powerdns/__init__.py | 174 - .../backend/impl_powerdns/migrate_repo/README | 4 - .../impl_powerdns/migrate_repo/__init__.py | 0 .../impl_powerdns/migrate_repo/manage.py | 23 - .../impl_powerdns/migrate_repo/migrate.cfg | 25 - .../versions/001_add_initial_schema.py | 103 - .../versions/002_add_moniker_id_cols.py | 55 - .../003_correct_master_column_length.py | 32 - .../004_correct_content_column_length.py | 32 - .../versions/005_rename_moniker_id_columns.py | 42 - .../versions/006_add_inherit_ttl_col.py | 63 - .../versions/007_add_recordset_id_col.py | 38 - ...record_add_designate_recordset_id_index.py | 37 - .../versions/009_cascade_domain_deletes.py | 63 - .../010_records_add_disabled_column.py | 36 - .../011_records_drop_designate_ids.py | 41 - .../migrate_repo/versions/012_placeholder.py | 30 - .../migrate_repo/versions/013_placeholder.py | 30 - .../migrate_repo/versions/014_placeholder.py | 30 - .../migrate_repo/versions/015_placeholder.py | 30 - .../migrate_repo/versions/016_placeholder.py | 30 - .../versions/017_records_drop_duped_index.py | 38 - .../migrate_repo/versions/__init__.py | 0 designate/backend/impl_powerdns/tables.py | 39 - designate/backend/private_codes.py | 35 - designate/central/__init__.py | 56 - designate/central/rpcapi.py | 489 --- designate/central/service.py | 2888 -------------- designate/cmd/__init__.py | 18 - designate/cmd/agent.py | 43 - designate/cmd/api.py | 43 - designate/cmd/central.py | 43 - designate/cmd/manage.py | 132 - designate/cmd/mdns.py | 43 - designate/cmd/pool_manager.py | 65 - designate/cmd/producer.py | 53 - designate/cmd/sink.py | 43 - designate/cmd/worker.py | 53 - designate/cmd/zone_manager.py | 59 - designate/common/__init__.py | 0 designate/common/config.py | 36 - designate/common/memorycache.py | 97 - designate/context.py | 201 - designate/coordination.py | 327 -- designate/debug.py | 39 - designate/dnsutils.py | 383 -- designate/exceptions.py | 468 --- designate/hacking/__init__.py | 0 designate/hacking/checks.py | 170 - designate/hookpoints.py | 182 - designate/i18n.py | 32 - .../LC_MESSAGES/designate-log-warning.po | 233 -- designate/loggingutils.py | 43 - designate/manage/__init__.py | 0 designate/manage/akamai.py | 108 - designate/manage/base.py | 40 - designate/manage/database.py | 71 - designate/manage/pool.py | 205 - designate/manage/pool_manager_cache.py | 70 - designate/manage/powerdns.py | 81 - designate/manage/tlds.py | 143 - designate/mdns/__init__.py | 67 - designate/mdns/base.py | 44 - designate/mdns/handler.py | 408 -- designate/mdns/notify.py | 317 -- designate/mdns/rpcapi.py | 130 - designate/mdns/service.py | 63 - designate/mdns/xfr.py | 58 - designate/metrics.py | 118 - designate/metrics_client/__init__.py | 0 designate/metrics_client/noop.py | 92 - designate/network_api/__init__.py | 37 - designate/network_api/base.py | 111 - designate/network_api/fake.py | 86 - designate/network_api/neutron.py | 156 - designate/notification_handler/__init__.py | 30 - designate/notification_handler/base.py | 236 -- designate/notification_handler/neutron.py | 89 - designate/notification_handler/nova.py | 84 - designate/notifications.py | 223 -- designate/objects/__init__.py | 60 - designate/objects/adapters/__init__.py | 46 - designate/objects/adapters/api_v1/__init__.py | 0 designate/objects/adapters/api_v1/base.py | 20 - designate/objects/adapters/api_v2/__init__.py | 0 designate/objects/adapters/api_v2/base.py | 160 - .../objects/adapters/api_v2/blacklist.py | 53 - .../objects/adapters/api_v2/floating_ip.py | 68 - designate/objects/adapters/api_v2/pool.py | 63 - .../objects/adapters/api_v2/pool_attribute.py | 95 - .../objects/adapters/api_v2/pool_ns_record.py | 58 - designate/objects/adapters/api_v2/quota.py | 77 - designate/objects/adapters/api_v2/record.py | 63 - .../objects/adapters/api_v2/recordset.py | 157 - .../objects/adapters/api_v2/service_status.py | 63 - designate/objects/adapters/api_v2/tld.py | 53 - designate/objects/adapters/api_v2/tsigkey.py | 62 - .../adapters/api_v2/validation_error.py | 128 - designate/objects/adapters/api_v2/zone.py | 101 - .../objects/adapters/api_v2/zone_attribute.py | 95 - .../objects/adapters/api_v2/zone_export.py | 77 - .../objects/adapters/api_v2/zone_import.py | 67 - .../objects/adapters/api_v2/zone_master.py | 90 - .../adapters/api_v2/zone_transfer_accept.py | 68 - .../adapters/api_v2/zone_transfer_request.py | 100 - designate/objects/adapters/base.py | 291 -- designate/objects/adapters/yaml/__init__.py | 0 designate/objects/adapters/yaml/base.py | 81 - designate/objects/adapters/yaml/pool.py | 59 - .../objects/adapters/yaml/pool_also_notify.py | 39 - .../objects/adapters/yaml/pool_attribute.py | 84 - .../objects/adapters/yaml/pool_nameserver.py | 39 - .../objects/adapters/yaml/pool_ns_record.py | 39 - .../objects/adapters/yaml/pool_target.py | 48 - .../adapters/yaml/pool_target_master.py | 39 - .../adapters/yaml/pool_target_option.py | 84 - designate/objects/base.py | 729 ---- designate/objects/blacklist.py | 45 - designate/objects/floating_ip.py | 83 - designate/objects/pool.py | 154 - designate/objects/pool_also_notify.py | 51 - designate/objects/pool_attribute.py | 50 - designate/objects/pool_manager_status.py | 62 - designate/objects/pool_nameserver.py | 51 - designate/objects/pool_ns_record.py | 55 - designate/objects/pool_target.py | 60 - designate/objects/pool_target_master.py | 51 - designate/objects/pool_target_option.py | 51 - designate/objects/quota.py | 54 - designate/objects/record.py | 146 - designate/objects/recordset.py | 305 -- designate/objects/rrdata_a.py | 47 - designate/objects/rrdata_aaaa.py | 47 - designate/objects/rrdata_cname.py | 48 - designate/objects/rrdata_mx.py | 62 - designate/objects/rrdata_ns.py | 58 - designate/objects/rrdata_ptr.py | 48 - designate/objects/rrdata_soa.py | 104 - designate/objects/rrdata_spf.py | 46 - designate/objects/rrdata_srv.py | 86 - designate/objects/rrdata_sshfp.py | 71 - designate/objects/rrdata_txt.py | 48 - designate/objects/server.py | 39 - designate/objects/service_status.py | 61 - designate/objects/tenant.py | 31 - designate/objects/tld.py | 44 - designate/objects/tsigkey.py | 73 - designate/objects/validation_error.py | 44 - designate/objects/zone.py | 250 -- designate/objects/zone_attribute.py | 51 - designate/objects/zone_export.py | 68 - designate/objects/zone_import.py | 61 - designate/objects/zone_master.py | 57 - designate/objects/zone_transfer_accept.py | 65 - designate/objects/zone_transfer_request.py | 75 - designate/opts.py | 60 - designate/plugin.py | 148 - designate/policy.py | 106 - designate/pool_manager/__init__.py | 136 - designate/pool_manager/cache/__init__.py | 27 - designate/pool_manager/cache/base.py | 63 - .../cache/impl_memcache/__init__.py | 130 - .../pool_manager/cache/impl_noop/__init__.py | 36 - .../cache/impl_sqlalchemy/__init__.py | 78 - .../cache/impl_sqlalchemy/migrate_repo/README | 4 - .../impl_sqlalchemy/migrate_repo/__init__.py | 0 .../impl_sqlalchemy/migrate_repo/manage.py | 23 - .../impl_sqlalchemy/migrate_repo/migrate.cfg | 25 - .../versions/001_add_pool_manager_status.py | 76 - .../002_rename_server_to_nameserver.py | 33 - .../migrate_repo/versions/003_placeholder.py | 30 - .../migrate_repo/versions/004_placeholder.py | 30 - .../migrate_repo/versions/005_placeholder.py | 30 - .../migrate_repo/versions/006_placeholder.py | 30 - .../migrate_repo/versions/007_placeholder.py | 30 - .../versions/008_domain_to_zone_rename.py | 34 - .../migrate_repo/versions/__init__.py | 0 .../cache/impl_sqlalchemy/tables.py | 50 - designate/pool_manager/rpcapi.py | 114 - designate/pool_manager/service.py | 961 ----- designate/producer/__init__.py | 77 - designate/producer/service.py | 97 - designate/producer/tasks.py | 346 -- designate/quota/__init__.py | 49 - designate/quota/base.py | 75 - designate/quota/impl_noop.py | 27 - designate/quota/impl_storage.py | 100 - designate/resources/schemas/admin/quota.json | 54 - designate/resources/schemas/v1/domain.json | 76 - designate/resources/schemas/v1/domains.json | 17 - designate/resources/schemas/v1/fault.json | 53 - designate/resources/schemas/v1/limits.json | 29 - designate/resources/schemas/v1/record.json | 246 -- designate/resources/schemas/v1/records.json | 17 - designate/resources/schemas/v1/server.json | 44 - designate/resources/schemas/v1/servers.json | 17 - designate/resources/schemas/v1/tsigkey.json | 43 - designate/resources/schemas/v1/tsigkeys.json | 17 - .../resources/templates/bind9-zone.jinja2 | 27 - .../resources/templates/dnsmasq-zone.jinja2 | 10 - .../resources/templates/export-zone.jinja2 | 7 - designate/resources/wsdl/EnhancedDNS.xml | 238 -- designate/rpc.py | 223 -- designate/scheduler/__init__.py | 35 - designate/scheduler/base.py | 82 - designate/scheduler/filters/__init__.py | 0 .../scheduler/filters/attribute_filter.py | 118 - designate/scheduler/filters/base.py | 49 - .../scheduler/filters/default_pool_filter.py | 40 - .../scheduler/filters/fallback_filter.py | 49 - .../filters/in_doubt_default_pool_filter.py | 59 - .../filters/pool_id_attribute_filter.py | 84 - designate/scheduler/filters/random_filter.py | 43 - designate/schema/__init__.py | 120 - designate/schema/_validators.py | 79 - designate/schema/format.py | 240 -- designate/schema/resolvers.py | 39 - designate/schema/validators.py | 32 - designate/service.py | 495 --- designate/service_status.py | 120 - designate/sink/__init__.py | 37 - designate/sink/service.py | 116 - designate/sqlalchemy/__init__.py | 0 designate/sqlalchemy/base.py | 622 --- designate/sqlalchemy/session.py | 53 - designate/sqlalchemy/types.py | 54 - designate/sqlalchemy/utils.py | 162 - designate/storage/__init__.py | 116 - designate/storage/base.py | 802 ---- designate/storage/impl_sqlalchemy/__init__.py | 1812 --------- .../impl_sqlalchemy/migrate_repo/README | 4 - .../impl_sqlalchemy/migrate_repo/__init__.py | 0 .../impl_sqlalchemy/migrate_repo/manage.py | 23 - .../impl_sqlalchemy/migrate_repo/migrate.cfg | 25 - .../impl_sqlalchemy/migrate_repo/utils.py | 44 - .../migrate_repo/versions/070_liberty.py | 398 -- .../migrate_repo/versions/071_placeholder.py | 30 - .../migrate_repo/versions/072_placeholder.py | 30 - .../migrate_repo/versions/073_placeholder.py | 30 - .../migrate_repo/versions/074_placeholder.py | 30 - .../migrate_repo/versions/075_placeholder.py | 30 - .../migrate_repo/versions/076_placeholder.py | 30 - .../migrate_repo/versions/077_placeholder.py | 30 - .../migrate_repo/versions/078_placeholder.py | 30 - .../migrate_repo/versions/079_placeholder.py | 30 - .../versions/080_domain_to_zone_rename.py | 139 - .../migrate_repo/versions/081_add_FKs.py | 66 - .../versions/082_unique_ns_record.py | 62 - .../083_change_managed_column_types.py | 39 - .../versions/084_add_delayed_notify_column.py | 37 - .../versions/085_add_zone_attributes.py | 97 - .../versions/086_new_pools_tables.py | 127 - .../migrate_repo/versions/087_placeholder.py | 26 - .../migrate_repo/versions/088_placeholder.py | 26 - .../migrate_repo/versions/089_placeholder.py | 26 - .../migrate_repo/versions/090_placeholder.py | 26 - .../migrate_repo/versions/091_placeholder.py | 26 - .../migrate_repo/versions/092_placeholder.py | 26 - .../migrate_repo/versions/093_placeholder.py | 26 - .../migrate_repo/versions/094_placeholder.py | 26 - .../migrate_repo/versions/095_placeholder.py | 26 - .../migrate_repo/versions/096_placeholder.py | 26 - .../migrate_repo/versions/097_add_services.py | 53 - .../versions/098_fix_service_charset.py | 33 - ...99_add_rrset_indexes_for_filtering_perf.py | 36 - .../migrate_repo/versions/__init__.py | 0 designate/storage/impl_sqlalchemy/tables.py | 476 --- designate/tests/__init__.py | 887 ----- designate/tests/fixtures.py | 190 - designate/tests/resources/__init__.py | 23 - .../resources/pools_yaml/multiple-pools.yaml | 63 - .../tests/resources/pools_yaml/pools.yaml | 32 - .../resources/pools_yaml/sample_output.yaml | 25 - .../neutron/floatingip.delete.start.json | 27 - .../floatingip.update.end_associate.json | 27 - .../floatingip.update.end_disassociate.json | 27 - .../neutron/port.create.end.json | 34 - .../neutron/port.create.start.json | 16 - .../neutron/port.delete.end.json | 18 - .../neutron/port.delete.start.json | 18 - .../nova/compute.instance.create.end.json | 180 - .../nova/compute.instance.create.start.json | 131 - .../nova/compute.instance.delete.start.json | 130 - .../nova/compute.instance.shutdown.end.json | 130 - .../nova/compute.instance.shutdown.start.json | 130 - .../nova/network.floating_ip.allocate.json | 102 - .../nova/network.floating_ip.associate.json | 102 - .../nova/network.floating_ip.deallocate.json | 102 - .../network.floating_ip.disassociate.json | 102 - .../nova/scheduler.run_instance.end.json | 177 - .../scheduler.run_instance.scheduled.json | 182 - .../nova/scheduler.run_instance.start.json | 176 - .../resources/zonefiles/example.com.zone | 21 - .../zonefiles/malformed_example.com.zone | 28 - .../zonefiles/noorigin_example.com.zone | 19 - .../zonefiles/nosoa_example.com.zone | 13 - .../resources/zonefiles/two_example.com.zone | 21 - designate/tests/test_agent/__init__.py | 20 - .../test_agent/test_backends/__init__.py | 26 - .../test_agent/test_backends/test_bind9.py | 69 - .../test_backends/test_denominator.py | 129 - .../test_agent/test_backends/test_djbdns.py | 127 - .../test_agent/test_backends/test_fake.py | 59 - .../test_agent/test_backends/test_gdnsd.py | 154 - designate/tests/test_agent/test_handler.py | 211 - designate/tests/test_agent/test_service.py | 30 - designate/tests/test_api/__init__.py | 20 - .../tests/test_api/test_admin/__init__.py | 150 - .../test_admin/extensions/__init__.py | 0 .../test_admin/extensions/test_quotas.py | 143 - .../test_admin/extensions/test_reports.py | 165 - designate/tests/test_api/test_middleware.py | 247 -- designate/tests/test_api/test_service.py | 32 - designate/tests/test_api/test_v1/__init__.py | 118 - .../tests/test_api/test_v1/test_domains.py | 522 --- .../tests/test_api/test_v1/test_limits.py | 39 - .../tests/test_api/test_v1/test_records.py | 862 ---- .../tests/test_api/test_v1/test_servers.py | 244 -- .../tests/test_api/test_v1/test_tsigkeys.py | 136 - designate/tests/test_api/test_v2/__init__.py | 153 - .../tests/test_api/test_v2/test_blacklists.py | 168 - .../test_api/test_v2/test_floatingips.py | 245 -- .../test_api/test_v2/test_hostheaders.py | 52 - .../test_api/test_v2/test_import_export.py | 175 - .../tests/test_api/test_v2/test_limits.py | 54 - .../tests/test_api/test_v2/test_pools.py | 368 -- .../tests/test_api/test_v2/test_recordsets.py | 983 ----- .../test_api/test_v2/test_service_status.py | 84 - designate/tests/test_api/test_v2/test_tlds.py | 199 - .../tests/test_api/test_v2/test_tsigkeys.py | 332 -- .../test_api/test_v2/test_zone_transfers.py | 342 -- .../tests/test_api/test_v2/test_zones.py | 722 ---- designate/tests/test_backend/__init__.py | 20 - designate/tests/test_backend/test_bind9.py | 158 - designate/tests/test_backend/test_dynect.py | 187 - designate/tests/test_backend/test_infoblox.py | 138 - designate/tests/test_backend/test_nsd4.py | 116 - designate/tests/test_backend/test_powerdns.py | 172 - designate/tests/test_central/__init__.py | 20 - .../tests/test_central/_test_service_ipa.py | 195 - designate/tests/test_central/test_service.py | 3477 ----------------- designate/tests/test_context.py | 68 - designate/tests/test_coordination.py | 309 -- designate/tests/test_dnsutils.py | 166 - designate/tests/test_hookpoints.py | 145 - designate/tests/test_mdns/__init__.py | 20 - designate/tests/test_mdns/test_handler.py | 980 ----- designate/tests/test_mdns/test_notify.py | 212 - designate/tests/test_mdns/test_service.py | 178 - designate/tests/test_network_api/__init__.py | 0 .../tests/test_network_api/test_neutron.py | 52 - .../test_notification_handler/__init__.py | 33 - .../test_notification_handler/test_base.py | 45 - .../test_notification_handler/test_neutron.py | 134 - .../test_notification_handler/test_nova.py | 193 - designate/tests/test_objects/__init__.py | 0 .../tests/test_objects/test_mx_object.py | 52 - .../tests/test_objects/test_sshfp_object.py | 68 - designate/tests/test_pool_manager/__init__.py | 65 - .../tests/test_pool_manager/cache/__init__.py | 53 - .../test_pool_manager/cache/test_memcache.py | 66 - .../test_pool_manager/cache/test_noop.py | 37 - .../cache/test_sqlalchemy.py | 39 - .../tests/test_pool_manager/test_rpcapi.py | 104 - .../tests/test_pool_manager/test_service.py | 492 --- designate/tests/test_producer/__init__.py | 0 designate/tests/test_producer/test_service.py | 27 - designate/tests/test_producer/test_tasks.py | 167 - designate/tests/test_quota/__init__.py | 0 designate/tests/test_quota/test_quota.py | 110 - designate/tests/test_quota/test_storage.py | 94 - designate/tests/test_resources/__init__.py | 0 .../test_resources/test_templates/__init__.py | 0 .../test_templates/test_bind9.py | 29 - designate/tests/test_schema/__init__.py | 24 - designate/tests/test_schema/test_format.py | 473 --- designate/tests/test_sqlalchemy.py | 122 - designate/tests/test_storage/__init__.py | 3244 --------------- .../tests/test_storage/test_sqlalchemy.py | 103 - designate/tests/test_utils.py | 217 - designate/tests/test_workers/__init__.py | 0 .../tests/test_workers/test_base_task.py | 30 - .../tests/test_workers/test_processing.py | 46 - designate/tests/test_workers/test_service.py | 99 - .../tests/test_workers/test_zone_tasks.py | 574 --- designate/tests/unit/README | 10 - designate/tests/unit/__init__.py | 92 - designate/tests/unit/test_agent/__init__.py | 0 .../unit/test_agent/test_backends/__init__.py | 0 .../test_agent/test_backends/test_djbdns.py | 126 - .../test_agent/test_backends/test_gdnsd.py | 85 - .../test_agent/test_backends/test_knot2.py | 200 - .../test_agent/test_backends/test_msdns.py | 122 - designate/tests/unit/test_api/__init__.py | 0 .../tests/unit/test_api/test_admin_api.py | 67 - designate/tests/unit/test_api/test_api_v2.py | 63 - .../tests/unit/test_api/test_middleware.py | 189 - designate/tests/unit/test_backend/__init__.py | 0 .../tests/unit/test_backend/test_agent.py | 212 - .../tests/unit/test_backend/test_designate.py | 123 - designate/tests/unit/test_central/__init__.py | 0 .../tests/unit/test_central/test_basic.py | 2101 ---------- .../unit/test_central/test_notifications.py | 506 --- designate/tests/unit/test_mdns/__init__.py | 0 .../tests/unit/test_mdns/test_handler.py | 207 - designate/tests/unit/test_mdns/test_notify.py | 274 -- .../tests/unit/test_mdns/test_service.py | 75 - designate/tests/unit/test_metrics/__init__.py | 0 .../tests/unit/test_metrics/test_metrics.py | 106 - designate/tests/unit/test_objects/__init__.py | 0 .../tests/unit/test_objects/test_adapters.py | 87 - .../tests/unit/test_objects/test_base.py | 908 ----- .../tests/unit/test_objects/test_domain.py | 154 - .../tests/unit/test_objects/test_recordset.py | 266 -- .../unit/test_objects/test_yaml_adapters.py | 158 - designate/tests/unit/test_pool.py | 112 - .../tests/unit/test_pool_manager/__init__.py | 0 .../unit/test_pool_manager/test_service.py | 288 -- .../tests/unit/test_producer/__init__.py | 0 .../tests/unit/test_producer/test_service.py | 60 - .../tests/unit/test_producer/test_tasks.py | 262 -- .../tests/unit/test_scheduler/__init__.py | 0 .../tests/unit/test_scheduler/test_basic.py | 119 - .../tests/unit/test_scheduler/test_filters.py | 458 --- designate/tests/unit/test_service_status.py | 105 - designate/utils.py | 549 --- designate/version.py | 20 - designate/worker/README.md | 206 - designate/worker/__init__.py | 68 - designate/worker/processing.py | 79 - designate/worker/rpcapi.py | 77 - designate/worker/service.py | 172 - designate/worker/tasks/__init__.py | 0 designate/worker/tasks/base.py | 127 - designate/worker/tasks/zone.py | 609 --- designate/worker/utils.py | 82 - devstack/README.rst | 20 - devstack/designate_plugins/backend-agent | 103 - devstack/designate_plugins/backend-agent-fake | 55 - .../designate_plugins/backend-agent-knot2 | 130 - .../designate_plugins/backend-agent-msdns | 116 - devstack/designate_plugins/backend-akamai | 150 - devstack/designate_plugins/backend-bind9 | 175 - devstack/designate_plugins/backend-designate | 135 - devstack/designate_plugins/backend-dynect | 156 - devstack/designate_plugins/backend-fake | 72 - devstack/designate_plugins/backend-infoblox | 117 - devstack/designate_plugins/backend-pdns4 | 197 - .../backend-pdns4-mysql-db.sql | 92 - .../backend-pdns4-pgsql-db.sql | 91 - devstack/designate_plugins/backend-powerdns | 171 - devstack/exercise.sh | 318 -- devstack/gate/gate_hook.sh | 24 - devstack/gate/post_test_hook.sh | 50 - devstack/gate/run_cli_tests.sh | 28 - devstack/gate/run_tempest_tests.sh | 32 - devstack/networking_test.py | 664 ---- devstack/networking_test_monitor_tc.sh | 3 - devstack/plugin.sh | 402 -- devstack/settings | 79 - devstack/statsd_mock_server.py | 61 - devstack/upgrade/resources.sh | 172 - devstack/upgrade/settings | 8 - devstack/upgrade/shutdown.sh | 28 - devstack/upgrade/upgrade.sh | 96 - doc/ext/__init__.py | 0 doc/ext/assets/support-matrix.css | 7 - doc/ext/assets/support-matrix.js | 3 - doc/ext/custom_css.py | 16 - doc/ext/support_matrix.py | 458 --- doc/requirements.txt | 2 - doc/source/_static/designate-docs.css | 0 doc/source/admin/blacklists.rst | 98 - doc/source/admin/designate-manage.rst | 345 -- doc/source/admin/index.rst | 24 - doc/source/admin/multiple-pools.rst | 233 -- doc/source/admin/notifications.rst | 73 - doc/source/admin/pool-scheduler.rst | 111 - doc/source/admin/pools.rst | 139 - doc/source/admin/production-guidelines.rst | 110 - doc/source/admin/quotas.rst | 146 - doc/source/admin/tlds.rst | 79 - doc/source/admin/troubleshooting.rst | 116 - doc/source/admin/upgrades/index.rst | 15 - doc/source/admin/upgrades/kilo.rst | 40 - doc/source/admin/upgrades/mitaka.rst | 92 - doc/source/admin/upgrades/newton.rst | 111 - doc/source/admin/upgrades/ocata.rst | 44 - doc/source/conf.py | 259 -- doc/source/contributor/architecture.rst | 92 - doc/source/contributor/backends/agent.rst | 46 - doc/source/contributor/backends/bind9.rst | 61 - .../contributor/backends/djbdns_agent.rst | 132 - .../contributor/backends/gdnsd_agent.rst | 115 - doc/source/contributor/backends/index.rst | 25 - doc/source/contributor/backends/infoblox.rst | 85 - .../contributor/backends/knot2_agent.rst | 201 - .../contributor/backends/msdns_agent.rst | 134 - doc/source/contributor/backends/pdns4.rst | 57 - doc/source/contributor/backends/powerdns.rst | 75 - .../backends/sample_yaml_snippets/agent.yaml | 15 - .../backends/sample_yaml_snippets/bind.yaml | 17 - .../backends/sample_yaml_snippets/pdns4.yaml | 16 - .../sample_yaml_snippets/powerdns.yaml | 16 - doc/source/contributor/devstack.rst | 114 - doc/source/contributor/getting-involved.rst | 211 - doc/source/contributor/gmr.rst | 467 --- doc/source/contributor/index.rst | 42 - doc/source/contributor/integrations.rst | 90 - doc/source/contributor/metrics.rst | 14 - doc/source/contributor/related.rst | 49 - doc/source/contributor/sourcedoc/api.rst | 26 - doc/source/contributor/sourcedoc/backend.rst | 118 - doc/source/contributor/sourcedoc/central.rst | 22 - doc/source/contributor/sourcedoc/index.rst | 15 - doc/source/contributor/sourcedoc/mdns.rst | 47 - doc/source/contributor/sourcedoc/objects.rst | 182 - doc/source/contributor/sourcedoc/quota.rst | 27 - doc/source/contributor/sourcedoc/sink.rst | 17 - doc/source/contributor/sourcedoc/storage.rst | 17 - doc/source/contributor/support-matrix.ini | 156 - doc/source/contributor/support-matrix.rst | 10 - doc/source/contributor/ubuntu-dev.rst | 367 -- doc/source/diagrams/Designate-MultiZone.dia | Bin 3754 -> 0 bytes .../diagrams/Designate-PowerDNS-Detail.dia | Bin 2464 -> 0 bytes doc/source/diagrams/Designate-Simple.dia | Bin 3028 -> 0 bytes doc/source/diagrams/README | 6 - doc/source/examples/basic-config-sample.conf | 136 - doc/source/examples/basic-pools-sample.yaml | 44 - doc/source/images/Designate-Arch.png | Bin 34210 -> 0 bytes doc/source/images/Designate-MultiZone.png | Bin 36741 -> 0 bytes .../images/Designate-PowerDNS-Detail.png | Bin 44979 -> 0 bytes doc/source/images/Designate-Simple.svg | 4 - doc/source/index.rst | 27 - doc/source/user/index.rst | 15 - doc/source/user/manage-ptr-records.rst | 473 --- doc/source/user/rest.rst | 96 - doc/source/user/rest/admin/quotas.rst | 150 - doc/source/user/rest/v1/diagnostics.rst | 66 - doc/source/user/rest/v1/domains.rst | 293 -- doc/source/user/rest/v1/quotas.rst | 141 - doc/source/user/rest/v1/records.rst | 832 ---- doc/source/user/rest/v1/reports.rst | 238 -- doc/source/user/rest/v1/servers.rst | 205 - doc/source/user/rest/v1/sync.rst | 112 - doc/source/user/secondary-zones.rst | 195 - etc/designate/README-designate.conf.txt | 4 - etc/designate/api-paste.ini | 76 - etc/designate/designate-config-generator.conf | 26 - etc/designate/designate.conf.sample | 581 --- etc/designate/policy.json | 129 - etc/designate/pools.yaml.sample | 54 - etc/designate/pools.yaml.sample-bind | 66 - .../pools.yaml.sample-multiple-pools | 115 - etc/designate/rootwrap.conf.sample | 27 - etc/designate/rootwrap.d/bind9.filters | 10 - etc/designate/rootwrap.d/djbdns.filters | 4 - etc/designate/rootwrap.d/knot2.filters | 3 - install-guide/source/common_prerequisites.rst | 39 - install-guide/source/conf.py | 302 -- install-guide/source/create-zone.rst | 81 - install-guide/source/get_started.rst | 49 - install-guide/source/index.rst | 16 - install-guide/source/install-obs.rst | 214 - install-guide/source/install-rdo.rst | 214 - install-guide/source/install-ubuntu.rst | 216 - install-guide/source/install.rst | 20 - install-guide/source/next-steps.rst | 12 - install-guide/source/verify.rst | 40 - ipa-requirements.txt | 2 - rally-jobs/README.rst | 29 - rally-jobs/designate-designate.yaml | 75 - rally-jobs/extra/README.rst | 5 - rally-jobs/plugins/README.rst | 10 - rally-jobs/plugins/__init__.py | 0 releasenotes/notes/.placeholder | 0 .../agent-port-number-c28462562a74cbf9.yaml | 5 - .../notes/api-dot-json-324038360202e86b.yaml | 5 - ...i-mdns-multiple-bind-c78853de46ee587d.yaml | 15 - .../attribute-filter-f06a53b61f5fd111.yaml | 5 - .../notes/cfg-notification-remove.yaml | 14 - ...djbdns-agent-backend-c84e9eeab48d2e01.yaml | 4 - .../knot-agent-backend-db2893aa97d85a1d.yaml | 3 - .../notes/mini-dns-tcp-c1a15742f5c71739.yaml | 10 - .../notes/newton-rc-1-eddc78fac760b98a.yaml | 19 - ...ggable-notifications-bd049b755a2ace9c.yaml | 21 - .../pool-config-db-45a2cad74e22d95e.yaml | 14 - .../pool_scheduler-32e34dda9484ef9a.yaml | 9 - .../notes/recordset-api-2c82abf569f7623e.yaml | 5 - .../service-status-ab0e696c8f5fdef8.yaml | 11 - ...terval_randomization-fcc1d0d63124699b.yaml | 8 - .../notes/v1-disabled-ffebc0434fa0665f.yaml | 5 - .../notes/v2-api-quotas-dd7e189cddcf7b96.yaml | 15 - ...fer-request-response-a2e316872798d1df.yaml | 3 - releasenotes/source/_static/.placeholder | 0 releasenotes/source/_templates/.placeholder | 0 releasenotes/source/conf.py | 284 -- releasenotes/source/index.rst | 12 - releasenotes/source/liberty.rst | 6 - releasenotes/source/mitaka.rst | 6 - releasenotes/source/newton.rst | 6 - releasenotes/source/ocata.rst | 6 - releasenotes/source/unreleased.rst | 5 - requirements.txt | 50 - setup.cfg | 185 - setup.py | 29 - test-requirements.txt | 25 - tools/install_venv.py | 69 - tools/install_venv_common.py | 172 - tools/mysql_pending_notify_bench/README | 56 - tools/mysql_pending_notify_bench/runner | 95 - tools/pretty_flake8.py | 91 - tools/pretty_flake8.sh | 6 - tools/pretty_tox.sh | 6 - tools/with_venv.sh | 7 - tox.ini | 143 - 828 files changed, 14 insertions(+), 95379 deletions(-) delete mode 100644 .coveragerc delete mode 100644 .gitignore delete mode 100644 .gitreview delete mode 100644 .testr.conf delete mode 100644 LICENSE create mode 100644 README delete mode 100644 README.rst delete mode 100644 api-ref/source/conf.py delete mode 100644 api-ref/source/dns-api-v2-blacklist.inc delete mode 100644 api-ref/source/dns-api-v2-limits.inc delete mode 100644 api-ref/source/dns-api-v2-pool.inc delete mode 100644 api-ref/source/dns-api-v2-quota.inc delete mode 100644 api-ref/source/dns-api-v2-recordset.inc delete mode 100644 api-ref/source/dns-api-v2-reverse-floatingips.inc delete mode 100644 api-ref/source/dns-api-v2-service-status.inc delete mode 100644 api-ref/source/dns-api-v2-tld.inc delete mode 100644 api-ref/source/dns-api-v2-tsigkey.inc delete mode 100644 api-ref/source/dns-api-v2-version.inc delete mode 100644 api-ref/source/dns-api-v2-zone-export.inc delete mode 100644 api-ref/source/dns-api-v2-zone-import.inc delete mode 100644 api-ref/source/dns-api-v2-zone-ownership-transfer-accept.inc delete mode 100644 api-ref/source/dns-api-v2-zone-ownership-transfer-request.inc delete mode 100644 api-ref/source/dns-api-v2-zone-tasks.inc delete mode 100644 api-ref/source/dns-api-v2-zone.inc delete mode 100644 api-ref/source/index.rst delete mode 100644 api-ref/source/parameters.yaml delete mode 100644 api-ref/source/samples/blacklists/blacklist-response.json delete mode 100644 api-ref/source/samples/blacklists/create-blacklist-request.json delete mode 100644 api-ref/source/samples/blacklists/list-blacklists-response.json delete mode 100644 api-ref/source/samples/blacklists/update-blacklist-request.json delete mode 100644 api-ref/source/samples/blacklists/update-blacklist-response.json delete mode 100644 api-ref/source/samples/limits/get-limits-response.json delete mode 100644 api-ref/source/samples/pools/list-pools-response.json delete mode 100644 api-ref/source/samples/pools/show-pool-response.json delete mode 100644 api-ref/source/samples/quotas/get-quotas-response.json delete mode 100644 api-ref/source/samples/quotas/set-quotas-request.json delete mode 100644 api-ref/source/samples/quotas/set-quotas-response.json delete mode 100644 api-ref/source/samples/recordsets/create-mx-recordset-request.json delete mode 100644 api-ref/source/samples/recordsets/create-mx-recordset-response.json delete mode 100644 api-ref/source/samples/recordsets/create-recordset-request.json delete mode 100644 api-ref/source/samples/recordsets/create-recordset-response.json delete mode 100644 api-ref/source/samples/recordsets/create-spf-recordset-request.json delete mode 100644 api-ref/source/samples/recordsets/create-spf-recordset-response.json delete mode 100644 api-ref/source/samples/recordsets/create-srv-recordset-request.json delete mode 100644 api-ref/source/samples/recordsets/create-srv-recordset-response.json delete mode 100644 api-ref/source/samples/recordsets/create-sshfp-recordset-request.json delete mode 100644 api-ref/source/samples/recordsets/create-sshfp-recordset-response.json delete mode 100644 api-ref/source/samples/recordsets/delete-recordset-response.json delete mode 100644 api-ref/source/samples/recordsets/list-all-recordset-response.json delete mode 100644 api-ref/source/samples/recordsets/list-recordset-in-zone-response.json delete mode 100644 api-ref/source/samples/recordsets/show-recordset-response.json delete mode 100644 api-ref/source/samples/recordsets/update-recordset-request.json delete mode 100644 api-ref/source/samples/recordsets/update-recordset-response.json delete mode 100644 api-ref/source/samples/reverse_floatingips/list-ptr-record-response.json delete mode 100644 api-ref/source/samples/reverse_floatingips/ptr-record-response.json delete mode 100644 api-ref/source/samples/reverse_floatingips/set-ptr-record-request.json delete mode 100644 api-ref/source/samples/reverse_floatingips/unset-ptr-record-request.json delete mode 100644 api-ref/source/samples/service_status/service_status_list.json delete mode 100644 api-ref/source/samples/tlds/create-tld-request.json delete mode 100644 api-ref/source/samples/tlds/list-tlds-response.json delete mode 100644 api-ref/source/samples/tlds/tld-response.json delete mode 100644 api-ref/source/samples/tlds/update-tld-request.json delete mode 100644 api-ref/source/samples/tlds/update-tld-response.json delete mode 100644 api-ref/source/samples/tsigkeys/create-tsigkey-request.json delete mode 100644 api-ref/source/samples/tsigkeys/list-tsigkeys-response.json delete mode 100644 api-ref/source/samples/tsigkeys/tsigkey-response.json delete mode 100644 api-ref/source/samples/tsigkeys/update-tsigkey-request.json delete mode 100644 api-ref/source/samples/tsigkeys/update-tsigkey-response.json delete mode 100644 api-ref/source/samples/versions/get-versions-response.json delete mode 100644 api-ref/source/samples/zones/create-zone-export-response.json delete mode 100644 api-ref/source/samples/zones/create-zone-import-response.json delete mode 100644 api-ref/source/samples/zones/create-zone-request.json delete mode 100644 api-ref/source/samples/zones/create-zone-transfer-accept-request.json delete mode 100644 api-ref/source/samples/zones/create-zone-transfer-accept-response.json delete mode 100644 api-ref/source/samples/zones/create-zone-transfer-request-request.json delete mode 100644 api-ref/source/samples/zones/create-zone-transfer-request-response.json delete mode 100644 api-ref/source/samples/zones/delete-zone-response.json delete mode 100644 api-ref/source/samples/zones/list-zone-export-response.json delete mode 100644 api-ref/source/samples/zones/list-zone-import-response.json delete mode 100644 api-ref/source/samples/zones/list-zone-transfer-accept-response.json delete mode 100644 api-ref/source/samples/zones/list-zone-transfer-request-response.json delete mode 100644 api-ref/source/samples/zones/list-zones-response.json delete mode 100644 api-ref/source/samples/zones/show-zone-export-content.txt delete mode 100644 api-ref/source/samples/zones/show-zone-export-response.json delete mode 100644 api-ref/source/samples/zones/show-zone-import-response.json delete mode 100644 api-ref/source/samples/zones/show-zone-nameservers-response.json delete mode 100644 api-ref/source/samples/zones/show-zone-transfer-request-response.json delete mode 100644 api-ref/source/samples/zones/update-zone-request.json delete mode 100644 api-ref/source/samples/zones/update-zone-response.json delete mode 100644 api-ref/source/samples/zones/update-zone-transfer-request-request.json delete mode 100644 api-ref/source/samples/zones/update-zone-transfer-request-response.json delete mode 100644 api-ref/source/samples/zones/zone-response.json delete mode 100644 api-ref/source/status.yaml delete mode 100644 babel.cfg delete mode 100644 contrib/archive/backends/impl_ipa/__init__.py delete mode 100644 contrib/archive/backends/impl_ipa/auth.py delete mode 100644 contrib/archive/backends/impl_multi.py delete mode 100644 contrib/consume.py delete mode 100644 contrib/designate-ext-samplehandler/.gitignore delete mode 100644 contrib/designate-ext-samplehandler/MANIFEST.in delete mode 100644 contrib/designate-ext-samplehandler/README.rst delete mode 100644 contrib/designate-ext-samplehandler/designate_ext_samplehandler/__init__.py delete mode 100644 contrib/designate-ext-samplehandler/designate_ext_samplehandler/notification_handler/__init__.py delete mode 100644 contrib/designate-ext-samplehandler/designate_ext_samplehandler/notification_handler/sample.py delete mode 100644 contrib/designate-ext-samplehandler/designate_ext_samplehandler/version.py delete mode 100644 contrib/designate-ext-samplehandler/requirements.txt delete mode 100644 contrib/designate-ext-samplehandler/setup.cfg delete mode 100755 contrib/designate-ext-samplehandler/setup.py delete mode 100644 contrib/designate-ext-samplehandler/test-requirements.txt delete mode 100755 contrib/djbdns/tinydns.init delete mode 100644 contrib/djbdns/tinydns.service delete mode 100755 contrib/dns_dump_dnspy.py delete mode 100644 contrib/dns_dump_hex_to_text.py delete mode 100755 contrib/dns_dump_raw.py delete mode 100755 contrib/dns_dump_server.py delete mode 100644 contrib/ipaextractor.py delete mode 100644 contrib/records_mass_create.py delete mode 100644 contrib/vagrant/README.rst delete mode 100644 contrib/vagrant/Vagrantfile delete mode 100644 contrib/vagrant/local.conf delete mode 100755 contrib/vagrant/setup_ubuntu_devstack delete mode 100644 contrib/zoneextractor.py delete mode 100644 designate.sublime-project delete mode 100644 designate/__init__.py delete mode 100644 designate/agent/__init__.py delete mode 100644 designate/agent/handler.py delete mode 100644 designate/agent/service.py delete mode 100644 designate/api/__init__.py delete mode 100644 designate/api/admin/__init__.py delete mode 100644 designate/api/admin/app.py delete mode 100644 designate/api/admin/controllers/__init__.py delete mode 100644 designate/api/admin/controllers/extensions/__init__.py delete mode 100644 designate/api/admin/controllers/extensions/counts.py delete mode 100644 designate/api/admin/controllers/extensions/export.py delete mode 100644 designate/api/admin/controllers/extensions/quotas.py delete mode 100644 designate/api/admin/controllers/extensions/reports.py delete mode 100644 designate/api/admin/controllers/extensions/target_sync.py delete mode 100644 designate/api/admin/controllers/extensions/tenants.py delete mode 100644 designate/api/admin/controllers/extensions/zones.py delete mode 100644 designate/api/admin/controllers/root.py delete mode 100644 designate/api/admin/views/__init__.py delete mode 100644 designate/api/admin/views/base.py delete mode 100644 designate/api/admin/views/extensions/__init__.py delete mode 100644 designate/api/admin/views/extensions/quotas.py delete mode 100644 designate/api/admin/views/extensions/reports.py delete mode 100644 designate/api/middleware.py delete mode 100644 designate/api/service.py delete mode 100644 designate/api/v1/__init__.py delete mode 100644 designate/api/v1/domains.py delete mode 100644 designate/api/v1/extensions/__init__.py delete mode 100644 designate/api/v1/extensions/diagnostics.py delete mode 100644 designate/api/v1/extensions/quotas.py delete mode 100644 designate/api/v1/extensions/reports.py delete mode 100644 designate/api/v1/extensions/sync.py delete mode 100644 designate/api/v1/extensions/touch.py delete mode 100644 designate/api/v1/limits.py delete mode 100644 designate/api/v1/records.py delete mode 100644 designate/api/v1/servers.py delete mode 100644 designate/api/v1/tsigkeys.py delete mode 100644 designate/api/v2/__init__.py delete mode 100644 designate/api/v2/app.py delete mode 100644 designate/api/v2/controllers/__init__.py delete mode 100644 designate/api/v2/controllers/blacklists.py delete mode 100644 designate/api/v2/controllers/common.py delete mode 100644 designate/api/v2/controllers/errors.py delete mode 100644 designate/api/v2/controllers/floatingips.py delete mode 100644 designate/api/v2/controllers/limits.py delete mode 100644 designate/api/v2/controllers/pools.py delete mode 100644 designate/api/v2/controllers/quotas.py delete mode 100644 designate/api/v2/controllers/recordsets.py delete mode 100644 designate/api/v2/controllers/rest.py delete mode 100644 designate/api/v2/controllers/reverse.py delete mode 100644 designate/api/v2/controllers/root.py delete mode 100644 designate/api/v2/controllers/service_status.py delete mode 100644 designate/api/v2/controllers/tlds.py delete mode 100644 designate/api/v2/controllers/tsigkeys.py delete mode 100644 designate/api/v2/controllers/zones/__init__.py delete mode 100644 designate/api/v2/controllers/zones/nameservers.py delete mode 100644 designate/api/v2/controllers/zones/recordsets.py delete mode 100644 designate/api/v2/controllers/zones/tasks/__init__.py delete mode 100644 designate/api/v2/controllers/zones/tasks/abandon.py delete mode 100644 designate/api/v2/controllers/zones/tasks/exports.py delete mode 100644 designate/api/v2/controllers/zones/tasks/imports.py delete mode 100644 designate/api/v2/controllers/zones/tasks/transfer_accepts.py delete mode 100644 designate/api/v2/controllers/zones/tasks/transfer_requests.py delete mode 100644 designate/api/v2/controllers/zones/tasks/xfr.py delete mode 100644 designate/api/v2/patches.py delete mode 100644 designate/api/versions.py delete mode 100644 designate/backend/__init__.py delete mode 100644 designate/backend/agent.py delete mode 100644 designate/backend/agent_backend/__init__.py delete mode 100644 designate/backend/agent_backend/base.py delete mode 100644 designate/backend/agent_backend/impl_bind9.py delete mode 100644 designate/backend/agent_backend/impl_denominator.py delete mode 100755 designate/backend/agent_backend/impl_djbdns.py delete mode 100644 designate/backend/agent_backend/impl_fake.py delete mode 100644 designate/backend/agent_backend/impl_gdnsd.py delete mode 100755 designate/backend/agent_backend/impl_knot2.py delete mode 100644 designate/backend/agent_backend/impl_msdns.py delete mode 100644 designate/backend/base.py delete mode 100644 designate/backend/impl_akamai.py delete mode 100644 designate/backend/impl_bind9.py delete mode 100644 designate/backend/impl_designate.py delete mode 100755 designate/backend/impl_dynect.py delete mode 100644 designate/backend/impl_fake.py delete mode 100644 designate/backend/impl_infoblox/__init__.py delete mode 100644 designate/backend/impl_infoblox/config.py delete mode 100644 designate/backend/impl_infoblox/connector.py delete mode 100644 designate/backend/impl_infoblox/ibexceptions.py delete mode 100644 designate/backend/impl_infoblox/object_manipulator.py delete mode 100644 designate/backend/impl_nsd4.py delete mode 100644 designate/backend/impl_pdns4.py delete mode 100644 designate/backend/impl_powerdns/__init__.py delete mode 100644 designate/backend/impl_powerdns/migrate_repo/README delete mode 100644 designate/backend/impl_powerdns/migrate_repo/__init__.py delete mode 100644 designate/backend/impl_powerdns/migrate_repo/manage.py delete mode 100644 designate/backend/impl_powerdns/migrate_repo/migrate.cfg delete mode 100644 designate/backend/impl_powerdns/migrate_repo/versions/001_add_initial_schema.py delete mode 100644 designate/backend/impl_powerdns/migrate_repo/versions/002_add_moniker_id_cols.py delete mode 100644 designate/backend/impl_powerdns/migrate_repo/versions/003_correct_master_column_length.py delete mode 100644 designate/backend/impl_powerdns/migrate_repo/versions/004_correct_content_column_length.py delete mode 100644 designate/backend/impl_powerdns/migrate_repo/versions/005_rename_moniker_id_columns.py delete mode 100644 designate/backend/impl_powerdns/migrate_repo/versions/006_add_inherit_ttl_col.py delete mode 100644 designate/backend/impl_powerdns/migrate_repo/versions/007_add_recordset_id_col.py delete mode 100644 designate/backend/impl_powerdns/migrate_repo/versions/008_record_add_designate_recordset_id_index.py delete mode 100644 designate/backend/impl_powerdns/migrate_repo/versions/009_cascade_domain_deletes.py delete mode 100644 designate/backend/impl_powerdns/migrate_repo/versions/010_records_add_disabled_column.py delete mode 100644 designate/backend/impl_powerdns/migrate_repo/versions/011_records_drop_designate_ids.py delete mode 100644 designate/backend/impl_powerdns/migrate_repo/versions/012_placeholder.py delete mode 100644 designate/backend/impl_powerdns/migrate_repo/versions/013_placeholder.py delete mode 100644 designate/backend/impl_powerdns/migrate_repo/versions/014_placeholder.py delete mode 100644 designate/backend/impl_powerdns/migrate_repo/versions/015_placeholder.py delete mode 100644 designate/backend/impl_powerdns/migrate_repo/versions/016_placeholder.py delete mode 100644 designate/backend/impl_powerdns/migrate_repo/versions/017_records_drop_duped_index.py delete mode 100644 designate/backend/impl_powerdns/migrate_repo/versions/__init__.py delete mode 100644 designate/backend/impl_powerdns/tables.py delete mode 100644 designate/backend/private_codes.py delete mode 100644 designate/central/__init__.py delete mode 100644 designate/central/rpcapi.py delete mode 100644 designate/central/service.py delete mode 100644 designate/cmd/__init__.py delete mode 100644 designate/cmd/agent.py delete mode 100644 designate/cmd/api.py delete mode 100644 designate/cmd/central.py delete mode 100644 designate/cmd/manage.py delete mode 100644 designate/cmd/mdns.py delete mode 100644 designate/cmd/pool_manager.py delete mode 100644 designate/cmd/producer.py delete mode 100644 designate/cmd/sink.py delete mode 100644 designate/cmd/worker.py delete mode 100644 designate/cmd/zone_manager.py delete mode 100644 designate/common/__init__.py delete mode 100644 designate/common/config.py delete mode 100644 designate/common/memorycache.py delete mode 100644 designate/context.py delete mode 100644 designate/coordination.py delete mode 100644 designate/debug.py delete mode 100644 designate/dnsutils.py delete mode 100644 designate/exceptions.py delete mode 100644 designate/hacking/__init__.py delete mode 100644 designate/hacking/checks.py delete mode 100644 designate/hookpoints.py delete mode 100644 designate/i18n.py delete mode 100644 designate/locale/en_GB/LC_MESSAGES/designate-log-warning.po delete mode 100644 designate/loggingutils.py delete mode 100644 designate/manage/__init__.py delete mode 100644 designate/manage/akamai.py delete mode 100644 designate/manage/base.py delete mode 100644 designate/manage/database.py delete mode 100644 designate/manage/pool.py delete mode 100644 designate/manage/pool_manager_cache.py delete mode 100644 designate/manage/powerdns.py delete mode 100644 designate/manage/tlds.py delete mode 100644 designate/mdns/__init__.py delete mode 100644 designate/mdns/base.py delete mode 100644 designate/mdns/handler.py delete mode 100644 designate/mdns/notify.py delete mode 100644 designate/mdns/rpcapi.py delete mode 100644 designate/mdns/service.py delete mode 100644 designate/mdns/xfr.py delete mode 100644 designate/metrics.py delete mode 100644 designate/metrics_client/__init__.py delete mode 100644 designate/metrics_client/noop.py delete mode 100644 designate/network_api/__init__.py delete mode 100644 designate/network_api/base.py delete mode 100644 designate/network_api/fake.py delete mode 100644 designate/network_api/neutron.py delete mode 100644 designate/notification_handler/__init__.py delete mode 100644 designate/notification_handler/base.py delete mode 100644 designate/notification_handler/neutron.py delete mode 100644 designate/notification_handler/nova.py delete mode 100644 designate/notifications.py delete mode 100644 designate/objects/__init__.py delete mode 100644 designate/objects/adapters/__init__.py delete mode 100644 designate/objects/adapters/api_v1/__init__.py delete mode 100644 designate/objects/adapters/api_v1/base.py delete mode 100644 designate/objects/adapters/api_v2/__init__.py delete mode 100644 designate/objects/adapters/api_v2/base.py delete mode 100644 designate/objects/adapters/api_v2/blacklist.py delete mode 100644 designate/objects/adapters/api_v2/floating_ip.py delete mode 100644 designate/objects/adapters/api_v2/pool.py delete mode 100644 designate/objects/adapters/api_v2/pool_attribute.py delete mode 100644 designate/objects/adapters/api_v2/pool_ns_record.py delete mode 100644 designate/objects/adapters/api_v2/quota.py delete mode 100644 designate/objects/adapters/api_v2/record.py delete mode 100644 designate/objects/adapters/api_v2/recordset.py delete mode 100644 designate/objects/adapters/api_v2/service_status.py delete mode 100644 designate/objects/adapters/api_v2/tld.py delete mode 100644 designate/objects/adapters/api_v2/tsigkey.py delete mode 100644 designate/objects/adapters/api_v2/validation_error.py delete mode 100644 designate/objects/adapters/api_v2/zone.py delete mode 100644 designate/objects/adapters/api_v2/zone_attribute.py delete mode 100644 designate/objects/adapters/api_v2/zone_export.py delete mode 100644 designate/objects/adapters/api_v2/zone_import.py delete mode 100644 designate/objects/adapters/api_v2/zone_master.py delete mode 100644 designate/objects/adapters/api_v2/zone_transfer_accept.py delete mode 100644 designate/objects/adapters/api_v2/zone_transfer_request.py delete mode 100644 designate/objects/adapters/base.py delete mode 100644 designate/objects/adapters/yaml/__init__.py delete mode 100644 designate/objects/adapters/yaml/base.py delete mode 100644 designate/objects/adapters/yaml/pool.py delete mode 100644 designate/objects/adapters/yaml/pool_also_notify.py delete mode 100644 designate/objects/adapters/yaml/pool_attribute.py delete mode 100644 designate/objects/adapters/yaml/pool_nameserver.py delete mode 100644 designate/objects/adapters/yaml/pool_ns_record.py delete mode 100644 designate/objects/adapters/yaml/pool_target.py delete mode 100644 designate/objects/adapters/yaml/pool_target_master.py delete mode 100644 designate/objects/adapters/yaml/pool_target_option.py delete mode 100644 designate/objects/base.py delete mode 100644 designate/objects/blacklist.py delete mode 100644 designate/objects/floating_ip.py delete mode 100644 designate/objects/pool.py delete mode 100644 designate/objects/pool_also_notify.py delete mode 100644 designate/objects/pool_attribute.py delete mode 100644 designate/objects/pool_manager_status.py delete mode 100644 designate/objects/pool_nameserver.py delete mode 100644 designate/objects/pool_ns_record.py delete mode 100644 designate/objects/pool_target.py delete mode 100644 designate/objects/pool_target_master.py delete mode 100644 designate/objects/pool_target_option.py delete mode 100644 designate/objects/quota.py delete mode 100644 designate/objects/record.py delete mode 100755 designate/objects/recordset.py delete mode 100644 designate/objects/rrdata_a.py delete mode 100644 designate/objects/rrdata_aaaa.py delete mode 100644 designate/objects/rrdata_cname.py delete mode 100644 designate/objects/rrdata_mx.py delete mode 100644 designate/objects/rrdata_ns.py delete mode 100644 designate/objects/rrdata_ptr.py delete mode 100644 designate/objects/rrdata_soa.py delete mode 100644 designate/objects/rrdata_spf.py delete mode 100644 designate/objects/rrdata_srv.py delete mode 100644 designate/objects/rrdata_sshfp.py delete mode 100644 designate/objects/rrdata_txt.py delete mode 100644 designate/objects/server.py delete mode 100644 designate/objects/service_status.py delete mode 100644 designate/objects/tenant.py delete mode 100644 designate/objects/tld.py delete mode 100644 designate/objects/tsigkey.py delete mode 100644 designate/objects/validation_error.py delete mode 100644 designate/objects/zone.py delete mode 100644 designate/objects/zone_attribute.py delete mode 100644 designate/objects/zone_export.py delete mode 100644 designate/objects/zone_import.py delete mode 100644 designate/objects/zone_master.py delete mode 100644 designate/objects/zone_transfer_accept.py delete mode 100644 designate/objects/zone_transfer_request.py delete mode 100644 designate/opts.py delete mode 100644 designate/plugin.py delete mode 100644 designate/policy.py delete mode 100644 designate/pool_manager/__init__.py delete mode 100644 designate/pool_manager/cache/__init__.py delete mode 100644 designate/pool_manager/cache/base.py delete mode 100644 designate/pool_manager/cache/impl_memcache/__init__.py delete mode 100644 designate/pool_manager/cache/impl_noop/__init__.py delete mode 100644 designate/pool_manager/cache/impl_sqlalchemy/__init__.py delete mode 100644 designate/pool_manager/cache/impl_sqlalchemy/migrate_repo/README delete mode 100644 designate/pool_manager/cache/impl_sqlalchemy/migrate_repo/__init__.py delete mode 100644 designate/pool_manager/cache/impl_sqlalchemy/migrate_repo/manage.py delete mode 100644 designate/pool_manager/cache/impl_sqlalchemy/migrate_repo/migrate.cfg delete mode 100644 designate/pool_manager/cache/impl_sqlalchemy/migrate_repo/versions/001_add_pool_manager_status.py delete mode 100644 designate/pool_manager/cache/impl_sqlalchemy/migrate_repo/versions/002_rename_server_to_nameserver.py delete mode 100644 designate/pool_manager/cache/impl_sqlalchemy/migrate_repo/versions/003_placeholder.py delete mode 100644 designate/pool_manager/cache/impl_sqlalchemy/migrate_repo/versions/004_placeholder.py delete mode 100644 designate/pool_manager/cache/impl_sqlalchemy/migrate_repo/versions/005_placeholder.py delete mode 100644 designate/pool_manager/cache/impl_sqlalchemy/migrate_repo/versions/006_placeholder.py delete mode 100644 designate/pool_manager/cache/impl_sqlalchemy/migrate_repo/versions/007_placeholder.py delete mode 100644 designate/pool_manager/cache/impl_sqlalchemy/migrate_repo/versions/008_domain_to_zone_rename.py delete mode 100644 designate/pool_manager/cache/impl_sqlalchemy/migrate_repo/versions/__init__.py delete mode 100644 designate/pool_manager/cache/impl_sqlalchemy/tables.py delete mode 100644 designate/pool_manager/rpcapi.py delete mode 100644 designate/pool_manager/service.py delete mode 100644 designate/producer/__init__.py delete mode 100644 designate/producer/service.py delete mode 100644 designate/producer/tasks.py delete mode 100644 designate/quota/__init__.py delete mode 100644 designate/quota/base.py delete mode 100644 designate/quota/impl_noop.py delete mode 100644 designate/quota/impl_storage.py delete mode 100644 designate/resources/schemas/admin/quota.json delete mode 100644 designate/resources/schemas/v1/domain.json delete mode 100644 designate/resources/schemas/v1/domains.json delete mode 100644 designate/resources/schemas/v1/fault.json delete mode 100644 designate/resources/schemas/v1/limits.json delete mode 100644 designate/resources/schemas/v1/record.json delete mode 100644 designate/resources/schemas/v1/records.json delete mode 100644 designate/resources/schemas/v1/server.json delete mode 100644 designate/resources/schemas/v1/servers.json delete mode 100644 designate/resources/schemas/v1/tsigkey.json delete mode 100644 designate/resources/schemas/v1/tsigkeys.json delete mode 100644 designate/resources/templates/bind9-zone.jinja2 delete mode 100644 designate/resources/templates/dnsmasq-zone.jinja2 delete mode 100644 designate/resources/templates/export-zone.jinja2 delete mode 100644 designate/resources/wsdl/EnhancedDNS.xml delete mode 100644 designate/rpc.py delete mode 100644 designate/scheduler/__init__.py delete mode 100644 designate/scheduler/base.py delete mode 100644 designate/scheduler/filters/__init__.py delete mode 100644 designate/scheduler/filters/attribute_filter.py delete mode 100644 designate/scheduler/filters/base.py delete mode 100644 designate/scheduler/filters/default_pool_filter.py delete mode 100644 designate/scheduler/filters/fallback_filter.py delete mode 100644 designate/scheduler/filters/in_doubt_default_pool_filter.py delete mode 100644 designate/scheduler/filters/pool_id_attribute_filter.py delete mode 100644 designate/scheduler/filters/random_filter.py delete mode 100644 designate/schema/__init__.py delete mode 100644 designate/schema/_validators.py delete mode 100644 designate/schema/format.py delete mode 100644 designate/schema/resolvers.py delete mode 100644 designate/schema/validators.py delete mode 100644 designate/service.py delete mode 100644 designate/service_status.py delete mode 100644 designate/sink/__init__.py delete mode 100644 designate/sink/service.py delete mode 100644 designate/sqlalchemy/__init__.py delete mode 100644 designate/sqlalchemy/base.py delete mode 100644 designate/sqlalchemy/session.py delete mode 100644 designate/sqlalchemy/types.py delete mode 100644 designate/sqlalchemy/utils.py delete mode 100644 designate/storage/__init__.py delete mode 100644 designate/storage/base.py delete mode 100644 designate/storage/impl_sqlalchemy/__init__.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/README delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/__init__.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/manage.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/migrate.cfg delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/utils.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/070_liberty.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/071_placeholder.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/072_placeholder.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/073_placeholder.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/074_placeholder.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/075_placeholder.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/076_placeholder.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/077_placeholder.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/078_placeholder.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/079_placeholder.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/080_domain_to_zone_rename.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/081_add_FKs.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/082_unique_ns_record.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/083_change_managed_column_types.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/084_add_delayed_notify_column.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/085_add_zone_attributes.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/086_new_pools_tables.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/087_placeholder.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/088_placeholder.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/089_placeholder.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/090_placeholder.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/091_placeholder.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/092_placeholder.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/093_placeholder.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/094_placeholder.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/095_placeholder.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/096_placeholder.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/097_add_services.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/098_fix_service_charset.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/099_add_rrset_indexes_for_filtering_perf.py delete mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/__init__.py delete mode 100644 designate/storage/impl_sqlalchemy/tables.py delete mode 100644 designate/tests/__init__.py delete mode 100644 designate/tests/fixtures.py delete mode 100644 designate/tests/resources/__init__.py delete mode 100644 designate/tests/resources/pools_yaml/multiple-pools.yaml delete mode 100644 designate/tests/resources/pools_yaml/pools.yaml delete mode 100644 designate/tests/resources/pools_yaml/sample_output.yaml delete mode 100644 designate/tests/resources/sample_notifications/neutron/floatingip.delete.start.json delete mode 100644 designate/tests/resources/sample_notifications/neutron/floatingip.update.end_associate.json delete mode 100644 designate/tests/resources/sample_notifications/neutron/floatingip.update.end_disassociate.json delete mode 100644 designate/tests/resources/sample_notifications/neutron/port.create.end.json delete mode 100644 designate/tests/resources/sample_notifications/neutron/port.create.start.json delete mode 100644 designate/tests/resources/sample_notifications/neutron/port.delete.end.json delete mode 100644 designate/tests/resources/sample_notifications/neutron/port.delete.start.json delete mode 100644 designate/tests/resources/sample_notifications/nova/compute.instance.create.end.json delete mode 100644 designate/tests/resources/sample_notifications/nova/compute.instance.create.start.json delete mode 100644 designate/tests/resources/sample_notifications/nova/compute.instance.delete.start.json delete mode 100644 designate/tests/resources/sample_notifications/nova/compute.instance.shutdown.end.json delete mode 100644 designate/tests/resources/sample_notifications/nova/compute.instance.shutdown.start.json delete mode 100644 designate/tests/resources/sample_notifications/nova/network.floating_ip.allocate.json delete mode 100644 designate/tests/resources/sample_notifications/nova/network.floating_ip.associate.json delete mode 100644 designate/tests/resources/sample_notifications/nova/network.floating_ip.deallocate.json delete mode 100644 designate/tests/resources/sample_notifications/nova/network.floating_ip.disassociate.json delete mode 100644 designate/tests/resources/sample_notifications/nova/scheduler.run_instance.end.json delete mode 100644 designate/tests/resources/sample_notifications/nova/scheduler.run_instance.scheduled.json delete mode 100644 designate/tests/resources/sample_notifications/nova/scheduler.run_instance.start.json delete mode 100644 designate/tests/resources/zonefiles/example.com.zone delete mode 100644 designate/tests/resources/zonefiles/malformed_example.com.zone delete mode 100644 designate/tests/resources/zonefiles/noorigin_example.com.zone delete mode 100644 designate/tests/resources/zonefiles/nosoa_example.com.zone delete mode 100644 designate/tests/resources/zonefiles/two_example.com.zone delete mode 100644 designate/tests/test_agent/__init__.py delete mode 100644 designate/tests/test_agent/test_backends/__init__.py delete mode 100644 designate/tests/test_agent/test_backends/test_bind9.py delete mode 100644 designate/tests/test_agent/test_backends/test_denominator.py delete mode 100644 designate/tests/test_agent/test_backends/test_djbdns.py delete mode 100644 designate/tests/test_agent/test_backends/test_fake.py delete mode 100644 designate/tests/test_agent/test_backends/test_gdnsd.py delete mode 100644 designate/tests/test_agent/test_handler.py delete mode 100644 designate/tests/test_agent/test_service.py delete mode 100644 designate/tests/test_api/__init__.py delete mode 100644 designate/tests/test_api/test_admin/__init__.py delete mode 100644 designate/tests/test_api/test_admin/extensions/__init__.py delete mode 100644 designate/tests/test_api/test_admin/extensions/test_quotas.py delete mode 100644 designate/tests/test_api/test_admin/extensions/test_reports.py delete mode 100644 designate/tests/test_api/test_middleware.py delete mode 100644 designate/tests/test_api/test_service.py delete mode 100644 designate/tests/test_api/test_v1/__init__.py delete mode 100644 designate/tests/test_api/test_v1/test_domains.py delete mode 100644 designate/tests/test_api/test_v1/test_limits.py delete mode 100644 designate/tests/test_api/test_v1/test_records.py delete mode 100644 designate/tests/test_api/test_v1/test_servers.py delete mode 100644 designate/tests/test_api/test_v1/test_tsigkeys.py delete mode 100644 designate/tests/test_api/test_v2/__init__.py delete mode 100644 designate/tests/test_api/test_v2/test_blacklists.py delete mode 100644 designate/tests/test_api/test_v2/test_floatingips.py delete mode 100644 designate/tests/test_api/test_v2/test_hostheaders.py delete mode 100644 designate/tests/test_api/test_v2/test_import_export.py delete mode 100644 designate/tests/test_api/test_v2/test_limits.py delete mode 100644 designate/tests/test_api/test_v2/test_pools.py delete mode 100644 designate/tests/test_api/test_v2/test_recordsets.py delete mode 100644 designate/tests/test_api/test_v2/test_service_status.py delete mode 100644 designate/tests/test_api/test_v2/test_tlds.py delete mode 100644 designate/tests/test_api/test_v2/test_tsigkeys.py delete mode 100644 designate/tests/test_api/test_v2/test_zone_transfers.py delete mode 100644 designate/tests/test_api/test_v2/test_zones.py delete mode 100644 designate/tests/test_backend/__init__.py delete mode 100644 designate/tests/test_backend/test_bind9.py delete mode 100644 designate/tests/test_backend/test_dynect.py delete mode 100644 designate/tests/test_backend/test_infoblox.py delete mode 100644 designate/tests/test_backend/test_nsd4.py delete mode 100644 designate/tests/test_backend/test_powerdns.py delete mode 100644 designate/tests/test_central/__init__.py delete mode 100644 designate/tests/test_central/_test_service_ipa.py delete mode 100644 designate/tests/test_central/test_service.py delete mode 100644 designate/tests/test_context.py delete mode 100644 designate/tests/test_coordination.py delete mode 100644 designate/tests/test_dnsutils.py delete mode 100644 designate/tests/test_hookpoints.py delete mode 100644 designate/tests/test_mdns/__init__.py delete mode 100644 designate/tests/test_mdns/test_handler.py delete mode 100644 designate/tests/test_mdns/test_notify.py delete mode 100644 designate/tests/test_mdns/test_service.py delete mode 100644 designate/tests/test_network_api/__init__.py delete mode 100644 designate/tests/test_network_api/test_neutron.py delete mode 100644 designate/tests/test_notification_handler/__init__.py delete mode 100644 designate/tests/test_notification_handler/test_base.py delete mode 100644 designate/tests/test_notification_handler/test_neutron.py delete mode 100644 designate/tests/test_notification_handler/test_nova.py delete mode 100644 designate/tests/test_objects/__init__.py delete mode 100644 designate/tests/test_objects/test_mx_object.py delete mode 100644 designate/tests/test_objects/test_sshfp_object.py delete mode 100644 designate/tests/test_pool_manager/__init__.py delete mode 100644 designate/tests/test_pool_manager/cache/__init__.py delete mode 100644 designate/tests/test_pool_manager/cache/test_memcache.py delete mode 100644 designate/tests/test_pool_manager/cache/test_noop.py delete mode 100644 designate/tests/test_pool_manager/cache/test_sqlalchemy.py delete mode 100644 designate/tests/test_pool_manager/test_rpcapi.py delete mode 100644 designate/tests/test_pool_manager/test_service.py delete mode 100644 designate/tests/test_producer/__init__.py delete mode 100644 designate/tests/test_producer/test_service.py delete mode 100644 designate/tests/test_producer/test_tasks.py delete mode 100644 designate/tests/test_quota/__init__.py delete mode 100644 designate/tests/test_quota/test_quota.py delete mode 100644 designate/tests/test_quota/test_storage.py delete mode 100644 designate/tests/test_resources/__init__.py delete mode 100644 designate/tests/test_resources/test_templates/__init__.py delete mode 100644 designate/tests/test_resources/test_templates/test_bind9.py delete mode 100644 designate/tests/test_schema/__init__.py delete mode 100644 designate/tests/test_schema/test_format.py delete mode 100644 designate/tests/test_sqlalchemy.py delete mode 100644 designate/tests/test_storage/__init__.py delete mode 100644 designate/tests/test_storage/test_sqlalchemy.py delete mode 100644 designate/tests/test_utils.py delete mode 100644 designate/tests/test_workers/__init__.py delete mode 100644 designate/tests/test_workers/test_base_task.py delete mode 100644 designate/tests/test_workers/test_processing.py delete mode 100644 designate/tests/test_workers/test_service.py delete mode 100644 designate/tests/test_workers/test_zone_tasks.py delete mode 100644 designate/tests/unit/README delete mode 100644 designate/tests/unit/__init__.py delete mode 100644 designate/tests/unit/test_agent/__init__.py delete mode 100644 designate/tests/unit/test_agent/test_backends/__init__.py delete mode 100644 designate/tests/unit/test_agent/test_backends/test_djbdns.py delete mode 100644 designate/tests/unit/test_agent/test_backends/test_gdnsd.py delete mode 100644 designate/tests/unit/test_agent/test_backends/test_knot2.py delete mode 100644 designate/tests/unit/test_agent/test_backends/test_msdns.py delete mode 100644 designate/tests/unit/test_api/__init__.py delete mode 100644 designate/tests/unit/test_api/test_admin_api.py delete mode 100644 designate/tests/unit/test_api/test_api_v2.py delete mode 100644 designate/tests/unit/test_api/test_middleware.py delete mode 100644 designate/tests/unit/test_backend/__init__.py delete mode 100644 designate/tests/unit/test_backend/test_agent.py delete mode 100644 designate/tests/unit/test_backend/test_designate.py delete mode 100644 designate/tests/unit/test_central/__init__.py delete mode 100644 designate/tests/unit/test_central/test_basic.py delete mode 100644 designate/tests/unit/test_central/test_notifications.py delete mode 100644 designate/tests/unit/test_mdns/__init__.py delete mode 100644 designate/tests/unit/test_mdns/test_handler.py delete mode 100644 designate/tests/unit/test_mdns/test_notify.py delete mode 100644 designate/tests/unit/test_mdns/test_service.py delete mode 100644 designate/tests/unit/test_metrics/__init__.py delete mode 100644 designate/tests/unit/test_metrics/test_metrics.py delete mode 100644 designate/tests/unit/test_objects/__init__.py delete mode 100644 designate/tests/unit/test_objects/test_adapters.py delete mode 100644 designate/tests/unit/test_objects/test_base.py delete mode 100644 designate/tests/unit/test_objects/test_domain.py delete mode 100644 designate/tests/unit/test_objects/test_recordset.py delete mode 100644 designate/tests/unit/test_objects/test_yaml_adapters.py delete mode 100644 designate/tests/unit/test_pool.py delete mode 100644 designate/tests/unit/test_pool_manager/__init__.py delete mode 100644 designate/tests/unit/test_pool_manager/test_service.py delete mode 100644 designate/tests/unit/test_producer/__init__.py delete mode 100644 designate/tests/unit/test_producer/test_service.py delete mode 100644 designate/tests/unit/test_producer/test_tasks.py delete mode 100644 designate/tests/unit/test_scheduler/__init__.py delete mode 100644 designate/tests/unit/test_scheduler/test_basic.py delete mode 100644 designate/tests/unit/test_scheduler/test_filters.py delete mode 100644 designate/tests/unit/test_service_status.py delete mode 100644 designate/utils.py delete mode 100644 designate/version.py delete mode 100644 designate/worker/README.md delete mode 100644 designate/worker/__init__.py delete mode 100644 designate/worker/processing.py delete mode 100644 designate/worker/rpcapi.py delete mode 100644 designate/worker/service.py delete mode 100644 designate/worker/tasks/__init__.py delete mode 100644 designate/worker/tasks/base.py delete mode 100644 designate/worker/tasks/zone.py delete mode 100644 designate/worker/utils.py delete mode 100644 devstack/README.rst delete mode 100644 devstack/designate_plugins/backend-agent delete mode 100644 devstack/designate_plugins/backend-agent-fake delete mode 100644 devstack/designate_plugins/backend-agent-knot2 delete mode 100644 devstack/designate_plugins/backend-agent-msdns delete mode 100644 devstack/designate_plugins/backend-akamai delete mode 100644 devstack/designate_plugins/backend-bind9 delete mode 100644 devstack/designate_plugins/backend-designate delete mode 100644 devstack/designate_plugins/backend-dynect delete mode 100644 devstack/designate_plugins/backend-fake delete mode 100644 devstack/designate_plugins/backend-infoblox delete mode 100644 devstack/designate_plugins/backend-pdns4 delete mode 100644 devstack/designate_plugins/backend-pdns4-mysql-db.sql delete mode 100644 devstack/designate_plugins/backend-pdns4-pgsql-db.sql delete mode 100644 devstack/designate_plugins/backend-powerdns delete mode 100755 devstack/exercise.sh delete mode 100755 devstack/gate/gate_hook.sh delete mode 100755 devstack/gate/post_test_hook.sh delete mode 100755 devstack/gate/run_cli_tests.sh delete mode 100755 devstack/gate/run_tempest_tests.sh delete mode 100644 devstack/networking_test.py delete mode 100755 devstack/networking_test_monitor_tc.sh delete mode 100755 devstack/plugin.sh delete mode 100644 devstack/settings delete mode 100755 devstack/statsd_mock_server.py delete mode 100755 devstack/upgrade/resources.sh delete mode 100644 devstack/upgrade/settings delete mode 100755 devstack/upgrade/shutdown.sh delete mode 100755 devstack/upgrade/upgrade.sh delete mode 100644 doc/ext/__init__.py delete mode 100644 doc/ext/assets/support-matrix.css delete mode 100644 doc/ext/assets/support-matrix.js delete mode 100644 doc/ext/custom_css.py delete mode 100644 doc/ext/support_matrix.py delete mode 100644 doc/requirements.txt delete mode 100644 doc/source/_static/designate-docs.css delete mode 100644 doc/source/admin/blacklists.rst delete mode 100644 doc/source/admin/designate-manage.rst delete mode 100644 doc/source/admin/index.rst delete mode 100644 doc/source/admin/multiple-pools.rst delete mode 100644 doc/source/admin/notifications.rst delete mode 100644 doc/source/admin/pool-scheduler.rst delete mode 100644 doc/source/admin/pools.rst delete mode 100644 doc/source/admin/production-guidelines.rst delete mode 100644 doc/source/admin/quotas.rst delete mode 100644 doc/source/admin/tlds.rst delete mode 100644 doc/source/admin/troubleshooting.rst delete mode 100644 doc/source/admin/upgrades/index.rst delete mode 100644 doc/source/admin/upgrades/kilo.rst delete mode 100644 doc/source/admin/upgrades/mitaka.rst delete mode 100644 doc/source/admin/upgrades/newton.rst delete mode 100644 doc/source/admin/upgrades/ocata.rst delete mode 100644 doc/source/conf.py delete mode 100644 doc/source/contributor/architecture.rst delete mode 100644 doc/source/contributor/backends/agent.rst delete mode 100644 doc/source/contributor/backends/bind9.rst delete mode 100644 doc/source/contributor/backends/djbdns_agent.rst delete mode 100644 doc/source/contributor/backends/gdnsd_agent.rst delete mode 100644 doc/source/contributor/backends/index.rst delete mode 100644 doc/source/contributor/backends/infoblox.rst delete mode 100644 doc/source/contributor/backends/knot2_agent.rst delete mode 100644 doc/source/contributor/backends/msdns_agent.rst delete mode 100644 doc/source/contributor/backends/pdns4.rst delete mode 100644 doc/source/contributor/backends/powerdns.rst delete mode 100644 doc/source/contributor/backends/sample_yaml_snippets/agent.yaml delete mode 100644 doc/source/contributor/backends/sample_yaml_snippets/bind.yaml delete mode 100644 doc/source/contributor/backends/sample_yaml_snippets/pdns4.yaml delete mode 100644 doc/source/contributor/backends/sample_yaml_snippets/powerdns.yaml delete mode 100644 doc/source/contributor/devstack.rst delete mode 100644 doc/source/contributor/getting-involved.rst delete mode 100644 doc/source/contributor/gmr.rst delete mode 100644 doc/source/contributor/index.rst delete mode 100644 doc/source/contributor/integrations.rst delete mode 100644 doc/source/contributor/metrics.rst delete mode 100644 doc/source/contributor/related.rst delete mode 100644 doc/source/contributor/sourcedoc/api.rst delete mode 100644 doc/source/contributor/sourcedoc/backend.rst delete mode 100644 doc/source/contributor/sourcedoc/central.rst delete mode 100644 doc/source/contributor/sourcedoc/index.rst delete mode 100644 doc/source/contributor/sourcedoc/mdns.rst delete mode 100644 doc/source/contributor/sourcedoc/objects.rst delete mode 100644 doc/source/contributor/sourcedoc/quota.rst delete mode 100644 doc/source/contributor/sourcedoc/sink.rst delete mode 100644 doc/source/contributor/sourcedoc/storage.rst delete mode 100644 doc/source/contributor/support-matrix.ini delete mode 100644 doc/source/contributor/support-matrix.rst delete mode 100644 doc/source/contributor/ubuntu-dev.rst delete mode 100644 doc/source/diagrams/Designate-MultiZone.dia delete mode 100644 doc/source/diagrams/Designate-PowerDNS-Detail.dia delete mode 100644 doc/source/diagrams/Designate-Simple.dia delete mode 100644 doc/source/diagrams/README delete mode 100644 doc/source/examples/basic-config-sample.conf delete mode 100644 doc/source/examples/basic-pools-sample.yaml delete mode 100644 doc/source/images/Designate-Arch.png delete mode 100644 doc/source/images/Designate-MultiZone.png delete mode 100644 doc/source/images/Designate-PowerDNS-Detail.png delete mode 100644 doc/source/images/Designate-Simple.svg delete mode 100644 doc/source/index.rst delete mode 100644 doc/source/user/index.rst delete mode 100644 doc/source/user/manage-ptr-records.rst delete mode 100644 doc/source/user/rest.rst delete mode 100644 doc/source/user/rest/admin/quotas.rst delete mode 100644 doc/source/user/rest/v1/diagnostics.rst delete mode 100644 doc/source/user/rest/v1/domains.rst delete mode 100644 doc/source/user/rest/v1/quotas.rst delete mode 100644 doc/source/user/rest/v1/records.rst delete mode 100644 doc/source/user/rest/v1/reports.rst delete mode 100644 doc/source/user/rest/v1/servers.rst delete mode 100644 doc/source/user/rest/v1/sync.rst delete mode 100644 doc/source/user/secondary-zones.rst delete mode 100644 etc/designate/README-designate.conf.txt delete mode 100644 etc/designate/api-paste.ini delete mode 100644 etc/designate/designate-config-generator.conf delete mode 100644 etc/designate/designate.conf.sample delete mode 100644 etc/designate/policy.json delete mode 100644 etc/designate/pools.yaml.sample delete mode 100644 etc/designate/pools.yaml.sample-bind delete mode 100644 etc/designate/pools.yaml.sample-multiple-pools delete mode 100644 etc/designate/rootwrap.conf.sample delete mode 100644 etc/designate/rootwrap.d/bind9.filters delete mode 100644 etc/designate/rootwrap.d/djbdns.filters delete mode 100644 etc/designate/rootwrap.d/knot2.filters delete mode 100644 install-guide/source/common_prerequisites.rst delete mode 100644 install-guide/source/conf.py delete mode 100644 install-guide/source/create-zone.rst delete mode 100644 install-guide/source/get_started.rst delete mode 100644 install-guide/source/index.rst delete mode 100644 install-guide/source/install-obs.rst delete mode 100644 install-guide/source/install-rdo.rst delete mode 100644 install-guide/source/install-ubuntu.rst delete mode 100644 install-guide/source/install.rst delete mode 100644 install-guide/source/next-steps.rst delete mode 100644 install-guide/source/verify.rst delete mode 100644 ipa-requirements.txt delete mode 100644 rally-jobs/README.rst delete mode 100644 rally-jobs/designate-designate.yaml delete mode 100644 rally-jobs/extra/README.rst delete mode 100644 rally-jobs/plugins/README.rst delete mode 100644 rally-jobs/plugins/__init__.py delete mode 100644 releasenotes/notes/.placeholder delete mode 100644 releasenotes/notes/agent-port-number-c28462562a74cbf9.yaml delete mode 100644 releasenotes/notes/api-dot-json-324038360202e86b.yaml delete mode 100644 releasenotes/notes/api-mdns-multiple-bind-c78853de46ee587d.yaml delete mode 100644 releasenotes/notes/attribute-filter-f06a53b61f5fd111.yaml delete mode 100644 releasenotes/notes/cfg-notification-remove.yaml delete mode 100644 releasenotes/notes/djbdns-agent-backend-c84e9eeab48d2e01.yaml delete mode 100644 releasenotes/notes/knot-agent-backend-db2893aa97d85a1d.yaml delete mode 100644 releasenotes/notes/mini-dns-tcp-c1a15742f5c71739.yaml delete mode 100644 releasenotes/notes/newton-rc-1-eddc78fac760b98a.yaml delete mode 100644 releasenotes/notes/pluggable-notifications-bd049b755a2ace9c.yaml delete mode 100644 releasenotes/notes/pool-config-db-45a2cad74e22d95e.yaml delete mode 100644 releasenotes/notes/pool_scheduler-32e34dda9484ef9a.yaml delete mode 100644 releasenotes/notes/recordset-api-2c82abf569f7623e.yaml delete mode 100644 releasenotes/notes/service-status-ab0e696c8f5fdef8.yaml delete mode 100644 releasenotes/notes/soa_refresh_interval_randomization-fcc1d0d63124699b.yaml delete mode 100644 releasenotes/notes/v1-disabled-ffebc0434fa0665f.yaml delete mode 100644 releasenotes/notes/v2-api-quotas-dd7e189cddcf7b96.yaml delete mode 100644 releasenotes/notes/zone_name-null-zone-trasfer-request-response-a2e316872798d1df.yaml delete mode 100644 releasenotes/source/_static/.placeholder delete mode 100644 releasenotes/source/_templates/.placeholder delete mode 100644 releasenotes/source/conf.py delete mode 100644 releasenotes/source/index.rst delete mode 100644 releasenotes/source/liberty.rst delete mode 100644 releasenotes/source/mitaka.rst delete mode 100644 releasenotes/source/newton.rst delete mode 100644 releasenotes/source/ocata.rst delete mode 100644 releasenotes/source/unreleased.rst delete mode 100644 requirements.txt delete mode 100644 setup.cfg delete mode 100644 setup.py delete mode 100644 test-requirements.txt delete mode 100644 tools/install_venv.py delete mode 100644 tools/install_venv_common.py delete mode 100644 tools/mysql_pending_notify_bench/README delete mode 100755 tools/mysql_pending_notify_bench/runner delete mode 100755 tools/pretty_flake8.py delete mode 100755 tools/pretty_flake8.sh delete mode 100755 tools/pretty_tox.sh delete mode 100755 tools/with_venv.sh delete mode 100644 tox.ini diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index 61edd982..00000000 --- a/.coveragerc +++ /dev/null @@ -1,7 +0,0 @@ -[run] -branch = True -source = designate -omit = designate/tests/* - -[report] -ignore_errors = True diff --git a/.gitignore b/.gitignore deleted file mode 100644 index f4b1482b..00000000 --- a/.gitignore +++ /dev/null @@ -1,56 +0,0 @@ - -# Python related files - -*.dat -*.egg -*.egg-info -*.pyc -.eggs -TAGS -build - -# Test related files - -*.log -.coverage -.coverage.* -.testrepository/* -.tox -.venv -cover -flake8_results.html -functionaltests/.testrepository/ -functionaltests/tempest.log -htmlcov/ -venv - -# Files created by releasenotes build -releasenotes/build - -# Editors - -*.sublime-workspace -*.swp - -# Misc - -*.DS_Store -*.idea -*.ipynb -*.orig -*.sqlite -*.sqlite3 -/.ipynb_checkpoints/* -/bind9 -/dnsmasq -AUTHORS -ChangeLog -contrib/vagrant/.vagrant/ -designate/versioninfo -dist -doc/build/* -doc/source/api/* -api-ref/build/* -etc/designate/*.conf -etc/designate/*.yaml -var/* diff --git a/.gitreview b/.gitreview deleted file mode 100644 index d2cf4925..00000000 --- a/.gitreview +++ /dev/null @@ -1,4 +0,0 @@ -[gerrit] -host=review.openstack.org -port=29418 -project=openstack/designate.git diff --git a/.testr.conf b/.testr.conf deleted file mode 100644 index f83adfd5..00000000 --- a/.testr.conf +++ /dev/null @@ -1,10 +0,0 @@ -[DEFAULT] -test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ - OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ - OS_LOG_CAPTURE=${OS_LOG_CAPTURE:-1} \ - OS_DEBUG=${OS_DEBUG:-1} \ - OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \ - ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./designate/tests} $LISTOPT $IDOPTION - -test_id_option=--load-list $IDFILE -test_list_option=--list diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 68c771a0..00000000 --- a/LICENSE +++ /dev/null @@ -1,176 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - diff --git a/README b/README new file mode 100644 index 00000000..8fcd2b2f --- /dev/null +++ b/README @@ -0,0 +1,14 @@ +This project is no longer maintained. + +The contents of this repository are still available in the Git +source code management system. To see the contents of this +repository before it reached its end of life, please check out the +previous commit with "git checkout HEAD^1". + +For ongoing work on maintaining OpenStack packages in the Debian +distribution, please see the Debian OpenStack packaging team at +https://wiki.debian.org/OpenStack/. + +For any further questions, please email +openstack-dev@lists.openstack.org or join #openstack-dev on +Freenode. diff --git a/README.rst b/README.rst deleted file mode 100644 index b8c4051a..00000000 --- a/README.rst +++ /dev/null @@ -1,96 +0,0 @@ -======================== -Team and repository tags -======================== - -.. image:: https://governance.openstack.org/badges/designate.svg - :target: https://governance.openstack.org/reference/tags/index.html - -.. Change things from this point on - -=================== -OpenStack Designate -=================== - -Designate is an OpenStack project, providing DNSaaS. - -IRC: #openstack-dns - -Installation: https://docs.openstack.org/designate/latest/ - - -Development -=========== - -Designate follows the `OpenStack Gerrit Workflow`_ - -Setup ------ - -Setup a working environment: - -.. code-block:: shell - - git clone https://github.com/openstack/designate.git - cd designate - virtualenv .venv - . .venv/bin/activate - pip install -r requirements.txt -r test-requirements.txt - python setup.py develop - -Building Docs -------------- - -To build the documentation from the restructured text source, do the following: - -.. code-block:: shell - - cd doc - pip install -r requirements.txt - sphinx-build source/ build/html/ - -now point your browser at html/index.html -(the official documentation is published to `docs.openstack.org`_ by the -maintainers. - -Contributing ------------- -Install the git-review package to make life easier - -.. code-block:: shell - - pip install git-review - - -Branch, work, & submit: - -.. code-block:: shell - - # cut a new branch, tracking master - git checkout --track -b bug/id origin/master - # work work work - git add stuff - git commit - # rebase/squash to a single commit before submitting - git rebase -i - # submit - git-review - -Testing -------- - -Execute a single test using py27 (test is CentralServiceTest.test_count_domains) - -.. code-block:: shell - - tox -e py27 -- designate.tests.test_central.test_service.CentralServiceTest.test_count_zones_policy_check - - - -* Free software: Apache license -* Documentation: https://docs.openstack.org/designate/latest/ -* Source: https://git.openstack.org/cgit/openstack/designate -* Bugs: https://bugs.launchpad.net/designate - - -.. _OpenStack Gerrit Workflow: https://docs.openstack.org/infra/manual/developers.html#development-workflow -.. _docs.openstack.org: https://docs.openstack.org/designate/latest/ diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py deleted file mode 100644 index e460fd18..00000000 --- a/api-ref/source/conf.py +++ /dev/null @@ -1,232 +0,0 @@ -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -# -# ironic documentation build configuration file, created by -# sphinx-quickstart on Sat May 1 15:17:47 2010. -# -# This file is execfile()d with the current directory set to -# its containing dir. -# -# Note that not all possible configuration values are present in this -# autogenerated file. -# -# All configuration values have a default; values that are commented out -# serve to show the default. - -import os -import subprocess -import sys - -from designate.version import version_info - -import openstackdocstheme - -html_theme = 'openstackdocs' -html_theme_path = [openstackdocstheme.get_html_theme_path()] -html_theme_options = { - "sidebar_mode": "toc", - "sidebar_dropdown": "api_ref", -} - -extensions = [ - 'os_api_ref', -] - -# If extensions (or modules to document with autodoc) are in another directory, -# add these directories to sys.path here. If the directory is relative to the -# documentation root, use os.path.abspath to make it absolute, like shown here. -sys.path.insert(0, os.path.abspath('../../')) -sys.path.insert(0, os.path.abspath('../')) -sys.path.insert(0, os.path.abspath('./')) - -# -- General configuration ---------------------------------------------------- - -# Add any Sphinx extension module names here, as strings. They can be -# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. - -# The suffix of source filenames. -source_suffix = '.rst' - -# The encoding of source files. -# -# source_encoding = 'utf-8' - -# The master toctree document. -master_doc = 'index' - -# General information about the project. -project = u'Designate API Reference' -copyright = u'OpenStack Foundation' - -# The version info for the project you're documenting, acts as replacement for -# |version| and |release|, also used in various other places throughout the -# built documents. -# -# The full version, including alpha/beta/rc tags. -release = version_info.release_string() -# The short X.Y version. -version = version_info.version_string() - -# Config logABug feature -giturl = ( - u'https://git.openstack.org/cgit/openstack/designate/tree/api-ref/source') -# source tree -# html_context allows us to pass arbitrary values into the html template -html_context = {'bug_tag': 'api-ref', - 'giturl': giturl, - 'bug_project': 'designate'} - -# The language for content autogenerated by Sphinx. Refer to documentation -# for a list of supported languages. -# -# language = None - -# There are two options for replacing |today|: either, you set today to some -# non-false value, then it is used: -# today = '' -# Else, today_fmt is used as the format for a strftime call. -# today_fmt = '%B %d, %Y' - -# The reST default role (used for this markup: `text`) to use -# for all documents. -# default_role = None - -# If true, '()' will be appended to :func: etc. cross-reference text. -# add_function_parentheses = True - -# If true, the current module name will be prepended to all description -# unit titles (such as .. function::). -add_module_names = False - -# If true, sectionauthor and moduleauthor directives will be shown in the -# output. They are ignored by default. -show_authors = False - -# The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' - -# -- Options for man page output ---------------------------------------------- - -# Grouping the document tree for man pages. -# List of tuples 'sourcefile', 'target', u'title', u'Authors name', 'manual' - - -# -- Options for HTML output -------------------------------------------------- - -# The theme to use for HTML and HTML Help pages. Major themes that come with -# Sphinx are currently 'default' and 'sphinxdoc'. -# html_theme_path = ["."] -# html_theme = '_theme' - -# Theme options are theme-specific and customize the look and feel of a theme -# further. For a list of options available for each theme, see the -# documentation. -# html_theme_options = {} - -# Add any paths that contain custom themes here, relative to this directory. -# html_theme_path = [] - -# The name for this set of Sphinx documents. If None, it defaults to -# " v documentation". -# html_title = None - -# A shorter title for the navigation bar. Default is the same as html_title. -# html_short_title = None - -# The name of an image file (relative to this directory) to place at the top -# of the sidebar. -# html_logo = None - -# The name of an image file (within the static path) to use as favicon of the -# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 -# pixels large. -# html_favicon = None - -# Add any paths that contain custom static files (such as style sheets) here, -# relative to this directory. They are copied after the builtin static files, -# so a file named "default.css" will overwrite the builtin "default.css". -# html_static_path = ['_static'] - -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, -# using the given strftime format. -# html_last_updated_fmt = '%b %d, %Y' -git_cmd = ["git", "log", "--pretty=format:'%ad, commit %h'", "--date=local", - "-n1"] -html_last_updated_fmt = subprocess.check_output(git_cmd).decode('utf-8') - -# If true, SmartyPants will be used to convert quotes and dashes to -# typographically correct entities. -# html_use_smartypants = True - -# Custom sidebar templates, maps document names to template names. -# html_sidebars = {} - -# Additional templates that should be rendered to pages, maps page names to -# template names. -# html_additional_pages = {} - -# If false, no module index is generated. -# html_use_modindex = True - -# If false, no index is generated. -# html_use_index = True - -# If true, the index is split into individual pages for each letter. -# html_split_index = False - -# If true, links to the reST sources are added to the pages. -# html_show_sourcelink = True - -# If true, an OpenSearch description file will be output, and all pages will -# contain a tag referring to it. The value of this option must be the -# base URL from which the finished HTML is served. -# html_use_opensearch = '' - -# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml"). -# html_file_suffix = '' - -# Output file base name for HTML help builder. -htmlhelp_basename = 'designatedoc' - - -# -- Options for LaTeX output ------------------------------------------------- - -# The paper size ('letter' or 'a4'). -# latex_paper_size = 'letter' - -# The font size ('10pt', '11pt' or '12pt'). -# latex_font_size = '10pt' - -# Grouping the document tree into LaTeX files. List of tuples -# (source start file, target name, title, author, documentclass -# [howto/manual]). -latex_documents = [ - ('index', 'Designate.tex', u'OpenStack DNS API Documentation', - u'OpenStack Foundation', 'manual'), -] - -# The name of an image file (relative to this directory) to place at the top of -# the title page. -# latex_logo = None - -# For "manual" documents, if this is true, then toplevel headings are parts, -# not chapters. -# latex_use_parts = False - -# Additional stuff for the LaTeX preamble. -# latex_preamble = '' - -# Documents to append as an appendix to all manuals. -# latex_appendices = [] - -# If false, no module index is generated. -# latex_use_modindex = True diff --git a/api-ref/source/dns-api-v2-blacklist.inc b/api-ref/source/dns-api-v2-blacklist.inc deleted file mode 100644 index 7a54e009..00000000 --- a/api-ref/source/dns-api-v2-blacklist.inc +++ /dev/null @@ -1,241 +0,0 @@ -========== -Blacklists -========== - -The blacklist entries are used to manage blacklisted zones. If a zone -is blacklisted, then it cannot be used to create a zone. By default, -only an admin can manage these entries. Blacklisted zones are stored -as a regular expression (regex) pattern in the Database/Storage in -the blacklists table. - - -Create Blacklist -================ - -.. rest_method:: POST /v2/blacklists - -Create a Blacklist - -Normal response codes: 201 - -Error response codes: 409, 405,404,403,401,400,503 - - -Request Parameters ------------------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - pattern: blacklist_pattern - - description: blacklist_description - - -Request Example ---------------- - -.. literalinclude:: samples/blacklists/create-blacklist-request.json - :language: javascript - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - pattern: blacklist_pattern - - description: blacklist_description - - created_at: created_at - - updated_at: updated_at - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/blacklists/blacklist-response.json - :language: javascript - - - -List Blacklists ---------------- - -.. rest_method:: GET /v2/blacklists - -List all blacklists - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request Parameters ------------------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - pattern: blacklist_pattern_filter - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - pattern: blacklist_pattern - - description: blacklist_description - - created_at: created_at - - updated_at: updated_at - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/blacklists/list-blacklists-response.json - :language: javascript - - - -Show Blacklist -============== - -.. rest_method:: GET /v2/blacklists/{blacklist_id} - -Show a blacklist - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - blacklist_id: blacklist_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - pattern: blacklist_pattern - - description: blacklist_description - - created_at: created_at - - updated_at: updated_at - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/blacklists/blacklist-response.json - :language: javascript - - - -Update Blacklist -================ - -.. rest_method:: PATCH /v2/blacklists/{blacklist_id} - -Update a Blacklist - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request Parameters ------------------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - pattern: blacklist_pattern - - description: blacklist_description - - blacklist_id: blacklist_id - - -Request Example ---------------- - -.. literalinclude:: samples/blacklists/update-blacklist-request.json - :language: javascript - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - pattern: blacklist_pattern - - description: blacklist_description - - created_at: created_at - - updated_at: updated_at - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/blacklists/update-blacklist-response.json - :language: javascript - - - -Delete a Blacklist -================== - -.. rest_method:: DELETE /v2/blacklists/{blacklist_id} - -Delete a blacklist - - -Normal response codes: 204 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - blacklist_id: blacklist_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id diff --git a/api-ref/source/dns-api-v2-limits.inc b/api-ref/source/dns-api-v2-limits.inc deleted file mode 100644 index e0c79d73..00000000 --- a/api-ref/source/dns-api-v2-limits.inc +++ /dev/null @@ -1,54 +0,0 @@ -====== -Limits -====== - -Show the limits for the current project - - -Get Project Limits -================== - -.. rest_method:: GET /v2/limits - -List project limits - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - max_page_limit: max_page_limit - - max_recordset_name_length: max_recordset_name_length - - max_recordset_records: max_recordset_records - - max_zone_name_length: max_zone_name_length - - max_zone_records: max_zone_records - - max_zone_recordsets: max_zone_recordsets - - max_zones: max_zones - - min_ttl: min_ttl - - - -Response Example ----------------- - -.. literalinclude:: samples/limits/get-limits-response.json - :language: javascript - - diff --git a/api-ref/source/dns-api-v2-pool.inc b/api-ref/source/dns-api-v2-pool.inc deleted file mode 100644 index 3f0fcba7..00000000 --- a/api-ref/source/dns-api-v2-pool.inc +++ /dev/null @@ -1,104 +0,0 @@ -===== -Pools -===== - -Get information about the pools in a designate install - - -List all Pools -============== - -.. rest_method:: GET /v2/pools - -Get the list of Pools. - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - description: description - - id: pool_id - - attributes: pool_attributes - - project_id: project_id - - ns_records: pool_ns_records - - name: pool_name - - created_at: created_at - - updated_at: updated_at - - links: links - - metadata: metadata - - - -Response Example ----------------- - -.. literalinclude:: samples/pools/list-pools-response.json - :language: javascript - - -Show a Pool -=========== - -.. rest_method:: GET /v2/pools/{pool_id} - -Get a specific Pool - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - pool_id: path_pool_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - description: description - - id: pool_id - - attributes: pool_attributes - - project_id: project_id - - ns_records: pool_ns_records - - name: pool_name - - created_at: created_at - - updated_at: updated_at - - links: links - - metadata: metadata - - - -Response Example ----------------- - -.. literalinclude:: samples/pools/show-pool-response.json - :language: javascript diff --git a/api-ref/source/dns-api-v2-quota.inc b/api-ref/source/dns-api-v2-quota.inc deleted file mode 100644 index 5bcc7913..00000000 --- a/api-ref/source/dns-api-v2-quota.inc +++ /dev/null @@ -1,196 +0,0 @@ -====== -Quotas -====== - -Quota operations. - - -View Quotas -=========== - -.. rest_method:: GET /v2/quotas/{project_id} - -View a projects quotas - -This returns a key:value set of quotas on the system. - -.. note:: - - If a user is viewing another projects quotas, they will need to set - ``x-auth-all-projects`` to ``True`` - - - They will need a role with the ``All-Projects`` permission to do this. - - -Normal response codes: 200 - -Error response codes: 409,405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - project_id: path_project_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - -Response Example ----------------- - -.. literalinclude:: samples/quotas/get-quotas-response.json - :language: javascript - - -View Current Project's Quotas -============================= - -.. rest_method:: GET /v2/quotas/ - -View the quotas for the current project - -This returns a key:value set of quotas on the system. - -Normal response codes: 200 - -Error response codes: 409,405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - project_id: path_project_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - -Response Example ----------------- - -.. literalinclude:: samples/quotas/get-quotas-response.json - :language: javascript - - -Set Quotas -========== - -.. rest_method:: PATCH /v2/quotas/{project_id} - -Set a projects quotas - -The request should be a key:value set of quotas to be set - -This returns a key:value set of quotas on the system. - -.. note:: - - If a user is updating another projects quotas, they will need to set - ``x-auth-all-projects`` to ``True`` - - - They will need a role with the "All-Projects" and "set-quotas" - permission to do this. - - -Normal response codes: 200 - -Error response codes: 409,405,404,403,401,400,503 - - -Request Example ---------------- - -.. literalinclude:: samples/quotas/set-quotas-request.json - :language: javascript - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - project_id: path_project_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - -Response Example ----------------- - -.. literalinclude:: samples/quotas/set-quotas-response.json - :language: javascript - - - - - -Reset Quotas -============ - -.. rest_method:: DELETE /v2/quotas/{project_id} - -Reset all quotas for a project to default - -.. note:: - - If a user is resetting another projects quotas, they will need to set - ``x-auth-all-projects`` to ``True`` - - They will need a role with the ``All-Projects`` and "set-quotas" - permission to do this. - - -Normal response codes: 204 - -Error response codes: 409,405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - project_id: path_project_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - diff --git a/api-ref/source/dns-api-v2-recordset.inc b/api-ref/source/dns-api-v2-recordset.inc deleted file mode 100644 index dda81b25..00000000 --- a/api-ref/source/dns-api-v2-recordset.inc +++ /dev/null @@ -1,627 +0,0 @@ -========== -Recordsets -========== - -Recordsets operations. - - -Create Recordset -================ - -.. rest_method:: POST /v2/zones/{zone_id}/recordsets - -Create a recordset in a zone - - -Normal response codes: 202 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - name: recordset_name - - zone_id: path_zone_id - - ttl: recordset_ttl - - description: recordset_description - - type: recordset_type - - records: recordset_records - - -Request Example ---------------- - -.. literalinclude:: samples/recordsets/create-recordset-request.json - :language: javascript - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - project_id: project_id - - name: recordset_name - - ttl: recordset_ttl - - status: status - - action: action - - zone_id: recordset_zone_id - - zone_name: recordset_zone_name - - description: recordset_description - - type: recordset_type - - version: version - - created_at: created_at - - updated_at: updated_at - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/recordsets/create-recordset-response.json - :language: javascript - - -List Recordsets in a Zone -========================= - -.. rest_method:: GET /v2/zones/{zone_id}/recordsets - -This lists all recordsets in a zone - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_id: path_zone_id - - limit: limit - - marker: marker - - sort_dir: sort_dir - - sort_key: sort_key - - name: recordset_name_filter - - type: recordset_type_filter - - ttl: recordset_ttl_filter - - data: recordset_data_filter - - status: recordset_status_filter - - description: recordset_description_filter - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - project_id: project_id - - name: recordset_name - - ttl: recordset_ttl - - status: status - - action: action - - zone_id: recordset_zone_id - - zone_name: recordset_zone_name - - description: recordset_description - - type: recordset_type - - version: version - - created_at: created_at - - updated_at: updated_at - - links: links - - metadata: metadata - - - -Response Example ----------------- - -.. literalinclude:: samples/recordsets/list-recordset-in-zone-response.json - :language: javascript - - -List all Recordsets owned by project -==================================== - -.. rest_method:: GET /v2/recordsets - -This lists all recordsets owned by a project in Designate - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_id: path_zone_id - - limit: limit - - marker: marker - - sort_dir: sort_dir - - sort_key: sort_key - - name: recordset_name_filter - - type: recordset_type_filter - - ttl: recordset_ttl_filter - - data: recordset_data_filter - - status: recordset_status_filter - - description: recordset_description_filter - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - project_id: project_id - - name: recordset_name - - ttl: recordset_ttl - - status: status - - action: action - - zone_id: recordset_zone_id - - zone_name: recordset_zone_name - - description: recordset_description - - type: recordset_type - - version: version - - created_at: created_at - - updated_at: updated_at - - links: links - - metadata: metadata - - -Response Example ----------------- - -.. literalinclude:: samples/recordsets/list-all-recordset-response.json - :language: javascript - - -Show a Recordset -================ - -.. rest_method:: GET /v2/zones/{zone_id}/recordsets/{recordset_id} - -Show an single recordset - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_id: path_zone_id - - recordset_id: path_recordset_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - project_id: project_id - - name: recordset_name - - ttl: recordset_ttl - - status: status - - action: action - - zone_id: recordset_zone_id - - zone_name: recordset_zone_name - - description: recordset_description - - type: recordset_type - - version: version - - created_at: created_at - - updated_at: updated_at - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/recordsets/show-recordset-response.json - :language: javascript - - -Update a Recordset -================== - -.. rest_method:: PUT /v2/zones/{zone_id}/recordsets/{recordset_id} - -Update a recordset - -Normal response codes: 202 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - x-designate-edit-managed-records: x-designate-edit-managed-records - - zone_id: path_zone_id - - recordset_id: path_recordset_id - - ttl: recordset_ttl - - description: recordset_description - - records: recordset_records - -Request Example ---------------- - -.. literalinclude:: samples/recordsets/update-recordset-request.json - :language: javascript - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - project_id: project_id - - name: recordset_name - - ttl: recordset_ttl - - status: status - - action: action - - zone_id: recordset_zone_id - - zone_name: recordset_zone_name - - description: recordset_description - - type: recordset_type - - version: version - - created_at: created_at - - updated_at: updated_at - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/recordsets/update-recordset-response.json - :language: javascript - - -Delete a Recordset -================== - -.. rest_method:: DELETE /v2/zones/{zone_id}/recordsets/{recordset_id} - -Delete a recordset - -Normal response codes: 202 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - x-designate-edit-managed-records: x-designate-edit-managed-records - - zone_id: path_zone_id - - recordset_id: path_recordset_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - project_id: project_id - - name: recordset_name - - ttl: recordset_ttl - - status: status - - action: action - - zone_id: recordset_zone_id - - zone_name: recordset_zone_name - - description: recordset_description - - type: recordset_type - - version: version - - created_at: created_at - - updated_at: updated_at - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/recordsets/update-recordset-response.json - :language: javascript - - -Create a MX Recordset -===================== - -.. rest_method:: POST /v2/zones/{zone_id}/recordsets - -Create a MX recordset in a zone - - -Normal response codes: 202 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - x-designate-edit-managed-records: x-designate-edit-managed-records - - zone_id: path_zone_id - - name: recordset_name - - ttl: recordset_ttl - - description: recordset_description - - type: recordset_type - - records: recordset_records - - -Request Example ---------------- - -.. literalinclude:: samples/recordsets/create-mx-recordset-request.json - :language: javascript - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - project_id: project_id - - name: recordset_name - - ttl: recordset_ttl - - status: status - - action: action - - zone_id: recordset_zone_id - - zone_name: recordset_zone_name - - description: recordset_description - - type: recordset_type - - version: version - - created_at: created_at - - updated_at: updated_at - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/recordsets/create-mx-recordset-response.json - :language: javascript - - -Create a SSHFP Recordset -======================== - -.. rest_method:: POST /v2/zones/{zone_id}/recordsets - -Create a MX recordset in a zone - - -Normal response codes: 202 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_id: path_zone_id - - name: recordset_name - - ttl: recordset_ttl - - description: recordset_description - - type: recordset_type - - records: recordset_records - - -Request Example ---------------- - -.. literalinclude:: samples/recordsets/create-sshfp-recordset-request.json - :language: javascript - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - project_id: project_id - - name: recordset_name - - ttl: recordset_ttl - - status: status - - action: action - - zone_id: recordset_zone_id - - zone_name: recordset_zone_name - - description: recordset_description - - type: recordset_type - - version: version - - created_at: created_at - - updated_at: updated_at - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/recordsets/create-sshfp-recordset-response.json - :language: javascript - - -Create a SPF Recordset -====================== - -.. rest_method:: POST /v2/zones/{zone_id}/recordsets - -Create a MX recordset in a zone - - -Normal response codes: 202 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_id: path_zone_id - - name: recordset_name - - ttl: recordset_ttl - - description: recordset_description - - type: recordset_type - - records: recordset_records - - -Request Example ---------------- - -.. literalinclude:: samples/recordsets/create-spf-recordset-request.json - :language: javascript - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - project_id: project_id - - name: recordset_name - - ttl: recordset_ttl - - status: status - - action: action - - zone_id: recordset_zone_id - - zone_name: recordset_zone_name - - description: recordset_description - - type: recordset_type - - version: version - - created_at: created_at - - updated_at: updated_at - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/recordsets/create-spf-recordset-response.json - :language: javascript - - -Create a SRV Recordset -====================== - -.. rest_method:: POST /v2/zones/{zone_id}/recordsets - -Create a MX recordset in a zone - - -Normal response codes: 202 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_id: path_zone_id - - name: recordset_name - - ttl: recordset_ttl - - description: recordset_description - - type: recordset_type - - records: recordset_records - - -Request Example ---------------- - -.. literalinclude:: samples/recordsets/create-srv-recordset-request.json - :language: javascript - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - project_id: project_id - - name: recordset_name - - ttl: recordset_ttl - - status: status - - action: action - - zone_id: recordset_zone_id - - zone_name: recordset_zone_name - - description: recordset_description - - type: recordset_type - - version: version - - created_at: created_at - - updated_at: updated_at - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/recordsets/create-srv-recordset-response.json - :language: javascript diff --git a/api-ref/source/dns-api-v2-reverse-floatingips.inc b/api-ref/source/dns-api-v2-reverse-floatingips.inc deleted file mode 100644 index 55dc18b5..00000000 --- a/api-ref/source/dns-api-v2-reverse-floatingips.inc +++ /dev/null @@ -1,192 +0,0 @@ -=========== -FloatingIPs -=========== - -In order to use the FloatingIPs functionality you will need to have a FloatingIP -associated to your project in Neutron. - -Set FloatingIP's PTR record -============================ - -.. rest_method:: PATCH /v2/reverse/floatingips/{region}:{floatingip_id} - -Set a PTR record for the given FloatingIP. The domain if it does not exist -will be provisioned automatically. - -Normal response codes: 202 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - ptrdname: fptrd_name - - description: fptr_description - - ttl: fptr_ttl - - region: region - - floatingip_id: floatingip_id - -Request Example ---------------- - -.. literalinclude:: samples/reverse_floatingips/set-ptr-record-request.json - :language: javascript - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: fptr_id - - ptrdname: fptrd_name - - description: fptr_description - - ttl: fptr_ttl - - address: floatingip_address - - status: status - - action: action - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/reverse_floatingips/ptr-record-response.json - :language: javascript - - -Show FloatingIP's PTR record -============================ - -.. rest_method:: GET /v2/reverse/floatingips/{region}:{floatingip_id} - -Shows a particular FloatingIP PTR - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - region: region - - floatingip_id: floatingip_id - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: fptr_id - - ptrdname: fptrd_name - - description: fptr_description - - ttl: fptr_ttl - - address: floatingip_address - - status: status - - action: action - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/reverse_floatingips/ptr-record-response.json - :language: javascript - - -List FloatingIP's PTR record -============================ - -.. rest_method:: GET /v2/reverse/floatingips - -List FloatingIP PTR records - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: fptr_id - - ptrdname: fptrd_name - - description: fptr_description - - ttl: fptr_ttl - - address: floatingip_address - - status: status - - action: action - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/reverse_floatingips/list-ptr-record-response.json - :language: javascript - - -Unset FloatingIP's PTR record -============================= - -.. rest_method:: PATCH /v2/reverse/floatingips/{region}:{floatingip_id} - -Unset the PTR record for a FloatingIP - -Normal response codes: 202 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - region: region - - floatingip_id: floatingip_id - - -Request Example ---------------- - -.. literalinclude:: samples/reverse_floatingips/unset-ptr-record-request.json - :language: javascript - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id diff --git a/api-ref/source/dns-api-v2-service-status.inc b/api-ref/source/dns-api-v2-service-status.inc deleted file mode 100644 index c13182bb..00000000 --- a/api-ref/source/dns-api-v2-service-status.inc +++ /dev/null @@ -1,54 +0,0 @@ -================ -Service Statuses -================ - -The Service Status entries are used to track the health state of the services -in the Designate system. Each service will report in it's health via RPC or -using HTTP. - - -List Statuses -============= - -.. rest_method:: GET /v2/service_status - -List all Services and statuses. - - -.. rest_status_code:: success status.yaml - - - 200 - -.. rest_status_code:: error status.yaml - - - 400 - - 401 - - 403 - - 404 - - 405 - - 503 - -Request Parameters ------------------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - -Response Example ----------------- - -.. literalinclude:: samples/service_status/service_status_list.json - :language: javascript diff --git a/api-ref/source/dns-api-v2-tld.inc b/api-ref/source/dns-api-v2-tld.inc deleted file mode 100644 index 44786c5e..00000000 --- a/api-ref/source/dns-api-v2-tld.inc +++ /dev/null @@ -1,240 +0,0 @@ -=== -Tld -=== - -Tld operations. - - -Create Tld -========== - -.. rest_method:: POST /v2/tlds - -Create a tld - - -Normal response codes: 201 - -Error response codes: 409,405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - name: tld_name - - description: tld_description - -Request Example ---------------- - -.. literalinclude:: samples/tlds/create-tld-request.json - :language: javascript - - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - name: tld_name - - description: tld_description - - created_at: created_at - - updated_at: updated_at - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/tlds/tld-response.json - :language: javascript - - -Show Tld -======== - -.. rest_method:: GET /v2/tlds/{tld_id} - -Show a tld - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - tld_id: tld_id - - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - name: tld_name - - description: tld_description - - created_at: created_at - - updated_at: updated_at - - links: links - - - -Response Example ----------------- - -.. literalinclude:: samples/tlds/tld-response.json - :language: javascript - - -List Tlds -========= - -.. rest_method:: GET /v2/tlds - -List the tlds associated with the Project - - -Normal response codes: 200 - -Error response codes: 405,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - limit: limit - - marker: marker - - sort_dir: sort_dir - - sort_key: sort_key - - name: tld_name_filter - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - name: tld_name - - description: tld_description - - created_at: created_at - - updated_at: updated_at - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/tlds/list-tlds-response.json - :language: javascript - - -Update Tld -========== - -.. rest_method:: PATCH /v2/tlds/{tld_id} - -Update a tld - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - tld_id: tld_id - - name: tld_name - - description: tld_description - - -Request Example ---------------- - -.. literalinclude:: samples/tlds/update-tld-request.json - :language: javascript - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - name: tld_name - - description: tld_description - - created_at: created_at - - updated_at: updated_at - - links: links - - - -Response Example ----------------- - -.. literalinclude:: samples/tlds/update-tld-response.json - :language: javascript - - -Delete Tld -========== - -.. rest_method:: DELETE /v2/tlds/{tld_id} - -Delete a tld - -Normal response codes: 204 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - tld_id: tld_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id diff --git a/api-ref/source/dns-api-v2-tsigkey.inc b/api-ref/source/dns-api-v2-tsigkey.inc deleted file mode 100644 index 3e489562..00000000 --- a/api-ref/source/dns-api-v2-tsigkey.inc +++ /dev/null @@ -1,261 +0,0 @@ -======= -Tsigkey -======= - -Transaction signatures (TSIG) is a mechanism used to secure DNS messages and -to provide secure server-to-server communication (usually between master and -slave server, but can be extended for dynamic updates as well). - -Create Tsigkeys -=============== - -.. rest_method:: POST /v2/tsigkeys - -Create a new Tsigkey - -Normal response codes: 201 - -Error response codes: 409, 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - name: tsigkey_name - - algorithm: tsigkey_algorithm - - secret: tsigkey_secret - - scope: tsigkey_scope - - resource_id: resource_id - - -Request Example ---------------- - -.. literalinclude:: samples/tsigkeys/create-tsigkey-request.json - :language: javascript - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - resource_id: resource_id - - name: tsigkey_name - - scope: tsigkey_scope - - secret: tsigkey_secret - - algorithm: tsigkey_algorithm - - created_at: created_at - - updated_at: updated_at - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/tsigkeys/tsigkey-response.json - :language: javascript - - - -List Tsigkeys -============= - -.. rest_method:: GET /v2/tsigkeys - -List all tsigkeys - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request Parameters ------------------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - limit: limit - - marker: marker - - sort_dir: sort_dir - - sort_key: sort_key - - name: tsigkey_name_filter - - algorithm: tsigkey_algorithm_filter - - scope: tsigkey_scope_filter - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - resource_id: resource_id - - name: tsigkey_name - - scope: tsigkey_scope - - secret: tsigkey_secret - - algorithm: tsigkey_algorithm - - created_at: created_at - - updated_at: updated_at - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/tsigkeys/list-tsigkeys-response.json - :language: javascript - - - -Show a Tsigkey -============== - -.. rest_method:: GET /v2/tsigkeys/{tsigkey_id} - -Show a tsigkey - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - tsigkey_id: tsigkey_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - resource_id: resource_id - - name: tsigkey_name - - scope: tsigkey_scope - - secret: tsigkey_secret - - algorithm: tsigkey_algorithm - - created_at: created_at - - updated_at: updated_at - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/tsigkeys/tsigkey-response.json - :language: javascript - - - -Update Tsigkey -================ - -.. rest_method:: PATCH /v2/tsigkeys/{tsigkey_id} - -Update the attribute(s) of an existing tsigkey - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request Parameters ------------------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - name: tsigkey_name - - algorithm: tsigkey_algorithm - - secret: tsigkey_secret - - scope: tsigkey_scope - - resource_id: resource_id - - tsigkey_id: tsigkey_id - - -Request Example ---------------- - -.. literalinclude:: samples/tsigkeys/update-tsigkey-request.json - :language: javascript - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - resource_id: resource_id - - name: tsigkey_name - - scope: tsigkey_scope - - secret: tsigkey_secret - - algorithm: tsigkey_algorithm - - created_at: created_at - - updated_at: updated_at - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/tsigkeys/update-tsigkey-response.json - :language: javascript - - - -Delete a Tsigkey -================ - -.. rest_method:: DELETE /v2/tsigkeys/{tsigkey_id} - -Delete a tsigkey - - -Normal response codes: 204 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - tsigkey_id: tsigkey_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id diff --git a/api-ref/source/dns-api-v2-version.inc b/api-ref/source/dns-api-v2-version.inc deleted file mode 100644 index e6d8e8ce..00000000 --- a/api-ref/source/dns-api-v2-version.inc +++ /dev/null @@ -1,37 +0,0 @@ -============ -API Versions -============ - -Show all enabled API versions - -List all API versions -===================== - -.. rest_method:: GET / - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -No parameters needed - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - -Response Example ----------------- - -.. literalinclude:: samples/versions/get-versions-response.json - :language: javascript - - diff --git a/api-ref/source/dns-api-v2-zone-export.inc b/api-ref/source/dns-api-v2-zone-export.inc deleted file mode 100644 index 83c04eec..00000000 --- a/api-ref/source/dns-api-v2-zone-export.inc +++ /dev/null @@ -1,227 +0,0 @@ -============ -Zone Exports -============ - -Zone exports can be an asynchronous operation, -and there are different endpoints to view the status and progress of an export - - -Create a Zone Export -==================== - -.. rest_method:: POST /v2/zones/{zone_id}/tasks/export - -Export a zone. - -.. note:: This POST should have no body - -Normal response codes: 202 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_id: path_zone_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: zone_export_id - - location: zone_export_location - - status: zone_export_status - - zone_id: zone_export_zone_id - - message: zone_export_message - - project_id: project_id - - created_at: created_at - - updated_at: updated_at - - version: version - - -Response Example ----------------- - -.. literalinclude:: samples/zones/create-zone-export-response.json - :language: javascript - - -List all Zone Exports -===================== - -.. rest_method:: GET /v2/zones/tasks/exports - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_id: zone_export_zone_id_filter - - message: zone_export_message_filter - - status: zone_export_status_filter - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: zone_export_id - - location: zone_export_location - - status: zone_export_status - - zone_id: zone_export_zone_id - - project_id: project_id - - created_at: created_at - - updated_at: updated_at - - version: version - - links: links - - metadata: metadata - - -Response Example ----------------- - -.. literalinclude:: samples/zones/list-zone-export-response.json - :language: javascript - - -Show a Zone Export Information -============================== - -.. rest_method:: GET /v2/zones/tasks/exports/{zone_export_id} - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_export_id: path_zone_export_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: zone_export_id - - location: zone_export_location - - status: zone_export_status - - zone_id: zone_export_zone_id - - project_id: project_id - - created_at: created_at - - updated_at: updated_at - - version: version - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/zones/show-zone-export-response.json - :language: javascript - - -Retrive a Zone Export from the Designate Datastore -================================================== - -.. rest_method:: GET /v2/zones/tasks/exports/{zone_export_id}/export - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - -.. note:: - This endpoint will send a response with a ``text/dns`` content-type. - If the client does not include a ``Accepts: text/dns`` header the request - will be rejected. - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_export_id: path_zone_export_id - - accepts: zone_export_accepts - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - -Response Example ----------------- - -.. literalinclude:: samples/zones/show-zone-export-content.txt - :language: text - - -Delete a Zone Export -==================== - -.. rest_method:: DELETE /v2/zones/tasks/exports/{zone_export_id} - -This will just delete the record of the zone export, not the exported zone. - -The zone will have to be deleted from the zone delete API - - -Normal response codes: 204 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_export_id: path_zone_export_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id diff --git a/api-ref/source/dns-api-v2-zone-import.inc b/api-ref/source/dns-api-v2-zone-import.inc deleted file mode 100644 index 4a417d56..00000000 --- a/api-ref/source/dns-api-v2-zone-import.inc +++ /dev/null @@ -1,178 +0,0 @@ -=========== -Zone Import -=========== - -Zone imports are an asynchronous operation, and there are different endpoints -to view the status and progress of an import - - -Create a Zone Import -==================== - -.. rest_method:: POST /v2/zones/tasks/imports - -Import a zone. - -.. note:: This POST should have no body, and the content-type should be text/dns - -Normal response codes: 202 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: zone_import_id - - status: zone_import_status - - zone_id: zone_import_zone_id - - message: zone_import_message - - project_id: project_id - - created_at: created_at - - updated_at: updated_at - - version: version - - -Response Example ----------------- - -.. literalinclude:: samples/zones/create-zone-import-response.json - :language: javascript - - -List all Zone Imports -===================== - -.. rest_method:: GET /v2/zones/tasks/imports - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_id: zone_import_zone_id_filter - - message: zone_import_message_filter - - status: zone_import_status_filter - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: zone_import_id - - status: zone_import_status - - zone_id: zone_import_zone_id - - project_id: project_id - - created_at: created_at - - updated_at: updated_at - - version: version - - links: links - - metadata: metadata - - -Response Example ----------------- - -.. literalinclude:: samples/zones/list-zone-import-response.json - :language: javascript - -Show a Zone Import -================== - -.. rest_method:: GET /v2/zones/tasks/imports/{zone_import_id} - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_import_id: path_zone_import_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: zone_import_id - - status: zone_import_status - - zone_id: zone_import_zone_id - - project_id: project_id - - created_at: created_at - - updated_at: updated_at - - version: version - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/zones/show-zone-import-response.json - :language: javascript - -Delete a Zone Import -==================== - -.. rest_method:: DELETE /v2/zones/tasks/imports/{zone_import_id} - -This will just delete the record of the zone import, not the imported zone. - -The zone will have to be deleted from the zone delete API - - -Normal response codes: 204 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_import_id: path_zone_import_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id diff --git a/api-ref/source/dns-api-v2-zone-ownership-transfer-accept.inc b/api-ref/source/dns-api-v2-zone-ownership-transfer-accept.inc deleted file mode 100644 index 90bc9b07..00000000 --- a/api-ref/source/dns-api-v2-zone-ownership-transfer-accept.inc +++ /dev/null @@ -1,156 +0,0 @@ -================================== -Zone Ownership Transfers - Accepts -================================== - -Designate allows users to transer ownership of a zone between projects. - -For the final step, the receiving project has to accept the new zone, using -the ``transfer_accepts`` API - - -Create Zone Transfer Accept -============================ - -.. rest_method:: POST /v2/zones/tasks/transfer_accepts - -This accepts an offer of a ownership transfer - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - key: zone_transfer_request_key - - zone_transfer_request_id: zone_transfer_request_id - - -Request Example ----------------- - -.. literalinclude:: samples/zones/create-zone-transfer-accept-request.json - :language: javascript - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: zone_transfer_accept_id - - status: zone_transfer_request_status - - project_id: project_id - - zone_id: zone_transfer_request_id - - key: zone_transfer_request_key - - created_at: created_at - - updated_at: updated_at - - zone_transfer_request_id: zone_transfer_request_id - - links: links - -Response Example ----------------- - -.. literalinclude:: samples/zones/create-zone-transfer-accept-response.json - :language: javascript - - -Get Zone Transfer Accept -======================== - -.. rest_method:: GET /v2/zones/tasks/transfer_requests/{zone_transfer_accept_id} - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_transfer_accept_id: path_zone_transfer_accept_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: zone_transfer_accept_id - - status: zone_transfer_request_status - - project_id: project_id - - zone_id: zone_transfer_request_id - - key: zone_transfer_request_key - - created_at: created_at - - updated_at: updated_at - - zone_transfer_request_id: zone_transfer_request_id - - links: links - -Response Example ----------------- - -.. literalinclude:: samples/zones/create-zone-transfer-accept-response.json - :language: javascript - - -List Zone Transfer Accepts -=========================== - -.. rest_method:: GET /v2/zones/tasks/transfer_accepts - -This will list all your accepted ownership transfer. - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - status: zone_transfer_accept_status_filter - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: zone_transfer_accept_id - - project_id: project_id - - status: zone_transfer_request_status - - zone_id: zone_transfer_request_id - - key: zone_transfer_request_key - - created_at: created_at - - updated_at: updated_at - - zone_transfer_request_id: zone_transfer_request_id - - links: links - - metadata: metadata - - -Response Example ----------------- - -.. literalinclude:: samples/zones/list-zone-transfer-accept-response.json - :language: javascript diff --git a/api-ref/source/dns-api-v2-zone-ownership-transfer-request.inc b/api-ref/source/dns-api-v2-zone-ownership-transfer-request.inc deleted file mode 100644 index aece818c..00000000 --- a/api-ref/source/dns-api-v2-zone-ownership-transfer-request.inc +++ /dev/null @@ -1,254 +0,0 @@ -=================================== -Zone Ownership Transfers - Requests -=================================== - -Designate allows users to transer ownership of a zone between projects. - -The traditional route is to create a ``zone_transfer_request``, communicate -the key and ID out of band to the intended owner, and they create a -``zone_transfer_accept`` using this information, which will move the -ownership of the zone that project. - - -Create Zone Transfer Request -============================ - -.. rest_method:: POST /v2/zones/{zone_id}/tasks/transfer_requests - -This creates an offer to transfer the zone to a different project. -The request can be scoped to single project if the ``project_id`` parameter is -supplied. - -.. note:: This POST can have no body. - - -Normal response codes: 201 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_id: path_zone_id - - target_project_id: zone_transfer_request_target_project_id - - description: description - -Request Example ----------------- - -.. literalinclude:: samples/zones/create-zone-transfer-request-request.json - :language: javascript - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: zone_transfer_request_id - - project_id: project_id - - description: description - - status: zone_transfer_request_status - - zone_id: zone_transfer_request_zone_id - - zone_name: zone_transfer_request_zone_name - - key: zone_transfer_request_key - - target_project_id: zone_transfer_request_target_project_id - - created_at: created_at - - updated_at: updated_at - - version: version - -Response Example ----------------- - -.. literalinclude:: samples/zones/create-zone-transfer-request-response.json - :language: javascript - - -List Zone Transfer Requests -=========================== - -.. rest_method:: GET /v2/zones/tasks/transfer_requests - -This will list all your outgoing requests, and any incoming requests that -have been scoped to your project. - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - status: zone_transfer_request_status_filter - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: zone_transfer_request_id - - project_id: project_id - - description: description - - status: zone_transfer_request_status - - zone_id: zone_transfer_request_zone_id - - zone_name: zone_transfer_request_zone_name - - key: zone_transfer_request_key - - target_project_id: zone_transfer_request_target_project_id - - created_at: created_at - - updated_at: updated_at - - version: version - -Response Example ----------------- - -.. literalinclude:: samples/zones/list-zone-transfer-request-response.json - :language: javascript - - - -Show a Zone Transfer Request -============================ - -.. rest_method:: GET /v2/zones/tasks/transfer_requests/{zone_transfer_request_id} - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_transfer_request_id: path_zone_transfer_request_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: zone_transfer_request_id - - project_id: project_id - - description: description - - status: zone_transfer_request_status - - zone_id: zone_transfer_request_zone_id - - zone_name: zone_transfer_request_zone_name - - key: zone_transfer_request_key - - target_project_id: zone_transfer_request_target_project_id - - created_at: created_at - - updated_at: updated_at - - version: version - -Response Example ----------------- - -.. literalinclude:: samples/zones/show-zone-transfer-request-response.json - :language: javascript - - -Update a Zone Transfer Request -============================== - -.. rest_method:: PATCH /v2/zones/tasks/transfer_requests/{zone_transfer_request_id} - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_transfer_request_id: path_zone_transfer_request_id - - target_project_id: zone_transfer_request_target_project_id - - description: description - -Request Example ----------------- - -.. literalinclude:: samples/zones/update-zone-transfer-request-request.json - :language: javascript - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: zone_transfer_request_id - - project_id: project_id - - description: description - - status: zone_transfer_request_status - - zone_id: zone_transfer_request_zone_id - - zone_name: zone_transfer_request_zone_name - - key: zone_transfer_request_key - - target_project_id: zone_transfer_request_target_project_id - - created_at: created_at - - updated_at: updated_at - - version: version - -Response Example ----------------- - -.. literalinclude:: samples/zones/update-zone-transfer-request-response.json - :language: javascript - - -Delete a Zone Transfer Request -============================== - -.. rest_method:: DELETE /v2/zones/tasks/transfer_requests/{zone_transfer_request_id} - - -Normal response codes: 204 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_transfer_request_id: path_zone_transfer_request_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - diff --git a/api-ref/source/dns-api-v2-zone-tasks.inc b/api-ref/source/dns-api-v2-zone-tasks.inc deleted file mode 100644 index 06e179df..00000000 --- a/api-ref/source/dns-api-v2-zone-tasks.inc +++ /dev/null @@ -1,84 +0,0 @@ -========== -Zone Tasks -========== - -Zone tasks. - - -Abandon Zone -============ - -.. rest_method:: POST /v2/zones/{zone_id}/tasks/abandon - -Abandon a zone. - -This removes a zone from the designate database without removing it -from the backends. - -.. note:: This POST should have no body. - -.. warning:: - This is a protentially dangerous operation, and should only be used if required - -Normal response codes: 204 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_id: path_zone_id - - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - -Manually Trigger an Update of a Secondary Zone -============================================== - -.. rest_method:: POST /v2/zones/{zone_id}/tasks/xfr - -Trigger a new XFR from the upstream DNS servers - -This will cause designate to query the name servers and if the version in -Designate is out of date, import the new version. - -This is useful if an upstream server failed to send a notify to Designate - -.. note:: This POST should have no body. - -.. important:: This is only useful on SECONDARY zones. - -Normal response codes: 202 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_id: path_zone_id - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id diff --git a/api-ref/source/dns-api-v2-zone.inc b/api-ref/source/dns-api-v2-zone.inc deleted file mode 100644 index 0a1efdcf..00000000 --- a/api-ref/source/dns-api-v2-zone.inc +++ /dev/null @@ -1,364 +0,0 @@ -==== -Zone -==== - -Zone operations. - - -Create Zone -=========== - -.. rest_method:: POST /v2/zones - -Create a zone - - -Normal response codes: 202 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - name: zone_name - - email: zone_email - - ttl: zone_ttl - - description: zone_description - - masters: zone_masters - - type: zone_type - - -Request Example ---------------- - -.. literalinclude:: samples/zones/create-zone-request.json - :language: javascript - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - pool_id: zone_pool_id - - project_id: project_id - - name: zone_name - - email: zone_email - - ttl: zone_ttl - - serial: zone_serial - - status: status - - action: action - - description: zone_description - - masters: zone_masters - - type: zone_type - - transfered_at: zone_transfered_at - - version: version - - created_at: created_at - - updated_at: updated_at - - links: links - - - -Response Example ----------------- - -.. literalinclude:: samples/zones/zone-response.json - :language: javascript - - - -List Zones -========== - -.. rest_method:: GET /v2/zones - -List all zones - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - limit: limit - - marker: marker - - sort_dir: sort_dir - - sort_key: sort_key - - name: zone_name_filter - - type: zone_type_filter - - email: zone_email_filter - - status: zone_status_filter - - description: zone_description_filter - - ttl: zone_ttl_filter - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - pool_id: zone_pool_id - - project_id: project_id - - name: zone_name - - email: zone_email - - ttl: zone_ttl - - serial: zone_serial - - status: status - - action: action - - description: zone_description - - masters: zone_masters - - type: zone_type - - transfered_at: zone_transfered_at - - version: version - - created_at: created_at - - updated_at: updated_at - - links: links - - metadata: metadata - - -Response Example ----------------- - -.. literalinclude:: samples/zones/list-zones-response.json - :language: javascript - - -Show a Zone -=========== - -.. rest_method:: GET /v2/zones/{zone_id} - -Show a zone - - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_id: path_zone_id - - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - pool_id: zone_pool_id - - project_id: project_id - - name: zone_name - - email: zone_email - - ttl: zone_ttl - - serial: zone_serial - - status: status - - action: action - - description: zone_description - - masters: zone_masters - - type: zone_type - - transfered_at: zone_transfered_at - - version: version - - created_at: created_at - - updated_at: updated_at - - links: links - - - -Response Example ----------------- - -.. literalinclude:: samples/zones/zone-response.json - :language: javascript - - -Get the Name Servers for a Zone -=============================== - -.. rest_method:: GET /v2/zones/{zone_id}/nameservers - -Show the nameservers for a zone - -Normal response codes: 200 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_id: path_zone_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - hostname: zone_nameserver_hostname - - priority: zone_nameserver_priority - - - -Response Example ----------------- - -.. literalinclude:: samples/zones/show-zone-nameservers-response.json - :language: javascript - - - - -Update a Zone -============= - -.. rest_method:: PATCH /v2/zones/{zone_id} - -Update the attribute(s) for an existing zone. - - -Normal response codes: 202 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_id: path_zone_id - - email: zone_email_update - - ttl: zone_ttl - - description: zone_description - - -Request Example ---------------- - -.. literalinclude:: samples/zones/update-zone-request.json - :language: javascript - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - pool_id: zone_pool_id - - project_id: project_id - - name: zone_name - - email: zone_email - - ttl: zone_ttl - - serial: zone_serial - - status: status - - action: action - - description: zone_description - - masters: zone_masters - - type: zone_type - - transfered_at: zone_transfered_at - - version: version - - created_at: created_at - - updated_at: updated_at - - links: links - - - -Response Example ----------------- - -.. literalinclude:: samples/zones/update-zone-response.json - :language: javascript - - -Delete a Zone -============= - -.. rest_method:: DELETE /v2/zones/{zone_id} - -Delete a zone - - -Normal response codes: 202 - -Error response codes: 405,404,403,401,400,503 - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - x-auth-token: x-auth-token - - x-auth-all-projects: x-auth-all-projects - - x-auth-sudo-project-id: x-auth-sudo-project-id - - zone_id: path_zone_id - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - x-openstack-request-id: x-openstack-request-id - - id: id - - pool_id: zone_pool_id - - project_id: project_id - - name: zone_name - - email: zone_email - - ttl: zone_ttl - - serial: zone_serial - - status: status - - action: action - - description: zone_description - - masters: zone_masters - - type: zone_type - - transfered_at: zone_transfered_at - - version: version - - created_at: created_at - - updated_at: updated_at - - links: links - - -Response Example ----------------- - -.. literalinclude:: samples/zones/delete-zone-response.json - :language: javascript diff --git a/api-ref/source/index.rst b/api-ref/source/index.rst deleted file mode 100644 index 023b0e21..00000000 --- a/api-ref/source/index.rst +++ /dev/null @@ -1,24 +0,0 @@ -:tocdepth: 2 - -======== - DNS API -======== - -.. rest_expand_all:: - -.. include:: dns-api-v2-version.inc -.. include:: dns-api-v2-zone.inc -.. include:: dns-api-v2-zone-import.inc -.. include:: dns-api-v2-zone-export.inc -.. include:: dns-api-v2-zone-tasks.inc -.. include:: dns-api-v2-zone-ownership-transfer-request.inc -.. include:: dns-api-v2-zone-ownership-transfer-accept.inc -.. include:: dns-api-v2-recordset.inc -.. include:: dns-api-v2-pool.inc -.. include:: dns-api-v2-limits.inc -.. include:: dns-api-v2-tld.inc -.. include:: dns-api-v2-tsigkey.inc -.. include:: dns-api-v2-blacklist.inc -.. include:: dns-api-v2-quota.inc -.. include:: dns-api-v2-service-status.inc -.. include:: dns-api-v2-reverse-floatingips.inc diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml deleted file mode 100644 index f67849a9..00000000 --- a/api-ref/source/parameters.yaml +++ /dev/null @@ -1,897 +0,0 @@ -#################### -# Header Variables # -#################### - -x-auth-all-projects: - description: | - If enabled this will show results from all projects in Designate - in: header - required: false - type: bool - -x-auth-sudo-project-id: - description: | - This allows a user to impersonate another project - in: header - required: false - type: string - -x-auth-token: - description: | - Token used to identify the user from keystone - in: header - required: false - type: string - -x-designate-edit-managed-records: - description: | - If enabled this will all users to edit records flagged as managed - in: header - required: false - type: bool - -x-openstack-request-id: - description: | - ID of the request - in: header - required: true - type: string - -zone_export_accepts: - description: > - Content-Type that will be accepted by the client. - This endpoint will send a response with a ``text/dns`` content-type. - If the client does not include a ``Accepts: text/dns`` header - in: header - required: true - type: string - -#################### -# Path Variables # -#################### - -blacklist_id: - description: | - ID for this blacklist - in: path - required: true - type: uuid - -floatingip_id: - description: | - ID for the floatingip associated with the project - in: path - required: true - type: uuid - -path_pool_id: - description: | - ID for this pool - in: path - required: true - type: uuid - -path_project_id: - description: | - ID for the project - in: path - required: true - type: uuid - -path_recordset_id: - description: | - ID for the recordset - in: path - required: true - type: uuid - -path_zone_export_id: - description: | - ID for this zone export - in: path - required: true - type: uuid - -path_zone_id: - description: | - ID for the zone - in: path - required: true - type: uuid - -path_zone_import_id: - description: | - ID for this zone import - in: path - required: true - type: uuid - -path_zone_transfer_accept_id: - description: | - ID for this zone transfer accept - in: path - required: true - type: uuid - -path_zone_transfer_request_id: - description: | - ID for this zone transfer request - in: path - required: true - type: uuid - -region: - description: | - Openstack region - in: path - required: true - type: string - -tld_id: - description: | - ID for this tld - in: path - required: true - type: uuid - -tsigkey_id: - description: | - ID for this tsigkey - in: path - required: true - type: uuid - - -#################### -# Query Variables # -#################### - -blacklist_pattern_filter: - description: | - Filter results to only show blacklists that have a pattern matching the filter - in: query - required: false - type: string - -limit: - description: | - Requests a page size of items. Returns a number - of items up to a limit value. Use the ``limit`` parameter to make - an initial limited request and use the ID of the last-seen item - from the response as the ``marker`` parameter value in a - subsequent limited request. - in: query - required: false - type: integer - -marker: - description: | - The ID of the last-seen item. Use the ``limit`` - parameter to make an initial limited request and use the ID of the - last-seen item from the response as the ``marker`` parameter value - in a subsequent limited request. - in: query - required: false - type: string - -recordset_data_filter: - description: | - Filter results to only show recordsets that have a record with data matching the filter - in: query - required: false - type: string - -recordset_description_filter: - description: | - Filter results to only show recordsets that have a description matching the filter - in: query - required: false - type: string - -recordset_name_filter: - description: | - Filter results to only show recordsets that have a name matching the filter - in: query - required: false - type: string - -recordset_status_filter: - description: | - Filter results to only show recordsets that have a status matching the filter - in: query - required: false - type: string - -recordset_ttl_filter: - description: | - Filter results to only show recordsets that have a ttl matching the filter - in: query - required: false - type: string - -recordset_type_filter: - description: | - Filter results to only show recordsets that have a type matching the filter - in: query - required: false - type: string - -sort_dir: - description: | - Sorts the response by the requested sort - direction. A valid value is ``asc`` (ascending) or ``desc`` - (descending). Default is ``asc``. You can specify multiple pairs - of sort key and sort direction query parameters. If you omit the - sort direction in a pair, the API uses the natural sorting - direction of the server attribute that is provided as the - ``sort_key``. - in: query - required: false - type: string - -sort_key: - description: | - Sorts the response by the this attribute value. - Default is ``id``. You can specify multiple pairs of sort key and - sort direction query parameters. If you omit the sort direction in - a pair, the API uses the natural sorting direction of the server - attribute that is provided as the ``sort_key``. - in: query - required: false - type: string - -tld_name_filter: - description: | - Filter results to only show tlds that have a name matching the filter - in: query - required: false - type: string - -tsigkey_algorithm_filter: - description: | - Filter results to only show tsigkeys that have an algorithm matching the filter - in: query - required: false - type: string - -tsigkey_name_filter: - description: | - Filter results to only show tsigkeys that have a name matching the filter - in: query - required: false - type: string - -tsigkey_scope_filter: - description: | - Filter results to only show tsigkeys that have a scope matching the filter - in: query - required: false - type: string - -zone_description_filter: - description: | - Filter results to only show zones that have a description matching the filter - in: query - required: false - type: string - -zone_email_filter: - description: | - Filter results to only show zones that have an email matching the filter - in: query - required: false - type: string - -zone_export_message_filter: - description: | - Filter results to only show ``zone_exports`` that have a ``message`` matching the filter - in: query - required: false - type: string - -zone_export_status_filter: - description: | - Filter results to only show ``zone_exports`` that have a ``status`` matching the filter - in: query - required: false - type: string - -zone_export_zone_id_filter: - description: | - Filter results to only show ``zone_exports`` that have a ``zone_id`` matching the filter - in: query - required: false - type: uuid - -zone_import_message_filter: - description: | - Filter results to only show zone_imports that have a ``message`` matching the filter - in: query - required: false - type: string - -zone_import_status_filter: - description: | - Filter results to only show zone_imports that have a ``status`` matching the filter - in: query - required: false - type: string - -zone_import_zone_id_filter: - description: | - Filter results to only show zone_imports that have a ``zone_id`` matching the filter - in: query - required: false - type: uuid - -zone_name_filter: - description: | - Filter results to only show zones that have a name matching the filter - in: query - required: false - type: string - -zone_status_filter: - description: | - Filter results to only show zones that have a status matching the filter - in: query - required: false - type: string - -zone_transfer_accept_status_filter: - description: | - Filter results to only show ``zone_transfer_accepts`` that have a ``status`` matching the filter - in: query - required: false - type: string - -zone_transfer_request_status_filter: - description: | - Filter results to only show ``zone_transfer_requests`` that have a ``status`` matching the filter - in: query - required: false - type: string - -zone_ttl_filter: - description: | - Filter results to only show zones that have a ttl matching the filter - in: query - required: false - type: integer - -zone_type_filter: - description: | - Filter results to only show zones that have a type matching the filter - in: query - required: false - type: string - - -#################### -# Body Variables # -#################### - -action: - description: | - current action in progress on the resource - in: body - required: true - type: enum - -blacklist_description: - description: | - Description for this blacklist - in: body - required: false - type: string - -blacklist_pattern: - description: | - Pattern for this blacklist - in: body - required: true - type: string - -created_at: - description: | - Date / Time when resource was created - in: body - required: true - type: datestamp - -description: - description: | - Description for the resource. Only shown in API / Horizon - in: body - required: true - type: string - -floatingip_address: - description: | - The floatingip address for this PTR record. - in: body - required: true - type: string - -fptr_description: - description: | - Description for this PTR record - in: body - required: true - type: string - -fptr_id: - description: | - ID for PTR record in the format of : - in: body - required: true - type: string - -fptr_ttl: - description: | - Time to live for this PTR record - in: body - required: true - type: uuid - -fptrd_name: - description: | - Domain name for this PTR record - in: body - required: true - type: string - -id: - description: | - ID for the resource - in: body - required: true - type: uuid - -links: - description: | - Links to the resource, and other related resources. - When a response has been broken into pages, we will include - a ``next`` link that should be followed to retrieve all results - in: body - required: true - type: object - -max_page_limit: - description: | - The max amount of items allowed per page - in: body - required: true - type: integer - -max_recordset_name_length: - description: | - The max length of a recordset name - in: body - required: true - type: integer - -max_recordset_records: - description: | - The max amount of records contained in a recordset - in: body - required: true - type: integer - -max_zone_name_length: - description: | - The max length of a zone name - in: body - required: true - type: integer - -max_zone_records: - description: | - The max amount of records in a zone - in: body - required: true - type: integer - -max_zone_recordsets: - description: | - The max amount of recordsets per zone - in: body - required: true - type: integer - -max_zones: - description: | - The max amount of zones for this project - in: body - required: true - type: integer - -metadata: - description: | - Returns the ``total_count`` of resources matching this filter - in: body - required: true - type: object - -min_ttl: - description: | - The lowest ttl allowed on this system - in: body - required: true - type: integer - -pool_attributes: - description: > - Key:Value pairs of information about this pool. This information can be used by the scheduler to place zones on the correct pools - in: body - required: true - type: object - -pool_id: - description: | - ID for this pool - in: body - required: true - type: uuid - -pool_name: - description: | - Name for this pool - in: body - required: true - type: string - -pool_ns_records: - description: | - Name Servers for this pool. Any zones hosted by this pool should be delegated to these DNS servers - in: body - required: true - type: string - -project_id: - description: | - ID for the project that owns the resource - in: body - required: true - type: uuid - -recordset_description: - description: | - Description for this recordset - in: body - required: false - type: string - -recordset_name: - description: | - DNS Name for the recordset - in: body - required: true - type: hostname - -recordset_records: - description: | - A list of data for this recordset. Each item will be a separate record in Designate - These items should conform to the DNS spec for the record type - e.g. A records - must be IPv4 addresses, CNAME records must be a hostname. - in: body - required: true - type: string - -recordset_ttl: - description: | - TTL (Time to Live) for the recordset. - in: body - required: false - type: integer - -recordset_type: - description: | - They RRTYPE of the recordset. - in: body - required: true - type: string - -recordset_zone_id: - description: | - ID for the zone that contains this recordset - in: body - required: true - type: uuid - -recordset_zone_name: - description: | - The name of the zone that contains this recordset - in: body - required: true - type: string - -resource_id: - description: | - resource id for this tsigkey which can be either zone or pool id - in: body - required: true - type: string - -status: - description: | - status of the resource - in: body - required: true - type: enum - -tld_description: - description: | - Description for this tld - in: body - required: false - type: string - -tld_name: - description: | - Name for this tld - in: body - required: true - type: string - -tsigkey_algorithm: - description: | - The encryption algorithm for this tsigkey - in: body - required: true - type: string - -tsigkey_name: - description: | - Name for this tsigkey - in: body - required: true - type: string - -tsigkey_scope: - description: | - scope for this tsigkey which can be either ZONE or POOL scope - in: body - required: true - type: string - -tsigkey_secret: - description: | - The actual key to be used - in: body - required: true - type: string - -updated_at: - description: | - Date / Time when resource last updated - in: body - required: false - type: datestamp - -version: - description: | - Version of the resource - in: body - required: true - type: integer - -zone_description: - description: | - Description for this zone - in: body - required: false - type: string - -zone_email: - description: | - e-mail for the zone. Used in SOA records for the zone - in: body - required: true - type: string - -zone_email_update: - description: | - e-mail for the zone. Used in SOA records for the zone - in: body - required: false - type: string - -zone_export_id: - description: | - ID for this zone export - in: body - required: true - type: uuid - -zone_export_location: - description: > - Where the exported zone is published to. - There are currently one placement option available - designate. - - This will be shown by ``designate://``. - - As more drivers are added, this will expand to include swift - this will be - indicated by location being set to ``swift:////`` - - This is also allowed be a webserver if the operator implements a different - data store, and will be indicted by ``http://`` - - When a zone export is complete, the location will be updated, and - the exported zone file will be available at the location specified. - - in: body - required: false - type: string - -zone_export_message: - description: | - Message about the current status of the export - in: body - required: false - type: uuid - -zone_export_status: - description: | - Current status of the zone export - in: body - required: true - type: string - -zone_export_zone_id: - description: | - ID for the zone that is being exported - in: body - required: false - type: uuid - -zone_import_id: - description: | - ID for this zone import - in: body - required: true - type: uuid - -zone_import_message: - description: | - Message about the current status of the import - in: body - required: false - type: uuid - -zone_import_status: - description: | - Current status of the zone import - in: body - required: true - type: uuid - -zone_import_zone_id: - description: | - ID for the zone that was created by this import - in: body - required: false - type: uuid - -zone_masters: - description: | - Mandatory for secondary zones. The servers to slave from to get DNS information - in: body - required: false - type: enum - -zone_name: - description: | - DNS Name for the zone - in: body - required: true - type: domainname - -zone_nameserver_hostname: - description: | - The hostname of the nameserver that the zone should be delegated to - in: body - required: true - type: hostname - -zone_nameserver_priority: - description: | - The priority of the nameserver. This is used to determine the order of the - the nameserver listings, and which server is used in the SOA record for the - zone. - in: body - required: true - type: integer - -zone_pool_id: - description: | - ID for the pool hosting this zone - in: body - required: true - type: uuid - -zone_serial: - description: | - current serial number for the zone - in: body - required: true - type: integer - -zone_transfer_accept_id: - description: | - ID for this zone transfer accept - in: body - required: true - type: uuid - -zone_transfer_accept_status: - description: | - Current status of the zone transfer request - in: body - required: true - type: string - -zone_transfer_request_id: - description: | - ID for this zone transfer request - in: body - required: true - type: uuid - -zone_transfer_request_key: - description: > - Key that is used as part of the zone transfer accept process. This is only - shown to the creator, and must be communicated out of band. - in: body - required: true - type: string - -zone_transfer_request_status: - description: | - Current status of the zone transfer request - in: body - required: true - type: string - -zone_transfer_request_target_project_id: - description: > - A project ID that the request will be limited to. - No other project will be allowed to accept this request. - in: body - required: false - type: string - -zone_transfer_request_zone_id: - description: | - ID for the zone that is being exported - in: body - required: true - type: uuid - -zone_transfer_request_zone_name: - description: | - the name of the zone that is being exported - in: body - required: true - type: string - -zone_transfered_at: - description: | - For secondary zones. The last time an update was retrieved from the master servers - in: body - required: true - type: enum - -zone_ttl: - description: | - TTL (Time to Live) for the zone. - in: body - required: false - type: integer - -zone_type: - description: | - Type of zone. PRIMARY is controlled by Designate, SECONDARY zones are slaved from another DNS Server. Defaults to PRIMARY - in: body - required: false - type: enum diff --git a/api-ref/source/samples/blacklists/blacklist-response.json b/api-ref/source/samples/blacklists/blacklist-response.json deleted file mode 100644 index 5cd3387d..00000000 --- a/api-ref/source/samples/blacklists/blacklist-response.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "description": "This is a blacklisted domain.", - "links": { - "self": "http://127.0.0.1:9001/v2/blacklists/af91edb5-ede8-453f-af13-feabdd088f9c" - }, - "pattern": "^([A-Za-z0-9_\\-]+\\.)*example\\.com\\.$", - "created_at": "2016-05-20 06:15:42", - "updated_at": null, - "id": "af91edb5-ede8-453f-af13-feabdd088f9c" -} diff --git a/api-ref/source/samples/blacklists/create-blacklist-request.json b/api-ref/source/samples/blacklists/create-blacklist-request.json deleted file mode 100644 index f9fd6741..00000000 --- a/api-ref/source/samples/blacklists/create-blacklist-request.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pattern" : "^([A-Za-z0-9_\\-]+\\.)*example\\.com\\.$", - "description" : "This is a blacklisted domain." -} diff --git a/api-ref/source/samples/blacklists/list-blacklists-response.json b/api-ref/source/samples/blacklists/list-blacklists-response.json deleted file mode 100644 index ba97ae2e..00000000 --- a/api-ref/source/samples/blacklists/list-blacklists-response.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "blacklists": [ - { - "description": "This is a blacklisted domain.", - "links": { - "self": "http://127.0.0.1:9001/v2/blacklists/af91edb5-ede8-453f-af13-feabdd088f9c" - }, - "pattern": "^([A-Za-z0-9_\\-]+\\.)*example\\.com\\.$", - "created_at": "2016-05-20 06:15:42", - "updated_at": null, - "id": "af91edb5-ede8-453f-af13-feabdd088f9c" - }, - { - "description": "Example blacklisted domain.", - "links": { - "self": "http://127.0.0.1:9001/v2/blacklists/f26e22f8-619f-4738-9077-0586e7cb76bd" - }, - "pattern": "^examples\\.com\\.$", - "created_at": "2016-05-20 06:22:12", - "updated_at": null, - "id": "f26e22f8-619f-4738-9077-0586e7cb76bd" - } - ], - "links": { - "self": "http://127.0.0.1:9001/v2/blacklists" - } -} diff --git a/api-ref/source/samples/blacklists/update-blacklist-request.json b/api-ref/source/samples/blacklists/update-blacklist-request.json deleted file mode 100644 index afb2d0d5..00000000 --- a/api-ref/source/samples/blacklists/update-blacklist-request.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pattern" : "^examples\\.com\\.$", - "description" : "Updated the description" -} diff --git a/api-ref/source/samples/blacklists/update-blacklist-response.json b/api-ref/source/samples/blacklists/update-blacklist-response.json deleted file mode 100644 index feba1db2..00000000 --- a/api-ref/source/samples/blacklists/update-blacklist-response.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "description": "Updated the description", - "links": { - "self": "http://127.0.0.1:9001/v2/blacklists/f26e22f8-619f-4738-9077-0586e7cb76bd" - }, - "pattern": "^examples\\.com\\.$", - "created_at": "2016-05-20 06:22:12", - "updated_at": "2016-05-20 06:41:34", - "id": "f26e22f8-619f-4738-9077-0586e7cb76bd" -} diff --git a/api-ref/source/samples/limits/get-limits-response.json b/api-ref/source/samples/limits/get-limits-response.json deleted file mode 100644 index fbe94e6e..00000000 --- a/api-ref/source/samples/limits/get-limits-response.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "max_page_limit": 1000, - "max_recordset_name_length": 255, - "max_recordset_records": 20, - "max_zone_name_length": 255, - "max_zone_records": 500, - "max_zone_recordsets": 500, - "max_zones": 10, - "min_ttl": null -} diff --git a/api-ref/source/samples/pools/list-pools-response.json b/api-ref/source/samples/pools/list-pools-response.json deleted file mode 100644 index 6db0e177..00000000 --- a/api-ref/source/samples/pools/list-pools-response.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "metadata": { - "total_count": 2 - }, - "links": { - "self": "http://127.0.0.1:9001/v2/pools" - }, - "pools": [ - { - "description": null, - "id": "794ccc2c-d751-44fe-b57f-8894c9f5c842", - "project_id": null, - "created_at": "2015-02-18T22:18:58.000000", - "attributes": null, - "ns_records": [ - { - "hostname": "ns1.example.org.", - "priority": 1 - } - ], - "links": { - "self": "http://127.0.0.1:9001/v2/pools/794ccc2c-d751-44fe-b57f-8894c9f5c842" - }, - "name": "default", - "updated_at": "2015-02-19T15:59:44.000000" - }, - { - "description": null, - "id": "d1716333-8c16-490f-85ee-29af36907605", - "project_id": "noauth-project", - "created_at": "2015-02-23T21:56:33.000000", - "attributes": null, - "ns_records": [ - { - "hostname": "ns2.example.org.", - "priority": 1 - } - ], - "links": { - "self": "http://127.0.0.1:9001/v2/pools/d1716333-8c16-490f-85ee-29af36907605" - }, - "name": "example_pool", - "updated_at": null - } - ] -} diff --git a/api-ref/source/samples/pools/show-pool-response.json b/api-ref/source/samples/pools/show-pool-response.json deleted file mode 100644 index 09bf9e67..00000000 --- a/api-ref/source/samples/pools/show-pool-response.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "description": null, - "id": "d1716333-8c16-490f-85ee-29af36907605", - "project_id": "noauth-project", - "created_at": "2015-02-23T21:56:33.000000", - "attributes": null, - "ns_records": [ - { - "hostname": "ns2.example.org.", - "priority": 1 - } - ], - "links": { - "self": "http://127.0.0.1:9001/v2/pools/d1716333-8c16-490f-85ee-29af36907605" - }, - "name": "example_pool", - "updated_at": null -} diff --git a/api-ref/source/samples/quotas/get-quotas-response.json b/api-ref/source/samples/quotas/get-quotas-response.json deleted file mode 100644 index db369623..00000000 --- a/api-ref/source/samples/quotas/get-quotas-response.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "api_export_size": 1000, - "recordset_records": 20, - "zone_records": 500, - "zone_recordsets": 500, - "zones": 100 -} diff --git a/api-ref/source/samples/quotas/set-quotas-request.json b/api-ref/source/samples/quotas/set-quotas-request.json deleted file mode 100644 index 5eb9ddc1..00000000 --- a/api-ref/source/samples/quotas/set-quotas-request.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "zones": 500 -} diff --git a/api-ref/source/samples/quotas/set-quotas-response.json b/api-ref/source/samples/quotas/set-quotas-response.json deleted file mode 100644 index db84b8f6..00000000 --- a/api-ref/source/samples/quotas/set-quotas-response.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "api_export_size": 1000, - "recordset_records": 20, - "zone_records": 500, - "zone_recordsets": 500, - "zones": 500 -} diff --git a/api-ref/source/samples/recordsets/create-mx-recordset-request.json b/api-ref/source/samples/recordsets/create-mx-recordset-request.json deleted file mode 100644 index 0029e7a4..00000000 --- a/api-ref/source/samples/recordsets/create-mx-recordset-request.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name" : "mail.example.org.", - "description" : "An MX recordset.", - "type" : "MX", - "ttl" : 3600, - "records" : [ - "10 mail1.example.org.", - "20 mail2.example.org.", - "30 mail3.example.org.", - "40 mail4.example.org." - ] -} diff --git a/api-ref/source/samples/recordsets/create-mx-recordset-response.json b/api-ref/source/samples/recordsets/create-mx-recordset-response.json deleted file mode 100644 index bf93e1f7..00000000 --- a/api-ref/source/samples/recordsets/create-mx-recordset-response.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "status": "PENDING", - "description": "An MX recordset.", - "links": { - "self": "http://127.0.0.1:9001/v2/zones/f6b472ed-1be8-47e8-87a7-687169cacca8/recordsets/c3c1f506-adcf-4751-ae5b-1c5ff00d2e1a" - }, - "created_at": "2016-06-21 06:34:36", - "updated_at": null, - "records": [ - "10 mail1.example.org.", - "30 mail3.example.org.", - "20 mail2.example.org.", - "40 mail4.example.org." - ], - "zone_id": "f6b472ed-1be8-47e8-87a7-687169cacca8", - "version": 1, - "ttl": 3600, - "action": "CREATE", - "zone_name": "example.org.", - "type": "MX", - "id": "c3c1f506-adcf-4751-ae5b-1c5ff00d2e1a", - "name": "mail.example.org." -} diff --git a/api-ref/source/samples/recordsets/create-recordset-request.json b/api-ref/source/samples/recordsets/create-recordset-request.json deleted file mode 100644 index ef5d50f0..00000000 --- a/api-ref/source/samples/recordsets/create-recordset-request.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name" : "example.org.", - "description" : "This is an example record set.", - "type" : "A", - "ttl" : 3600, - "records" : [ - "10.1.0.2" - ] -} diff --git a/api-ref/source/samples/recordsets/create-recordset-response.json b/api-ref/source/samples/recordsets/create-recordset-response.json deleted file mode 100644 index d961cca6..00000000 --- a/api-ref/source/samples/recordsets/create-recordset-response.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "description": "This is an example record set.", - "links": { - "self": "https://127.0.0.1:9001/v2/zones/2150b1bf-dee2-4221-9d85-11f7886fb15f/recordsets/f7b10e9b-0cae-4a91-b162-562bc6096648" - }, - "updated_at": null, - "records": [ - "10.1.0.2" - ], - "ttl": 3600, - "id": "f7b10e9b-0cae-4a91-b162-562bc6096648", - "name": "example.org.", - "project_id": "4335d1f0-f793-11e2-b778-0800200c9a66", - "zone_id": "2150b1bf-dee2-4221-9d85-11f7886fb15f", - "zone_name": "example.com.", - "created_at": "2014-10-24T19:59:44.000000", - "version": 1, - "type": "A", - "status": "PENDING", - "action": "CREATE" -} diff --git a/api-ref/source/samples/recordsets/create-spf-recordset-request.json b/api-ref/source/samples/recordsets/create-spf-recordset-request.json deleted file mode 100644 index 50b66400..00000000 --- a/api-ref/source/samples/recordsets/create-spf-recordset-request.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name" : "foospf.example.org.", - "description" : "An SPF recordset.", - "type" : "SPF", - "ttl" : 3600, - "records" : [ - "v=spf1 +all" - ] -} - diff --git a/api-ref/source/samples/recordsets/create-spf-recordset-response.json b/api-ref/source/samples/recordsets/create-spf-recordset-response.json deleted file mode 100644 index 4c28d8f2..00000000 --- a/api-ref/source/samples/recordsets/create-spf-recordset-response.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status": "PENDING", - "description": "An SPF recordset.", - "links": { - "self": "http://127.0.0.1:9001/v2/zones/f6b472ed-1be8-47e8-87a7-687169cacca8/recordsets/c05a6740-2602-4439-bb70-187dd6547c13" - }, - "created_at": "2016-06-21 12:31:44", - "updated_at": null, - "records": [ - "v=spf1 +all" - ], - "zone_id": "f6b472ed-1be8-47e8-87a7-687169cacca8", - "version": 1, - "ttl": 3600, - "action": "CREATE", - "zone_name": "example.org.", - "type": "SPF", - "id": "c05a6740-2602-4439-bb70-187dd6547c13", - "name": "foospf.example.org." -} diff --git a/api-ref/source/samples/recordsets/create-srv-recordset-request.json b/api-ref/source/samples/recordsets/create-srv-recordset-request.json deleted file mode 100644 index d2d3ad49..00000000 --- a/api-ref/source/samples/recordsets/create-srv-recordset-request.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name" : "_http._tcp.example.org.", - "description" : "An SRV recordset.", - "type" : "SRV", - "ttl" : 3600, - "records" : [ - "10 0 5060 www.example.org." - ] -} diff --git a/api-ref/source/samples/recordsets/create-srv-recordset-response.json b/api-ref/source/samples/recordsets/create-srv-recordset-response.json deleted file mode 100644 index c157bd22..00000000 --- a/api-ref/source/samples/recordsets/create-srv-recordset-response.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status": "PENDING", - "description": "An SRV recordset.", - "links": { - "self": "http://127.0.0.1:9001/v2/zones/f6b472ed-1be8-47e8-87a7-687169cacca8/recordsets/cc3299b3-c3cd-47e5-9876-8c1d4ad1b88e" - }, - "created_at": "2016-06-21 12:44:38", - "updated_at": null, - "records": [ - "10 0 5060 www.example.org." - ], - "zone_id": "f6b472ed-1be8-47e8-87a7-687169cacca8", - "version": 1, - "ttl": 3600, - "action": "CREATE", - "zone_name": "example.org.", - "type": "SRV", - "id": "cc3299b3-c3cd-47e5-9876-8c1d4ad1b88e", - "name": "_http._tcp.example.org." -} diff --git a/api-ref/source/samples/recordsets/create-sshfp-recordset-request.json b/api-ref/source/samples/recordsets/create-sshfp-recordset-request.json deleted file mode 100644 index ab2bf017..00000000 --- a/api-ref/source/samples/recordsets/create-sshfp-recordset-request.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name" : "foo.example.org.", - "description" : "An SSHFP recordset.", - "type" : "SSHFP", - "ttl" : 3600, - "records" : [ - "1 2 6467a09c59607b01fef22ef6918c44a2eaaa14a5e055cfe91bf614b5796d2df0" - ] -} diff --git a/api-ref/source/samples/recordsets/create-sshfp-recordset-response.json b/api-ref/source/samples/recordsets/create-sshfp-recordset-response.json deleted file mode 100644 index bc9a498e..00000000 --- a/api-ref/source/samples/recordsets/create-sshfp-recordset-response.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status": "ACTIVE", - "description": null, - "links": { - "self": "http://127.0.0.1:9001/v2/zones/f6b472ed-1be8-47e8-87a7-687169cacca8/recordsets/5fb9d67c-86ac-4ae9-80d5-4c23f7a16b29" - }, - "created_at": "2016-06-21 12:15:35", - "updated_at": null, - "records": [ - "2 1 75e080122854693164599205f49d7475ed17d09b" - ], - "zone_id": "f6b472ed-1be8-47e8-87a7-687169cacca8", - "version": 1, - "ttl": 3600, - "action": "NONE", - "zone_name": "example.org.", - "type": "SSHFP", - "id": "5fb9d67c-86ac-4ae9-80d5-4c23f7a16b29", - "name": "foo.example.org." -} diff --git a/api-ref/source/samples/recordsets/delete-recordset-response.json b/api-ref/source/samples/recordsets/delete-recordset-response.json deleted file mode 100644 index d523320e..00000000 --- a/api-ref/source/samples/recordsets/delete-recordset-response.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "description": "Updated description", - "links": { - "self": "https://127.0.0.1:9001/v2/zones/2150b1bf-dee2-4221-9d85-11f7886fb15f/recordsets/f7b10e9b-0cae-4a91-b162-562bc6096648" - }, - "updated_at": null, - "records": [ - "10.1.0.2", - "10.1.0.3", - ], - "ttl": null, - "id": "f7b10e9b-0cae-4a91-b162-562bc6096648", - "name": "example.org.", - "project_id": "4335d1f0-f793-11e2-b778-0800200c9a66", - "zone_id": "2150b1bf-dee2-4221-9d85-11f7886fb15f", - "zone_name": "example.com.", - "created_at": "2014-10-24T19:59:44.000000", - "version": 2, - "type": "A", - "status": "PENDING", - "action": "DELETE" -} diff --git a/api-ref/source/samples/recordsets/list-all-recordset-response.json b/api-ref/source/samples/recordsets/list-all-recordset-response.json deleted file mode 100644 index 61e755ae..00000000 --- a/api-ref/source/samples/recordsets/list-all-recordset-response.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "recordsets": [ - { - "description": "This is an example record set.", - "links": { - "self": "https://127.0.0.1:9001/v2/zones/2150b1bf-dee2-4221-9d85-11f7886fb15f/recordsets/f7b10e9b-0cae-4a91-b162-562bc6096648" - }, - "updated_at": null, - "records": [ - "10.1.0.2" - ], - "ttl": 3600, - "id": "f7b10e9b-0cae-4a91-b162-562bc6096648", - "name": "example.org.", - "project_id": "4335d1f0-f793-11e2-b778-0800200c9a66", - "zone_id": "2150b1bf-dee2-4221-9d85-11f7886fb15f", - "zone_name": "example.com.", - "created_at": "2014-10-24T19:59:44.000000", - "version": 1, - "type": "A", - "status": "PENDING", - "action": "CREATE" - } - ], - "links": { - "self": "http://127.0.0.1:9001/v2/recordsets?limit=1", - "next": "http://127.0.0.1:9001/v2/recordsets?limit=1&marker=45fd892d-7a67-4f65-9df0-87273f228d6c" - }, - "metadata": { - "total_count": 2 - } -} diff --git a/api-ref/source/samples/recordsets/list-recordset-in-zone-response.json b/api-ref/source/samples/recordsets/list-recordset-in-zone-response.json deleted file mode 100644 index 6897115a..00000000 --- a/api-ref/source/samples/recordsets/list-recordset-in-zone-response.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "recordsets": [ - { - "description": "This is an example record set.", - "links": { - "self": "https://127.0.0.1:9001/v2/zones/2150b1bf-dee2-4221-9d85-11f7886fb15f/recordsets/f7b10e9b-0cae-4a91-b162-562bc6096648" - }, - "updated_at": null, - "records": [ - "10.1.0.2" - ], - "ttl": 3600, - "id": "f7b10e9b-0cae-4a91-b162-562bc6096648", - "name": "example.org.", - "project_id": "4335d1f0-f793-11e2-b778-0800200c9a66", - "zone_id": "2150b1bf-dee2-4221-9d85-11f7886fb15f", - "zone_name": "example.com.", - "created_at": "2014-10-24T19:59:44.000000", - "version": 1, - "type": "A", - "status": "PENDING", - "action": "CREATE" - } - ], - "links": { - "self": "http://127.0.0.1:9001/v2/zones/2150b1bf-dee2-4221-9d85-11f7886fb15f/recordsets?limit=1", - "next": "http://127.0.0.1:9001/v2/zones/2150b1bf-dee2-4221-9d85-11f7886fb15f/recordsets?limit=1&marker=45fd892d-7a67-4f65-9df0-87273f228d6c" - }, - "metadata": { - "total_count": 2 - } -} diff --git a/api-ref/source/samples/recordsets/show-recordset-response.json b/api-ref/source/samples/recordsets/show-recordset-response.json deleted file mode 100644 index dd58696f..00000000 --- a/api-ref/source/samples/recordsets/show-recordset-response.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "description": "This is an example record set.", - "links": { - "self": "https://127.0.0.1:9001/v2/zones/2150b1bf-dee2-4221-9d85-11f7886fb15f/recordsets/f7b10e9b-0cae-4a91-b162-562bc6096648" - }, - "updated_at": null, - "records": [ - "10.1.0.2" - ], - "ttl": 3600, - "id": "f7b10e9b-0cae-4a91-b162-562bc6096648", - "name": "example.org.", - "project_id": "4335d1f0-f793-11e2-b778-0800200c9a66", - "zone_id": "2150b1bf-dee2-4221-9d85-11f7886fb15f", - "zone_name": "example.com.", - "created_at": "2014-10-24T19:59:44.000000", - "version": 1, - "type": "A", - "status": "ACTIVE", - "action": "NONE" -} diff --git a/api-ref/source/samples/recordsets/update-recordset-request.json b/api-ref/source/samples/recordsets/update-recordset-request.json deleted file mode 100644 index ee611ad0..00000000 --- a/api-ref/source/samples/recordsets/update-recordset-request.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "description" : "Updated description", - "ttl" : null, - "records" : [ - "10.1.0.2", - "10.1.0.3" - ] -} diff --git a/api-ref/source/samples/recordsets/update-recordset-response.json b/api-ref/source/samples/recordsets/update-recordset-response.json deleted file mode 100644 index 302705fc..00000000 --- a/api-ref/source/samples/recordsets/update-recordset-response.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "description": "Updated description", - "links": { - "self": "https://127.0.0.1:9001/v2/zones/2150b1bf-dee2-4221-9d85-11f7886fb15f/recordsets/f7b10e9b-0cae-4a91-b162-562bc6096648" - }, - "updated_at": null, - "records": [ - "10.1.0.2", - "10.1.0.3" - ], - "ttl": null, - "id": "f7b10e9b-0cae-4a91-b162-562bc6096648", - "name": "example.org.", - "project_id": "4335d1f0-f793-11e2-b778-0800200c9a66", - "zone_id": "2150b1bf-dee2-4221-9d85-11f7886fb15f", - "zone_name": "example.com.", - "created_at": "2014-10-24T19:59:44.000000", - "version": 2, - "type": "A", - "status": "PENDING", - "action": "UPDATE" -} diff --git a/api-ref/source/samples/reverse_floatingips/list-ptr-record-response.json b/api-ref/source/samples/reverse_floatingips/list-ptr-record-response.json deleted file mode 100644 index 8c1575d3..00000000 --- a/api-ref/source/samples/reverse_floatingips/list-ptr-record-response.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "links": { - "self": "http://127.0.0.1:9001/v2/reverse/floatingips" - }, - "floatingips": [ - { - "status": "ACTIVE", - "ptrdname": "smtp.example.com.", - "description": null, - "links": { - "self": "http://127.0.0.1:9001/v2/reverse/floatingips/RegionOne:c5742ac0-d0f3-4304-a039-9423f727eb96" - }, - "ttl": 600, - "address": "172.24.4.10", - "action": "NONE", - "id": "RegionOne:c5742ac0-d0f3-4304-a039-9423f727eb96" - }, - { - "status": "ACTIVE", - "ptrdname": "tftp.example.com.", - "description": null, - "links": { - "self": "http://127.0.0.1:9001/v2/reverse/floatingips/RegionOne:9860717d-3da6-43df-a0ec-fa8b0e71ea86" - }, - "ttl": 600, - "address": "172.24.4.6", - "action": "NONE", - "id": "RegionOne:9860717d-3da6-43df-a0ec-fa8b0e71ea86" - } - ] -} diff --git a/api-ref/source/samples/reverse_floatingips/ptr-record-response.json b/api-ref/source/samples/reverse_floatingips/ptr-record-response.json deleted file mode 100644 index 4c0a2a6c..00000000 --- a/api-ref/source/samples/reverse_floatingips/ptr-record-response.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "status": "PENDING", - "ptrdname": "smtp.example.com.", - "description": "This is a floating ip for 127.0.0.1", - "links": { - "self": "http://127.0.0.1:9001/v2/reverse/floatingips/RegionOne:c5742ac0-d0f3-4304-a039-9423f727eb96" - }, - "ttl": 600, - "address": "172.24.4.10", - "action": "CREATE", - "id": "RegionOne:c5742ac0-d0f3-4304-a039-9423f727eb96" -} - diff --git a/api-ref/source/samples/reverse_floatingips/set-ptr-record-request.json b/api-ref/source/samples/reverse_floatingips/set-ptr-record-request.json deleted file mode 100644 index 37528856..00000000 --- a/api-ref/source/samples/reverse_floatingips/set-ptr-record-request.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "ptrdname" : "smtp.example.com.", - "description" : "This is a floating ip for 10.0.0.8", - "ttl": 600 -} diff --git a/api-ref/source/samples/reverse_floatingips/unset-ptr-record-request.json b/api-ref/source/samples/reverse_floatingips/unset-ptr-record-request.json deleted file mode 100644 index 7a213893..00000000 --- a/api-ref/source/samples/reverse_floatingips/unset-ptr-record-request.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "ptrdname": null -} diff --git a/api-ref/source/samples/service_status/service_status_list.json b/api-ref/source/samples/service_status/service_status_list.json deleted file mode 100644 index e1fd684d..00000000 --- a/api-ref/source/samples/service_status/service_status_list.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "service_statuses": [ - { - "links": { - "self": "http://127.0.0.1:9001/v2/service_status/af91edb5-ede8-453f-af13-feabdd088f9c" - }, - "hostname": "dns-2.example.com.", - "status": "UP", - "service_name": "api", - "stats": null, - "capabilities": null, - "created_at": "2016-05-20 06:15:42", - "heartbeated_at": "2016-07-20 12:14:41", - "id": "af91edb5-ede8-453f-af13-feabdd088f9c" - } - ], - "links": { - "self": "http://127.0.0.1:9001/v2/service_status" - } -} diff --git a/api-ref/source/samples/tlds/create-tld-request.json b/api-ref/source/samples/tlds/create-tld-request.json deleted file mode 100644 index b0fba1c0..00000000 --- a/api-ref/source/samples/tlds/create-tld-request.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name" : "com", - "description" : "tld description" -} diff --git a/api-ref/source/samples/tlds/list-tlds-response.json b/api-ref/source/samples/tlds/list-tlds-response.json deleted file mode 100644 index a288970b..00000000 --- a/api-ref/source/samples/tlds/list-tlds-response.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "tlds": [ - { - "name": "edu", - "links": { - "self": "http://127.0.0.1:9001/v2/tlds/a7bba387-712b-4b42-9368-4508642c6113" - }, - "created_at": "2016-05-10 05:21:40", - "updated_at": null, - "id": "a7bba387-712b-4b42-9368-4508642c6113", - "description": "demo TLD" - }, - { - "name": "com", - "links": { - "self": "http://127.0.0.1:9001/v2/tlds/cfee7486-7ce4-4851-9c38-7b0fe3d42ee9" - }, - "created_at": "2016-05-18 05:07:58", - "updated_at": null, - "id": "cfee7486-7ce4-4851-9c38-7b0fe3d42ee9", - "description": "tld description" - } - ], - "links": {"self": "http://127.0.0.1:9001/v2/tlds" - } -} diff --git a/api-ref/source/samples/tlds/tld-response.json b/api-ref/source/samples/tlds/tld-response.json deleted file mode 100644 index 45875a6c..00000000 --- a/api-ref/source/samples/tlds/tld-response.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "com", - "links": { - "self": "http://127.0.0.1:9001/v2/tlds/cfee7486-7ce4-4851-9c38-7b0fe3d42ee9" - }, - "created_at": "2016-05-18 05:07:58", - "updated_at": null, - "id": "cfee7486-7ce4-4851-9c38-7b0fe3d42ee9", - "description": "tld description" -} diff --git a/api-ref/source/samples/tlds/update-tld-request.json b/api-ref/source/samples/tlds/update-tld-request.json deleted file mode 100644 index f6b96247..00000000 --- a/api-ref/source/samples/tlds/update-tld-request.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name" : "org", - "description" : "Updated the name from com to org" -} diff --git a/api-ref/source/samples/tlds/update-tld-response.json b/api-ref/source/samples/tlds/update-tld-response.json deleted file mode 100644 index a66bf0cb..00000000 --- a/api-ref/source/samples/tlds/update-tld-response.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "org", - "links": { - "self": "http://127.0.0.1:9001/v2/tlds/cfee7486-7ce4-4851-9c38-7b0fe3d42ee9" - }, - "created_at": "2016-05-18 05:07:58", - "updated_at": "2016-05-18 05:45:24", - "id": "cfee7486-7ce4-4851-9c38-7b0fe3d42ee9", - "description": "Updated the name from com to org" -} diff --git a/api-ref/source/samples/tsigkeys/create-tsigkey-request.json b/api-ref/source/samples/tsigkeys/create-tsigkey-request.json deleted file mode 100644 index 42b31a4f..00000000 --- a/api-ref/source/samples/tsigkeys/create-tsigkey-request.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "Example key", - "algorithm": "hmac-sha256", - "secret": "SomeSecretKey", - "scope": "POOL", - "resource_id": "d96851d0-765c-4ee9-bbdf-153345270bd3" -} diff --git a/api-ref/source/samples/tsigkeys/list-tsigkeys-response.json b/api-ref/source/samples/tsigkeys/list-tsigkeys-response.json deleted file mode 100644 index 45696f42..00000000 --- a/api-ref/source/samples/tsigkeys/list-tsigkeys-response.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "tsigkeys": [ - { - "links": { - "self": "http://127.0.0.1:9001/v2/tsigkeys/f94d03ca-bd55-4321-8e93-8d363737ab5c" - }, - "name": "Example key", - "algorithm": "hmac-sha256", - "resource_id": "5866274f-ee8d-42ee-94f9-29000f040949", - "created_at": "2016-04-19 18:52:54", - "updated_at": null, - "secret": "some secret key", - "scope": "POOL", - "id": "f94d03ca-bd55-4321-8e93-8d363737ab5c" - }, - { - "links": { - "self": "http://127.0.0.1:9001/v2/tsigkeys/6bba6f00-dc33-4665-bb37-15f6188bb305" - }, - "name": "Example key2", - "algorithm": "hmac-sha256", - "resource_id": "8a5ba22a-347e-4e92-9747-d2c3e67fbb45", - "created_at": "2016-05-19 02:17:54", - "updated_at": null, - "secret": "SomeSecretKey", - "scope": "POOL", - "id": "6bba6f00-dc33-4665-bb37-15f6188bb305" - }, - { - "links": { - "self": "http://127.0.0.1:9001/v2/tsigkeys/c429b860-9f68-4e5f-a2ff-65760a64ceaa" - }, - "name": "Example key3", - "algorithm": "hmac-sha256", - "resource_id": "d96851d0-765c-4ee9-bbdf-153345270bd3", - "created_at": "2016-05-19 05:52:45", - "updated_at": null, - "secret": "SomeSecretKey", "scope": "POOL", - "id": "c429b860-9f68-4e5f-a2ff-65760a64ceaa" - } - ], - "links": { - "self": "http://127.0.0.1:9001/v2/tsigkeys" - } -} diff --git a/api-ref/source/samples/tsigkeys/tsigkey-response.json b/api-ref/source/samples/tsigkeys/tsigkey-response.json deleted file mode 100644 index 7917552b..00000000 --- a/api-ref/source/samples/tsigkeys/tsigkey-response.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "links": { - "self": "http://127.0.0.1:9001/v2/tsigkeys/c429b860-9f68-4e5f-a2ff-65760a64ceaa" - }, - "name": "Example key", - "algorithm": "hmac-sha256", - "resource_id": "d96851d0-765c-4ee9-bbdf-153345270bd3", - "created_at": "2016-05-19 05:52:45", - "updated_at": null, - "secret": "SomeSecretKey", - "scope": "POOL", - "id": "c429b860-9f68-4e5f-a2ff-65760a64ceaa" -} diff --git a/api-ref/source/samples/tsigkeys/update-tsigkey-request.json b/api-ref/source/samples/tsigkeys/update-tsigkey-request.json deleted file mode 100644 index 253fee6e..00000000 --- a/api-ref/source/samples/tsigkeys/update-tsigkey-request.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "example_tsigkey", - "scope": "ZONE" -} diff --git a/api-ref/source/samples/tsigkeys/update-tsigkey-response.json b/api-ref/source/samples/tsigkeys/update-tsigkey-response.json deleted file mode 100644 index b681c7fb..00000000 --- a/api-ref/source/samples/tsigkeys/update-tsigkey-response.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "links": { - "self": "http://127.0.0.1:9001/v2/tsigkeys/c429b860-9f68-4e5f-a2ff-65760a64ceaa" - }, - "name": "example_tsigkey", - "algorithm": "hmac-sha256", - "resource_id": "d96851d0-765c-4ee9-bbdf-153345270bd3", - "created_at": "2016-05-19 05:52:45", - "updated_at": "2016-05-19 06:29:14", - "secret": "SomeSecretKey", - "scope": "ZONE", - "id": "c429b860-9f68-4e5f-a2ff-65760a64ceaa" -} diff --git a/api-ref/source/samples/versions/get-versions-response.json b/api-ref/source/samples/versions/get-versions-response.json deleted file mode 100644 index 3c961549..00000000 --- a/api-ref/source/samples/versions/get-versions-response.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "versions": { - "values": [ - { - "id": "v1", - "links": [ - { - "href": "http://127.0.0.1:9001/v1", - "rel": "self" - } - ], - "status": "DEPRECATED" - }, - { - "id": "v2", - "links": [ - { - "href": "http://127.0.0.1:9001/v2", - "rel": "self" - } - ], - "status": "CURRENT" - } - ] - } -} diff --git a/api-ref/source/samples/zones/create-zone-export-response.json b/api-ref/source/samples/zones/create-zone-export-response.json deleted file mode 100644 index 5c1d55e0..00000000 --- a/api-ref/source/samples/zones/create-zone-export-response.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "status": "PENDING", - "zone_id": "074e805e-fe87-4cbb-b10b-21a06e215d41", - "links": { - "self": "http://127.0.0.1:9001/v2/zones/tasks/exports/8ec17fe1-d1f9-41b4-aa98-4eeb4c27b720" - }, - "created_at": "2015-08-27T20:57:03.000000", - "updated_at": null, - "version": 1, - "location": null, - "message": null, - "project_id": "1", - "id": "8ec17fe1-d1f9-41b4-aa98-4eeb4c27b720" -} diff --git a/api-ref/source/samples/zones/create-zone-import-response.json b/api-ref/source/samples/zones/create-zone-import-response.json deleted file mode 100644 index 1db2dd55..00000000 --- a/api-ref/source/samples/zones/create-zone-import-response.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "status": "PENDING", - "zone_id": null, - "links": { - "self": "http://127.0.0.1:9001/v2/zones/tasks/imports/074e805e-fe87-4cbb-b10b-21a06e215d41" - }, - "created_at": "2015-05-08T15:43:42.000000", - "updated_at": null, - "version": 1, - "message": null, - "project_id": "1", - "id": "074e805e-fe87-4cbb-b10b-21a06e215d41" -} diff --git a/api-ref/source/samples/zones/create-zone-request.json b/api-ref/source/samples/zones/create-zone-request.json deleted file mode 100644 index f6586a62..00000000 --- a/api-ref/source/samples/zones/create-zone-request.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "example.org.", - "email": "joe@example.org", - "type": "PRIMARY", - "ttl": 7200, - "description": "This is an example zone." -} diff --git a/api-ref/source/samples/zones/create-zone-transfer-accept-request.json b/api-ref/source/samples/zones/create-zone-transfer-accept-request.json deleted file mode 100644 index 37ab2b72..00000000 --- a/api-ref/source/samples/zones/create-zone-transfer-accept-request.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "key":"FUGXMZ5N", - "zone_transfer_request_id":"794fdf58-6e1d-41da-8b2d-16b6d10c8827" -} diff --git a/api-ref/source/samples/zones/create-zone-transfer-accept-response.json b/api-ref/source/samples/zones/create-zone-transfer-accept-response.json deleted file mode 100644 index df8c0a60..00000000 --- a/api-ref/source/samples/zones/create-zone-transfer-accept-response.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "status": "COMPLETE", - "zone_id": "b4542f5a-f1ea-4ec1-b850-52db9dc3f465", - "links": { - "self": "http://10.0.4.46:9001/v2/zones/tasks/transfer_accepts/fe8c30f5-42f6-4af1-8cbf-e31a810d8c33", - "zone": "http://10.0.4.46:9001/v2/zones/b4542f5a-f1ea-4ec1-b850-52db9dc3f465" - }, - "created_at": "2016-06-22 06:13:55", - "updated_at": "null", - "key": "FUGXMZ5N", - "project_id": "2e43de7ce3504a8fb90a45382532c37e", - "id": "fe8c30f5-42f6-4af1-8cbf-e31a810d8c33", - "zone_transfer_request_id": "794fdf58-6e1d-41da-8b2d-16b6d10c8827" -} diff --git a/api-ref/source/samples/zones/create-zone-transfer-request-request.json b/api-ref/source/samples/zones/create-zone-transfer-request-request.json deleted file mode 100644 index 670e1c8f..00000000 --- a/api-ref/source/samples/zones/create-zone-transfer-request-request.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "project_id": "1" -} diff --git a/api-ref/source/samples/zones/create-zone-transfer-request-response.json b/api-ref/source/samples/zones/create-zone-transfer-request-response.json deleted file mode 100644 index 90d6a350..00000000 --- a/api-ref/source/samples/zones/create-zone-transfer-request-response.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "created_at": "2014-07-17T20:34:40.882579", - "description": null, - "id": "f2ad17b5-807a-423f-a991-e06236c247be", - "key": "9Z2R50Y0", - "project_id": "1", - "status": "ACTIVE", - "target_project_id": "123456", - "updated_at": null, - "zone_id": "6b78734a-aef1-45cd-9708-8eb3c2d26ff8", - "zone_name": "qa.dev.example.com.", - "links": { - "self": "http://127.0.0.1:9001/v2/zones/tasks/transfer_requests/f2ad17b5-807a-423f-a991-e06236c247be" - } -} diff --git a/api-ref/source/samples/zones/delete-zone-response.json b/api-ref/source/samples/zones/delete-zone-response.json deleted file mode 100644 index 09c34505..00000000 --- a/api-ref/source/samples/zones/delete-zone-response.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "id": "a86dba58-0043-4cc6-a1bb-69d5e86f3ca3", - "pool_id": "572ba08c-d929-4c70-8e42-03824bb24ca2", - "project_id": "4335d1f0-f793-11e2-b778-0800200c9a66", - "name": "example.org.", - "email": "joe@example.org", - "ttl": 600, - "serial": 1404757531, - "status": "PENDING", - "action": "DELETE", - "description": "Updated Description", - "masters": [], - "type": "PRIMARY", - "transferred_at": null, - "version": 1, - "created_at": "2014-07-07T18:25:31.275934", - "updated_at": null, - "links": { - "self": "https://127.0.0.1:9001/v2/zones/a86dba58-0043-4cc6-a1bb-69d5e86f3ca3" - } -} diff --git a/api-ref/source/samples/zones/list-zone-export-response.json b/api-ref/source/samples/zones/list-zone-export-response.json deleted file mode 100644 index 820673e6..00000000 --- a/api-ref/source/samples/zones/list-zone-export-response.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - - "exports": [ - { - "status": "COMPLETE", - "zone_id": "17a8d6b3-6ace-4857-b113-a707c5f975b1", - "links": { - "self": "http://127.0.0.1:9001/v2/zones/tasks/exports/204be410-0a9c-44b8-839e-bc4df3bb0d9a", - "export": "http://127.0.0.1:9001/v2/zones/tasks/exports/204be410-0a9c-44b8-839e-bc4df3bb0d9a/export" - }, - "created_at": "2016-04-04T01:53:29.000000", - "updated_at": "2016-04-04T01:53:29.000000", - "version": 2, - "location": "designate://v2/zones/tasks/exports/204be410-0a9c-44b8-839e-bc4df3bb0d9a/export", - "message": null, - "project_id": "1de6e2fdc22342d3bef6340c7b70f497", - "id": "204be410-0a9c-44b8-839e-bc4df3bb0d9a" - } - ], - "links": { - "self": "http://127.0.0.1:9001/v2/zones/tasks/exports" - }, - "metadata": { - "total_count": 1 - } -} diff --git a/api-ref/source/samples/zones/list-zone-import-response.json b/api-ref/source/samples/zones/list-zone-import-response.json deleted file mode 100644 index b421c065..00000000 --- a/api-ref/source/samples/zones/list-zone-import-response.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "imports": [ - { - "status": "COMPLETE", - "zone_id": "047888ee-e9dd-4c08-8b44-ab2e879e01bd", - "links": { - "self": "http://127.0.0.1:9001/v2/zones/tasks/imports/0436a86e-ffc1-4d38-82a7-d75170fcd2a9", - "href": "http://127.0.0.1:9001/v2/zones/047888ee-e9dd-4c08-8b44-ab2e879e01bd" - }, - "created_at": "2016-04-05T06:03:06.000000", - "updated_at": "2016-04-05T06:03:06.000000", - "version": 2, - "message": "example.com. imported", - "project_id": "1de6e2fdc22342d3bef6340c7b70f497", - "id": "0436a86e-ffc1-4d38-82a7-d75170fcd2a9" - }, - { - "status": "COMPLETE", - "zone_id": "68a17870-7f81-470a-b5e9-2753460fd6dc", - "links": { - "self": "http://127.0.0.1:9001/v2/zones/tasks/imports/f0aa4ac1-f975-46a4-b417-339acd1ea8e3", - "href": "http://127.0.0.1:9001/v2/zones/68a17870-7f81-470a-b5e9-2753460fd6dc" - }, - "created_at": "2016-04-05T06:06:26.000000", - "updated_at": "2016-04-05T06:06:26.000000", - "version": 2, - "message": "temp.org. imported", - "project_id": "1de6e2fdc22342d3bef6340c7b70f497", - "id": "f0aa4ac1-f975-46a4-b417-339acd1ea8e3" - } - ], - "links": { - "self": "http://127.0.0.1:9001/v2/zones/tasks/imports" - }, - "metadata": { - "total_count": 2 - } -} diff --git a/api-ref/source/samples/zones/list-zone-transfer-accept-response.json b/api-ref/source/samples/zones/list-zone-transfer-accept-response.json deleted file mode 100644 index 24b13040..00000000 --- a/api-ref/source/samples/zones/list-zone-transfer-accept-response.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "metadata": { - "total_count": 2 - }, - "links": { - "self": "http://127.0.0.1:9001/v2/zones/tasks/transfer_accepts" - }, - "transfer_accepts": [{ - "status": "COMPLETE", - "zone_id": "8db93d1a-59e3-4143-a393-5821abea0a46", - "links": { - "self": "http://127.0.0.1:9001/v2/zones/tasks/transfer_accepts/afb4222b-18b3-44b3-9f54-e0dfdba1be44", - "zone": "http://127.0.0.1:9001/v2/zones/8db93d1a-59e3-4143-a393-5821abea0a46" - }, - "created_at": "2016-06-01 05:35:35", - "updated_at": "2016-06-01 05:35:35", - "key": null, - "project_id": "85604ecfb5334b50bd40ca53fc1d710f", - "id": "afb4222b-18b3-44b3-9f54-e0dfdba1be44", - "zone_transfer_request_id": "d223f7ef-77a6-459e-abd3-b4dbc97338e7" - }, - { - "status": "COMPLETE", - "zone_id": "925bfc45-8901-4aca-aa12-18afaf0879e2", - "links": { - "self": "http://127.0.0.1:9001/v2/zones/tasks/transfer_accepts/ecbc7091-c498-4ec4-9893-68b06297fe50", - "zone": "http://127.0.0.1:9001/v2/zones/925bfc45-8901-4aca-aa12-18afaf0879e2" - }, - "created_at": "2016-06-01 10:06:36", - "updated_at": "2016-06-01 10:06:37", - "key": null, - "project_id": "85604ecfb5334b50bd40ca53fc1d710f", - "id": "ecbc7091-c498-4ec4-9893-68b06297fe50", - "zone_transfer_request_id": "94cf9bd3-4137-430b-bf75-4e690430258c" - } - ] -} diff --git a/api-ref/source/samples/zones/list-zone-transfer-request-response.json b/api-ref/source/samples/zones/list-zone-transfer-request-response.json deleted file mode 100644 index 2f74d051..00000000 --- a/api-ref/source/samples/zones/list-zone-transfer-request-response.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "transfer_requests": [ - { - "created_at": "2014-07-17T20:34:40.882579", - "description": "This was created by the requesting project", - "id": "f2ad17b5-807a-423f-a991-e06236c247be", - "key": "9Z2R50Y0", - "project_id": "1", - "status": "ACTIVE", - "target_project_id": "123456", - "updated_at": null, - "zone_id": "6b78734a-aef1-45cd-9708-8eb3c2d26ff8", - "zone_name": "qa.dev.example.com.", - "links": { - "self": "http://127.0.0.1:9001/v2/zones/tasks/transfer_requests/f2ad17b5-807a-423f-a991-e06236c247be" - } - }, - { - "description": "This is scoped to the requesting project", - "id": "efd2d720-b0c4-43d4-99f7-d9b53e08860d", - "zone_id": "2c4d5e37-f823-4bee-9859-031cb44f80e7", - "zone_name": "subdomain.example.com.", - "status": "ACTIVE", - "links": { - "self": "http://127.0.0.1:9001/v2/zones/tasks/transfer_requests/efd2d720-b0c4-43d4-99f7-d9b53e08860d" - } - } - ], - "links": { - "self": "http://127.0.0.1:9001/v2/zones/tasks/transfer_requests" - } -} diff --git a/api-ref/source/samples/zones/list-zones-response.json b/api-ref/source/samples/zones/list-zones-response.json deleted file mode 100644 index c1d50782..00000000 --- a/api-ref/source/samples/zones/list-zones-response.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "zones": [ - { - "id": "a86dba58-0043-4cc6-a1bb-69d5e86f3ca3", - "pool_id": "572ba08c-d929-4c70-8e42-03824bb24ca2", - "project_id": "4335d1f0-f793-11e2-b778-0800200c9a66", - "name": "example.org.", - "email": "joe@example.org", - "ttl": 7200, - "serial": 1404757531, - "status": "ACTIVE", - "action": "CREATE", - "description": "This is an example zone.", - "masters": [], - "type": "PRIMARY", - "transferred_at": null, - "version": 1, - "created_at": "2014-07-07T18:25:31.275934", - "updated_at": null, - "links": { - "self": "https://127.0.0.1:9001/v2/zones/a86dba58-0043-4cc6-a1bb-69d5e86f3ca3" - } - } - ], - "links": { - "self": "http://127.0.0.1:9001/v2/zones?limit=1", - "next": "http://127.0.0.1:9001/v2/zones?limit=1&marker=45fd892d-7a67-4f65-9df0-87273f228d6c" - }, - "metadata": { - "total_count": 2 - } -} diff --git a/api-ref/source/samples/zones/show-zone-export-content.txt b/api-ref/source/samples/zones/show-zone-export-content.txt deleted file mode 100644 index fbaca62b..00000000 --- a/api-ref/source/samples/zones/show-zone-export-content.txt +++ /dev/null @@ -1,18 +0,0 @@ -$ORIGIN example.com. -$TTL 42 - -example.com. IN SOA ns.designate.com. nsadmin.example.com. ( - 1394213803 ; serial - 3600 ; refresh - 600 ; retry - 86400 ; expire - 3600 ; minimum -) - - -example.com. IN NS ns.designate.com. - - -example.com. IN MX 10 mail.example.com. -ns.example.com. IN A 10.0.0.1 -mail.example.com. IN A 10.0.0.2 diff --git a/api-ref/source/samples/zones/show-zone-export-response.json b/api-ref/source/samples/zones/show-zone-export-response.json deleted file mode 100644 index 88066867..00000000 --- a/api-ref/source/samples/zones/show-zone-export-response.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "status": "COMPLETE", - "zone_id": "6625198b-d67d-47dc-8d29-f90bd60f3ac4", - "links": { - "self": "http://127.0.0.1:9001/v2/zones/tasks/exports/8ec17fe1-d1f9-41b4-aa98-4eeb4c27b720", - "export": "http://127.0.0.1:9001/v2/zones/tasks/exports/8ec17fe1-d1f9-41b4-aa98-4eeb4c27b720/export" - }, - "created_at": "2015-08-27T20:57:03.000000", - "updated_at": "2015-08-27T20:57:03.000000", - "version": 2, - "location": "designate://v2/zones/tasks/exports/8ec17fe1-d1f9-41b4-aa98-4eeb4c27b720/export", - "message": null, - "project_id": "noauth-project", - "id": "8ec17fe1-d1f9-41b4-aa98-4eeb4c27b720" -} diff --git a/api-ref/source/samples/zones/show-zone-import-response.json b/api-ref/source/samples/zones/show-zone-import-response.json deleted file mode 100644 index f23e8260..00000000 --- a/api-ref/source/samples/zones/show-zone-import-response.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "status": "COMPLETE", - "zone_id": "6625198b-d67d-47dc-8d29-f90bd60f3ac4", - "links": { - "self": "http://127.0.0.1:9001/v2/zones/tasks/imports/074e805e-fe87-4cbb-b10b-21a06e215d41", - "href": "http://127.0.0.1:9001/v2/zones/6625198b-d67d-47dc-8d29-f90bd60f3ac4" - }, - "created_at": "2015-05-08T15:43:42.000000", - "updated_at": "2015-05-08T15:43:42.000000", - "version": 2, - "message": "example.com. imported", - "project_id": "noauth-project", - "id": "074e805e-fe87-4cbb-b10b-21a06e215d41" -} diff --git a/api-ref/source/samples/zones/show-zone-nameservers-response.json b/api-ref/source/samples/zones/show-zone-nameservers-response.json deleted file mode 100644 index 7928fe8c..00000000 --- a/api-ref/source/samples/zones/show-zone-nameservers-response.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "nameservers": [ - { - "hostname": "ns1.example.com.", - "priority": 10 - } - ] -} diff --git a/api-ref/source/samples/zones/show-zone-transfer-request-response.json b/api-ref/source/samples/zones/show-zone-transfer-request-response.json deleted file mode 100644 index c81b9941..00000000 --- a/api-ref/source/samples/zones/show-zone-transfer-request-response.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "description": "This is scoped to the requesting project", - "id": "efd2d720-b0c4-43d4-99f7-d9b53e08860d", - "zone_id": "2c4d5e37-f823-4bee-9859-031cb44f80e7", - "zone_name": "subdomain.example.com.", - "status": "ACTIVE", - "links": { - "self": "http://127.0.0.1:9001/v2/zones/tasks/transfer_requests/efd2d720-b0c4-43d4-99f7-d9b53e08860d" - } -} diff --git a/api-ref/source/samples/zones/update-zone-request.json b/api-ref/source/samples/zones/update-zone-request.json deleted file mode 100644 index 81ef6245..00000000 --- a/api-ref/source/samples/zones/update-zone-request.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "ttl": 600, - "description": "Updated Description" -} diff --git a/api-ref/source/samples/zones/update-zone-response.json b/api-ref/source/samples/zones/update-zone-response.json deleted file mode 100644 index 8bda1990..00000000 --- a/api-ref/source/samples/zones/update-zone-response.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "id": "a86dba58-0043-4cc6-a1bb-69d5e86f3ca3", - "pool_id": "572ba08c-d929-4c70-8e42-03824bb24ca2", - "project_id": "4335d1f0-f793-11e2-b778-0800200c9a66", - "name": "example.org.", - "email": "joe@example.org", - "ttl": 600, - "serial": 1404757531, - "status": "PENDING", - "action": "UPDATE", - "description": "Updated Description", - "masters": [], - "type": "PRIMARY", - "transferred_at": null, - "version": 1, - "created_at": "2014-07-07T18:25:31.275934", - "updated_at": null, - "links": { - "self": "https://127.0.0.1:9001/v2/zones/a86dba58-0043-4cc6-a1bb-69d5e86f3ca3" - } -} diff --git a/api-ref/source/samples/zones/update-zone-transfer-request-request.json b/api-ref/source/samples/zones/update-zone-transfer-request-request.json deleted file mode 100644 index 5043cb9f..00000000 --- a/api-ref/source/samples/zones/update-zone-transfer-request-request.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "description": "This is scoped to the new project", - "target_project_id": "987654" -} diff --git a/api-ref/source/samples/zones/update-zone-transfer-request-response.json b/api-ref/source/samples/zones/update-zone-transfer-request-response.json deleted file mode 100644 index b564cc79..00000000 --- a/api-ref/source/samples/zones/update-zone-transfer-request-response.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "description": "This is scoped to the new project", - "target_project_id": "987654", - "id": "efd2d720-b0c4-43d4-99f7-d9b53e08860d", - "zone_id": "2c4d5e37-f823-4bee-9859-031cb44f80e7", - "zone_name": "subdomain.example.com.", - "status": "ACTIVE", - "links": { - "self": "http://127.0.0.1:9001/v2/zones/tasks/transfer_requests/efd2d720-b0c4-43d4-99f7-d9b53e08860d" - } -} diff --git a/api-ref/source/samples/zones/zone-response.json b/api-ref/source/samples/zones/zone-response.json deleted file mode 100644 index b1170cf8..00000000 --- a/api-ref/source/samples/zones/zone-response.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "id": "a86dba58-0043-4cc6-a1bb-69d5e86f3ca3", - "pool_id": "572ba08c-d929-4c70-8e42-03824bb24ca2", - "project_id": "4335d1f0-f793-11e2-b778-0800200c9a66", - "name": "example.org.", - "email": "joe@example.org", - "ttl": 7200, - "serial": 1404757531, - "status": "ACTIVE", - "action": "CREATE", - "description": "This is an example zone.", - "masters": [], - "type": "PRIMARY", - "transferred_at": null, - "version": 1, - "created_at": "2014-07-07T18:25:31.275934", - "updated_at": null, - "links": { - "self": "https://127.0.0.1:9001/v2/zones/a86dba58-0043-4cc6-a1bb-69d5e86f3ca3" - } -} diff --git a/api-ref/source/status.yaml b/api-ref/source/status.yaml deleted file mode 100644 index 81f60f3b..00000000 --- a/api-ref/source/status.yaml +++ /dev/null @@ -1,56 +0,0 @@ - 200: - default: | - Request was successful. - image-data-200: | - The service lists the image data in the response body. - 201: - default: | - Request has been fulfilled and new resource created. - 202: - default: | - Request is accepted, but processing may take some time. - 203: - default: | - Returned information is not full set, but a subset. - 204: - default: | - Request fulfilled but service does not return anything. - 300: - default: | - The resource corresponds to more than one representation. - 400: - default: | - Some content in the request was invalid. - 401: - default: | - User must authenticate before making a request. - 403: - default: | - Policy does not allow current user to do this operation. - 404: - default: | - The requested resource could not be found. - 405: - default: | - Method is not valid for this endpoint and resource. - 409: - default: | - This resource has an action in progress that would conflict with this request. - 413: - default: | - This operation cannot be completed. - 415: - default: | - The entity of the request is in a format not supported by the requested - resource for the method. - 500: - default: | - Something went wrong with the service which prevents it from fulfilling - the request. - 501: - default: | - The service does not have the functionality required to fulfill this - request. - 503: - default: | - The service cannot handle the request right now. diff --git a/babel.cfg b/babel.cfg deleted file mode 100644 index 15cd6cb7..00000000 --- a/babel.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[python: **.py] - diff --git a/contrib/archive/backends/impl_ipa/__init__.py b/contrib/archive/backends/impl_ipa/__init__.py deleted file mode 100644 index 2e5bc5dd..00000000 --- a/contrib/archive/backends/impl_ipa/__init__.py +++ /dev/null @@ -1,432 +0,0 @@ -# Copyright 2014 Red Hat, Inc. -# -# Author: Rich Megginson -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -import pprint -import time - -import requests -from oslo_config import cfg -from oslo_log import log as logging -from oslo_serialization import jsonutils as json -from oslo_utils import importutils - -from designate import exceptions -from designate.backend import base -from designate.i18n import _LE - - -LOG = logging.getLogger(__name__) - -IPA_DEFAULT_PORT = 443 - - -class IPABaseError(exceptions.Backend): - error_code = 500 - error_type = 'unknown_ipa_error' - - -class IPAAuthError(IPABaseError): - error_type = 'authentication_error' - - -# map of designate domain parameters to the corresponding -# ipa parameter -# NOTE: ipa manages serial, and does not honor -# increment_serial=False - this means the designate serial -# and the ipa serial will diverge if updates are made -# using increment_serial=False -domain2ipa = {'ttl': 'dnsttl', 'email': 'idnssoarname', - 'serial': 'idnssoaserial', 'expire': 'idnssoaexpire', - 'minimum': 'idnssoaminimum', 'refresh': 'idnssoarefresh', - 'retry': 'idnssoaretry'} - -# map of designate record types to ipa -rectype2iparectype = {'A': ('arecord', '%(data)s'), - 'AAAA': ('aaaarecord', '%(data)s'), - 'MX': ('mxrecord', '%(data)s'), - 'CNAME': ('cnamerecord', '%(data)s'), - 'TXT': ('txtrecord', '%(data)s'), - 'SRV': ('srvrecord', '%(data)s'), - 'NS': ('nsrecord', '%(data)s'), - 'PTR': ('ptrrecord', '%(data)s'), - 'SPF': ('spfrecord', '%(data)s'), - 'SSHFP': ('sshfprecord', '%(data)s')} - -IPA_INVALID_DATA = 3009 -IPA_NOT_FOUND = 4001 -IPA_DUPLICATE = 4002 -IPA_NO_CHANGES = 4202 - - -class IPAUnknownError(IPABaseError): - pass - - -class IPACommunicationFailure(IPABaseError): - error_type = 'communication_failure' - pass - - -class IPAInvalidData(IPABaseError): - error_type = 'invalid_data' - pass - - -class IPADomainNotFound(IPABaseError): - error_type = 'domain_not_found' - pass - - -class IPARecordNotFound(IPABaseError): - error_type = 'record_not_found' - pass - - -class IPADuplicateDomain(IPABaseError): - error_type = 'duplicate_domain' - pass - - -class IPADuplicateRecord(IPABaseError): - error_type = 'duplicate_record' - pass - - -ipaerror2exception = { - IPA_INVALID_DATA: { - 'dnszone': IPAInvalidData, - 'dnsrecord': IPAInvalidData - }, - IPA_NOT_FOUND: { - 'dnszone': IPADomainNotFound, - 'dnsrecord': IPARecordNotFound - }, - IPA_DUPLICATE: { - 'dnszone': IPADuplicateDomain, - 'dnsrecord': IPADuplicateRecord - }, - # NOTE: Designate will send updates with all fields - # even if they have not changed value. If none of - # the given values has changed, IPA will return - # this error code - this can be ignored - IPA_NO_CHANGES: { - 'dnszone': None, - 'dnsrecord': None - } -} - - -def abs2rel_name(domain, rsetname): - """convert rsetname from absolute form foo.bar.tld. to the name - relative to the domain. For IPA, if domain is rsetname, then use - "@" as the relative name. If rsetname does not end with a subset - of the domain, the just return the raw rsetname - """ - if rsetname.endswith(domain): - idx = rsetname.rfind(domain) - if idx == 0: - rsetname = "@" - elif idx > 0: - rsetname = rsetname[:idx].rstrip(".") - return rsetname - - -class IPABackend(base.Backend): - __plugin_name__ = 'ipa' - - @classmethod - def get_cfg_opts(cls): - group = cfg.OptGroup( - name='backend:ipa', title="Configuration for IPA Backend" - ) - - opts = [ - cfg.StrOpt('ipa-host', default='localhost.localdomain', - help='IPA RPC listener host - must be FQDN'), - cfg.IntOpt('ipa-port', default=IPA_DEFAULT_PORT, - help='IPA RPC listener port'), - cfg.StrOpt('ipa-client-keytab', - help='Kerberos client keytab file'), - cfg.StrOpt('ipa-auth-driver-class', - default='designate.backend.impl_ipa.auth.IPAAuth', - help='Class that implements the authentication ' - 'driver for IPA'), - cfg.StrOpt('ipa-ca-cert', - help='CA certificate for use with https to IPA'), - cfg.StrOpt('ipa-base-url', default='/ipa', - help='Base URL for IPA RPC, relative to host[:port]'), - cfg.StrOpt('ipa-json-url', - default='/json', - help='URL for IPA JSON RPC, relative to IPA base URL'), - cfg.IntOpt('ipa-connect-retries', default=1, - help='How many times Designate will attempt to retry ' - 'the connection to IPA before giving up'), - cfg.BoolOpt('ipa-force-ns-use', default=False, - help='IPA requires that a specified ' - 'name server or SOA MNAME is resolvable - if this ' - 'option is set, Designate will force IPA to use a ' - 'given name server even if it is not resolvable'), - cfg.StrOpt('ipa-version', default='2.65', - help='IPA RPC JSON version') - ] - - return [(group, opts)] - - def start(self): - LOG.debug('IPABackend start') - self.request = requests.Session() - authclassname = cfg.CONF[self.name].ipa_auth_driver_class - authclass = importutils.import_class(authclassname) - self.request.auth = \ - authclass(cfg.CONF[self.name].ipa_client_keytab, - cfg.CONF[self.name].ipa_host) - ipa_base_url = cfg.CONF[self.name].ipa_base_url - if ipa_base_url.startswith("http"): # full URL - self.baseurl = ipa_base_url - else: # assume relative to https://host[:port] - self.baseurl = "https://" + cfg.CONF[self.name].ipa_host - ipa_port = cfg.CONF[self.name].ipa_port - if ipa_port != IPA_DEFAULT_PORT: - self.baseurl += ":" + str(ipa_port) - self.baseurl += ipa_base_url - ipa_json_url = cfg.CONF[self.name].ipa_json_url - if ipa_json_url.startswith("http"): # full URL - self.jsonurl = ipa_json_url - else: # assume relative to https://host[:port] - self.jsonurl = self.baseurl + ipa_json_url - xtra_hdrs = {'Content-Type': 'application/json', - 'Referer': self.baseurl} - self.request.headers.update(xtra_hdrs) - self.request.verify = cfg.CONF[self.name].ipa_ca_cert - self.ntries = cfg.CONF[self.name].ipa_connect_retries - self.force = cfg.CONF[self.name].ipa_force_ns_use - - def create_zone(self, context, zone): - LOG.debug('Create Zone %r' % zone) - ipareq = {'method': 'dnszone_add', 'id': 0} - params = [zone['name']] - servers = self.central_service.get_zone_ns_records(self.admin_context) - # just use the first one for zone creation - add the others - # later, below - use force because designate assumes the NS - # already exists somewhere, is resolvable, and already has - # an A/AAAA record - args = {'idnssoamname': servers[0]['name']} - if self.force: - args['force'] = True - for dkey, ipakey in list(domain2ipa.items()): - if dkey in zone: - args[ipakey] = zone[dkey] - ipareq['params'] = [params, args] - self._call_and_handle_error(ipareq) - # add NS records for all of the other servers - if len(servers) > 1: - ipareq = {'method': 'dnsrecord_add', 'id': 0} - params = [zone['name'], "@"] - args = {'nsrecord': servers[1:]} - if self.force: - args['force'] = True - ipareq['params'] = [params, args] - self._call_and_handle_error(ipareq) - - def update_zone(self, context, zone): - LOG.debug('Update Zone %r' % zone) - ipareq = {'method': 'dnszone_mod', 'id': 0} - params = [zone['name']] - args = {} - for dkey, ipakey in list(domain2ipa.items()): - if dkey in zone: - args[ipakey] = zone[dkey] - ipareq['params'] = [params, args] - self._call_and_handle_error(ipareq) - - def delete_zone(self, context, zone): - LOG.debug('Delete Zone %r' % zone) - ipareq = {'method': 'dnszone_del', 'id': 0} - params = [zone['name']] - args = {} - ipareq['params'] = [params, args] - self._call_and_handle_error(ipareq) - - def create_recordset(self, context, domain, recordset): - LOG.debug('Discarding create_recordset call, not-applicable') - - def update_recordset(self, context, domain, recordset): - LOG.debug('Update RecordSet %r / %r' % (domain, recordset)) - # designate allows to update a recordset if there are no - # records in it - we should ignore this case - if not self._recset_has_records(context, recordset): - LOG.debug('No records in %r / %r - skipping' % (domain, recordset)) - return - # The only thing IPA allows is to change the ttl, since that is - # stored "per recordset" - if 'ttl' not in recordset: - return - ipareq = {'method': 'dnsrecord_mod', 'id': 0} - dname = domain['name'] - rsetname = abs2rel_name(dname, recordset['name']) - params = [domain['name'], rsetname] - args = {'dnsttl': recordset['ttl']} - ipareq['params'] = [params, args] - self._call_and_handle_error(ipareq) - - def delete_recordset(self, context, domain, recordset): - LOG.debug('Delete RecordSet %r / %r' % (domain, recordset)) - # designate allows to delete a recordset if there are no - # records in it - we should ignore this case - if not self._recset_has_records(context, recordset): - LOG.debug('No records in %r / %r - skipping' % (domain, recordset)) - return - ipareq = {'method': 'dnsrecord_mod', 'id': 0} - dname = domain['name'] - rsetname = abs2rel_name(dname, recordset['name']) - params = [domain['name'], rsetname] - rsettype = rectype2iparectype[recordset['type']][0] - args = {rsettype: None} - ipareq['params'] = [params, args] - self._call_and_handle_error(ipareq) - - def create_record(self, context, domain, recordset, record): - LOG.debug('Create Record %r / %r / %r' % (domain, recordset, record)) - ipareq = {'method': 'dnsrecord_add', 'id': 0} - params, args = self._rec_to_ipa_rec(domain, recordset, [record]) - ipareq['params'] = [params, args] - self._call_and_handle_error(ipareq) - - def update_record(self, context, domain, recordset, record): - LOG.debug('Update Record %r / %r / %r' % (domain, recordset, record)) - # for modify operations - IPA does not support a way to change - # a particular field in a given record - e.g. for an MX record - # with several values, IPA stores them like this: - # name: "server1.local." - # data: ["10 mx1.server1.local.", "20 mx2.server1.local."] - # we could do a search of IPA, compare the values in the - # returned array - but that adds an additional round trip - # and is error prone - # instead, we just get all of the current values and send - # them in one big modify - criteria = {'recordset_id': record['recordset_id']} - reclist = self.central_service.find_records(self.admin_context, - criteria) - ipareq = {'method': 'dnsrecord_mod', 'id': 0} - params, args = self._rec_to_ipa_rec(domain, recordset, reclist) - ipareq['params'] = [params, args] - self._call_and_handle_error(ipareq) - - def delete_record(self, context, domain, recordset, record): - LOG.debug('Delete Record %r / %r / %r' % (domain, recordset, record)) - ipareq = {'method': 'dnsrecord_del', 'id': 0} - params, args = self._rec_to_ipa_rec(domain, recordset, [record]) - args['del_all'] = 0 - ipareq['params'] = [params, args] - self._call_and_handle_error(ipareq) - - def ping(self, context): - LOG.debug('Ping') - # NOTE: This call will cause ipa to issue an error, but - # 1) it should not throw an exception - # 2) the response will indicate ipa is running - # 3) the bandwidth usage is minimal - ipareq = {'method': 'dnszone_show', 'id': 0} - params = ['@'] - args = {} - ipareq['params'] = [params, args] - retval = {'result': True} - try: - self._call_and_handle_error(ipareq) - except Exception as e: - retval = {'result': False, 'reason': str(e)} - return retval - - def _rec_to_ipa_rec(self, domain, recordset, reclist): - dname = domain['name'] - rsetname = abs2rel_name(dname, recordset['name']) - params = [dname, rsetname] - rectype = recordset['type'] - vals = [] - for record in reclist: - vals.append(rectype2iparectype[rectype][1] % record) - args = {rectype2iparectype[rectype][0]: vals} - ttl = recordset.get('ttl') or domain.get('ttl') - if ttl is not None: - args['dnsttl'] = ttl - return params, args - - def _ipa_error_to_exception(self, resp, ipareq): - exc = None - if resp['error'] is None: - return exc - errcode = resp['error']['code'] - method = ipareq['method'] - methtype = method.split('_')[0] - exclass = ipaerror2exception.get(errcode, {}).get(methtype, - IPAUnknownError) - if exclass: - LOG.debug("Error: ipa command [%s] returned error [%s]" % - (pprint.pformat(ipareq), pprint.pformat(resp))) - elif errcode: # not mapped - LOG.debug("Ignoring IPA error code %d: %s" % - (errcode, pprint.pformat(resp))) - return exclass - - def _call_and_handle_error(self, ipareq): - if 'version' not in ipareq['params'][1]: - ipareq['params'][1]['version'] = cfg.CONF[self.name].ipa_version - need_reauth = False - while True: - status_code = 200 - try: - if need_reauth: - self.request.auth.refresh_auth() - rawresp = self.request.post(self.jsonurl, - data=json.dumps(ipareq)) - status_code = rawresp.status_code - except IPAAuthError: - status_code = 401 - if status_code == 401: - if self.ntries == 0: - # persistent inability to auth - LOG.error(_LE("Error: could not authenticate to IPA - " - "please check for correct keytab file")) - # reset for next time - self.ntries = cfg.CONF[self.name].ipa_connect_retries - raise IPACommunicationFailure() - else: - LOG.debug("Refresh authentication") - need_reauth = True - self.ntries -= 1 - time.sleep(1) - else: - # successful - reset - self.ntries = cfg.CONF[self.name].ipa_connect_retries - break - try: - resp = json.loads(rawresp.text) - except ValueError: - # response was not json - some sort of error response - LOG.debug("Error: unknown error from IPA [%s]" % rawresp.text) - raise IPAUnknownError("unable to process response from IPA") - # raise the appropriate exception, if error - exclass = self._ipa_error_to_exception(resp, ipareq) - if exclass: - # could add additional info/message to exception here - raise exclass() - return resp - - def _recset_has_records(self, context, recordset): - """Return True if the recordset has records, False otherwise""" - criteria = {'recordset_id': recordset['id']} - num = self.central_service.count_records(self.admin_context, - criteria) - return num > 0 diff --git a/contrib/archive/backends/impl_ipa/auth.py b/contrib/archive/backends/impl_ipa/auth.py deleted file mode 100644 index 6f851b8d..00000000 --- a/contrib/archive/backends/impl_ipa/auth.py +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 2014 Red Hat, Inc. -# -# Author: Rich Megginson -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -import os -import logging - -from requests import auth -import kerberos - -from designate.utils import generate_uuid -from designate.backend.impl_ipa import IPAAuthError -from designate.i18n import _LW -from designate.i18n import _LE - - -LOG = logging.getLogger(__name__) - - -class IPAAuth(auth.AuthBase): - def __init__(self, keytab, hostname): - # store the kerberos credentials in memory rather than on disk - os.environ['KRB5CCNAME'] = "MEMORY:" + generate_uuid() - self.token = None - self.keytab = keytab - self.hostname = hostname - if self.keytab: - os.environ['KRB5_CLIENT_KTNAME'] = self.keytab - else: - LOG.warning(_LW('No IPA client kerberos keytab file given')) - - def __call__(self, request): - if not self.token: - self.refresh_auth() - request.headers['Authorization'] = 'negotiate ' + self.token - return request - - def refresh_auth(self): - service = "HTTP@" + self.hostname - flags = kerberos.GSS_C_MUTUAL_FLAG | kerberos.GSS_C_SEQUENCE_FLAG - try: - (_, vc) = kerberos.authGSSClientInit(service, flags) - except kerberos.GSSError as e: - LOG.error(_LE("caught kerberos exception %r") % e) - raise IPAAuthError(str(e)) - try: - kerberos.authGSSClientStep(vc, "") - except kerberos.GSSError as e: - LOG.error(_LE("caught kerberos exception %r") % e) - raise IPAAuthError(str(e)) - self.token = kerberos.authGSSClientResponse(vc) diff --git a/contrib/archive/backends/impl_multi.py b/contrib/archive/backends/impl_multi.py deleted file mode 100644 index d977d148..00000000 --- a/contrib/archive/backends/impl_multi.py +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright (C) 2013 eNovance SAS -# -# Author: Artom Lifshitz -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -import logging - -from oslo_config import cfg -from oslo_utils import excutils - -from designate import backend -from designate.backend import base - - -LOG = logging.getLogger(__name__) -CFG_GROUP = 'backend:multi' - - -class MultiBackend(base.Backend): - """ - Multi-backend backend - - This backend dispatches calls to a master backend and a slave backend. - It enforces master/slave ordering semantics as follows: - - Creates for tsigkeys, servers and domains are done on the master first, - then on the slave. - - Updates for tsigkeys, servers and domains and all operations on records - are done on the master only. It's assumed masters and slaves use an - external mechanism to sync existing domains, most likely XFR. - - Deletes are done on the slave first, then on the master. - - If the create on the slave fails, the domain/tsigkey/server is deleted from - the master. If delete on the master fails, the domain/tdigkey/server is - recreated on the slave. - """ - __plugin_name__ = 'multi' - - @classmethod - def get_cfg_opts(cls): - group = cfg.OptGroup( - name=CFG_GROUP, title="Configuration for multi-backend Backend" - ) - - opts = [ - cfg.StrOpt('master', default='fake', help='Master backend'), - cfg.StrOpt('slave', default='fake', help='Slave backend'), - ] - - return [(group, opts)] - - def __init__(self, central_service): - super(MultiBackend, self).__init__(central_service) - self.central = central_service - self.master = backend.get_backend(cfg.CONF[CFG_GROUP].master, - central_service) - self.slave = backend.get_backend(cfg.CONF[CFG_GROUP].slave, - central_service) - - def start(self): - self.master.start() - self.slave.start() - - def stop(self): - self.slave.stop() - self.master.stop() - - def create_tsigkey(self, context, tsigkey): - self.master.create_tsigkey(context, tsigkey) - try: - self.slave.create_tsigkey(context, tsigkey) - except Exception: - with excutils.save_and_reraise_exception(): - self.master.delete_tsigkey(context, tsigkey) - - def update_tsigkey(self, context, tsigkey): - self.master.update_tsigkey(context, tsigkey) - - def delete_tsigkey(self, context, tsigkey): - self.slave.delete_tsigkey(context, tsigkey) - try: - self.master.delete_tsigkey(context, tsigkey) - except Exception: - with excutils.save_and_reraise_exception(): - self.slave.create_tsigkey(context, tsigkey) - - def create_zone(self, context, zone): - self.master.create_zone(context, zone) - try: - self.slave.create_zone(context, zone) - except Exception: - with excutils.save_and_reraise_exception(): - self.master.delete_zone(context, zone) - - def update_zone(self, context, zone): - self.master.update_zone(context, zone) - - def delete_zone(self, context, zone): - # Fetch the full zone from Central first, as we may - # have to recreate it on slave if delete on master fails - deleted_context = context.deepcopy() - deleted_context.show_deleted = True - - full_domain = self.central.find_zone( - deleted_context, {'id': zone['id']}) - - self.slave.delete_zone(context, zone) - try: - self.master.delete_zone(context, zone) - except Exception: - with excutils.save_and_reraise_exception(): - self.slave.create_zone(context, zone) - - [self.slave.create_record(context, zone, record) - for record in self.central.find_records( - context, {'domain_id': full_domain['id']})] - - def create_recordset(self, context, zone, recordset): - self.master.create_recordset(context, zone, recordset) - - def update_recordset(self, context, zone, recordset): - self.master.update_recordset(context, zone, recordset) - - def delete_recordset(self, context, zone, recordset): - self.master.delete_recordset(context, zone, recordset) - - def create_record(self, context, zone, recordset, record): - self.master.create_record(context, zone, recordset, record) - - def update_record(self, context, zone, recordset, record): - self.master.update_record(context, zone, recordset, record) - - def delete_record(self, context, zone, recordset, record): - self.master.delete_record(context, zone, recordset, record) - - def ping(self, context): - return { - 'master': self.master.ping(context), - 'slave': self.slave.ping(context) - } diff --git a/contrib/consume.py b/contrib/consume.py deleted file mode 100644 index c3f141d2..00000000 --- a/contrib/consume.py +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2016 Rackspace, Inc. -# -# Author: Tim Simmons -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -""" -This dumb script allows you to see what's being dumped onto -the notifications.info queue - -nabbed from: -https://pika.readthedocs.io/en/latest/examples/blocking_consume.html -""" -import pika - - -def on_message(channel, method_frame, header_frame, body): - print(method_frame.delivery_tag) - print(body) - channel.basic_ack(delivery_tag=method_frame.delivery_tag) - - -connection = pika.BlockingConnection() -channel = connection.channel() -channel.basic_consume(on_message, 'notifications.info') -try: - channel.start_consuming() -except KeyboardInterrupt: - channel.stop_consuming() -connection.close() diff --git a/contrib/designate-ext-samplehandler/.gitignore b/contrib/designate-ext-samplehandler/.gitignore deleted file mode 100644 index 88f0520c..00000000 --- a/contrib/designate-ext-samplehandler/.gitignore +++ /dev/null @@ -1,22 +0,0 @@ -*.pyc -*.dat -TAGS -*.egg -*.egg-info -build -.coverage -.tox -cover -venv -.venv -*.sublime-workspace -*.sqlite -var/* -etc/*.conf -etc/*.ini -AUTHORS -ChangeLog -doc/source/api/* -doc/build/* -dist -designate_ext_samplehandler/versioninfo diff --git a/contrib/designate-ext-samplehandler/MANIFEST.in b/contrib/designate-ext-samplehandler/MANIFEST.in deleted file mode 100644 index 23d74794..00000000 --- a/contrib/designate-ext-samplehandler/MANIFEST.in +++ /dev/null @@ -1,11 +0,0 @@ -include AUTHORS -include ChangeLog -include designate_ext_samplehandler/versioninfo -include *.txt *.ini *.cfg *.rst *.md - -exclude .gitignore -exclude .gitreview -exclude *.sublime-project - -global-exclude *.pyc - diff --git a/contrib/designate-ext-samplehandler/README.rst b/contrib/designate-ext-samplehandler/README.rst deleted file mode 100644 index c45db183..00000000 --- a/contrib/designate-ext-samplehandler/README.rst +++ /dev/null @@ -1,4 +0,0 @@ -Sample Designate Notification Handler Extension -=============================================== - -This repo provides a sample plugin for a custom notification handler. diff --git a/contrib/designate-ext-samplehandler/designate_ext_samplehandler/__init__.py b/contrib/designate-ext-samplehandler/designate_ext_samplehandler/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/contrib/designate-ext-samplehandler/designate_ext_samplehandler/notification_handler/__init__.py b/contrib/designate-ext-samplehandler/designate_ext_samplehandler/notification_handler/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/contrib/designate-ext-samplehandler/designate_ext_samplehandler/notification_handler/sample.py b/contrib/designate-ext-samplehandler/designate_ext_samplehandler/notification_handler/sample.py deleted file mode 100644 index 60ce1ae5..00000000 --- a/contrib/designate-ext-samplehandler/designate_ext_samplehandler/notification_handler/sample.py +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 2013 Hewlett-Packard Development Company, L.P. -# -# Author: Kiall Mac Innes -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -from oslo_config import cfg -from oslo_log import log as logging - -from designate.context import DesignateContext -from designate.objects import Record -from designate.notification_handler.base import NotificationHandler - - -LOG = logging.getLogger(__name__) - -# Setup a config group -cfg.CONF.register_group(cfg.OptGroup( - name='handler:sample', - title="Configuration for Sample Notification Handler" -)) - -# Setup the config options -cfg.CONF.register_opts([ - cfg.StrOpt('control-exchange', default='nova'), - cfg.ListOpt('notification-topics', default=['designate']), - cfg.StrOpt('zone-name', default='example.org.'), - cfg.StrOpt('zone-id', default='12345'), -], group='handler:sample') - - -class SampleHandler(NotificationHandler): - """Sample Handler""" - __plugin_name__ = 'sample' - - def get_exchange_topics(self): - """ - Return a tuple of (exchange, [topics]) this handler wants to receive - events from. - """ - exchange = cfg.CONF[self.name].control_exchange - topics = [topic for topic in cfg.CONF[self.name].notification_topics] - return exchange, topics - - def get_event_types(self): - return [ - 'compute.instance.create.end' - ] - - def process_notification(self, context, event_type, payload): - # Do something with the notification.. e.g: - zone_id = cfg.CONF[self.name].zone_id - zone_name = cfg.CONF[self.name].zone_name - - record_name = '%s.%s' % (payload['instance_id'], zone_name) - - context = DesignateContext().elevated() - context.all_tenants = True - # context.edit_managed_records = True - - for fixed_ip in payload['fixed_ips']: - recordset_values = { - 'zone_id': zone_id, - 'name': record_name, - 'type': 'A' if fixed_ip['version'] == 4 else 'AAAA' - } - - record_values = { - 'data': fixed_ip['address'], - } - - recordset = self._find_or_create_recordset(context, - **recordset_values) - - self.central_api.create_record(context, zone_id, recordset['id'], - Record(**record_values)) diff --git a/contrib/designate-ext-samplehandler/designate_ext_samplehandler/version.py b/contrib/designate-ext-samplehandler/designate_ext_samplehandler/version.py deleted file mode 100644 index 3f8c78c2..00000000 --- a/contrib/designate-ext-samplehandler/designate_ext_samplehandler/version.py +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2013 Hewlett-Packard Development Company, L.P. -# -# Author: Kiall Mac Innes -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -import pbr.version - -version_info = pbr.version.VersionInfo('designate-ext-samplehandler') diff --git a/contrib/designate-ext-samplehandler/requirements.txt b/contrib/designate-ext-samplehandler/requirements.txt deleted file mode 100644 index 41b94a09..00000000 --- a/contrib/designate-ext-samplehandler/requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ -pbr>=0.6,<1.0 --e git+https://github.com/openstack/designate.git#egg=designate diff --git a/contrib/designate-ext-samplehandler/setup.cfg b/contrib/designate-ext-samplehandler/setup.cfg deleted file mode 100644 index 800f91fb..00000000 --- a/contrib/designate-ext-samplehandler/setup.cfg +++ /dev/null @@ -1,52 +0,0 @@ -[metadata] -name = designate-ext-samplehandler -summary = Sample Designate Handler Extension -description-file = - README.rst -author = Kiall Mac Innes -author-email = kiall@hp.com -classifier = - Environment :: OpenStack - Intended Audience :: Information Technology - Intended Audience :: System Administrators - License :: OSI Approved :: Apache Software License - Operating System :: POSIX :: Linux - Programming Language :: Python - Programming Language :: Python :: 2 - Programming Language :: Python :: 2.7 - Programming Language :: Python :: 2.6 - -[global] -setup-hooks = - pbr.hooks.setup_hook - -[files] -packages = designate_ext_samplehandler - -[entry_points] -designate.notification.handler = - sample = designate_ext_samplehandler.notification_handler.sample:SampleHandler - -[build_sphinx] -all_files = 1 -build-dir = doc/build -source-dir = doc/source - -[egg_info] -tag_build = -tag_date = 0 -tag_svn_revision = 0 - -[compile_catalog] -directory = designate-ext-samplehandler/locale -domain = designate-ext-samplehandler - -[update_catalog] -domain = designate-ext-samplehandler -output_dir = designate-ext-samplehandler/locale -input_file = designate-ext-samplehandler/locale/designate-ext-samplehandler.pot - -[extract_messages] -keywords = _ gettext ngettext l_ lazy_gettext -mapping_file = babel.cfg -output_file = designate-ext-samplehandler/locale/designate-ext-samplehandler.pot diff --git a/contrib/designate-ext-samplehandler/setup.py b/contrib/designate-ext-samplehandler/setup.py deleted file mode 100755 index 70c2b3f3..00000000 --- a/contrib/designate-ext-samplehandler/setup.py +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env python -# Copyright (c) 2013 Hewlett-Packard Development Company, L.P. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -# implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT -import setuptools - -setuptools.setup( - setup_requires=['pbr'], - pbr=True) diff --git a/contrib/designate-ext-samplehandler/test-requirements.txt b/contrib/designate-ext-samplehandler/test-requirements.txt deleted file mode 100644 index 5c9111ef..00000000 --- a/contrib/designate-ext-samplehandler/test-requirements.txt +++ /dev/null @@ -1,4 +0,0 @@ -flake8==2.0 -hacking>=0.8.0,<0.9 -pep8==1.4.5 -pyflakes>=0.7.2,<0.7.4 diff --git a/contrib/djbdns/tinydns.init b/contrib/djbdns/tinydns.init deleted file mode 100755 index 7bcbb477..00000000 --- a/contrib/djbdns/tinydns.init +++ /dev/null @@ -1,110 +0,0 @@ -#! /bin/bash -### BEGIN INIT INFO -# Provides: tinydns -# Required-Start: $local_fs $remote_fs $network -# Required-Stop: $local_fs $remote_fs $network -# Should-Start: $syslog -# Should-Stop: $syslog -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: tinydns daemon processes -# Description: Start the TinyDNS resolver -### END INIT INFO - -# Documentation -# man tinydns - -# Load the VERBOSE setting and other rcS variables -. /lib/init/vars.sh - -# Define LSB log_* functions. -. /lib/lsb/init-functions - -NAME=tinydns -DAEMON=/usr/bin/$NAME -DAEMON_USER=djbdns -DESC="the tinydns daemon" -ROOTDIR=/var/lib/djbdns -PATH=/sbin:/bin:/usr/sbin:/usr/bin -LAUNCHER=/usr/bin/envuidgid -LAUNCHER_ARGS="$DAEMON_USER envdir ./env softlimit -d300000 $DAEMON" - -PIDFILE=/run/$NAME.pid - -# Exit if executable is not installed -[ -x "$DAEMON" ] || exit 0 - -set -x - -case "$1" in - start) - if [ ! -d "$ROOTDIR" ]; then - log_action_msg "Not starting $DESC: $ROOTDIR is missing." - exit 0 - fi - - log_action_begin_msg "Starting $DESC" - - if start-stop-daemon --stop --signal 0 --quiet --pidfile $PIDFILE --exec $DAEMON; then - log_action_end_msg 0 "already running" - else - if start-stop-daemon --start --verbose --make-pidfile --chdir $ROOTDIR --pidfile $PIDFILE --exec $LAUNCHER -- $LAUNCHER_ARGS - then - log_action_end_msg 0 - else - log_action_end_msg 1 - exit 1 - fi - fi - ;; - stop) - log_action_begin_msg "Stopping $DESC" - pid=$(cat $PIDFILE 2>/dev/null) || true - if test ! -f $PIDFILE -o -z "$pid"; then - log_action_end_msg 0 "not running - there is no $PIDFILE" - exit 0 - fi - - if start-stop-daemon --stop --signal INT --quiet --pidfile $PIDFILE --exec $DAEMON; then - rm -f $PIDFILE - elif kill -0 $pid 2>/dev/null; then - log_action_end_msg 1 "Is $pid not $NAME? Is $DAEMON a different binary now?" - exit 1 - else - log_action_end_msg 1 "$DAEMON died: process $pid not running; or permission denied" - exit 1 - fi - ;; - reload) - echo "Not implemented, use restart" - exit 1 - ;; - restart|force-reload) - $0 stop - $0 start - ;; - status) - if test ! -r $(dirname $PIDFILE); then - log_failure_msg "cannot read PID file $PIDFILE" - exit 4 - fi - pid=$(cat $PIDFILE 2>/dev/null) || true - if test ! -f $PIDFILE -o -z "$pid"; then - log_failure_msg "$NAME is not running" - exit 3 - fi - if ps "$pid" >/dev/null 2>&1; then - log_success_msg "$NAME is running" - exit 0 - else - log_failure_msg "$NAME is not running" - exit 1 - fi - ;; - *) - log_action_msg "Usage: $0 {start|stop|restart|force-reload|status}" >&2 - exit 1 - ;; -esac - -exit 0 diff --git a/contrib/djbdns/tinydns.service b/contrib/djbdns/tinydns.service deleted file mode 100644 index 2fcf9d2a..00000000 --- a/contrib/djbdns/tinydns.service +++ /dev/null @@ -1,44 +0,0 @@ -# -# Replace /var/lib/djbdns if needed -# - -[Unit] -Description=tinydns DNS resolver -Documentation=man:tinydns -Documentation=https://cr.yp.to/djbdns.html -After=network.target -Requires=network.target -Wants=network.target -ConditionPathExists=/var/lib/djbdns - -[Service] -Type=forking -PIDFile=/run/tinydns.pid -Environment="ROOT=/var/lib/djbdns" -ExecStart=/usr/bin/tinydns -ExecStop=-/sbin/start-stop-daemon --quiet --stop --retry=TERM/5/KILL/5 --pidfile /run/tinydns.pid -TimeoutStopSec=30 -KillMode=mixed - -PermissionsStartOnly=true -Restart=on-abnormal -RestartSec=2s -LimitNOFILE=65536 - -WorkingDirectory=/var/lib/djbdns -User=$ug_name -Group=$ug_name - -# Hardening -# CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_CHOWN CAP_FOWNER -NoNewPrivileges=yes -PrivateDevices=yes -PrivateTmp=yes -ProtectHome=yes -ProtectSystem=full -# TODO: restrict ReadOnlyDirectories -ReadOnlyDirectories=/ -ReadWriteDirectories=-/var/lib/djbdns - -[Install] -WantedBy=multi-user.target diff --git a/contrib/dns_dump_dnspy.py b/contrib/dns_dump_dnspy.py deleted file mode 100755 index ae16fc9b..00000000 --- a/contrib/dns_dump_dnspy.py +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env python -# Copyright 2014 Hewlett-Packard Development Company, L.P. -# -# Author: Kiall Mac Innes -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -import binascii - -import dns -import dns.message -import dns.rdatatype - - -# Prepare a Packet -request = dns.message.make_query( - qname='example.com.', - rdtype=dns.rdatatype.A, -) -request.set_opcode(dns.opcode.UPDATE) - -# Print the hex representation of the Request -print(binascii.b2a_hex(request.to_wire())) diff --git a/contrib/dns_dump_hex_to_text.py b/contrib/dns_dump_hex_to_text.py deleted file mode 100644 index bc599de7..00000000 --- a/contrib/dns_dump_hex_to_text.py +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env python -# Copyright 2014 Hewlett-Packard Development Company, L.P. -# -# Author: Kiall Mac Innes -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -import binascii -import sys - -import dns -import dns.message -import dns.rdatatype - - -unhexed = binascii.unhexlify(sys.argv[1]) -response = dns.message.from_wire(unhexed) - -print(response.to_text()) diff --git a/contrib/dns_dump_raw.py b/contrib/dns_dump_raw.py deleted file mode 100755 index e89835fc..00000000 --- a/contrib/dns_dump_raw.py +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env python -# Copyright 2014 Hewlett-Packard Development Company, L.P. -# -# Author: Kiall Mac Innes -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -import sys -import binascii - -import dns -import dns.message - -wire = sys.argv[1] - -# Prepare the Message -message = dns.message.from_wire(binascii.a2b_hex(wire)) - -# Print the test representation of the message -print(message.to_text()) diff --git a/contrib/dns_dump_server.py b/contrib/dns_dump_server.py deleted file mode 100755 index 712ecda2..00000000 --- a/contrib/dns_dump_server.py +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env python -# Copyright 2014 Hewlett-Packard Development Company, L.P. -# -# Author: Kiall Mac Innes -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -import socket -import binascii - -# Bind to UDP 5355 -sock_udp = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) -sock_udp.bind(('', 5355)) - -# Receive a Packet -payload, addr = sock_udp.recvfrom(8192) - -# Print the hex representation of the packet -print(binascii.b2a_hex(payload)) - -# The request just happens to be a kinda-ish valid response -sock_udp.sendto(payload, addr) diff --git a/contrib/ipaextractor.py b/contrib/ipaextractor.py deleted file mode 100644 index 4e49d54f..00000000 --- a/contrib/ipaextractor.py +++ /dev/null @@ -1,362 +0,0 @@ -# Copyright (C) 2014 Red Hat, Inc. -# -# Author: Rich Megginson -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -import sys -import logging -import pprint -import json -import copy - -import requests -from oslo_config import cfg - -from designate.backend import impl_ipa -from designate.i18n import _LI -from designate.i18n import _LW -from designate.i18n import _LE -from designate import utils - - -logging.basicConfig() -LOG = logging.getLogger(__name__) - -cfg.CONF.import_opt('api_base_uri', 'designate.api', 'service:api') -cfg.CONF.import_opt('backend_driver', 'designate.central', 'service:central') - - -class NoNameServers(Exception): - pass - - -class AddServerError(Exception): - pass - - -class DeleteServerError(Exception): - pass - - -class AddDomainError(Exception): - pass - - -class DeleteDomainError(Exception): - pass - - -class AddRecordError(Exception): - pass - - -cuiberrorstr = """ERROR: You cannot have Designate configured -to use the IPA backend when running this script. It will wipe -out your IPA DNS data. Please follow these steps: -* shutdown designate-central -* edit designate.conf -[service:central] -backend_driver = fake # or something other than ipa -* restart designate-central and other designate services -""" - - -class CannotUseIPABackend(Exception): - pass - - -# create mapping of ipa record types to designate types -iparectype2designate = {} -for rectype, tup in list(impl_ipa.rectype2iparectype.items()): - iparectype = tup[0] - iparectype2designate[iparectype] = rectype - - -# using the all: True flag returns fields we can't use -# strip these keys from zones -zoneskips = ['dn', 'nsrecord', 'idnszoneactive', 'objectclass'] - - -def rec2des(rec, zonename): - """Convert an IPA record to Designate format. A single IPA record - returned from the search may translate into multiple Designate. - IPA dnsrecord_find returns a "name". Each DNS name may contain - multiple record types. Each record type may contain multiple - values. Each one of these values must be added separately to - Designate. This function returns all of those as a list of - dict designate records. - """ - # convert record name - if rec['idnsname'][0] == '@': - name = zonename - else: - name = rec['idnsname'][0] + "." + zonename - # find all record types - rectypes = [] - for k in rec: - if k.endswith("record"): - if k in iparectype2designate: - rectypes.append(k) - else: - LOG.info(_LI("Skipping unknown record type " - "%(type)s in %(name)s"), - {'type': k, 'name': name}) - - desrecs = [] - for rectype in rectypes: - dtype = iparectype2designate[rectype] - for ddata in rec[rectype]: - desreq = {'name': name, 'type': dtype} - if dtype == 'SRV' or dtype == 'MX': - # split off the priority and send in a separate field - idx = ddata.find(' ') - desreq['priority'] = int(ddata[:idx]) - if dtype == 'SRV' and not ddata.endswith("."): - # if server is specified as relative, add zonename - desreq['data'] = ddata[(idx + 1):] + "." + zonename - else: - desreq['data'] = ddata[(idx + 1):] - else: - desreq['data'] = ddata - if rec.get('description', [None])[0]: - desreq['description'] = rec.get('description')[0] - if rec.get('ttl', [None])[0]: - desreq['ttl'] = int(rec['dnsttl'][0]) - desrecs.append(desreq) - return desrecs - - -def zone2des(ipazone): - # next, try to add the fake domain to Designate - zonename = ipazone['idnsname'][0].rstrip(".") + "." - email = ipazone['idnssoarname'][0].rstrip(".").replace(".", "@", 1) - desreq = {"name": zonename, - "ttl": int(ipazone['idnssoarefresh'][0]), - "email": email} - return desreq - - -def getipadomains(ipabackend, version): - # get the list of domains/zones from IPA - ipareq = {'method': 'dnszone_find', - 'params': [[], {'version': version, - 'all': True}]} - iparesp = ipabackend._call_and_handle_error(ipareq) - LOG.debug("Response: %s" % pprint.pformat(iparesp)) - return iparesp['result']['result'] - - -def getiparecords(ipabackend, zonename, version): - ipareq = {'method': 'dnsrecord_find', - 'params': [[zonename], {"version": version, - "all": True}]} - iparesp = ipabackend._call_and_handle_error(ipareq) - return iparesp['result']['result'] - - -def syncipaservers2des(servers, designatereq, designateurl): - # get existing servers from designate - dservers = {} - srvurl = designateurl + "/servers" - resp = designatereq.get(srvurl) - LOG.debug("Response: %s" % pprint.pformat(resp.json())) - if resp and resp.status_code == 200 and resp.json() and \ - 'servers' in resp.json(): - for srec in resp.json()['servers']: - dservers[srec['name']] = srec['id'] - else: - LOG.warning(_LW("No servers in designate")) - - # first - add servers from ipa not already in designate - for server in servers: - if server in dservers: - LOG.info(_LI("Skipping ipa server %s already in designate"), - server) - else: - desreq = {"name": server} - resp = designatereq.post(srvurl, data=json.dumps(desreq)) - LOG.debug("Response: %s" % pprint.pformat(resp.json())) - if resp.status_code == 200: - LOG.info(_LI("Added server %s to designate"), server) - else: - raise AddServerError("Unable to add %s: %s" % - (server, pprint.pformat(resp.json()))) - - # next - delete servers in designate not in ipa - for server, sid in list(dservers.items()): - if server not in servers: - delresp = designatereq.delete(srvurl + "/" + sid) - if delresp.status_code == 200: - LOG.info(_LI("Deleted server %s"), server) - else: - raise DeleteServerError("Unable to delete %s: %s" % - (server, - pprint.pformat(delresp.json()))) - - -def main(): - # HACK HACK HACK - allow required config params to be passed - # via the command line - cfg.CONF['service:api']._group._opts['api_base_uri']['cli'] = True - for optdict in cfg.CONF['backend:ipa']._group._opts.values(): - if 'cli' in optdict: - optdict['cli'] = True - # HACK HACK HACK - allow api url to be passed in the usual way - utils.read_config('designate', sys.argv) - if cfg.CONF['service:central'].backend_driver == 'ipa': - raise CannotUseIPABackend(cuiberrorstr) - if cfg.CONF.debug: - LOG.setLevel(logging.DEBUG) - else: - LOG.setLevel(logging.INFO) - ipabackend = impl_ipa.IPABackend(None) - ipabackend.start() - version = cfg.CONF['backend:ipa'].ipa_version - designateurl = cfg.CONF['service:api'].api_base_uri + "v1" - - # get the list of domains/zones from IPA - ipazones = getipadomains(ipabackend, version) - # get unique list of name servers - servers = {} - for zonerec in ipazones: - for nsrec in zonerec['nsrecord']: - servers[nsrec] = nsrec - if not servers: - raise NoNameServers("Error: no name servers found in IPA") - - # let's see if designate is using the IPA backend - # create a fake domain in IPA - # create a fake server in Designate - # try to create the same fake domain in Designate - # if we get a DuplicateZone error from Designate, then - # raise the CannotUseIPABackend error, after deleting - # the fake server and fake domain - # find the first non-reverse zone - zone = {} - for zrec in ipazones: - if not zrec['idnsname'][0].endswith("in-addr.arpa.") and \ - zrec['idnszoneactive'][0] == 'TRUE': - # ipa returns every data field as a list - # convert the list to a scalar - for n, v in list(zrec.items()): - if n in zoneskips: - continue - if isinstance(v, list): - zone[n] = v[0] - else: - zone[n] = v - break - - assert(zone) - - # create a fake subdomain of this zone - domname = "%s.%s" % (utils.generate_uuid(), zone['idnsname']) - args = copy.copy(zone) - del args['idnsname'] - args['version'] = version - ipareq = {'method': 'dnszone_add', - 'params': [[domname], args]} - iparesp = ipabackend._call_and_handle_error(ipareq) - LOG.debug("Response: %s" % pprint.pformat(iparesp)) - if iparesp['error']: - raise AddDomainError(pprint.pformat(iparesp)) - - # set up designate connection - designatereq = requests.Session() - xtra_hdrs = {'Content-Type': 'application/json'} - designatereq.headers.update(xtra_hdrs) - - # sync ipa name servers to designate - syncipaservers2des(servers, designatereq, designateurl) - - domainurl = designateurl + "/domains" - # next, try to add the fake domain to Designate - email = zone['idnssoarname'].rstrip(".").replace(".", "@", 1) - desreq = {"name": domname, - "ttl": int(zone['idnssoarefresh'][0]), - "email": email} - resp = designatereq.post(domainurl, data=json.dumps(desreq)) - exc = None - fakezoneid = None - if resp.status_code == 200: - LOG.info(_LI("Added domain %s"), domname) - fakezoneid = resp.json()['id'] - delresp = designatereq.delete(domainurl + "/" + fakezoneid) - if delresp.status_code != 200: - LOG.error(_LE("Unable to delete %(name)s: %(response)s") % - {'name': domname, 'response': pprint.pformat( - delresp.json())}) - else: - exc = CannotUseIPABackend(cuiberrorstr) - - # cleanup fake stuff - ipareq = {'method': 'dnszone_del', - 'params': [[domname], {'version': version}]} - iparesp = ipabackend._call_and_handle_error(ipareq) - LOG.debug("Response: %s" % pprint.pformat(iparesp)) - if iparesp['error']: - LOG.error(_LE("%s") % pprint.pformat(iparesp)) - - if exc: - raise exc - - # get and delete existing domains - resp = designatereq.get(domainurl) - LOG.debug("Response: %s" % pprint.pformat(resp.json())) - if resp and resp.status_code == 200 and resp.json() and \ - 'domains' in resp.json(): - # domains must be deleted in child/parent order i.e. delete - # sub-domains before parent domains - simple way to get this - # order is to sort the domains in reverse order of name len - dreclist = sorted(resp.json()['domains'], - key=lambda drec: len(drec['name']), - reverse=True) - for drec in dreclist: - delresp = designatereq.delete(domainurl + "/" + drec['id']) - if delresp.status_code != 200: - raise DeleteDomainError("Unable to delete %s: %s" % - (drec['name'], - pprint.pformat(delresp.json()))) - - # key is zonename, val is designate rec id - zonerecs = {} - for zonerec in ipazones: - desreq = zone2des(zonerec) - resp = designatereq.post(domainurl, data=json.dumps(desreq)) - if resp.status_code == 200: - LOG.info(_LI("Added domain %s"), desreq['name']) - else: - raise AddDomainError("Unable to add domain %s: %s" % - (desreq['name'], pprint.pformat(resp.json()))) - zonerecs[desreq['name']] = resp.json()['id'] - - # get the records for each zone - for zonename, domainid in list(zonerecs.items()): - recurl = designateurl + "/domains/" + domainid + "/records" - iparecs = getiparecords(ipabackend, zonename, version) - for rec in iparecs: - desreqs = rec2des(rec, zonename) - for desreq in desreqs: - resp = designatereq.post(recurl, data=json.dumps(desreq)) - if resp.status_code == 200: - LOG.info(_LI("Added record %(record)s " - "for domain %(domain)s"), - {'record': desreq['name'], 'domain': zonename}) - else: - raise AddRecordError("Could not add record %s: %s" % - (desreq['name'], - pprint.pformat(resp.json()))) - -if __name__ == '__main__': - sys.exit(main()) diff --git a/contrib/records_mass_create.py b/contrib/records_mass_create.py deleted file mode 100644 index 9a74503f..00000000 --- a/contrib/records_mass_create.py +++ /dev/null @@ -1,57 +0,0 @@ -#!/usr/bin/env python -# Copyright 2015 Hewlett-Packard Development Company, L.P. -# -# Author: Endre Karlson -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -import os -import sys - -from designateclient import v1 -from oslo_config import cfg -from oslo_log import log as logging - -from designate.utils import generate_uuid - - -cfg.CONF.register_cli_opts([ - cfg.StrOpt("domain_id", help="ID of domain to use."), - cfg.IntOpt("records", default=100, - help="Records to create (name will be ..") -]) - -LOG = logging.getLogger(__name__) - -if __name__ == '__main__': - logging.register_options(cfg.CONF) - cfg.CONF(sys.argv[1:], project="designate") - logging.setup(cfg.CONF, "designate") - - project_name = os.environ.get( - 'OS_PROJECT_NAME', os.environ.get('OS_TENANT_NAME')) - - client = v1.Client( - auth_url=os.environ.get('OS_AUTH_URL'), - username=os.environ.get('OS_USERNAME'), - password=os.environ.get('OS_PASSWORD'), - project_name=project_name - ) - - domain = client.domains.get(cfg.CONF.domain_id) - - msg = "Creating %s records", cfg.CONF.records - LOG.info(msg) - for i in range(0, cfg.CONF.records): - name = '%s.%s' % (generate_uuid(), domain.name) - record = {"name": name, "type": "A", "data": "10.0.0.1"} - client.records.create(domain, record) diff --git a/contrib/vagrant/README.rst b/contrib/vagrant/README.rst deleted file mode 100644 index 1a9c4e29..00000000 --- a/contrib/vagrant/README.rst +++ /dev/null @@ -1 +0,0 @@ -See devstack/README.rst or use setup_ubuntu_devstack diff --git a/contrib/vagrant/Vagrantfile b/contrib/vagrant/Vagrantfile deleted file mode 100644 index 14986a9f..00000000 --- a/contrib/vagrant/Vagrantfile +++ /dev/null @@ -1,169 +0,0 @@ -VAGRANTFILE_API_VERSION = "2" -GITCONFIG = `cat $HOME/.gitconfig` - -Vagrant.require_version ">= 1.5" - -VM_RAM_SIZE = "8192" - -Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| - config.ssh.forward_agent = true - - config.vm.network "forwarded_port", guest: 5354, host: 5354, protocol: "tcp" - config.vm.network "forwarded_port", guest: 5354, host: 5354, protocol: "udp" - - config.vm.provider "virtualbox" do |vb, override| - vb.customize ["modifyvm", :id, "--memory", VM_RAM_SIZE] - if not RUBY_PLATFORM.downcase.include?("mswin") - vb.customize ["modifyvm", :id, "--cpus", `awk "/^processor/ {++n} END {print n}" /proc/cpuinfo 2> /dev/null || sh -c 'sysctl hw.logicalcpu 2> /dev/null || echo ": 2"' | awk \'{print \$2}\' `.chomp ] - end - vb.customize ["modifyvm", :id, "--nicpromisc3", "allow-all"] - - override.vm.synced_folder "../..", "/opt/stack/designate" - - if File.directory?("../../../python-designateclient") - override.vm.synced_folder "../../../python-designateclient", "/opt/stack/python-designateclient" - end - - if File.directory?("../../../designate-dashboard") - override.vm.synced_folder "../../../designate-dashboard", "/opt/stack/designate-dashboard" - end - - if File.directory?("../../../designate-tempest-plugin") - override.vm.synced_folder "../../../designate-tempest-plugin", "/opt/stack/designate-tempest-plugin" - end - - if File.directory?("../../../devstack") - override.vm.synced_folder "../../../devstack", "/home/vagrant/devstack" - end - - if File.directory?("../../../grenade") - override.vm.synced_folder "../../../grenade", "/opt/stack/grenade" - end - - if File.directory?("../../../tempest") - override.vm.synced_folder "../../../tempest", "/opt/stack/tempest" - end - - if File.directory?("../../../rally") - override.vm.synced_folder "../../../rally", "/opt/stack/rally" - end - end - - config.vm.provider :libvirt do |lv, override| - lv.graphics_ip = '0.0.0.0' - lv.nested = true - lv.memory = Integer(VM_RAM_SIZE) - if not RUBY_PLATFORM.downcase.include?("mswin") - lv.cpus = `awk "/^processor/ {++n} END {print n}" /proc/cpuinfo 2> /dev/null || sh -c 'sysctl hw.logicalcpu 2> /dev/null || echo ": 2"' | awk \'{print \$2}\' `.chomp - end - - override.vm.synced_folder ".", "/vagrant", type: "nfs" - override.vm.synced_folder "../..", "/opt/stack/designate", type: "nfs" - - if File.directory?("../../../python-designateclient") - override.vm.synced_folder "../../../python-designateclient", "/opt/stack/python-designateclient", type: "nfs" - end - - if File.directory?("../../../designate-dashboard") - override.vm.synced_folder "../../../designate-dashboard", "/opt/stack/designate-dashboard", type: "nfs" - end - - if File.directory?("../../../designate-tempest-plugin") - override.vm.synced_folder "../../../designate-tempest-plugin", "/opt/stack/designate-tempest-plugin", type: "nfs" - end - - if File.directory?("../../../grenade") - override.vm.synced_folder "../../../grenade", "/opt/stack/grenade", type: "nfs" - end - - if File.directory?("../../../devstack") - override.vm.synced_folder "../../../devstack", "/home/vagrant/devstack", type: "nfs" - end - - if File.directory?("../../../tempest") - override.vm.synced_folder "../../../tempest", "/opt/stack/tempest", type: "nfs" - end - - if File.directory?("../../../rally") - override.vm.synced_folder "../../../rally", "/opt/stack/rally", type: "nfs" - end - end - - $script = <