Frontend ideas » History » Version 3
Version 2 (Oleksandr Rybalko, 04/15/2011 09:15 AM) → Version 3/6 (Oleksandr Rybalko, 04/15/2011 09:55 AM)
h1. Frontend ideas
_*conf*_ daemon handle whole system configuration, serve system events and frontends requests.
h2. Downstream
* Should be able to interact with ifconfig
* - - with DHCP server/client/relay
* - - with mpd
* - - with ipfw
* - - with hostapd
* - - with Switch API
h2. Upstream
# Web frontend
# CLI frontend
# SNMP
# TR069
# UPNP
h2. 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.
*GET*
@GET 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"
}
}
}
}
@
_*conf*_ daemon handle whole system configuration, serve system events and frontends requests.
h2. Downstream
* Should be able to interact with ifconfig
* - - with DHCP server/client/relay
* - - with mpd
* - - with ipfw
* - - with hostapd
* - - with Switch API
h2. Upstream
# Web frontend
# CLI frontend
# SNMP
# TR069
# UPNP
h2. 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.
*GET*
@GET 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"
}
}
}
}
@