A collection of python libraries for the Validation Framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Jiri Podivin 91c17107c5 Expansion of logging for the list action 12 months ago
doc Removing ansible-autodoc 1 year ago
dockerfiles/localvalidations Docker image refinement and preparation for future development. 1 year ago
playbooks Move fetch_validations role from validations-libs-functional to post playbook 1 year ago
releasenotes Moving doc structure closer to that in validations-commons. 1 year ago
validations_libs Expansion of logging for the list action 12 months ago
.coveragerc Make the measuring code coverage test working 1 year ago
.dockerignore Docker image refinement and preparation for future development. 1 year ago
.gitignore Make the measuring code coverage test working 1 year ago
.gitreview Improve the way we log on the file system 2 years ago
.pre-commit-config.yaml Bump pre-commit repositories 1 year ago
.stestr.conf Make the measuring code coverage test working 1 year ago
.zuul.yaml Use validation_component for Standalone CI jobs 1 year ago
CONTRIBUTING.rst Moving doc structure closer to that in validations-commons. 1 year ago
Dockerfile Docker image refinement and preparation for future development. 1 year ago
LICENSE Initial commit 2 years ago
MANIFEST.in Adding the foundation files 2 years ago
README.rst Moving doc structure closer to that in validations-commons. 1 year ago
Vagrantfile.centos add Vagrantfile for Validation Framework dev work 2 years ago
Vagrantfile.ubuntu add Vagrantfile for Validation Framework dev work 2 years ago
bindep.txt Fix lower-constraints errors 2 years ago
requirements.txt Bumping the ansible-runner version to 1.4.4 1 year ago
setup.cfg setup.cfg: Replace dashes with underscores 1 year ago
setup.py Adding the foundation files 2 years ago
test-requirements.txt Make the measuring code coverage test working 1 year ago
tox.ini Version bumps for rhel9 transition 1 year ago

README.rst

validations-libs

image

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.

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.

podman Quickstart

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.

Note

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