summaryrefslogtreecommitdiffstats
path: root/src/bin/agent/tests/testdata/get_config.json
blob: 38a6d47fb5f32b0be34294e4f1fe795225581dbb (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
    "Control-agent": {
        "authentication": {
            "clients": [
                {
                    "password": "1234",
                    "user": "admin",
                    "user-context": {
                        "comment": "admin is authorized"
                    }
                }
            ],
            "realm": "kea-control-agent",
            "type": "basic"
        },
        "cert-file": "my-cert",
        "cert-required": true,
        "control-sockets": {
            "d2": {
                "socket-name": "/tmp/kea-ddns-ctrl-socket",
                "socket-type": "unix",
                "user-context": {
                    "in-use": false
                }
            },
            "dhcp4": {
                "socket-name": "/tmp/kea4-ctrl-socket",
                "socket-type": "unix",
                "user-context": {
                    "comment": "socket to DHCP4 server"
                }
            },
            "dhcp6": {
                "socket-name": "/tmp/kea6-ctrl-socket",
                "socket-type": "unix"
            }
        },
        "hooks-libraries": [
            {
                "library": "/opt/local/control-agent-commands.so",
                "parameters": {
                    "param1": "foo"
                }
            }
        ],
        "http-host": "127.0.0.1",
        "http-port": 8000,
        "key-file": "my-key",
        "trust-anchor": "my-ca"
    }
}