def test_get_by_pool_id(self): pool = VNXNasPool.get(pool_id=63, cli=t_nas()) self.verify_pool_vnx_sg_test(pool)
def test_get_all(self): pool_list = VNXNasPool.get(cli=t_nas()) assert_that(len(pool_list), equal_to(6))
def test_get_by_name(self): pool = VNXNasPool.get(name='vnx-sg_test', cli=t_nas()) self.verify_pool_vnx_sg_test(pool)
def get_nas_pool(self, name=None, pool_id=None): return VNXNasPool.get(cli=self._file_cli, name=name, pool_id=pool_id)