nova/nova/cmd
Nikola Dipanov 7d5069ce20 nova-manage: Add hooks for running data-migration scripts
As data migrations can be of arbitrary complexity, it is very difficult
to nail down a framework other than just a method call that does all the
work. We want to be able to control how much work is done during each
run, but that's about it.

After writing a method that does the migrations, optionally limited by
the max_count argument that can be passed in, developers who introduced
the migration  will just need to declare it as part of the
online_migrations tuple on the DbCommands class, and the operators can
simply run a single online_data_migration command to migrate all the
declared migrations.

See tests for some simple examples.

Change-Id: I23810de8fc0d3875daf19af08bc9b57461f177ee
2016-02-16 13:32:28 +00:00
..
__init__.py move eventlet GREENDNS override to top level 2014-12-08 17:41:03 -05:00
all.py Config options: centralize options in conductor api 2016-02-09 14:06:51 +00:00
api.py Remove Deprecated EC2 and ObjectStore impl/tests 2016-01-08 06:30:20 -05:00
api_metadata.py Config options: centralize options in conductor api 2016-02-09 14:06:51 +00:00
api_os_compute.py Revert "Enable options for oslo.reports" 2015-12-05 16:12:52 +00:00
baseproxy.py Merge "Revert "Enable options for oslo.reports"" 2015-12-17 23:48:04 +00:00
cells.py Revert "Enable options for oslo.reports" 2015-12-05 16:12:52 +00:00
cert.py Move config options from nova/cert directory 2016-01-14 22:22:34 +00:00
compute.py Config options: centralize options in conductor api 2016-02-09 14:06:51 +00:00
conductor.py Config options: centralize options in conductor api 2016-02-09 14:06:51 +00:00
console.py Revert "Enable options for oslo.reports" 2015-12-05 16:12:52 +00:00
consoleauth.py Revert "Enable options for oslo.reports" 2015-12-05 16:12:52 +00:00
dhcpbridge.py Merge "Config options: centralize options in conductor api" 2016-02-10 07:11:54 +00:00
idmapshift.py Fix the usage output of the nova-idmapshift command 2015-09-14 17:54:05 +00:00
manage.py nova-manage: Add hooks for running data-migration scripts 2016-02-16 13:32:28 +00:00
network.py Config options: centralize options in conductor api 2016-02-09 14:06:51 +00:00
novnc.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
novncproxy.py config options: Centralise 'vnc' options 2016-02-03 13:36:20 +00:00
scheduler.py Merge "Revert "Enable options for oslo.reports"" 2015-12-17 23:48:04 +00:00
serialproxy.py config options: centralize section "serial_console" 2015-11-19 11:00:20 +01:00
spicehtml5proxy.py Use min and max on IntOpt option types 2015-08-14 04:37:21 +00:00
xvpvncproxy.py Revert "Enable options for oslo.reports" 2015-12-05 16:12:52 +00:00