6982N/A ! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
6982N/A ! file and include the License file at legal-notices/CDDLv1_0.txt.
4865N/A { 'location' : server.getHostname(),
4865N/A % (server.getDir(),OPENDSNAME),
4865N/A 'dsInstanceHost' : server.getHostname(),
4865N/A 'dsInstanceAdminPort' : server.getAdminPort(),
4865N/A 'dsInstanceDn' : server.getRootDn(),
4865N/A 'dsInstancePswd' : server.getRootPwd(),
4865N/A retDict.update({lc[0]:''})
4865N/A { 'location' : server.getHostname(),
4865N/A % (server.getDir(),OPENDSNAME),
4865N/A 'dsInstanceHost' : server.getHostname(),
4865N/A 'dsInstanceAdminPort' : server.getAdminPort(),
4865N/A 'dsInstanceDn' : server.getRootDn(),
4865N/A 'dsInstancePswd' : server.getRootPwd(),
4865N/A if validOps.index(i[0]) == -1:
4865N/A if validOps.index(e[0]) == -1:
4865N/A { 'location' : server.getHostname(),
4865N/A % (server.getDir(),OPENDSNAME),
4865N/A 'dsInstanceHost' : server.getHostname(),
4865N/A 'dsInstanceAdminPort' : server.getAdminPort(),
4865N/A 'dsInstanceDn' : server.getRootDn(),
4865N/A 'dsInstancePswd' : server.getRootPwd(),
4865N/A { 'location' : server.getHostname(),
4865N/A % (server.getDir(),OPENDSNAME),
4865N/A 'dsInstanceHost' : server.getHostname(),
4865N/A 'dsInstanceAdminPort' : server.getAdminPort(),
4865N/A 'dsInstanceDn' : server.getRootDn(),
4865N/A 'dsInstancePswd' : server.getRootPwd(),
4865N/A { 'location' : server.getHostname(),
4865N/A % (server.getDir(),OPENDSNAME),
4865N/A 'dsInstanceHost' : server.getHostname(),
4865N/A 'dsInstancePort' : server.getPort(),
4865N/A 'dsInstanceDn' : server.getRootDn(),
4865N/A 'dsInstancePswd' : server.getRootPwd(),
6314N/A if l.startswith('dn: cn=Directory server DS'):
5765N/A { 'location' : server.getHostname(),
5765N/A % (server.getDir(),OPENDSNAME),
5765N/A 'dsInstanceHost' : server.getHostname(),
5765N/A 'dsInstancePort' : server.getPort(),
5765N/A 'dsInstanceDn' : server.getRootDn(),
5765N/A 'dsInstancePswd' : server.getRootPwd(),
4865N/A if l.startswith('status'):
4865N/A if l.startswith('last-status-change-date'):
4865N/A { 'location' : server.getHostname(),
4865N/A % (server.getDir(),OPENDSNAME),
4865N/A 'dsInstanceHost' : server.getHostname(),
4865N/A 'dsInstancePort' : server.getPort(),
4865N/A 'dsInstanceDn' : server.getRootDn(),
4865N/A 'dsInstancePswd' : server.getRootPwd(),
4865N/A if l.startswith('ds-base-dn-entry-count') and \
4865N/A l.endswith(domain):
4865N/A 'dsInstanceHost' : server.getHostname(),
4865N/A 'dsInstancePort' : server.getPort(),
4865N/A 'dsInstanceDn' : server.getRootDn(),
4865N/A 'dsInstancePswd' : server.getRootPwd(),
4974N/A oidDict.parseSchema(schemaContent)
4865N/A referenceTree = 'referenceTree.ldif'
4865N/A filteredRefTree = 'filteredRefTree.ldif'
4865N/A fractionalTree = 'fractionalTree.ldif'
4865N/A treeDiffs = 'treeDiffs.ldif'
4865N/A dsMasterPath = '%s/%s' % (dsMaster.getDir(),OPENDSNAME)
4865N/A dsReplicaPath = '%s/%s' % (dsReplica.getDir(),OPENDSNAME)
4865N/A { 'location' : dsMaster.getHostname(),
4865N/A 'dsInstanceHost' : dsMaster.getHostname(),
4865N/A 'dsInstancePort' : dsMaster.getPort(),
4865N/A 'dsInstanceDn' : dsMaster.getRootDn(),
4865N/A 'dsInstancePswd' : dsMaster.getRootPwd(),
4865N/A refFiltered.append(f+"\n")
6541N/A currentAttr = currentAttr.split(';',1)[0]
4865N/A refFiltered.append(f+"\n")
4865N/A refFiltered.append(f+"\n")
5073N/A f=open('%s/%s' % (local.temp, filteredRefTree),'w')
4865N/A f.writelines(refFiltered)
5073N/A 'srcfile' : '%s/%s' % (local.temp, filteredRefTree) ,
4865N/A 'destfile' : '%s/%s' % (remote.temp, filteredRefTree) ,
4865N/A 'remotehost' : dsMaster.getHostname()
4865N/A { 'location' : dsReplica.getHostname(),
4865N/A 'dsInstanceHost' : dsReplica.getHostname(),
4865N/A 'dsInstancePort' : dsReplica.getPort(),
4865N/A 'dsInstanceDn' : dsReplica.getRootDn(),
4865N/A 'dsInstancePswd' : dsReplica.getRootPwd(),
5073N/A f=open('%s/%s' % (local.temp, fractionalTree),'w')
4865N/A f.writelines(filLdif)
5073N/A 'srcfile' : '%s/%s' % (local.temp, fractionalTree) ,
4865N/A 'destfile' : '%s/%s' % (remote.temp, fractionalTree) ,
4865N/A 'remotehost' : dsMaster.getHostname()
4865N/A { 'location' : dsMaster.getHostname(),
4865N/A 'sourceLdif' : '%s/%s' % (remote.temp, filteredRefTree),
4865N/A 'targetLdif' : '%s/%s' % (remote.temp, fractionalTree),
4865N/A 'outputLdif' : '%s/%s' % (remote.temp,treeDiffs)
4974N/A { 'location' : dsMaster.getHostname(),
4974N/A 'srcfile' : '%s/%s' % (remote.temp,treeDiffs),
4974N/A 'destfile' : '%s/%s.%s' % (remote.temp,treeDiffs,tmstamp)
4974N/A { 'location' : dsMaster.getHostname(),
4974N/A 'filename' : '%s/%s' % (remote.temp,treeDiffs)