Comment 3 for bug 1926273

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-lib (master)

Reviewed: https://review.opendev.org/c/openstack/neutron-lib/+/788300
Committed: https://opendev.org/openstack/neutron-lib/commit/9d3cac1d69a143c0a44230144760dd86c52d6ac7
Submitter: "Zuul (22348)"
Branch: master

commit 9d3cac1d69a143c0a44230144760dd86c52d6ac7
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Apr 27 13:43:31 2021 +0000

    Modify "port.mac_address" API definition

    Added a convertion method in the "port.mac_address" parameter. This
    convertion will return a sanitized MAC address formatted as:
      xx:xx:xx:xx:xx:xx

    This patch is not creating a new extension (that should be the
    regular process):
    - To avoid the Neutron extension explosion.
    - Because this method will not validate the MAC address but
      sanitize it, if valid. Other services or projects will expect
      a MAC address with the defined format.
    - This sanitization won't change the MAC address value.
    - This sanitization will be always enabled (no extension needed).

    Closes-Bug: #1926273

    Change-Id: I95d596c84716835076365981376fb23166c6b23c