Repository navigation
UCI Configuration
Dirk Feytons edited this page Oct 26, 2016
·
2 revisions
On startup Transformer tries to read some configuration from a section of type main in the UCI file /etc/config/transformer.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| mappath | string | no | /usr/share/transformer/mappings | A list of colon separated paths where Transformer will recursively look for files with the *.map extension. |
| commitpath | string | no | /usr/share/transformer/commitapply | Directory with *.ca files containing commit & apply rules |
| dbdir | string | no | /etc | Where to store the Transformer database |
| dbname | string | no | transformer.db | The name of the database file |
| log_level | number | no | 3 | Log level, ranging from 1 (critical) to 6 (debug) |
| log_stderr | boolean | no | 0 | Also log to stderr (in addition to syslog) |
| ignore_patterns | UCI list of strings | no | (none) | A list of datamodel path patterns that should not be loaded by Transformer. This can be used to exclude either entire object types or specific parameters. These are standard Lua patterns. |
| vendor_patterns | UCI list of strings | no | (none) | A list of vendor extension patterns that should be loaded by Transformer. These are standard Lua patterns. The default behaviour is to only allow Technicolor vendor extensions (X_000E50). All other vendor extensions will not be shown in the datamodel, unless specified in this whitelist. |
| unhide_patterns | UCI list of strings | no | (none) | A list of datamodel path patterns that must not be hidden by Transformer. This can be used to unhide either entire object types or specific parameters. These are standard Lua patterns. |