Adding support of subnet_dns_publish_fixed_ip extension in ml2 plugin
The subnet-dns-publish-fixed-ip extension adds a new attribute to the definition of the subnet resource. When set to true it will allow publishing DNS records for fixed IPs from that subnet independent of the restrictions described in the [1]. [1] https://docs.openstack.org/neutron/latest/admin/config-dns-int-ext-serv.html Change-Id: I095564cec0f5804e4d0ea9b5201ed40b9d9be603
This commit is contained in:
parent
b71662516e
commit
10e31ea1e2
@ -333,7 +333,7 @@ neutron_notifications_designate: notifications_designate
|
||||
# - vpnaas
|
||||
# - metering
|
||||
# - qos
|
||||
# - dns
|
||||
# - dns/subnet_dns_publish_fixed_ip either one or the other, not both
|
||||
# - port_forwarding
|
||||
neutron_plugin_base:
|
||||
- router
|
||||
|
@ -0,0 +1,7 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
Adds the ``subnet_dns_publish_fixed_ip`` option extension in ml2 plugin.
|
||||
The subnet-dns-publish-fixed-ip extension adds a new attribute to the
|
||||
definition of the subnet resource. When set to true it will allow
|
||||
publishing DNS records for fixed IPs.
|
@ -2,7 +2,7 @@
|
||||
{% set neutron_plugin_loaded_base = [] %}
|
||||
|
||||
{% for plugin in neutron_plugin_base %}
|
||||
{% if plugin not in ['dns', 'dns_domain_ports'] %}
|
||||
{% if plugin not in ['dns', 'dns_domain_ports', 'subnet_dns_publish_fixed_ip'] %}
|
||||
{% set _ = neutron_plugin_loaded_base.append(plugin) %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
@ -5,7 +5,7 @@
|
||||
type_drivers = {{ neutron_plugins[neutron_plugin_type].drivers_type }}
|
||||
tenant_network_types = {{ neutron_provider_networks.network_types if neutron_provider_networks.network_types != '' else 'local' }}
|
||||
mechanism_drivers = {{ neutron_ml2_mechanism_drivers }}
|
||||
extension_drivers = port_security{% if 'qos' in neutron_plugin_base %},qos{% endif %}{% if 'dns' in neutron_plugin_base %},dns{% endif %}{% if 'dns_domain_ports' in neutron_plugin_base %},dns_domain_ports{% endif %}
|
||||
extension_drivers = port_security{% if 'qos' in neutron_plugin_base %},qos{% endif %}{% if 'dns' in neutron_plugin_base %},dns{% endif %}{% if 'dns_domain_ports' in neutron_plugin_base %},dns_domain_ports{% endif %}{% if 'subnet_dns_publish_fixed_ip' in neutron_plugin_base %},subnet_dns_publish_fixed_ip{% endif %}
|
||||
|
||||
{% if neutron_provider_networks.network_mappings is defined and (neutron_plugin_type == 'ml2.opendaylight' and ('odl-router_v2' in neutron_plugin_base or 'odl-router' in neutron_plugin_base)) %}
|
||||
bridge_mappings = {{ neutron_provider_networks.network_mappings }}
|
||||
|
Loading…
Reference in New Issue
Block a user