Home | History | Annotate | Download | only in server

Lines Matching refs:machine

217         for machine in machines:
218 mappings['ident'].append(machine)
226 (machine name, reason) tuples."""
242 failures.append((mach, "machine can not be tupled"))
247 def parse_machine(machine, user='root', password='', port=22):
249 Parse the machine string user:pass@host:port and return it separately,
250 if the machine string is not complete, use the default parameters
254 if '@' in machine:
255 user, machine = machine.split('@', 1)
266 bare_ipv6 = '[' != machine[0] and re.search(r':.*:', machine)
269 if not bare_ipv6 and re.search(r':\d*$', machine):
270 machine, port = machine.rsplit(':', 1)
275 if machine[0] == '[' and machine[-1] == ']':
276 machine = machine[1:-1]
278 if not machine or not user:
281 return machine, user, password, port
349 @param host_num: (non negative) A number to identify the machine so that
365 # the same for a given machine