nova/nova/db
Chris Dent 7a8415be5c Move db MAX constants to own file
The "MAX" constants in the db api are useful to import without
needing to import the rest of the api, so they are moved to a
constants.py file in the same package. api.py then imports the
symbols from that file for backwards compatibility.

The handler and schema for placement inventories (which use the MAX
constants) are updated to point to the constants file directly as
they do not need the db api.

Change-Id: Ifab10e023bcf4389f6514b477755c4cced2d1598
2018-03-01 11:09:29 +00:00
..
sqlalchemy Remove deprecated aggregate DB compatibility 2018-02-14 14:32:00 -08:00
__init__.py Remove vi modelines 2014-02-03 14:19:44 +00:00
api.py Move db MAX constants to own file 2018-03-01 11:09:29 +00:00
base.py config options: centralize section "database" + "api_database" 2016-05-16 10:20:51 +00:00
constants.py Move db MAX constants to own file 2018-03-01 11:09:29 +00:00
migration.py Manage db sync command for cell0 2016-08-22 18:53:45 +03:00