HomeSort by relevance Sort by last modified time
    Searched refs:acls (Results 1 - 25 of 34) sorted by null

1 2

  /external/autotest/scheduler/
rdb_integration_tests.py 31 """Check if a host and request match by comparing acls and deps.
36 @return True if the deps/acls of the request match the host.
42 and set(host['acls']).intersection(request.acls))
155 def local_find_hosts(host_query_manger, deps, acls):
214 """Test a basic deps/acls request.
216 Make sure that a basic request with deps and acls, finds a host from
223 acls = set(['a', 'b'])
224 self.db_helper.create_host('h1', deps=deps, acls=acls)
    [all...]
rdb_cache_manager.py 29 Normal case: 3 grouped requests, all with the same deps/acls, but different
38 K: | find_hosts(deps, acls) |
51 Stale cache entries: 3 grouped requests that don't have the same deps/acls.
108 cache_key = self.cache.get_key(request.deps, request.acls)
191 # the AcquireHostRequest to contain a core of (deps, acls) that we can use as
198 key = collections.namedtuple('key', ['deps', 'acls'])
243 def get_key(cls, deps, acls):
244 """Return a key for the given deps, acls.
247 @param acls: A list of acls, as taken by the AcquireHostRequest
    [all...]
rdb_unittest.py 213 acls = set(['a'])
215 name='h1', deps=deps, acls=acls, leased=1)
218 acls=[aclgroup.id for aclgroup in db_host.aclgroup_set.all()])
222 acls=[aclgroup.id for aclgroup in db_host.aclgroup_set.all()])
235 acls = set(['a'])
237 name='h1', deps=deps, acls=acls, leased=1)
rdb_hosts_unittest.py 40 @raises AssertionError: If the labels and acls don't match up after
42 wire_format conversion also converts labels and acls.
48 acls = set(['d', 'e'])
50 self.db_helper.create_host('h1', deps=labels, acls=acls))
52 self.db_helper.get_acls(name__in=acls)])
56 # The RDBServerHostWrapper keeps ids of labels/acls to perform
60 set(server_host.acls) == acl_ids)
65 set(client_host.acls) == acl_ids)
69 bare_formatted_server_host.get('acls') is None
    [all...]
rdb_cache_unittests.py 23 be more than one, since we use acls in the cache key.
44 acls=test_utils.DEFAULT_ACLS, priority=0, parent_job_id=0, **kwargs):
51 deps, acls, priority, parent_job_id)]
185 key = self.cache.get_key(deps=request.deps, acls=request.acls)
248 deps=test_utils.DEFAULT_DEPS, acls=test_utils.DEFAULT_ACLS)
264 acls=test_utils.DEFAULT_ACLS, leased=1)
272 cache.set_line(cache.get_key(host.labels, host.acls), [host])
274 cache.get_line(cache.get_key(host.labels, host.acls)) == [host])
279 acls=test_utils.DEFAULT_ACLS, leased=0
    [all...]
rdb_testing_utils.py 35 return {'deps': DEFAULT_DEPS, 'user': DEFAULT_USER, 'acls': DEFAULT_ACLS,
40 return {'deps': DEFAULT_DEPS, 'acls': DEFAULT_ACLS}
203 def create_host(cls, name, deps=set([]), acls=set([]), status='Ready',
213 acls: The aclgroups this host must be a part of.
230 cls.add_host_to_aclgroup(host, aclgroup_names=acls)
340 acls = [acl.id for acl in DBHelper.get_acls(name__in=acl_names)]
342 deps=deps, acls=acls, host_id=None, priority=priority,
381 deps=set([]), acls=set([]), hostless_job=False,
383 """Create a job owned by user, with the deps and acls specified
    [all...]
rdb.py 59 def find_hosts(self, deps, acls):
60 """Finds valid hosts matching deps, acls.
63 @param acls: A list of acls, at least one of which must coincide with
70 queries += [Q(aclgroup__id__in=acls)]
289 # Getting all labels and acls might result in large queries, so
295 acl_match = (request.acls.intersection(host.acls) or host.invalid)
346 request.deps, request.acls)
436 # 1. Multiple requests for 1 host, with different acls/deps/priority
    [all...]
rdb_hosts.py 104 self.acls = [aclgroup.id for aclgroup in host.aclgroup_set.all()]
164 host_info['acls'] = self.acls
host_scheduler_unittests.py 68 acls=rdb_testing_utils.DEFAULT_ACLS)
77 self.assertTrue(set(job_info['acls']) == default_acl_ids)
  /external/chromium-trace/catapult/third_party/gsutil/gslib/addlhelp/
anon.py 36 See "gsutil help acls" for more details about data protection.
  /external/autotest/cli/
acl_unittest.py 22 acl_list.acls)
141 acls = acl.acl_create()
144 acls.parse()
145 self.assertEqual('my_favorite_acl', acls.data['description'])
150 acls = acl.acl_create()
153 self.assertRaises(cli_mock.ExitException, acls.parse)
160 acls = acl.acl_create()
164 self.assertRaises(cli_mock.ExitException, acls.parse)
171 acls = acl.acl_create()
174 self.assertRaises(cli_mock.ExitException, acls.parse
    [all...]
acl.py 6 manage ACLs in Autotest.
14 --alist / -A: file containing a list of ACLs
29 msg_items = '<acls>'
35 help='File listing the ACLs',
41 attribute_name='acls',
48 return self.acls
59 [--user <users>|--mach <machine>|--alist <file>] [<acls>]"""
64 help='List ACLs containing USER',
68 help='List ACLs containing MACHINE',
84 acls = getattr(self, 'acls'
    [all...]
site_host.py 36 locked=False, lock_reason='', labels=[], acls=[],
51 @param acls: A list of acls as strings.
67 obj.acls = acls
132 # We need to check if these labels & ACLs exist,
158 if self.acls:
161 self.acls)
host.py 234 acls = self.execute_rpc('get_acl_groups', hosts__hostname=host)
237 results.append([[stat], acls, labels, stat['attributes']])
242 for stats, acls, labels, attributes in results:
248 self.print_by_ids(acls, 'ACLs', line_before=True)
405 --acls <acls>|--alist <acl_file>
431 self.parser.add_option('-a', '--acls',
432 help='Comma separated list of ACLs')
434 help='File listing the acls',
    [all...]
topic_common_unittest.py 684 acl_info = topic_common.item_parse_info(attribute_name='acls',
689 self.assertEqualNoOrder(self.atest.acls,
730 acl_info = topic_common.item_parse_info(attribute_name='acls',
739 'acls')
743 self.assertEqualNoOrder(self.atest.acls, [])
    [all...]
  /external/autotest/cli/contrib/
why_isnt_my_job_running.py 136 # Exclude any hosts that ACLs deny us access to.
145 acls = ','.join(hostname_to_acl_name_list[hostname]) variable
147 'User %s does not have ACL access. ACLs: %s' % (
148 owner, acls))
297 print ' Host ACLs:', host_acls
298 print ' Owner Acls:', owner_acls
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/s3/
mock_storage_service.py 230 self.acls = {name: MockAcl()}
231 # default object ACLs are one per bucket and not supported for keys
266 return self.acls[key_name]
269 return self.acls[self.name]
286 self.acls[key_name] = MockAcl()
335 self.acls[key_name] = MockAcl(acl_or_str)
338 self.acls[self.name] = MockAcl(acl_or_str)
  /external/autotest/frontend/afe/
admin.py 227 acls = []
232 locked, lock_reason, labels, acls,
resources.py 161 'acls':
285 acls = HostAclMembershipCollection(fixed_entry=self)
297 'acls': acls.full_representation(),
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
acl.py 66 the canned ACLs, e.g.,:
74 See "gsutil help acls" for a list of all canned ACLs.
92 If you have a large number of ACLs to update you might want to use the
113 it to continue when it encounters errors. If some of the ACLs
125 deleting one grant and adding a different grant, the ACLs being updated will
242 gsutil exit status will be 0 even if some ACLs couldn't be
312 help_one_line_summary='Get, set, or change bucket and/or object ACLs',
327 """Parses options and sets ACLs on the specified buckets/objects."""
345 raise CommandException('ACLs for some objects could not be set.'
    [all...]
  /external/autotest/server/
frontend.py 270 acls = self.run('get_acl_groups', **dargs)
271 return [Acl(self, a) for a in acls]
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/vpc/
__init__.py 521 #Network ACLs
525 Retrieve information about your network acls. You can filter results
526 to return information only about those network acls that match your
527 search parameters. Otherwise, all network acls associated with your
590 acls = self.get_all_network_acls(filters=[('vpc-id', vpc_id), ('default', 'true')])
591 default_acl_id = acls[0].id
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/gslib/
util.py 765 # JSON API won't return acls as part of the response unless we have
    [all...]
  /external/owasp/sanitizer/tools/findbugs/lib/
commons-lang-2.6.jar 
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
commons-lang-2.6.jar 

Completed in 2294 milliseconds

1 2