placement/nova/db/sqlalchemy
Dan Smith bc54f4de5e Add simple db purge command
This adds a simple purge command to nova-manage. It either deletes all
shadow archived data, or data older than a date if provided.

This also adds a post-test hook to run purge after archive to validate
that it at least works on data generated by a gate run.

Related to blueprint purge-db

Change-Id: I6f87cf03d49be6bfad2c5e6f0c8accf0fab4e6ee
2018-03-07 10:35:32 -08:00
..
api_migrations Make request_spec.spec MediumText 2017-12-14 21:28:18 -05:00
migrate_repo/versions remove db2 support from tree 2016-05-23 07:33:20 -04:00
__init__.py Remove SQLite BigInteger/Integer translation logic 2015-12-07 12:49:22 -05:00
api.py Add simple db purge command 2018-03-07 10:35:32 -08:00
api_models.py Make request_spec.spec MediumText 2017-12-14 21:28:18 -05:00
migration.py Revert "Optional separate database for placement API" 2016-08-25 13:51:16 -07:00
types.py Use is_valid_cidr and is_valid_ipv6_cidr from oslo_utils 2017-01-31 11:45:00 +00:00
utils.py Remove translation of log messages 2017-07-18 09:03:39 +00:00