neutron-lib/releasenotes/notes/port-mac-sanitization-d2b6ee77b66cb815.yaml
Rodolfo Alonso Hernandez 9d3cac1d69 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
2021-05-06 13:41:39 +00:00

7 lines
226 B
YAML

---
features:
- |
Improved ``port`` API with a MAC address conversion method that sanitizes
the value. The output format will be EUI-48, represented with colons and
in lower case, for example, 01:23:45:67:89:ab.