abd5a75da2
Manila scheduler needs information about relationship between pools and share_servers to make Manila scheduling decisions smarter, as it would be based on pool capacity/capability. Add new share driver method called 'get_share_server_pools' which takes a share server and returns a list of pools. Share manager calls that method for every share server on every stats update and adds mapping to share_stats. Add new function 'share_server_get_all_by_host' to DB API. Change-Id: I41041cc247da5e25383c2f3f827d7d96b4347427 |
||
---|---|---|
.. | ||
migrations | ||
sqlalchemy | ||
__init__.py | ||
api.py | ||
base.py | ||
migration.py |