neutron-lib/releasenotes/notes/validator_ip_or_subnet_or_none-0175f906a9113954.yaml
Nate Johnston bddc699eef Add validator to check for IP or subnet or none
This adds a validator to check if a value is an IP address, an IP
subnet, or none.

This was originally part of the neutron-fwaas API definition migration
to neutron-lib[1], but it was suggested that this should be pulled into
a separate change.

[1] https://review.openstack.org/389388

Change-Id: I8dcf49adc7754d0c9aa0479ede2de481325bb3e3
2016-12-15 16:31:21 +00:00

4 lines
64 B
YAML

---
features:
- Added validator validate_ip_or_subnet_or_none