OPSI.Backend.Replicator module

Backend-Replicator.

The replicator allows replication from one backend into another.

copyright:uib GmbH <info@uib.de>
author:Jan Schneider <j.schneider@uib.de>
author:Niko Wenselowski <n.wenselowski@uib.de>
license:GNU Affero General Public License version 3
class OPSI.Backend.Replicator.BackendReplicator(readBackend, writeBackend, newServerId=None, oldServerId=None, cleanupFirst=True)

Bases: object

OBJECT_CLASSES = ['Host', 'Product', 'Config', 'Group', 'LicenseContract', 'LicensePool', 'SoftwareLicense', 'AuditHardware', 'AuditSoftware', 'ProductDependency', 'ProductProperty', 'ProductOnDepot', 'ProductOnClient', 'ProductPropertyState', 'ConfigState', 'ObjectToGroup', 'AuditHardwareOnHost', 'AuditSoftwareOnClient', 'SoftwareLicenseToLicensePool', 'LicenseOnClient', 'AuditSoftwareToLicensePool']
getCurrentProgressSubject()
getOverallProgressSubject()
replicate(serverIds=[], depotIds=[], clientIds=[], groupIds=[], productIds=[], productTypes=[], audit=True, license=True)

Replicate (a part) of a opsi configuration database An empty list passed as a param means: replicate all known None as the only element of a list means: replicate none