Home | History | Annotate | Download | only in hosts

Lines Matching full:machine

114 def create_host(machine, host_class=None, connectivity_class=None, **args):
120 @param machine: A dict representing the device under test or a String
122 If it is a machine dict, the 'hostname' key is required.
136 machine)
157 # create a custom host class for this machine and return an instance of it
169 def create_testbed(machine, **kwargs):
172 @param machine: A dict representing the test bed under test or a String
175 If it is a machine dict, the 'hostname' key is required.
183 machine)
188 def create_target_machine(machine, **kwargs):
189 """Create the target machine which could be a testbed or a *Host.
191 @param machine: A dict representing the test bed under test or a String
194 If it is a machine dict, the 'hostname' key is required.
199 @returns: The target machine to be used for verify/repair.
203 if server_utils.machine_is_testbed(machine):
204 return create_testbed(machine, **kwargs)
205 return create_host(machine, **kwargs)