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
This function will move http and json processing into a new
function done on demand after class initialization.
Change-Id: Ibf57f1e23912f7878287c6f85efd9ea93c7f13a1
Added custom Exception classes and raised them in get_moltenirond_pid.
Added log_error to log to stderr and a logfile
called /tmp/MoltenIron-error-logfile.
Change-Id: I2855cf832c2a1a8f5ef9df34cf96706eb5406276
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
MoltenIron is a tool to manage a pool of baremetal nodes that
are to be used as test targets in a baremetal CI environment,
instead of VM guests.
MoltenIron allows you to add, allocate, and release nodes from
it's pool using the following methods:
add - Add a node to the pool
allocate - checkout a baremetal node from the pool, returning
the required info in json format to the requester. It then
marks the node as in use so that no other VM will check it out.
release - return the baremetal node to the pool, allowing another
VM to eventually allocate it.
Change-Id: I8d276d677d9b09bc34032f46c825320d5d83e756