Files
neutron-lib/neutron_lib/api/validators
Ihar Hrachyshka 37e915ea1c tests: return same message for validate_[subnet*|route_cidr]
In netaddr 1.0.0, more requirements are enforced for input cidrs. This
makes the library raise exceptions for some values that were accepted
before and that we then manually validated (e.g. for the fact that the
library normalized value is identical to input.)

This patch makes the validators behave identically for both netaddr
versions (returning the same messages.)

This fixes some test failures with netaddr 1.2.1.

Change-Id: I4bc9c4238ed26cdc7ebf6e0c877ea4bd9c79c36d
2024-05-14 10:32:45 -04:00
..
2017-07-05 12:09:10 +09:00