Fix list of DNS extensions supported by OVN

The OVN driver needs to announce all DNS extensions as supported,
otherwise the neutron server will reject them.

Closes-Bug: 1947127
Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: Ic269902ef7a16893c4ea624b04347d04db4f52d9
This commit is contained in:
Dr. Jens Harbott 2021-10-14 11:19:41 +02:00
parent 2b30fa7bed
commit 8a890ed29c
No known key found for this signature in database
GPG Key ID: E7862B245C3596B1
3 changed files with 81 additions and 65 deletions

View File

@ -73,68 +73,74 @@ services:
The following Neutron API extensions are supported with OVN:
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Extension Name | Extension Alias |
+==================================+=============================+
+==================================+=================================+
| Allowed Address Pairs | allowed-address-pairs |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Auto Allocated Topology Services | auto-allocated-topology |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Availability Zone | availability_zone |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Default Subnetpools | default-subnetpools |
+----------------------------------+-----------------------------+
| Domain Name System (DNS) | dns_integration |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| DNS Integration | dns-integration |
+----------------------------------+---------------------------------+
| DNS domain for ports | dns-domain-ports |
+----------------------------------+---------------------------------+
| DNS domain names with keywords | dns-integration-domain-keywords |
+----------------------------------+---------------------------------+
| Subnet DNS publish fixed IP | subnet-dns-publish-fixed-ip |
+----------------------------------+---------------------------------+
| Multi Provider Network | multi-provider |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Network IP Availability | network-ip-availability |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Network Segment | segment |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Neutron external network | external-net |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Neutron Extra DHCP opts | extra_dhcp_opt |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Neutron Extra Route | extraroute |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Neutron L3 external gateway | ext-gw-mode |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Neutron L3 Router | router |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Network MTU | net-mtu |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Packet Logging | logging |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Port Binding | binding |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Port Bindings Extended | binding-extended |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Port Forwarding | port_forwarding |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Port MAC address Regenerate | port-mac-address-regenerate |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Port Security | port-security |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Provider Network | provider |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Quality of Service | qos |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Quota management support | quotas |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| RBAC Policies | rbac-policies |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Resource revision numbers | standard-attr-revisions |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| security-group | security-group |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| standard-attr-description | standard-attr-description |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Subnet Allocation | subnet_allocation |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Subnet service types | subnet-service-types |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Tag support | standard-attr-tag |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+
| Time Stamp Fields | standard-attr-timestamp |
+----------------------------------+-----------------------------+
+----------------------------------+---------------------------------+

View File

@ -20,6 +20,7 @@ from neutron_lib.api.definitions import availability_zone as az_def
from neutron_lib.api.definitions import default_subnetpools
from neutron_lib.api.definitions import dns
from neutron_lib.api.definitions import dns_domain_keywords
from neutron_lib.api.definitions import dns_domain_ports
from neutron_lib.api.definitions import expose_port_forwarding_in_fip
from neutron_lib.api.definitions import external_net
from neutron_lib.api.definitions import extra_dhcp_opt
@ -57,6 +58,7 @@ from neutron_lib.api.definitions import security_groups_normalized_cidr
from neutron_lib.api.definitions import security_groups_remote_address_group
from neutron_lib.api.definitions import segment as seg_def
from neutron_lib.api.definitions import sorting
from neutron_lib.api.definitions import subnet_dns_publish_fixed_ip
from neutron_lib.api.definitions import subnet_service_types
from neutron_lib.api.definitions import trunk
from neutron_lib.api.definitions import vlantransparent
@ -79,6 +81,8 @@ ML2_SUPPORTED_API_EXTENSIONS_OVN_L3 = [
project_id.ALIAS,
dns.ALIAS,
dns_domain_keywords.ALIAS,
dns_domain_ports.ALIAS,
subnet_dns_publish_fixed_ip.ALIAS,
agent_def.ALIAS,
az_def.ALIAS,
raz_def.ALIAS,

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Support for the extensions ``dns_domain_ports`` and ``subnet_dns_publish_fixed_ip``
belonging to the DNS integration is now properly announced by the OVN driver.
See bug `1947127 <https://bugs.launchpad.net/neutron/+bug/1947127>`_