aboutsummaryrefslogtreecommitdiffstats
path: root/requirements.txt
AgeCommit message (Collapse)AuthorFilesLines
2017-07-12Add schema-based config data validationFrank A. Zdarsky1-0/+1
This patch adds a jsonschema for os-net-config's configuration data and a library function to validate configuration data based on this schema. Adding schema-based validation allows catching a larger class of errors (typos, missing required parameters, etc.) for all devices configurable through os-net-config. The validation is run in the os-net-config CLI after loading the config file. If the config file fails to validate, the current default is to just log a warning and try to continue. By providing the new CLI option '--exit-on-validation-errors', this can be changed to log an error and exist instead. This validation is meant to be reusable, for example for pre-deployment validation of network environments (see change Ic16ee0bc353c46f8fe512454176a07ee95347346). Packaging with os-net-config makes it easier to keep object model and schema in sync. Change-Id: Ie4a905863b2d46c88d9cd6c3afc50e7d0a877090 Signed-off-by: Frank A. Zdarsky <fzdarsky@redhat.com>
2017-05-16Remove unused Babel setupAndreas Jaeger1-1/+0
This repo is not translated at all - and not setup for translation. Remove Babel and Babel set up. Change-Id: Ied2e0352f32108fed7b6e3e7355e9f4c029297f1
2017-03-31Updated from global requirementsBen Nemec1-10/+13
It appears os-net-config is not in the sync list for g-r. We should add it, but in the meantime this will get us up to date. Change-Id: I828a394ce72824eaabe904b563f73734a88c21f8
2015-02-24Remove deprecated references to oslo-incubatorSteven Hardy1-1/+2
Purge references to modules which have been deprecated by various oslo libraries. Requires changes to use oslo.utils and oslo.concurrency, which are added to the requirements, syncing with the latest in global requirements so we can also move to the un-namespaced oslo package names. Change-Id: Idacb71b7871330e3b3fabf4a926a5b8987614c4d
2014-08-20Add support for parsing YAMLDan Prince1-0/+1
Adds new YAML examples. Also adds some new CLI test cases which compare --noop stdout (from the CLI) for the json and yaml examples to verify they generate the same things.
2014-07-01Add os-net-config CLIDan Prince1-1/+1
Adds a new CLI which parses the JSON and calls the configured provider to apply the configuration.
2014-06-10Implement apply for ifcfg implementationDan Prince1-0/+5
Adds an apply function to the ifcfg implementation which: 1) Shuts down existing interfaces w/ ifdown 2) writes new interfaces config files (routes too) 3) Starts up new interfaces w/ ifup
2014-06-09Add interface, address, and route objectsDan Prince1-1/+2
Add some initial objects for interfaces, routes and addresses.
2014-06-06Initial commitDan Prince1-0/+2
Initial commit of the project layout