We need to separate out engine code and audit and repair scripts if
pypi distribution is reqd. This is handled in this commit.
Further commits will remove the two variables hardcoded currently,
and expose __main__ as a cmdline script on installation.
Use imp for module finding and loading, use full path to script in
audit and repair cfg files.
Move audit and repair scripts to examples. Make some changes to hardcoded
stuff to account for this
Update gitignore
Change-Id: I50831003c6f7272967dbeb5c558b76b0183c91be
Ignore react and audit json files. vm_count.json will continue
to stays as an example but new files will be hidden
Change-Id: Ibdb700f1dbac44b96bf8f738400deae446c2cf21
Remove usage of globals.py
Rewrite register-audit and register-repair to avoid using globals.
Get cfg file from engine name and script type instead.
Remove cfg files from git
Change-Id: I8ee119b4ebf55fa18ff4f6a83c0859ddc6699c5f
Don't want to include cfg files anymore. Want to store complete
paths to files, will print out username, etc. Will add a sample
cfg file in a future commit to make things clearer
Change-Id: I90ee3b6950475cafc4f031ff37c9e1d599c9a80c
vm_count.py gets number of vms running in a cluster,
react will throw an error if it's above a limit.
Not adding vm_count.json to git, similar to audit.json,
contains api and compute hostnames in addition.
Don't use extrapolation for every log message
Add audit conf files to gitignore
Remove stevedore stuff, not using now, can add back later if needed
Use libvirt bindings to talk to hypervisor. Only one hypervisor
for now, changes soon for multiple hypervisors.
Change-Id: I843e3600a62cb6698526b3498358e4b90121ba1a
Introduce logging to replace print functions
Sleep time in start_audit() changed from fixed value to
time left for next call.
Change-Id: I8e60a0c689cd1efa80541466531072c5eca1ae06
Because upstream wasn't mentioned when project was created, merge
existing upstream code manually. Current upstream is
https://github.com/pran1990/entropy
Add first draft of script in entropy/entropy.py. Utils used by the package are in entropy/utils.py
Added licenses to py scripts and LICENCE file
Added tox.ini, requirements.txt, and test-requirements.txt to setup
environments for gerrit's jenkins tests
Added sphinx docs in docs/. Instructions to build docs are in docs/README.rst
Change-Id: Ifff7cff38989e8c5509d3ecf4b34485893bfcfdb