File: comments.json

package info (click to toggle)
isc-kea 3.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 62,036 kB
  • sloc: cpp: 594,791; sh: 26,896; lex: 8,540; yacc: 8,424; python: 1,065; xml: 149; makefile: 39
file content (36 lines) | stat: -rw-r--r-- 921 bytes parent folder | download | duplicates (2)
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": "kea4-ctrl-socket"
                }
            }
        },

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