예제 #1
0
 def test_get_by_pool_id(self):
     pool = VNXNasPool.get(pool_id=63, cli=t_nas())
     self.verify_pool_vnx_sg_test(pool)
예제 #2
0
 def test_get_all(self):
     pool_list = VNXNasPool.get(cli=t_nas())
     assert_that(len(pool_list), equal_to(6))
예제 #3
0
 def test_get_by_name(self):
     pool = VNXNasPool.get(name='vnx-sg_test', cli=t_nas())
     self.verify_pool_vnx_sg_test(pool)
예제 #4
0
 def test_get_by_pool_id(self):
     pool = VNXNasPool.get(pool_id=63, cli=t_nas())
     self.verify_pool_vnx_sg_test(pool)
예제 #5
0
 def test_get_by_name(self):
     pool = VNXNasPool.get(name='vnx-sg_test', cli=t_nas())
     self.verify_pool_vnx_sg_test(pool)
예제 #6
0
 def test_get_all(self):
     pool_list = VNXNasPool.get(cli=t_nas())
     assert_that(len(pool_list), equal_to(6))
예제 #7
0
파일: system.py 프로젝트: crook/storops
 def get_nas_pool(self, name=None, pool_id=None):
     return VNXNasPool.get(cli=self._file_cli, name=name, pool_id=pool_id)
예제 #8
0
 def get_nas_pool(self, name=None, pool_id=None):
     return VNXNasPool.get(cli=self._file_cli, name=name, pool_id=pool_id)