We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: Iaf4ae89bb1fa86549e4aff9ee80bca327fe92096
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
CentOS installs molteniron into /usr/etc/molteniron instead of
/usr/local/etc/molteniron/ so we have moved the conf.yaml file
into the molteniron Python directory and started using
pkg_resources.resource_filename to find our data file.
Change-Id: I75330d51475051a04bb2dff903f54727b9be9b6e
test_hook_mi_ipmiblob.py is the provided sample for a CI team to
use to allocate a MoltenIron instance before running tests.
Change-Id: I217b8e3ba14cb3c4358d71be40ad9ca80aca32e1
Add tests for adding a BM node, for allocating a BM node, for
culling BM nodes, for deallocating a BM node, for deallocating
a node's owner, for cleaning the database, for getting a field
of a node, for getting the IPs of a node, and for removing a
BM node.
Change-Id: I666747656948e19d4817327b33017c4f01752baa
Moved files to a new directory to support the installation
of the molteniron package. Renamed one file to be a
command line tool and added a new file to start/stop
the daemon.
Added tox support for testing. This needed the ability
to start and stop the daemon. And it also needed the
ability to delete the database entries to ensure a clean
test run.
Change-Id: I1b0fadd68b9598b715c639b962cf8586f4db5da8