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 />

4.6 Tools: <strong>opsi</strong>-admin / <strong>opsi</strong> config interface<br />

4.6.1 Overview<br />

29 / 193<br />

<strong>opsi</strong> V3 introduced an <strong>opsi</strong> owned python library which provides an API for <strong>opsi</strong> configuration. The <strong>opsi</strong>confd provides<br />

this API as a web service, whereas <strong>opsi</strong>-admin is the command line interface for this API.<br />

Calling https://:4447/interface in your browser gives you agraphical interface to the <strong>opsi</strong> web service.<br />

You have to login as a member of the unix group <strong>opsi</strong>admin.<br />

Figure 35: <strong>opsi</strong> config interface: Access to the web service via browser<br />

At the command line <strong>opsi</strong>-admin provides an interface to the <strong>opsi</strong>-API. There is a interactive mode and a non<br />

interactive mode for batch processing from within scripts.<br />

The help option <strong>opsi</strong>-admin --help shows a list of available command line options:<br />

# <strong>opsi</strong>-admin --help<br />

Usage: <strong>opsi</strong>-admin [options] [command] [args...]<br />

Options:<br />

-h, --help Display this text<br />

-V, --<strong>version</strong> Display this text<br />

-u, --username Username (default: current user)

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

Saved successfully!

Ooh no, something went wrong!