Retarget ensure share to Queens

Move ensure share spec to Queens folder.

Change-Id: I3dc9e960ce38b9124b942413a90d91568fd4082b
This commit is contained in:
zhongjun 2017-09-11 10:50:28 +08:00 committed by zhongjun
parent 70e5b68f65
commit 4a4fbf6ca5
1 changed files with 5 additions and 4 deletions

View File

@ -71,8 +71,10 @@ called after driver initialization but before ensure_shares, that returns a
dictionary. Drivers will have complete control of the contents of the
dictionary to be hashed. Driver can include any of the following:
1. The ID of the most recent DB migration. Including this value guarantees
that ensure_shares will be called after DB schema changes.
1. The ID of the most recent DB migration. The manager will add new
``get_recent_db_migration_id`` interface to supply this value to the
driver. Then this value guarantees that ensure_shares will be called
after DB schema changes.
2. Any of the keys and values in the oslo config object. Including these
values guarantees that ensure_shares is called whenever the config file
changes in a way that impacts the driver.
@ -224,8 +226,7 @@ Primary assignee:
Work items
----------
* Implement the core feature with functional tempest and scenario test
coverage
* Implement the core feature with unit tests
* Convert all ensure_share() methods to ensure_shares()
* Implement get_backend_info() in first party drivers.
* Add documentation of this feature