Searched refs:add_host (Results 1 – 3 of 3) sorted by relevance
100 >>> rpc_interface.add_host(hostname='ipaj1', locked=True, lock_reason='Locked device on creation')235 >>> rpc_interface.add_host(hostname='host1')237 >>> rpc_interface.add_host(hostname='host2')423 >>> rpc_interface.add_host(hostname='my_label_host1')425 >>> rpc_interface.add_host(hostname='my_label_host2')750 >>> unused = rpc_interface.add_host(hostname='ahost1')751 >>> unused = rpc_interface.add_host(hostname='ahost2')752 >>> unused = rpc_interface.add_host(hostname='ah3-blue')753 >>> unused = rpc_interface.add_host(hostname='ah4-blue')
49 self.assertRaises(model_logic.ValidationError, rpc_interface.add_host,
264 def add_host(hostname, status=None, locked=None, lock_reason='', protection=None): function