Ejemplo n.º 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))
Ejemplo n.º 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))
Ejemplo n.º 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))
Ejemplo n.º 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))
Ejemplo n.º 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))
Ejemplo n.º 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))
Ejemplo n.º 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))
Ejemplo n.º 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))
Ejemplo n.º 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))
Ejemplo n.º 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))