Chris Dent b70185c72e Adjust resource-providers models for resource-pools
In testing it was discovered that a separate resource_pools
tables was not required. Instead the resource-providers table
itself could provide that and any given provider could provide
multiple resources classes, associated via the inventories
table.

Therefore, this adds 'name', 'generation', and 'can_host' columns
to resource_providers and changes an allocations index to add the
'used' column.

A 'resource_providers_aggregates' table is added to associate a
resource provider with an aggregate.

A unique constraint is added on the inventories table so that any
resource provider can have only one inventory for any given
resource class.

Change-Id: Ia28be42a75e0977faf9bbc91d1ad9d8661b99230
Partially-Implements: blueprint resource-providers
2016-02-29 16:45:59 -08:00
..
2014-10-08 13:41:37 +00:00
2016-02-15 09:21:09 -08:00