Lines Matching refs:acls
41 and set(host['acls']).intersection(request.acls))
154 def local_find_hosts(host_query_manger, deps, acls): argument
222 acls = set(['a', 'b'])
223 self.db_helper.create_host('h1', deps=deps, acls=acls)
224 job = self.create_job(user='autotest_system', deps=deps, acls=acls)
246 acls = set(['a', 'b'])
252 self.db_helper.create_host('lumpy1', deps=lumpy_deps, acls=acls)
253 self.db_helper.create_host('lumpy2', deps=lumpy_deps, acls=acls)
254 self.db_helper.create_host('stumpy1', deps=stumpy_deps, acls=acls)
256 'stumpy2', deps=stumpy_deps_with_crosversion , acls=acls)
258 deps=lumpy_deps, acls=acls)
260 deps=stumpy_deps_with_crosversion, acls=acls)
280 acls = set(['a', 'b'])
281 self.db_helper.create_host('h1', deps=host_labels, acls=acls)
282 job = self.create_job(user='autotest_system', deps=job_deps, acls=acls)
297 self.db_helper.create_host('h1', deps=deps, acls=host_acls)
302 job = self.create_job(user='new_user', deps=deps, acls=job_acls)
319 acls = set(['a', 'b'])
320 self.db_helper.create_host('h1', deps=deps, acls=acls)
322 deps=deps, acls=acls, priority=2)
324 deps=deps, acls=acls, priority=0)
343 acls = set(['a', 'b'])
344 self.db_helper.create_host('h1', deps=deps, acls=acls)
348 first_job = self.create_job(user='autotest_system', deps=deps, acls=acls)
350 acls=acls, priority=2)
353 acls=acls, priority=1)
382 acls = set(['a', 'b'])
385 matching_job = self.create_job(acls=acls, deps=deps)
386 matching_host = self.db_helper.create_host('h1', acls=acls, deps=deps)
387 mis_matching_job = self.create_job(acls=acls, deps=deps)
389 'h2', acls=acls, deps=deps.pop())
553 acls = set(['fake_acl'])
557 'h%d' % i, deps=set(['board:lumpy']), acls=acls))
563 board='board:lumpy', acls=acls)