Advanced validation of config options

Registered by Roman Podoliaka

Currently it is possible to specify the data types of config options. Each option class (IntOpt, FloatOpt, etc) defines a converter function, which transforms strings read from config files to values of target data types. Though, it's up to developers to check, that these values are actually eligible (e. g. an int value is within some predefined range). It would be very useful, to have such validators directly in oslo.config

Blueprint information

Status:
Complete
Approver:
Mark McLoughlin
Priority:
Medium
Drafter:
Roman Podoliaka
Direction:
Approved
Assignee:
Maxim Kulkin
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
Maxim Kulkin
Completed by
Thierry Carrez

Related branches

Sprints

Whiteboard

Should this be in the icehouse series? - dhellmann

Yes, it would be great to include it in icehouse releases. - mkulkin

Implementation available at https://review.openstack.org/#/c/58960/

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.