Дерево страниц

Вы просматриваете старую версию данной страницы. Смотрите текущую версию.

Сравнить с текущим просмотр истории страницы

« Предыдущий Версия 4 Следующий »

ContentDescription
{
 
    "Bookworm": {...},

see General section Bookworm

    "DebugBreak": false, 
If SIGTRAP should be sent (SIGBREAK to Windows) while any exception handling. Used for debugging purposes.
    "DumpDir": "", 
Path to the folder where xapi dumps are stored. If not empty, the folder /opt/iw/tm5/<parameter's value>  will collect the dumps.
    "DumpFilters": { 
Adjustible filters for dumps.
        "ActionCode": [],
The value of action.key attribute, taken from /opt/iw/tm5/etc/config/bookworm/actions.xml, if the attribute  action.mnemo is equal to the field "action" in  object.json. 
        "CommonName": [],
The value of "common_name" field from xapi-tool configuration file or parameter.
        "Headers": {},
Pairs of values from "headers" section from object.json. They are used without any change and inside they occur to be the "key-meaning"vocabulary.
        "License": [],
The value of this parameter is a mixture of fileds from object.json, and common_name parameter.
        "ObjectTypeCode": [],
The value of  object_type.key attribute from /opt/iw/tm5/etc/config/bookworm/services.xml for the objects, which attribute object_type.mnemo is equal to the value of "object_type_mnemo" field from object.json.
        "ProtocolCode": [],
The value of protocol.key attribute, taken from /opt/iw/tm5/etc/config/bookworm/protocols.xml, if  protocol.mnemo attribute is equal to the field "protocol_mnemo" in object.json.
        "ServiceCode": [],
The value of service.key attribute from /opt/iw/tm5/etc/config/bookworm/services.xml  of the service, with a specific object, assigned by the field "object_type_mnemo" in object.json.
        "ServiceMnemo": []
The value of service.mnemo attribute from /opt/iw/tm5/etc/config/bookworm/services.xml of the service with a specific object, assigned by the field "object_type_mnemo" в object.json.
      },
 
    "Logging": {...},
see General section Logging
    "MaxInmemTextSizeKB": 10240, 
Buffer size to store data. If exceeds, the data to be stored on disk.
    "NookDir": "/opt/iw/tm5", 
In this section the module working directory is specified. By default – /opt/iw/tm5.
    "Permissions": {...},

see General section Permissions

    "ResourceLimits": {...},

see General section ResourceLimits

    "Startup": {...}

see Общие настройки конфигурации

    "TempDir": "tmp", 
Path to folder with temporary iw_xapi files
    "ThriftServers": {

Thrift server settings

        "puppy": {
Thrift server "puppy" section settings
            "AuthenticateClient": false, 
If authentication should be requested
            "CertificatePath": "etc/cert/server.pem", 
Certificate path
            "Port": 9101, 
Incoming connections path
            "PrivateKeyPath": "etc/cert/private_key.pem", 
Private key path
            "ServerType": "threaded", 
Server type. By default – threaded
            "TransportType": "ssl", 
Data exchange type. value by default – socket
            "TrustedCertificatesPath": "etc/cert/trusted_certificates"
Path to entrusted certificates storage
        }, 
 
        "xapi": {
Thrift server "xapi" settings section
            "AuthenticateClient": false, 
If authentication should be requested
            "CertificatePath": "etc/cert/server.pem", 
Certificate path
            "Port": 9100, 
Incoming connections port
            "PrivateKeyPath": "etc/cert/private_key.pem", 
Private key path
            "ServerType": "threaded", 
Server type. By default – threaded
            "TransportType": "ssl", 
Data exchange type. Default value – socket
            "TrustedCertificatesPath": "etc/cert/trusted_certificates"
Path to entrusted certificates storage
        }
 
    }, 
 
    "TokensList": "etc/config/access_control/tokens.list", 
Path to the folder where authentication thrift tokens are stored
    "ValidatorScriptPath": "etc/xapi-valid.lua"
Path to iw_xapi incoming object validator
}
 

Примечание:

This configuration file is used to define the filtration conditions when creating the data dumps. The details can be found in the article "Фильтрация xapi-дампов".

  • Нет меток