'Create and provision a number of nodes with the given names.
:param reactor: The reactor.
:param names: The names.
:type names: list of str
:return: List of Deferreds each firing when the corresponding node
is created and provisioned.'

def _create_nodes(self, reactor, names):

    results = self.provisioner.create_nodes(reactor=reactor, names=names, distribution=self.distribution, metadata=self.metadata)
    for (name, result) in zip(names, results):
        self._provision_with_retry(reactor, name, result)
    return results
