Domain Import/Export
A domain import/export function should be included, allowing for domains to be imported and exported from BIND9 format zonefiles.
Blueprint information
- Status:
- Complete
- Approver:
- Graham Hayes
- Priority:
- Medium
- Drafter:
- Artom Lifshitz
- Direction:
- Approved
- Assignee:
- Artom Lifshitz
- Definition:
- Approved
- Series goal:
- Accepted for icehouse
- Implementation:
-
Implemented
- Milestone target:
-
icehouse-2
- Started by
- Graham Hayes
- Completed by
- Graham Hayes
Related branches
Related bugs
Bug #1248247: Inconsistent dnspython imports break zone import/export in production | Fix Released |
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Domain Import/Export
We need to decide on the endpoint to use. Choices are:
1. Existing /zone, with Accept: text/dns and Content-type: text/dns to signify export/import
2. New /zonefile endpoint
For /zone, there is hesitance about having the same endpoint do multiple things depending on the content type, and it would be confusing for new users. But it makes a lot of sense with REST: different content, and representations, for the same resource (the zone).
For /zonefile, it's easier for new users, and other Openstack projects use the Accept and Content-type headers for request/response format, not content.