nova/nova/db/sqlalchemy/migrate_repo
Chris Dent 3b2adde944 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
..
versions Adjust resource-providers models for resource-pools 2016-02-29 16:45:59 -08:00
__init__.py Removed copyright from empty files 2014-02-27 14:27:54 +02:00
manage.py Remove vi modelines 2014-02-03 14:19:44 +00:00
migrate.cfg add support for database migration 2011-01-12 16:57:04 -08:00
README add support for database migration 2011-01-12 16:57:04 -08:00

This is a database migration repository.

More information at
http://code.google.com/p/sqlalchemy-migrate/