Files
validations-libs/README.rst
T
Jiri Podivin 4fabb3d2b5 Improved Dockefile and simplified use instructions.
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Ia4e46f8ce13e36c08d55db729004ad6b3d9aaa87
2021-02-12 09:00:28 +01:00

950 B

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" .

Then you can run the container and start to run some builtin Validations:

docker run -ti vf:dockerfile /bin/bash

Then run validations:

validation.py run --validation check-ftype,512e --inventory /etc/ansible/hosts