email: kpostlet@redhat.com
- Update example text file
- Finish README
- Installation with
scl enable rh-python34 bash
- Add check to make sure user is running Python 3.X
Along with the website netqe-infra01.knqe.lab.eng.bos.redhat.com:8009
this tool was made to view network test data for the Red Hat Network QE team. It uses matplotlib in order to create the graphs which are present in the output PDF. Uses website API calls to access and write to the mongodb.
This tool will create two new commands:
fileMaker [-o (<output file name>]
- -o --output [default: out.txt]
graphGen -f <input file name>
This tool requires Python version 3.X
-
First install tkinter on your system
$ sudo yum install install (python34-tkinter|python36-tkinter)
or
$ sudo apt-get install python3-tk
-
If you are using a virtualenv use the flag
--system-site-packages
so that system wide packages are available to the virtual environment. -
Finally:
$ (pip|pip3) install qeGraphMaker
The input text for the graph generator is a well structured file as defined in the example file.
For a user friendly process when creating the input file use the fileMaker
command. This will walk you through the process of creating a file that can the be passed into graphGen
. Use to autocomplete options. When inputting cards and labels, at least one option is required; no input is required for flags.
Once you have a text file that is of the correct form. You can run graphGen -f <file-name>
. This will give you a PDF booklet as defined by the first line of the input file