Frontend ideas¶
conf daemon handle whole system configuration, serve system events and frontends requests.
Downstream¶
- Should be able to interact with ifconfig
- - - with DHCP server/client/relay
- - - with mpd
- - - with ipfw
- - - with hostapd
- - - with Switch API
Upstream¶
- Web frontend
- CLI frontend
- SNMP
- TR069
- UPNP
conf protocol
Protocol used between conf and frontend's.¶
- GET - get single value or subtree
- PUT - set/create single value or subtree
- DELETE - delete single value or subtree
h3.
GETGET root.node.subnode?f=xml
<subnode value="1"> <subsubnode> <item value="192.168.0.1/24"></item> </subsubnode> </subnode>
GET root.node.subnode?f=json
{ subnode = { value = "1", subsubnode = { item = { value = "192.168.0.1/24" } } } }