bbfdm/docs/api/uci/bbfdm.json
Amin Ben Romdhane fa69524868
Multiple updates
- Transaction APIs removed
- Use different save dirs per proto
- In process instance update notifier
- Use event based refresh timer
- Commit changes from main daemon for default proto
- For add request commit changes without reload for default proto
- extend bbf.config to monitor based on input
- extend bbf.config to reload/commit based on input
- extend bb.config to provide list of service changes based on proto
2024-08-17 07:18:35 +00:00

81 lines
2.7 KiB
JSON

{
"bbfdmd": [
{
"section": "bbfdmd",
"description": "BBFDM daemon Settings",
"multi": false,
"options": [
{
"name": "enable",
"type": "boolean",
"required": "no",
"default": "1",
"description": "Enables bbfdmd"
},
{
"name": "debug",
"type": "boolean",
"required": "no",
"default": "",
"description": "Enabled debug logging"
},
{
"name": "sock",
"type": "string",
"required": "no",
"default": "",
"description": "Path for ubus socket to register bbfdmd services"
},
{
"name": "loglevel",
"type": "integer",
"required": "no",
"default": "1",
"description": "Internal loglevel for debugging {0: No Logs; 1: Errors only; 2: Errors and warnings; 3: Error, warning and info; 4: Everything}"
},
{
"name": "subprocess_level",
"type": "integer",
"required": "no",
"default": "2",
"description": "This parameter configures when subprocess can be used for get operation. Level here denotes the Datamodel object depth up-to which subprocess will be used to collect the get data. For example, if this is configured to 1, then only get for 'Device.' shall be called within the subprocess. If configured as level 2, then all the get with up-to depth 2 like 'Device.WiFi.', 'Device.IP.' shall be called in subprocess."
},
{
"name": "refresh_time",
"type": "integer",
"required": "no",
"default": "5",
"description": "The time period in seconds after which bbfdmd will refresh the datamodel instances in a periodic manner. If configured to '0' then instance updater will be disabled. If not configured at all then after every 5 seconds datamodel instances will be refreshed."
}
]
},
{
"section": "micro_services",
"description": "Datamodel micro-service",
"multi": false,
"options": [
{
"name": "enable",
"type": "boolean",
"required": "no",
"default": "1",
"description": "Enables bbfdmd"
},
{
"name": "enable_core",
"type": "boolean",
"required": "no",
"default": "0",
"description": "Sets core flag in procd for datamodel microservices"
},
{
"name": "enable_respawn",
"type": "boolean",
"required": "no",
"default": "0",
"description": "Enable respawning of datamodel micro-service process"
}
]
}
]
}