Add the abbility to setup default zone with tenantid variable inside

Registered by Gregoire Mahe

This blueprint has been superseded. See the newer blueprint "Allow using of default dns zone per tenant" for updated plans.

Neutron has, in DEFAULT section in neutron.conf file, a key dns_domain which is a domain fallback.

Basically, if we create port with neutron, the default dns assigment will be myport.defaultzone.com.

With Designate Integration, that will create DNS record myport.defaultzone.com. A portIP

The problem is, defaultzone.com. can be created only inside one and only one tenant. So this feature works only for one tenant, because the others has not access to this zone.

One of the solution I propose, is to integrate tenantid variable into default zone. So basically, create <tenantid>.defaultzone.com.
on each tenants, to allow users to have their DNS record myport.<tenantid>.defaultzone.com. inside their personal zone.

To sumarize,

When the user do openstack port create --network public --dns-name myport port, a default record will be created at myport.<tenantid>.defaultzone.com.

So, when a user creates an instance with nova, or port with neutron, we want to create automatically dns record myport.<tenantid>.defaultzone.com. inside his own tenant. (A and AAAA fields)

Here is the code for now https://github.com/openstack/neutron/compare/master...gregoiremahe:patch/dns-integration

Blueprint information

Status:
Complete
Approver:
Miguel Lavalle
Priority:
Undefined
Drafter:
Gregoire Mahe
Direction:
Needs approval
Assignee:
Gregoire Mahe
Definition:
Superseded
Series goal:
Proposed for train
Implementation:
Informational Informational
Milestone target:
None
Completed by
Slawek Kaplonski

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.