OpenStack Core Infrastructure

Comment 8 for bug 929021

Reviewed: https://review.openstack.org/5822
Committed: http://github.com/openstack-ci/devstack-gate/commit/45413b522b3b34c6c89b206c8422ed42825f73e6
Submitter: Jenkins
Branch: master

commit 45413b522b3b34c6c89b206c8422ed42825f73e6
Author: Bhuvan Arumugam <email address hidden>
Date: Mon Apr 2 12:54:19 2012 -0700

    Bug 929021.

    Monitor ready node count for all providers.

    * devstack-vm-threshold.py
    New script to print count of available nodes, across all providers.
    The threshold is specified in command line. If available node count
    is less than threshold, the script exit with error code (1).

    The available node count is written to a file. File name is
    specified in command line. If file name is not specified, it is
    written to ~/vm-threshold.txt file.

    usage: devstack-vm-threshold.py [-h] -t threshold [-f stat-file]

    Change-Id: Ib5d24b2a81a79c753ede4bc0c59e17808dc75b18