OPSI.Backend.Multiplex module

Backend multiplexer.

This backend is intended for accessing multiple backends in remote locations.

author:Christian Kampka <c.kampka@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.Multiplex.MultiplexBackend(username='', password='', address='', *args, **kwargs)

Bases: object

This backend acts as a dispatcher to multiplex commands received from one client onto multiple config servers. It relays all commands to all available servers, collects all results and maps the results transparently back to the client.

auditHardware_getConfig(language=None)
backend_exit()
backend_getInterface()
configState_getObjects(attributes=[], **filter)
configState_insertObject(configState)
configState_updateObject(configState)
configState_updateObjects(configs)
connect()
dispatch(methodName, *args, **kwargs)
host_insertObject(host)
host_renameOpsiDepotserver(id, newId)
isReady()
licenseOnClient_getObjects(attributes=[], **filter)
licensePool_create(*args, **kwargs)
licensePool_createObjects(*args, **kwargs)
licensePool_insertObject(licensePool)
licensePool_updateObject(licensePool)
softwareLicenseToLicensePool_getObjects(attributes=[], **filter)
softwareLicenseToLicensePool_insertObject(softwareLicenseToLicensePool)
softwareLicense_getObjects(attributes=[], **filter)
softwareLicense_insertObject(softwareLicense)
class OPSI.Backend.Multiplex.RemoteService(url, domain, opsiHostKey, rpcQueuePollingTime, socketTimeout, connectTimeout, multiplexBackend, **kwargs)

Bases: OPSI.Backend.Multiplex.Service, OPSI.Backend.JSONRPC.JSONRPCBackend

connect()
licensePool_getObjects(attributes=[], **filter)
refresh()
class OPSI.Backend.Multiplex.Service(master=False)

Bases: object

connect()
isConnected()
isMasterService()