summaryrefslogtreecommitdiffstats
path: root/doc/examples/netconf/comments.json
blob: 99014e78503847212d2e40fa3c4b4dba41d98351 (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
// This is a example of a configuration for Netconf.
// It uses embedded (i.e., which will be included in configuration objects
// and not stripped by at lexical analysis) comments.

{
    "Netconf":
    {
        // Global scope
        "comment": "The Netconf Agent",

        // In servers
        "managed-servers":
        {
            "dhcp4":
            {
                "comment": "the model is mandatory",
                "model": "kea-dhcp4-server",
                // In control socket.
                "control-socket":
                {
                    "comment": "using unix/local socket",
                    "socket-type": "unix",
                    "socket-name": "/tmp/kea4-ctrl-socket"
                }
            }
        },

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