neutron-lib/releasenotes/notes/Add-oneline-string-validator-aa4e1ccad9d8d5c8.yaml
Slawek Kaplonski 1f4c4031ee Add oneline_string validators
Those new validators are used to validate extra_dhcp_opt's opt_name and
opt_value fields to not allow multi-line strings to be set there.

Related-Bug: #1939733
Change-Id: I4dc3a09847205a660dc966d8eabccb4946f9bbc6
2021-10-25 22:06:40 +02:00

9 lines
348 B
YAML

---
features:
- |
New API validators ``validate_oneline_not_empty_string`` and
``validate_oneline_not_empty_string_or_none`` are added. Those validators
are now used to validate ``opt_name`` and ``opt_value`` fields of
the extra_dhcp_opt so strings with newline character are not valid for
dhcp extra option's name nor value.