Commit Graph

78 Commits

Author SHA1 Message Date
kpdev 8733f8f85b Add new API for zone move
The new API would be v2/zones/<zone_id>/tasks/move
Only POST would be allowed on this API.
This move zone from existing pool and add it in new pool. After zone
pool_id field will be updated in DB, clone-zone will be created on
target pool backend servers. The zone transfer(AXFR/IXFR) will happen
and the zone on target pool gets synced with the Designate DB.
This command serve as replacement to "zone export + zone delete + zone
import" procedure.

Added following things in pool move operation:
  - Add/Update NS servers of new pool in the zone

Implements: blueprint zone-move
Change-Id: I5307de429114b20efd9785c3c0cdb33977418423
2023-12-15 22:31:27 +00:00
Igor Malinovskiy f39704dcd8 Implement sharing of zones
Author: Igor Malinovskiy <u.glide@gmail.com>
Co-Authored-By: Sergey Drozdov <sergey.drozdov.dev@gmail.com, sergey.drozdov93@thehutgroup.com>
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>

Change-Id: Ibd780f3c695a95be00ff97d7736d5a0bebea79b9
Closes-Bug: #1714088
Depends-On: https://review.opendev.org/c/openstack/designate-tempest-plugin/+/872069
2023-02-14 01:54:15 +00:00
Manish Honap d193b0c70c Add option to force delete zone-files in delete API.
Designate does not delete the zone-files on the back-end when zone is
deleted. This results in thousands leftover zone files on backend e.g.
bind. Add option in designate zone delete API to force clean/delete
zone-files on the back-end. This option is restricted for admin or
owner roles.

Closes-Bug: 1966517
Change-Id: Ic7b8fee4d4702b0632774d32542b23d7d2a8c253
2022-10-20 10:01:23 +00:00
Erik Olof Gunnar Andersson 6fee42ecac Remove unicode
No longer necessary as we no longer support Python 2.7.

Change-Id: Icae82ed323d25d85a35e12b8b4c980f0f71d5d85
2022-10-11 16:14:50 +00:00
shanyunfan33 6b740e28e5 fix delete-recordset-response.json format
fix records "10.1.0.3", -> "10.1.0.3"

Change-Id: I5f15c7f6f9e8d2de49bb30aa2c116619908b846b
2022-09-11 16:53:43 +08:00
Michael Johnson 39652d7a51 Add simple API versioning to the Designate API
Adds simple API versioning for Designate. Designate API minor releases are
additive to the API major revision and share the same URL path. Subsequent
minor versions are a superset of the previous versions of the same major
revision.
Updates the version discovery document to be compliant with OpenStack
version discovery.
Restructures the API reference to provide more information about the
versioning.

Depends-On: https://review.opendev.org/c/openstack/designate-tempest-plugin/+/848323
Change-Id: I13162711b521472ec8b796ced34d0b7107aaed36
2022-06-30 18:30:54 +00:00
Zuul 99fe04953f Merge "Fix API reference for list service statuses" 2022-02-18 02:49:58 +00:00
Michael Johnson 631b18bd12 Fix API reference for service statuses
This patch updates the "list service statuses" section of the API
reference to document the response parameters.
It also adds the missing "show service status" section.

Change-Id: If451fc099d2a3dc8ce77c807d9553da7c4122190
2021-12-21 23:46:17 +00:00
Michael Johnson 2e6611b112 Fix API reference for list service statuses
The API reference incorrectly listed the URL path for list service
statuses as /v2/service_status.
This patch corrects that to the actual path and adds compatiblity
for the /v2/service_status path in the code in case there are
users or libraries coded to the incorrect path.

Closes-Bug: #1919183
Change-Id: I3cdf0f8dcde12891e244822480270aec48e0df0d
2021-03-24 23:13:02 +00:00
Andreas Jaeger 663e420643 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.0 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Set openstackdocs_auto_name to use 'project' as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

Add openstackdocstheme options to api-ref.

Change-Id: I0cf71327ca5d9da1d88a826225374c8801849c36
2020-05-20 08:13:38 +02:00
Andreas Jaeger 21f94dea86 Cleanup docs building
* Switch to newer openstackdocstheme version and remove settings
  that are default now

Change-Id: Iec8791077aa7f1cb8edfa64235fb718a98aaba90
2020-02-23 17:33:27 +01:00
Zuul 548bb6da9e Merge "Remove the deprecated "giturl" option" 2018-02-03 14:16:52 +00:00
zhang.lei 6267a58ce8 Remove the deprecated "giturl" option
From openstackdocstheme 1.18.0, valid Git URLs can be retrieved by
openstackdocstheme[1], we do not need giturl option anymore.

[1] https://review.openstack.org/532163

Change-Id: Ic7ad09aaebc5951fe8e3a254ba1cee2d61b486f8
2018-01-15 03:47:36 +00:00
Graham Hayes c318106c01 Remove v1 API
This completes the long awaited removal of the V1 API.

Change-Id: I30c8a5e8569b1b86286c5e3cb07856c06ebe5803
2018-01-11 14:13:43 +00:00
Graham Hayes 3d35557851
Add zone 'attributes' to api-ref
Change-Id: Ieb99d4944165e4db32bba3b6b6be627d5d3f4038
2017-12-04 18:47:08 +00:00
Graham Hayes 94f0a7bf49
Update to correct status tables
Change-Id: I13053b8faddf5c1045d52f047185f309e1ee6a26
2017-11-27 14:31:16 +00:00
melissaml c7b3030d89 Fix doc generation for Python3
Fix the Sphinx html_last_updated_fmt for Python3.
The html_last_updated_fmt option is interpreted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.

Change-Id: Ia8274b7db7ff0f4e45acc778f7061c2add93c65f
Closes-Bug:#1693670
2017-06-04 21:58:11 +08:00
Jenkins 1e34b2ae8b Merge "Use https instead of http for git.openstack.org in designate" 2017-03-10 13:50:18 +00:00
gengchc2 4ef3f07a61 Use https instead of http for git.openstack.org in designate
Trivialfix

Change-Id: I11a3311df7deb8ac8bd3e077f4493a869d7e1830
2017-03-10 01:00:02 +00:00
Jenkins b94ba23f9e Merge "Change 'tocreate' to 'to create'" 2017-03-08 12:43:22 +00:00
Graham Hayes b56a7b14f3 Bump hacking to new required version
Change-Id: Ice127b5e673cee3159b780e3da06cec496c845e3
2017-03-07 21:56:28 +00:00
Nguyen Van Trung 8250ac4194 Change 'tocreate' to 'to create'
Change-Id: I8c2dd737d46b27fc415969840c521c882493d63e
2017-03-05 13:07:15 +07:00
Graham Hayes f7fcec6c4a Remove old docs content
Change-Id: I5289d75f4bd0d9c1489a208e3d83ac4f44c9422d
2017-02-22 14:55:29 -05:00
Graham Hayes 90298726f0 Fix warnings in api-ref
Change-Id: I5c4be2105f5a169f869b840da0f6a5a425a147f0
2017-02-08 14:45:22 +01:00
Maurice Schreiber 150e4d0140 [api-ref] fix create zone export endpoint
Change-Id: I56b0262ffa619917edb68fad9b7a57239b3b77b2
2016-12-29 16:46:13 +01:00
melissaml 20237812ec Fix a typo in parameters.yaml
TrivialFix

Change-Id: I461fca511003992927375b9c9064d9bf46c3486e
2016-11-17 12:46:24 +08:00
Maurice Schreiber e183541373 [api-ref] add optional zone create parameter 'masters'
Change-Id: Ia39b65065b3df2e3d27171165bfe8bb55dee109d
Closes-Bug: #1639271
2016-11-04 16:03:00 +01:00
sonu.kumar f16d567004 Add API description for deleting zone export record to api-ref
Change-Id: I596f1bae94cd963faddc7921bc240da02b91fed5
2016-09-28 11:23:42 +05:30
Alex Monk 05d79a3ab7 api-ref v2 recordset: document X-Designate-Edit-Managed-Records header
Change-Id: Ifae30121de3293dd031b73c4ef13c4e5c8a55b52
2016-09-21 15:40:37 +01:00
Jenkins 4b45d9beca Merge "[api-ref] Remove temporary block in conf.py" 2016-09-14 19:29:10 +00:00
Jenkins ed04418957 Merge "Add name parameter to recordset create request description" 2016-09-13 07:30:27 +00:00
Jenkins 1d5c2a3fa1 Merge "Config logABug feature for Designate api-ref" 2016-09-12 10:45:25 +00:00
Jenkins 3941bb2088 Merge "Change PATCH method to PUT for recordset update in api-ref" 2016-09-09 09:00:43 +00:00
Nguyen Phuong An b31098a277 [api-ref] Remove temporary block in conf.py
The os-api-ref 1.0.0 is out. We can remove the support to older version now.
Reference:
6d41feb58d

Change-Id: I8748ae2b4af44f49ab3a97716a7b9cf3d7182777
2016-09-09 13:17:19 +07:00
sonu.kumar 75e07940b8 Change PATCH method to PUT for recordset update in api-ref
Change-Id: I4794609230e77345a71be9f4763c4d49778cc449
Closes-Bug: #1621262
2016-09-08 15:35:49 +05:30
Nguyen Phuong An 19dd6d5d1b Config logABug feature for Designate api-ref
Currently, Designate api-ref is not configured with logABug feature.
When users click "Report bug" button, it leads to "openstack-manuals"
which is default.

Change-Id: I698c7d7b811011e601765521bb9a6419308ca9d7
2016-09-05 14:22:00 +07:00
sonu.kumar 871522fca9 Add name parameter to recordset create request description
Change-Id: I11f722b1d9aae2434a14cd6a934c5b39c572e15c
Closes-Bug: #1615141
2016-08-30 10:38:02 +05:30
sonu.kumar dcce755f3e Replace POST with PATCH in api-ref for set floatingIP's ptr record
Closes-Bug: #1615840

Change-Id: Ieea6d1a2df8b10a6497fb89907838dd88285617a
2016-08-29 14:47:53 +05:30
Graham Hayes 4320baf249 Add api-ref dropdown
Change-Id: I1119ad8895d6f3985a6c023d6bd2be8405f1927c
2016-08-25 12:40:26 +01:00
Graham Hayes f262e685b3 Get ready for os-api-ref sphinx theme change
Change-Id: If3f7c1d68e1f278cd5fbcb43fb686828e01d05fe
2016-08-19 16:18:46 +01:00
Jenkins a8693f45a4 Merge "Language fix 'imports' to 'exports'" 2016-08-18 06:35:41 +00:00
igor 3b9e00d030 Language fix 'imports' to 'exports'
Change-Id: I8b93ecac7837b926214836e3814333495d28c7db
2016-08-07 11:46:40 +02:00
Alex Monk 87aaecbbf0 Fix api-ref methods for getting, updating and deleting recordsets
Change-Id: I75fb8326781ce8ec00b134f70e436c7c857e337d
2016-08-03 22:46:43 +00:00
Graham Hayes fe306f8cb1 Documentation fix up
* Upgrade TOC was not showing the docs.
* API-Ref for zone transfer accepts was incorrect

Change-Id: I3eae331cddea97c56466d0031e4da10657c564fa
Fiexes-Bug: #1605665
2016-07-22 16:22:17 +01:00
Jenkins c3cffd81e9 Merge "Add missing parameters to docs of zone_ownership_transfer_accept" 2016-07-14 17:25:41 +00:00
sonu.kumar ac6e95b6ae Added docs for Floatingip ptr records to api ref
Change-Id: Ic42871b8ecc9caa4e39ce934e2e297aaf3b5222a
2016-07-12 22:01:15 +05:30
Graham Hayes 619b4753cd Add v2/quotas
This adds the quotas api from /admin to /v2 with some changes.

All users can GET /v2/quotas/<project_id>

Users with "All-Projects" permission can view other projects
(by setting X-Auth-All-Projects:True in the HTTP Headers)

Users with "All-Projects" and "set-quotas" can set other
projects quotas

Moved the API rendering to Designate Object based rendering

Change-Id: I7a0b828824ad6f274d922748f5f9a68157cd939a
Depends-On: I06180a7402fc45940d4b312666cf2dfd33af1305
2016-07-06 20:06:17 +01:00
sonu.kumar ea363d59d5 Add missing parameters to docs of zone_ownership_transfer_accept
Change-Id: Id9b9d1ed8124b708d9f6142c4c6ae807823264f1
2016-06-22 14:14:50 +05:30
sonu.kumar 8ce138dac1 Add docs for SSHFP, SRV, SPF and MX recordsets to api-ref
Change-Id: I758271cbebc012f1fa15f552227e6e73aac49635
2016-06-21 19:04:27 +05:30
Jenkins 812780d45b Merge "Add docs for zone ownership transfer_accept API" 2016-06-17 20:09:14 +00:00