def HostPlacer(name, *args, **params):
 if (name in remoteHosts):
  return RemoteHost(name, server=remoteServer, *args, **params)
 else:
  return Host(name, *args, **params)

def HostPlacer ( name , * args , ** params ) : if ( name in remoteHosts ) : return RemoteHost ( name , server = remoteServer , * args , ** params ) else : return Host ( name , * args , ** params )
custom host() constructor which places hosts on servers .