Files
neutron-lib/neutron_lib/api/definitions/l3_conntrack_helper.py
Harald Jensås 6d9f9e2841 Fix - L3 Conntrack Helper validator
'type:string' is validated by length, the definition was
passing in validators.validate_string instead of a number.
In python3 this causes a TypeError:
 '>' not supported between instances of 'int' and 'function'

Set the length to 64, matching the db model:
https://opendev.org/openstack/neutron/src/branch/master/neutron/db/models/conntrack_helper.py#L32

Related-Bug: #1823633
Change-Id: Idd9b442a30de294ce3fc97069cadba4457d746ab
2019-07-19 02:15:58 +02:00

4.3 KiB