cloudfoundry/dea_ng — pull request #85 by jackfengibm (2013-11-28 03:01:22+00:00)
Title: This changeset adds support of max_instances and available_instances.  

Resource manager tracks all registered instances, except those in the DELETED state. Its could_reserve? and numbers reserverable methods responds positively when the total number of undeleted instances fall under the max_instances limit.