Version 0.6.0
-
New features:
- Added enclosures, drives and virtualdrives to main init.py
- Increased test coverage
- [Storcli] Added version properties to storcli class
- [Storcli] Added property to get the list of controllers
- [Controller] Method
create_vd
now acceptsPDperArray
. If it is required for some raid types, it is set to #disks//2. Requested in #2 - [DriveMetrics] Added vd and vd_id properties to DriveMetrics class
- [Drive] Added method
set_state
that can be forced. Requested in #5 - [Drive] Added class
DriveState
to better manage drive states. Closes #7 - [Drives] Added class
Drives
to manage a list of drives. This have been just added to keep the enclosures/virtualdrives working model.
-
Fixes:
- Package
pystorcli2
installs packagespystorcli
andpystorcli2
for backward compatibility. This is a temporary fix until all the projects usingpystorcli
are updated to usepystorcli2
. The packagepystorcli
will be removed in the future. Contents ofpystorcli
andpystorcli2
are the same.
Requested in #1 - Fixed variable
__all__
in project__init__.py
- [Storcli] Fixed issue with
get_controllers
method. Requested in #6 - [Storcli] Fixed (some) calls when storcli rejects returning jsons. Requested in #8
- [Controller] Fixed issue with
create_vd
method. Now it is possible to create a virtual drive with a specific number of physical drives per array. Requested in #2 - [Drive] Fixed issue with
set_state
method & property. Requested in #5 - [Binaries][metric]: fixed library calls
- Other minor fixes
- Package
-
Breaking changes
- Supported python versions are now 3.8 and onwards
- Slowly we are migrating to python3-typed classes. This have changed types in many clases and more is coming in future versions.
If you found any issue (typing error), please report it and we'll fix it as soon as possible. - Migrated from setup.py to pyproject.toml
- [Enclosure] Drive list is now a
Drives
object instead of a list ofDrive
objects
Thanks to @ulmitov for the contributions to this release