selinon / selinonlib

*depracated* CLI interface for Selinon with a pack of prepared utilities for a user
https://selinonlib.readthedocs.io/
Other
9 stars 3 forks source link

Do not remove storage if not used #9

Closed fridex closed 7 years ago

fridex commented 7 years ago

Do not remove storage if the storage is not used by any task. This way a user can define storage and import it manually:

from selinon import StoragePool

s = StoragePool.get_connected_storage('MyStorage')

The warning about unused storage should be printed though.