Home | History | Annotate | Download | only in cli

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>]"""
158 @return: A list of servers matched given hostname and role.
162 role=self.role,
186 """atest server create hostname --role <role> --note <note>
206 if not self.role:
207 self.invalid_syntax('--role is required to create a server.')
218 return server_manager.create(hostname=self.hostname, role=self.role,
270 --role: New role to be added to the server.
271 --delete_role: Existing role to be deleted from the server.
288 help=('Set to True to delete given role.'),
316 # option at a time so no complicated role-dependent logic is needed
317 # to handle scenario that both role and status are changed.
320 flags = [self.status is not None, self.role is not None,
327 '3. --role with optional -d: Add/delete role from server.\n'
348 return server_manager.modify(hostname=self.hostname, role=self.role,