Home | History | Annotate | Download | only in cli

Lines Matching refs:execute_rpc

300                 stats = self.execute_rpc('get_hosts',
307 stats = self.execute_rpc('get_hosts', hostname=host)
317 acls = self.execute_rpc('get_acl_groups', hosts__hostname=host)
319 labels = self.execute_rpc('get_labels', host__hostname=host)
366 stats = self.execute_rpc('get_hosts',
376 queue_entries = self.execute_rpc('get_host_queue_entries',
524 for a in self.execute_rpc('get_acl_groups', hosts=host_id):
526 self.execute_rpc('acl_group_remove_hosts', id=a['id'],
533 self.execute_rpc('acl_group_add_hosts', id=a, hosts=hosts)
545 for l in self.execute_rpc('get_labels', host=host_id):
549 self.execute_rpc('host_remove_labels', id=host_id,
562 self.execute_rpc('host_add_labels', id=host, labels=labels)
574 self.execute_rpc('host_add_labels', id=host, labels=[platform_label])
584 self.execute_rpc('set_host_attribute', attribute=attr,
718 for host in self.execute_rpc('get_hosts', hostname__in=self.hosts):
728 self.execute_rpc('modify_host', item=host,
744 # Already logged by execute_rpc()
885 self.execute_rpc('add_host', hostname=host, status="Ready", **self.data)
922 self.execute_rpc('modify_host', id=host, locked=False,
1066 for host in self.execute_rpc('get_hosts', hostname__in=self.hosts):
1086 self.execute_rpc('modify_host', item=host, id=host_id,
1093 # Already logged by execute_rpc()