Lines Matching full:role
13 modify: modify a server's role or status.
16 --role / -r: role that's related to server actions.
50 self.parser.add_option('-r', '--role',
51 help='Name of a role',
54 metavar='ROLE')
56 help=('Set to True to apply actions when role '
72 role_info = topic_common.item_parse_info(attribute_name='role')
92 self.role = options.role
113 """atest server list [--role <role>]"""
165 @return: A list of servers matched given hostname and role.
169 role=self.role,
202 """atest server create hostname --role <role> --note <note>
222 if not self.role:
223 self.invalid_syntax('--role is required to create a server.')
234 return server_manager.create(hostname=self.hostname, role=self.role,
286 --role: New role to be added to the server.
287 --delete_role: Existing role to be deleted from the server.
304 help=('Set to True to delete given role.'),
332 # option at a time so no complicated role-dependent logic is needed
333 # to handle scenario that both role and status are changed.
336 flags = [self.status is not None, self.role is not None,
343 '3. --role with optional -d: Add/delete role from server.\n'
364 return server_manager.modify(hostname=self.hostname, role=self.role,