validations-libs/README.rst

38 lines
992 B
ReStructuredText

================
validations-libs
================
A collection of python libraries for the Validation Framework
Development Environment Setup
=============================
Vagrantfiles for CentOS and Ubuntu have been provided for convenience; simply
copy one into your desired location and rename to ``Vagrantfile``, then run::
vagrant up
Once complete you will have a clean development environment
ready to go for working with Validation Framework.
Docker Quickstart
=================
A Dockerfile is provided at the root of the Validations Library project in
order to quickly set and hack the Validation Framework.
Build the container from the Dockerfile by running::
docker build -t "vf:dockerfile" .
Once the build is finished you can check the image id::
docker images
Then you can run the container and start to run some builtin Validations::
docker run -ti <image_id> /bin/bash
Then run validations::
validation.py run --validation check-ftype,512e