Lines Matching full:machine
54 """Generate a machine dictionary with the specified parameters.
56 @param hostname: hostname of machine
60 @return: machine dict with mocked AFE Host object and fake AfeStore.
101 machine = _gen_machine_dict()
103 machine,
114 machine = _gen_machine_dict(labels=['os:foo'])
116 host_obj = factory.create_host(machine)
124 machine = _gen_machine_dict(labels=['os:foo'],
128 host_obj = factory.create_host(machine)
136 machine = _gen_machine_dict()
140 host_obj = factory.create_host(machine)
147 machine = _gen_machine_dict()
148 host_obj = factory.create_host(machine)
155 machine = _gen_machine_dict(hostname='localhost')
156 host_obj = factory.create_host(machine)
165 machine = _gen_machine_dict(hostname='somehost')
166 host_obj = factory.create_host(machine)
174 machine = _gen_machine_dict(hostname='somehost')
176 factory.create_host(machine)
183 machine = _gen_machine_dict(hostname='localhost')
184 host_obj = factory.create_host(machine, foo='bar')
199 machine = _gen_machine_dict()
201 host_obj = factory.create_host(machine)
218 machine = _gen_machine_dict(attributes={'ssh_user': 'somebody',
222 host_obj = factory.create_host(machine)
249 machine = _gen_machine_dict(hostname='localhost')
250 testbed_obj = factory.create_testbed(machine, foo='bar')
265 machine = _gen_machine_dict()
267 testbed_obj = factory.create_testbed(machine)
285 machine = _gen_machine_dict(attributes={'ssh_user': 'somebody',
289 testbed_obj = factory.create_testbed(machine)