Home
last modified time | relevance | path

Searched refs:ROLE (Results 1 – 17 of 17) sorted by relevance

/external/autotest/site_utils/
Dserver_manager_actions.py27 RESTART_SCHEDULER = (server_models.ServerRole.ROLE.SCHEDULER,
29 RESTART_HOST_SCHEDULER = (server_models.ServerRole.ROLE.HOST_SCHEDULER,
31 RESTART_SUITE_SCHEDULER = (server_models.ServerRole.ROLE.SUITE_SCHEDULER,
33 RELOAD_APACHE = (server_models.ServerRole.ROLE.SCHEDULER,
36 STOP_SCHEDULER = (server_models.ServerRole.ROLE.SCHEDULER,
38 STOP_HOST_SCHEDULER = (server_models.ServerRole.ROLE.HOST_SCHEDULER,
40 STOP_SUITE_SCHEDULER = (server_models.ServerRole.ROLE.SUITE_SCHEDULER,
47 server_models.ServerRole.ROLE.SCHEDULER: [RESTART_SCHEDULER],
48 server_models.ServerRole.ROLE.HOST_SCHEDULER: [RESTART_HOST_SCHEDULER],
49 server_models.ServerRole.ROLE.SUITE_SCHEDULER:
[all …]
Dserver_manager_unittest.py54 attrs={'role': server_models.ServerRole.ROLE.DRONE})
57 attrs={'role': server_models.ServerRole.ROLE.SCHEDULER})
117 server=mox.IgnoreArg(), role=server_models.ServerRole.ROLE.DRONE
121 role=server_models.ServerRole.ROLE.DRONE)
130 server_models.validate(role=server_models.ServerRole.ROLE.DEVSERVER)
137 [server_models.ServerRole.ROLE.DRONE])
140 role=server_models.ServerRole.ROLE.DEVSERVER
144 role=server_models.ServerRole.ROLE.DEVSERVER,
152 server_models.validate(role=server_models.ServerRole.ROLE.DRONE)
155 [server_models.ServerRole.ROLE.DRONE])
[all …]
Dserver_manager_utils.py209 roles = [role for role, _ in server_models.ServerRole.ROLE.choices()]
305 servers = get_servers(role=server_models.ServerRole.ROLE.DRONE,
359 servers = get_servers(role=server_models.ServerRole.ROLE.SHARD,
/external/autotest/frontend/server/
Dmodels.py101 ROLE = enum.Enum(*ROLE_LIST, string_values=True) variable in ServerRole
104 ROLES_REQUIRE_BACKUP = [ROLE.SCHEDULER, ROLE.HOST_SCHEDULER,
105 ROLE.DATABASE, ROLE.SUITE_SCHEDULER,
106 ROLE.DRONE]
109 ROLES_REQUIRE_UNIQUE_INSTANCE = [ROLE.SCHEDULER,
110 ROLE.HOST_SCHEDULER,
111 ROLE.DATABASE,
112 ROLE.SUITE_SCHEDULER]
115 role = dbmodels.CharField(max_length=128, choices=ROLE.choices())
/external/autotest/contrib/
Ddeploy_puppet.sh27 ROLE=
37 ROLE=$OPTARG
65 if [ -n "${ROLE}" ]; then
66 ROLE_OPT="-r ${ROLE}"
73 if [ -z "${ROLE}" ] && [ -z "${STATUS}" ] && [ -z "${HOSTNAME}" ]; then
/external/selinux/secilc/test/
Dminimum.cil6 (role ROLE)
14 (roletype ROLE TYPE)
15 (userrole USER ROLE)
18 (sidcontext SID (USER ROLE TYPE ((SENS)(SENS))))
Doptional_test.cil7 (role ROLE)
15 (roletype ROLE TYPE)
16 (userrole USER ROLE)
19 (sidcontext SID (USER ROLE TYPE ((SENS)(SENS))))
Dneverallow.cil6 (role ROLE)
14 (roletype ROLE TYPE)
15 (userrole USER ROLE)
18 (sidcontext SID (USER ROLE TYPE ((SENS)(SENS))))
Dblock_test.cil7 (role ROLE)
15 (roletype ROLE TYPE)
16 (userrole USER ROLE)
19 (sidcontext SID (USER ROLE TYPE ((SENS)(SENS))))
Din_test.cil7 (role ROLE)
15 (roletype ROLE TYPE)
16 (userrole USER ROLE)
19 (sidcontext SID (USER ROLE TYPE ((SENS)(SENS))))
Dname_resolution_test.cil7 (role ROLE)
15 (roletype ROLE TYPE)
16 (userrole USER ROLE)
19 (sidcontext SID (USER ROLE TYPE ((SENS)(SENS))))
Dbounds.cil6 (role ROLE)
14 (roletype ROLE TYPE)
15 (userrole USER ROLE)
18 (sidcontext SID (USER ROLE TYPE ((SENS)(SENS))))
/external/selinux/checkpolicy/
Dpolicy_parse.y95 %token ROLE
504 role_type_def : ROLE identifier TYPES names ';'
507 role_attr_def : ROLE identifier opt_attr_list ';'
525 role_def : ROLE identifier_push ';'
527 | ROLE identifier_push '{' roles '}'
601 | SOURCE ROLE { if (insert_separator(1)) return -1; } names_push
604 | TARGET ROLE { if (insert_separator(1)) return -1; } names_push
607 | ROLE role_mls_op
922 require_decl_def : ROLE { $$ = require_role; }
Dpolicy_scan.l79 ROLE |
80 role { return(ROLE); }
/external/selinux/python/sepolgen/src/sepolgen/
Drefpolicy.py42 ROLE = 4 variable
48 "permission" : PERMS, "role" : ROLE, "destination" : DEST_TYPE }
Dinterfaces.py165 return __param_insert(role.role, refpolicy.ROLE, None, params)
/external/selinux/python/sepolicy/sepolicy/
D__init__.py36 ROLE = 2 variable
177 elif setype == ROLE: