[OVN] Add 'port-mac-address-regenerate' to the supported extensions

In fact this API extension is independent of the mech driver and should
be listed as supported by the OVN mech driver to not be filtered out
from the list of actually available extensions.

Related-Bug: #1929676
Change-Id: Ie2d5c52ce09b1b366717830f0af53f26366ee4b8
This commit is contained in:
Slawek Kaplonski 2021-05-27 11:54:08 +02:00
parent 7d8a5eb5a7
commit 6fb2f513da
2 changed files with 63 additions and 59 deletions

View File

@ -73,62 +73,64 @@ 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 |
+----------------------------------+---------------------------+
| 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 Forwarding | port_forwarding |
+----------------------------------+---------------------------+
| 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 |
+----------------------------------+---------------------------+
| Tag support | standard-attr-tag |
+----------------------------------+---------------------------+
| Time Stamp Fields | standard-attr-timestamp |
+----------------------------------+---------------------------+
+----------------------------------+-----------------------------+
| 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 |
+----------------------------------+-----------------------------+
| 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 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 |
+----------------------------------+-----------------------------+
| Tag support | standard-attr-tag |
+----------------------------------+-----------------------------+
| Time Stamp Fields | standard-attr-timestamp |
+----------------------------------+-----------------------------+

View File

@ -36,6 +36,7 @@ from neutron_lib.api.definitions import network_mtu
from neutron_lib.api.definitions import network_mtu_writable
from neutron_lib.api.definitions import pagination
from neutron_lib.api.definitions import port_device_profile
from neutron_lib.api.definitions import port_mac_address_regenerate
from neutron_lib.api.definitions import port_numa_affinity_policy
from neutron_lib.api.definitions import port_resource_request
from neutron_lib.api.definitions import port_security
@ -94,6 +95,7 @@ ML2_SUPPORTED_API_EXTENSIONS = [
network_availability_zone.ALIAS,
network_ip_availability.ALIAS,
port_device_profile.ALIAS,
port_mac_address_regenerate.ALIAS,
port_numa_affinity_policy.ALIAS,
port_security.ALIAS,
provider_net.ALIAS,