Exemple #1
0
 def test_lun_tier_high(self):
     lun = VNXLun()
     lun.tiering_policy = 'Highest Available'
     lun.initial_tier = 'Highest Available'
     assert_that(lun.tier, equal_to(VNXTieringEnum.HIGH))
Exemple #2
0
 def test_lun_tier_no_move_optimize_pool(self):
     lun = VNXLun()
     lun.tiering_policy = 'No Movement'
     lun.initial_tier = 'Optimize Pool'
     assert_that(lun.tier, equal_to(VNXTieringEnum.NO_MOVE))
Exemple #3
0
 def test_lun_tier_auto(self):
     lun = VNXLun()
     lun.tiering_policy = 'Auto Tier'
     lun.initial_tier = 'Optimize Pool'
     assert_that(lun.tier, equal_to(VNXTieringEnum.AUTO))
Exemple #4
0
 def test_lun_tier_low(self):
     lun = VNXLun()
     lun.tiering_policy = 'Lowest Available'
     lun.initial_tier = 'Lowest Available'
     assert_that(lun.tier, equal_to(VNXTieringEnum.LOW))
Exemple #5
0
 def test_lun_tier_no_move_high_tier(self):
     lun = VNXLun()
     lun.tiering_policy = 'No Movement'
     lun.initial_tier = 'Highest Available'
     assert_that(lun.tier, equal_to(VNXTieringEnum.NO_MOVE))
Exemple #6
0
 def test_lun_tier_no_move_optimize_pool(self):
     lun = VNXLun()
     lun.tiering_policy = 'No Movement'
     lun.initial_tier = 'Optimize Pool'
     assert_that(lun.tier, equal_to(VNXTieringEnum.NO_MOVE))
Exemple #7
0
 def test_lun_tier_no_move_high_tier(self):
     lun = VNXLun()
     lun.tiering_policy = 'No Movement'
     lun.initial_tier = 'Highest Available'
     assert_that(lun.tier, equal_to(VNXTieringEnum.NO_MOVE))
Exemple #8
0
 def test_lun_tier_low(self):
     lun = VNXLun()
     lun.tiering_policy = 'Lowest Available'
     lun.initial_tier = 'Lowest Available'
     assert_that(lun.tier, equal_to(VNXTieringEnum.LOW))
Exemple #9
0
 def test_lun_tier_high(self):
     lun = VNXLun()
     lun.tiering_policy = 'Highest Available'
     lun.initial_tier = 'Highest Available'
     assert_that(lun.tier, equal_to(VNXTieringEnum.HIGH))
Exemple #10
0
 def test_lun_tier_auto(self):
     lun = VNXLun()
     lun.tiering_policy = 'Auto Tier'
     lun.initial_tier = 'Optimize Pool'
     assert_that(lun.tier, equal_to(VNXTieringEnum.AUTO))