Manage a pool of nodes for a distributed test infrastructure
Go to file
James E. Blair 7a1fe1891f Add a nodepool command
Moves the daemon command to nodepoold.

Refactor config handling a bit in NodePool to make the config
objects just contain information by default (though things
such as database handles and managers may get added to them
later as needed).

Start with the list and image-list commands.

Change-Id: If2ba7bca7ab4ef922787176af87ad5de31ae4b3e
2013-09-03 09:27:04 -07:00
nodepool Add a nodepool command 2013-09-03 09:27:04 -07:00
tools Make jenkins username and private key path configurable 2013-08-22 16:16:28 -07:00
.gitignore Initial commit 2013-08-15 09:47:23 -07:00
.gitreview Added .gitreview 2013-08-13 17:10:06 +00:00
README Use a sensible SQLAlchemy session model 2013-08-16 20:21:33 -07:00
README.rst Initial commit 2013-08-15 09:47:23 -07:00
requirements.txt Add a nodepool command 2013-09-03 09:27:04 -07:00
setup.cfg Add a nodepool command 2013-09-03 09:27:04 -07:00
setup.py Initial commit 2013-08-15 09:47:23 -07:00
test-requirements.txt Initial commit 2013-08-15 09:47:23 -07:00
tox.ini Initial commit 2013-08-15 09:47:23 -07:00

Developer setup:

mysql -u root

mysql> create database nodepool;
mysql> GRANT ALL ON nodepool.* TO 'nodepool'@'localhost';
mysql> flush privileges;

nodepool -d -c tools/fake.yaml

After each run (the fake nova provider is only in-memory):

mysql> delete from snapshot_image; delete from node;