Lines Matching full:hosts
42 """Given a simple list of HostSpec, extract hosts from hosts_per_spec.
45 get the associated hosts out of hosts_per_spec. Return the spec and the
49 @param hosts_per_spec: map of {HostSpec: [list, of, hosts]}
50 @return (HostSpec, [list, of, hosts]}
57 """A high-level specification of a group of hosts.
59 A HostGroup represents a group of hosts against which a job can be
73 """Returns the number of hosts specified by the group."""
86 """Returns True if enough hosts in the group were reimaged for use."""
103 """A group of hosts, specified by name, to be reimaged for use.
118 @param hosts_per_spec: {HostSpec: [list, of, hosts]}.
133 return {'hosts': list(self._hostname_data_dict.keys())}
145 """If _any_ hosts were reimaged, that's enough."""
208 """A group of hosts, specified by a meta_host and deps, to be reimaged.
211 @var _dependencies: list of dependencies that all hosts to be used
213 @var _successful_hosts: set of successful hosts.
218 Given a set of labels specifying what kind of hosts we need,
219 and the num of hosts we need, build a meta_host and dependency list
220 that represent this group of hosts.
222 @param labels: list of labels indicating what kind of hosts need
224 @param num: how many hosts we'd like to reimage.
274 Wraps a list of labels, for the purposes of specifying a set of hosts