05.02.2013 Views

opsi manual opsi version 4.0.2 - opsi Download - uib

opsi manual opsi version 4.0.2 - opsi Download - uib

opsi manual opsi version 4.0.2 - opsi Download - uib

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>opsi</strong> <strong>manual</strong> <strong>opsi</strong> <strong>version</strong> <strong>4.0.2</strong><br />

method licensePool_getObjects [] {"id":"win7-msdn-prof"}<br />

[<br />

{<br />

"ident" : "win7-msdn-prof",<br />

"type" : "LicensePool",<br />

"description" : "MSDN Keys",<br />

"productIds" :<br />

[<br />

"win7",<br />

"win7-x64"<br />

],<br />

"id" : "win7-msdn-prof"<br />

}<br />

]<br />

5.1.3 The special objects<br />

Note<br />

This chapter has to be written<br />

5.2 <strong>opsi</strong>3 methods<br />

47 / 193<br />

These methods are still available as legacy methods, which means that calls to these methods are mapped to the new<br />

methods internally.<br />

Here comes a short list of some methods with a short description. This is meant mainly for orientation and not as a<br />

complete reference. The short description does not necessarily provide all information you need to use this method.<br />

method addHardwareInformation hostId, info<br />

Adds hardware information for the computer . The hash is passed. Existing information will be<br />

overwritten for matching keys. Applicable for special keys only.<br />

method authenticated<br />

Prove whether the authentication on the server was successful.<br />

method checkForErrors<br />

Test the backend for consistency (only available for file backend by now).<br />

method createClient clientName, domain, description=None, notes=None<br />

Creates a new client.<br />

method createGroup groupId, members = [], description = ""<br />

Creates a group of clients (as used by the <strong>opsi</strong>-Configed).<br />

method createLicenseKey productId, licenseKey<br />

Assigns an (additional) license key to the product .<br />

method createLocalBootProduct productId, name, productVersion, packageVersion, licenseRequired=0, setupScript="", \<br />

uninstallScript="", updateScript="", alwaysScript="", onceScript="", priority=10, description="", advice="", \<br />

productClassNames=(’localBoot’)<br />

Creates a new localBoot product (<strong>opsi</strong>-winst product).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!