Lines Matching refs:host2
57 hosts=['host1', 'host2'])
63 host__hostname__in=['host1', 'host2'], platform=True)
96 hosts = rpc_interface.get_hosts(hostname__in=['host1', 'host2'],
98 self._check_hostnames(hosts, ['host2'])
112 hostname__in=['host1', 'host2', 'host5'],
115 self._check_hostnames(hosts, ['host2'])
365 self.assertEquals(hostname_list, ['host1', 'host2'])
378 self.assertEquals(hostname_list, ['host1', 'host2'])
507 host2 = models.Host.objects.all()[1]
514 host2.shard = shard2
515 host2.save()
518 self.assertFalse(host2.locked)
555 host2 = models.Host.objects.get(pk=host2.id)
556 self.assertTrue(host2.locked)
588 host2 = models.Host.objects.all()[1]
590 host2.shard = shard1
591 host2.labels.add(label1)
592 host2.save()
611 host2 = models.Host.objects.all()[1]
613 host2.shard = shard1
614 host2.labels.add(label1)
615 host2.save()