Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
1. Integrate with existing validation hook in the service class
2. Minimize performance effect on CI gate tests
3. Consider upgrade implications, integrate with upgrade testing tools
4. Stand-alone tool which will also work across services
5. Discover components to validate configurations for (e.g. if Neutron is configured, then check Neutron credentials are correct)
6. Stand-alone tool which will be run after initial deployment
7. Track validated configurations and only revalidate if needed
8. Run validation during service startup unless that affects performance
9. catch following error types: a) duplicate/nonexistant options; b) invalid mix of settings
10. generic standalone tool for case a) is in nova/tools:
11. encode validation options in config option declaration
12. library to be reused between standalone tool and service init-hook
13. coordinate with
14. integrate with existing sample config file generator
15. integrate with generate documentation from config files and transform constraints into human-readable version

This comment has been minimized.

Copy link

lorin commented Nov 18, 2013

Note that the code to auto-generate documentation from config files is in:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.