def get_props_for_repos(self, node): print "Hostname %s" % (node.hostname) props = { prop_hostname : node.hostname, prop_login : node.username, prop_ssh_port : to_str(node.ssh_port), prop_migration_port : to_str(node.migration_port), prop_isRemote : to_str(node.isRemote), prop_use_keys : to_str(node.use_keys), prop_address : node.address, prop_platform : node.platform,} if props is not None: props.update(VNodeFactory.get_props_for_repos(self,node)) return props
def __init__(self): VNodeFactory.__init__(self)