コード例 #1
0
 def get_cg(self, name=None):
     return VNXConsistencyGroup.get(self._cli, name)
コード例 #2
0
 def test_update_consistency_group_list_member(self):
     cg_list = VNXConsistencyGroup.get(t_cli())
     cg = cg_list[1]
     name = cg.name
     cg.update()
     assert_that(cg.name, equal_to(name))
コード例 #3
0
 def test_list_consistency_group(self):
     cg_list = VNXConsistencyGroup.get(t_cli())
     assert_that(len(cg_list), equal_to(2))
     assert_that(cg_list.name, only_contains('another cg', 'test cg name'))
コード例 #4
0
ファイル: test_cg.py プロジェクト: optionalg/storops
 def test_list_consistency_group(self):
     assert_that(len(VNXConsistencyGroup.get(t_cli())), equal_to(2))