'Boots a server with the given name and flavor and waits for it to
be ACTIVE.'

def _create_server(self, name, flavor):

    params = ('%(name)s    --flavor    %(flavor)s    --image    %(image)s    --poll    ' % {'name': self.name_generate(name), 'flavor': flavor, 'image': self.image.id})
    if self.multiple_networks:
        params += ('    --nic    net-id=%s' % self.network.id)
    server_info = self.nova('boot', params=params)
    server_id = self._get_value_from_the_table(server_info, 'id')
    self.addCleanup(self._cleanup_server, server_id)
    return server_id
