self.assertEqual(fake_pool['label'], pool_stats.get('pool_name'))
self.assertEqual(reserved_pct, pool_stats['reserved_percentage'])
self.assertEqual(over_subscription_ratio,
- pool_stats['max_oversubscription_ratio'])
+ pool_stats['max_over_subscription_ratio'])
self.assertEqual(total_gb, pool_stats.get('total_capacity_gb'))
self.assertEqual(used_gb, pool_stats.get('provisioned_capacity_gb'))
self.assertEqual(free_gb, pool_stats.get('free_capacity_gb'))
cinder_pool["QoS_support"] = False
cinder_pool["reserved_percentage"] = (
self.configuration.reserved_percentage)
- cinder_pool["max_oversubscription_ratio"] = (
+ cinder_pool["max_over_subscription_ratio"] = (
self.configuration.max_over_subscription_ratio)
tot_bytes = int(storage_pool.get("totalRaidedSpace", 0))
used_bytes = int(storage_pool.get("usedSpace", 0))