Lines Matching refs:host2
209 >>> rpc_interface.add_host(hostname='host2')
218 >>> rpc_interface.host_add_labels(id='host2', labels=['label1', 'label2'])
224 >>> data = rpc_interface.get_hosts(hostname='host2')
234 [u'host1', u'host2']
237 [u'host2']
240 >>> rpc_interface.host_remove_labels(id='host2', labels=['label2'])
248 >>> rpc_interface.host_remove_labels(id='host2', labels=['label1'])
255 >>> rpc_interface.label_add_hosts(id='label2', hosts=['host1', 'host2'])
261 >>> data = rpc_interface.get_hosts(hostname='host2')
274 [u'host1', u'host2']
277 >>> rpc_interface.label_remove_hosts(id='label2', hosts=['host2'])
286 >>> rpc_interface.label_add_hosts(id='label2', hosts=['host2'])
289 [u'host1', u'host2']
290 >>> rpc_interface.label_remove_hosts(id='label2', hosts=['host2', 'host1'])
354 ... host_filter_data={'hostname__in': ['host1', 'host2']},
356 >>> data = rpc_interface.get_hosts(hostname__in=['host1', 'host2'])
366 >>> data = rpc_interface.get_hosts(hostname__in=['host1', 'host2'])
399 # create a job to run on host1, host2, and any two machines in my_label
404 ... hosts=['host1', 'host2'],
540 [u'host2']
545 [u'host2', u'host1']
555 ... hosts=['host2'],
575 ... hosts=['host1', 'host2'])
584 [u'host1', u'host2']
592 ([u'debug_user', u'showard'], [u'host2'])
599 [u'host1', u'host2']
602 [u'host2']
607 [u'host1', u'host2']