Lines Matching full:hosts
159 self.parser.add_option('-N', '--list-hosts',
160 help='Display only a list of hosts',
162 self.parser.add_option('-s', '--list-hosts-status',
163 help='Display only the hosts in these statuses '
181 self.invalid_syntax('--list-hosts is implicit when using '
182 '--list-hosts-status.')
184 self.invalid_syntax('--list-hosts and --list-hosts-status should '
204 job['hosts'] = ' '.join(' '.join(host) for host in
217 if not job.get('hosts'):
218 self.generic_error('Job has unassigned meta-hosts, '
240 keys = ['hosts']
263 self.hosts = []
276 self.parser.add_option('--one-time-hosts',
277 help='List of one time hosts')
285 """ Parses the arguments to generate a list of hosts and meta_hosts
290 hosts = []
300 elif host != '' and host not in hosts:
302 hosts.append(host)
304 return (hosts, meta_hosts)
308 host_info = topic_common.item_parse_info(attribute_name='hosts',
337 self.hosts.append(host['hostname'])
341 (self.data['hosts'],
342 self.data['meta_hosts']) = self._parse_hosts(self.hosts)
367 [--one-time-hosts <hosts>] [--email <email>]
437 if (len(self.hosts) == 0 and not self.one_time_hosts
440 '(-m, -M, -b or --one-time-hosts).')
526 [--one-time-hosts <hosts>] [--email <email>]
540 self.parser.add_option('-r', '--reuse-hosts',
541 help='Use the exact same hosts as the '
552 host_specified = self.hosts or self.one_time_hosts or options.labels
554 self.invalid_syntax('Cannot specify hosts and reuse the same '
560 '--one-time-hosts).')
589 self.data['hosts'].extend(host['hostname']
590 for host in clone_info['hosts'])