summaryrefslogtreecommitdiff
path: root/doc/examples/agent/comments.json
blob: d0d0c107980a63640dc8b61c1f69f452685cc1b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// This is a example of a configuration for Control-Agent (CA) or simply Agent.
// It uses embedded (i.e., which will be included in configuration objects
// and not stripped by at lexical analysis) comments.

{
    "Control-agent":
    {
        // Global scope
        "comment": "A Control Agent",

        "http-host": "127.0.0.1",
        "http-port": 8000,

        // In control socket
        "control-sockets":
        {
            "dhcp4":
            {
                "comment": "control socket for DHCP4 server",
                "socket-type": "unix",
                "socket-name": "/path/to/the/unix/socket-v4"
            }
        }

    },

    "Logging":
    {
        // In loggers
        "loggers": [
            {
                "comment": "A logger",
                "name": "kea-ctrl-agent"
            }
        ]
    }
}