Prev: Next: Up: Input object[Contents][Index]


10.5.4.3 Service

A service object describes a single service.

name

Symbolic name of this service.

enabled

Boolean. Whether this service is enabled or not.

session_type

Name of the session handling algorithm for this service. One of: ‘IP’, ‘BASIC’, ‘URL’, ‘PARM’, ‘COOKIE’, ‘HEADER’.

sessions

List of active sessions in this service. Each session is represented as object with the following attributes:

key

Session key (string).

backend

Ordinal number of the backend assigned to handle requests with this session.

expire

Expiration time of this session, formatted as ‘1970-01-01T00:00:00.000000’ (with microsecond precision).

backends

List of backends defined for this service.

emergency

Emergency backend object, or null if no such backend is defined.