예제 #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))
예제 #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))
예제 #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))
예제 #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))
예제 #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))
예제 #6
0
파일: test_lun.py 프로젝트: crook/storops
 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))
예제 #7
0
파일: test_lun.py 프로젝트: crook/storops
 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))
예제 #8
0
파일: test_lun.py 프로젝트: crook/storops
 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))
예제 #9
0
파일: test_lun.py 프로젝트: crook/storops
 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))
예제 #10
0
파일: test_lun.py 프로젝트: crook/storops
 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))