HYD-3318: Model part of DeletableMetaclass, should use mark_deleted instead Also, fixed the primary detection of a device in the case it was initialized using 'mkfs.lustre --servicenode' that doesn't set primary/failover devices.
HYD-3318: Model part of DeletableMetaclass, should use mark_deleted instead
Also, fixed the primary detection of a device in the case it was initialized
using 'mkfs.lustre --servicenode' that doesn't set primary/failover devices.

Change-Id: I0db33b21fbd5203e87eef944c8594057feeb52f5
Reviewed-on: http://review.whamcloud.com/10748
Tested-by: Jenkins
Tested-by: Chroma Test User <a0b98b2ff5154776fa24760ef410655af7a8b56c@intel.com>
Reviewed-by: Chris Gearing <149a3c4298d99c315fc555357d57d2940923ba5f@intel.com>

intel-hpdd/intel-manager-for-lustre,intel-hpdd/intel-manager-for-lustre,intel-hpdd/intel-manager-for-lustre