neutron-lib/releasenotes/notes/add-validate-cidr-848c9171dcbcf57c.yaml
longqianzhao 7da3684098 Modify the judgment method of CIDR and Add utests
The routing table could not add information, because
the original method could not identify the invalid CIDR.
This patch modify the judgement method. It will help
the router working normally.

Co-Authored-By: Allain Legacy <Allain.legacy@windriver.com>

Change-Id: I4db2e35303492aeda7e14cf9d525cc9b4a54ac36
Closes-Bug: #1805991
Story: 2004567
2019-01-04 09:23:29 +08:00

8 lines
274 B
YAML

---
features:
- |
A new function named ``validate_route_cidr`` was introduced
which is used to validate if ``destination`` of ``routes``
and ``destination`` of ``host_routes`` is a network address
of a destination subnet or an IP address of a destination.