The callback_whitelist is not usable via the Run action for now. The patch allow users to pass a list of callbacks to whitelist during the validation run. Altered docstrings to include changed type spec. Change-Id: I37eb369701ccbd1d3fd4a7601a5e626d5867381d Signed-off-by: Jiri Podivin <firstname.lastname@example.org> Signed-off-by: Mathieu Bultel <email@example.com>
|3 months ago|
|doc||2 months ago|
|dockerfiles/localvalidations||3 months ago|
|playbooks||7 months ago|
|releasenotes||2 months ago|
|validations_libs||2 months ago|
|.coveragerc||5 months ago|
|.dockerignore||3 months ago|
|.gitignore||5 months ago|
|.gitreview||1 year ago|
|.pre-commit-config.yaml||6 months ago|
|.stestr.conf||5 months ago|
|.zuul.yaml||5 months ago|
|CONTRIBUTING.rst||2 months ago|
|Dockerfile||3 months ago|
|LICENSE||1 year ago|
|MANIFEST.in||1 year ago|
|README.rst||2 months ago|
|Vagrantfile.centos||7 months ago|
|Vagrantfile.ubuntu||7 months ago|
|bindep.txt||8 months ago|
|requirements.txt||5 months ago|
|setup.cfg||2 months ago|
|setup.py||1 year ago|
|test-requirements.txt||5 months ago|
|tox.ini||2 months ago|
A collection of python libraries for the Validation Framework
The validations will help detect issues early in the deployment process and prevent field engineers from wasting time on misconfiguration or hardware issues in their environments.
Vagrantfiles for CentOS and Ubuntu have been provided for convenience; simply copy one into your desired location and rename to
Vagrantfile, then run:
Once complete you will have a clean development environment ready to go for working with Validation Framework.
A Dockerfile is provided at the root of the Validations Library project in order to quickly set and hack the Validation Framework, on a equivalent of a single machine. Build the container from the Dockerfile by running:
podman build -t "vf:dockerfile" .
From the validations-libs repo directory.
More complex images are available in the dockerfiles directory and require explicit specification of both build context and the Dockerfile.
Since the podman build uses code sourced from the buildah project to build container images. It is also possible to build an image using:
buildah bud -t "vf:dockerfile" .
Then you can run the container and start to run some builtin Validations:
podman run -ti vf:dockerfile /bin/bash
Then run validations:
validation.py run --validation check-ftype,512e --inventory /etc/ansible/hosts