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 host_getObjects [] {"id":"sepiolina.vmnat.local"}<br />

[<br />

{<br />

"masterDepotId" : null,<br />

"ident" : "sepiolina.vmnat.local",<br />

"networkAddress" : "172.16.166.0/255.255.255.128",<br />

"description" : "",<br />

"inventoryNumber" : "",<br />

"ipAddress" : "172.16.166.1",<br />

"repositoryRemoteUrl" : "webdavs://sepiolina.vmnat.local:4447/repository",<br />

"depotLocalUrl" : "file:///var/lib/<strong>opsi</strong>/depot",<br />

"isMasterDepot" : true,<br />

"notes" : "",<br />

"hardwareAddress" : null,<br />

"maxBandwidth" : 0,<br />

"repositoryLocalUrl" : "file:///var/lib/<strong>opsi</strong>/repository",<br />

"<strong>opsi</strong>HostKey" : "1234567890abcef1234567890abcdef",<br />

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

"id" : "sepiolina.vmnat.local",<br />

"depotWebdavUrl" : "webdavs://sepiolina:4447/depot",<br />

"depotRemoteUrl" : "smb://sepiolina/<strong>opsi</strong>_depot"<br />

}<br />

]<br />

Most of these data are displayed in the depot configuration of the <strong>opsi</strong>-configed.<br />

group (group administration)<br />

Describes groups and their hierarchical structure.<br />

Example for a group object:<br />

method group_getObjects<br />

[<br />

{<br />

"ident" : "sub2",<br />

"description" : "sub2",<br />

"notes" : "",<br />

"parentGroupId" : null,<br />

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

"id" : "sub2"<br />

},<br />

{<br />

"ident" : "subsub",<br />

"description" : "subsub",<br />

"notes" : "",<br />

"parentGroupId" : "sub2",<br />

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

"id" : "subsub"<br />

}<br />

]<br />

objectToGroup (group administration)<br />

Describes the membership of an object in a group.<br />

There are Hostgroups and Productgroups<br />

Example for a objectToGroup objects:<br />

method objectToGroup_getObjects<br />

[<br />

{<br />

"groupType" : "HostGroup",<br />

36 / 193

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

Saved successfully!

Ooh no, something went wrong!