...
| language | ru |
|---|
| Содержимое | Описание |
|---|---|
{ | |
"Bookworm": {...}, | |
"DebugBreak": false, | Посылать ли SIGTRAP (SIGBREAK на Windows) при обработке любого исключения. Служит для отладки |
"DumpDir": "", | Путь до папки дампов xapi в случае, если не пустой, то в папку /opt/iw/tm5/<значение параметра> будут складываться дампы |
"DumpFilters": { | Настраиваемые фильтры для дампов |
"ActionCode": [], | Значение атрибута action.key, который берется из /opt/iw/tm5/etc/config/bookworm/actions.xml, если атрибут action.mnemo равен полю "action" в object.json. |
"CommonName": [], | Значение поля "common_name" из параметра или файла конфигурации xapi-tool. |
"Headers": {}, | Пары значений из секции "headers" из object.json. Они используются без каких-либо преобразований и внутри представляют собой словарь "ключ-значение". |
"License": [], | Значение этого параметра - комбинация полей из object.json, а также параметра common_name. |
"ObjectTypeCode": [], | Значение атрибута object_type.key из /opt/iw/tm5/etc/config/bookworm/services.xml, для объектов, атрибут object_type.mnemo которых равен значению поля "object_type_mnemo" из object.json. |
"ProtocolCode": [], | Значение атрибута protocol.key, который берется из /opt/iw/tm5/etc/config/bookworm/protocols.xml, если атрибут protocol.mnemo равен полю "protocol_mnemo" в object.json. |
"ServiceCode": [], | Значение атрибута service.key из /opt/iw/tm5/etc/config/bookworm/services.xml того сервиса, для которого определен объект, заданный полем "object_type_mnemo" в object.json. |
"ServiceMnemo": [] | Значение атрибута service.mnemo из /opt/iw/tm5/etc/config/bookworm/services.xml того сервиса, для которого определен объект, заданный полем "object_type_mnemo" в object.json. |
}, | |
"Logging": {...}, | см. Общая секция Logging |
"MaxInmemTextSizeKB": 10240, | Размер буфера под данные. При превышении происходит сброс на диск |
"NookDir": "/opt/iw/tm5", | В секции указывается рабочий каталог модуля. По умолчанию – /opt/iw/tm5. |
"Permissions": {...}, | |
"ResourceLimits": {...}, | |
"Startup": {...} | |
"TempDir": "tmp", | Путь до директории с временными файлами iw_xapi |
"ThriftServers": { | Настройки трифт-сервера |
"puppy": { | Секция настроек трифт-сервера "puppy" |
"AuthenticateClient": false, | Запрашивать ли аутентификацию |
"CertificatePath": "etc/cert/server.pem", | Путь до сертификата |
"Port": 9101, | Порт входящих соединений. |
"PrivateKeyPath": "etc/cert/private_key.pem", | Путь до приватного ключа |
"ServerType": "threaded", | Тип сервера. По умолчанию – threaded |
"TransportType": "ssl", | Тип обмена данными. Значение по умолчанию – socket |
"TrustedCertificatesPath": "etc/cert/trusted_certificates" | Путь до хранилища доверенных сертификатов |
}, | |
"xapi": { | Секция настроек трифт-сервера "xapi" |
"AuthenticateClient": false, | Запрашивать ли аутентификацию |
"CertificatePath": "etc/cert/server.pem", | Путь до сертификата |
"Port": 9100, | Порт входящих соединений. |
"PrivateKeyPath": "etc/cert/private_key.pem", | Путь до приватного ключа |
"ServerType": "threaded", | Тип сервера. По умолчанию – threaded |
"TransportType": "ssl", | Тип обмена данными. Значение по умолчанию – socket |
"TrustedCertificatesPath": "etc/cert/trusted_certificates" | Путь до хранилища доверенных сертификатов |
} | |
}, | |
"TokensList": "etc/config/access_control/tokens.list", | Путь до папки с токенами аутентификации трифта |
"ValidatorScriptPath": "etc/xapi-valid.lua" | Путь до валидатора входящего объекта iw_xapi |
} |
| Информация | ||
|---|---|---|
| ||
Данный конфигурационный файл используется для задания условий фильтрации при создании дампов данных. Подробнее в статье Базы Знаний - "Фильтрация xapi-дампов". | ||
| Sv translation | ||
| ||
| Content | Description | |
{ | ||
"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 "
"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": {...}, | ||
"ResourceLimits": {...}, | ||
"Startup": {...} | ||
"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 | |
} | ||
| Информация | ||
|