Пример #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
 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)