glance/etc/metadefs/compute-aggr-num-instances.json
Travis Tripp 313d4f272c Add missing metadefs for Aggregate Filters
The below spec implemented in Juno added numerous properties
that can be added to Host Aggregates. The Metadata
Definitions catalog should include them.

https://github.com/openstack/nova-specs/blob/master/specs/juno/per-aggregate-filters.rst

Change-Id: Id37028b4b24ab5f6b0c4547a3c1af47bd76e61f6
Closes-bug: 1368032
2014-09-10 23:24:36 -06:00

22 lines
897 B
JSON

{
"namespace": "OS::Compute::AggregateNumInstancesFilter",
"display_name": "Instances per Host",
"description": "Properties related to the Nova scheduler filter AggregateNumInstancesFilter. Filters aggregate hosts by the number of running instances on it. Hosts in the aggregate with too many instances will be filtered out. The filter must be enabled in the Nova scheduler to use these properties.", "visibility": "public",
"protected": false,
"resource_type_associations": [
{
"name": "OS::Nova::Aggregate"
}
],
"properties": {
"max_instances_per_host": {
"title": "Max Instances Per Host",
"description": "Maximum number of instances allowed to run on a host in the aggregate.",
"type": "integer",
"readonly": false,
"minimum": 0
}
},
"objects": []
}