oslo.utils/releasenotes/notes/allow-to-convert-ipv4-address-from-text-to-binary-8c46ad2d9989e8c5.yaml
Hervé Beraud 3288539a0b Add a `strict` flag allowing users to restrict validation of IPv4 format
Add a ``strict`` flag allowing users to restrict validation to IP
addresses in presentation format (``a.b.c.d``) as opposed to address
format (``a.b.c.d``, ``a.b.c``, ``a.b``, ``a``).

https://github.com/netaddr/netaddr/issues/186
https://man7.org/linux/man-pages/man3/inet_pton.3.html
https://bugzilla.redhat.com/show_bug.cgi?id=1924436

Change-Id: I10fed16dad77ac17691a5d175c42b25916dc8bc4
Closes-Bug: #1914386
2021-02-05 14:07:20 +01:00

7 lines
249 B
YAML

---
features:
- |
Add a ``strict`` flag to ``netutils.is_valid_ipv4`` to allowing users to
restrict validation to IP addresses in presentation format (``a.b.c.d``)
as opposed to address format (``a.b.c.d``, ``a.b.c``, ``a.b``, ``a``).