fault.web

HTTP host network daemon.

os
import

functools
import

recognition
import

process
import

if_allocate
import

ksystem
import

kcore
import

kio
import

kdispatch
import

daemon
import

tools
import

service
import

optmap
data

optmap = {
	'-F': ('sequence-append', 'listening-interfaces'),
	'-L': ('field-replace', 'concurrency'),
	'-t': ('field-replace', 'trap-host'),
}

rewrite_names
function

rewrite_names(hostname, host)

parse_host_config
function

parse_host_config(indentation, level, section)

Parse the contents of a @host section.

host_inherit_context
function

host_inherit_context(target, source)

parse_network_config
function

parse_network_config(string)

load_partitions
function

load_partitions(items)

create_host
function

create_host(name, config)

allocate_network
function

allocate_network(optdata, kports)

integrate
function

integrate(name, args)

main
function
process.Exit

main(inv)