Commit [f715b4] Maximize Restore History

ONTAP plugin: Improve disk status and disk type query

* Fix a trivial problem when no volume/LUN.
* Improve disk type query by using 'effective-disk-type'.
NetApp allowing disks with the same 'effective-disk-type' to create
aggregate(Pool).
* Improve disk status.
* Tested in ONTAP simulator for all coded status except this:
Disk.STATUS_ERROR
# I cannot actually broke a disk in ONTAP simulator.

Changes in V2:
* Remove debug code(print) from ONTAP plugin.
* Hide non-public constants in ONTAP plugin.

Signed-off-by: Gris Ge <fge@redhat.com>

Gris Ge Gris Ge 2014-08-26

Tony Asleson Tony Asleson 2014-08-26

changed plugin
changed plugin/ontap
changed plugin/ontap/na.py
changed plugin/ontap/ontap.py
plugin
Directory.
plugin/ontap
Directory.
plugin/ontap/na.py Diff Switch to side-by-side view
Loading...
plugin/ontap/ontap.py Diff Switch to side-by-side view
Loading...