Merge "Adding support of subnet_dns_publish_fixed_ip extension in ml2 plugin"

This commit is contained in:
Zuul 2021-03-25 10:37:00 +00:00 committed by Gerrit Code Review
commit e06c25eaa1
4 changed files with 10 additions and 3 deletions

View File

@ -322,7 +322,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

View File

@ -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.

View File

@ -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 %}

View File

@ -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 }}