| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
Split the openlmi-python package to 2:
* openlmi-python-base
- lmi namespace
- functionality for any OpenLMI related python code
- contains packages 'lmi' and 'lmi.base'
* openlmi-python-providers
- common functionality for OpenLMI providers
- contains 'lmi.providers'
|
| | |
|
| |
|
|
|
|
| |
Inspired by StorageConfiguration. It loads configuration from
/etc/openlmi/<provider_prefix>/*. It needs to be subclassed for
particular set of python providers.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Some storage actions needs to be synchronous (because of SMI-S), but can
influence running jobs.
Imagine asynchronous job for vgreduce to remove /dev/sda1 from a volume group
and while it runs, someone creates new partition table on /dev/sda, which is
synchronous, as per SMI-S. The running vgreduce won't be happy and some data
might get lost.
Solution is to put a job to create new partition table to the job queue as
usual, and synchronously wait for the job to finish.
|
|
|
To comply with lmi shell, which is placed in *lmi* package, and to
make our imports shorter, we are renaming *openlmi* namespace to *lmi*.
|