summaryrefslogtreecommitdiffstats
path: root/src/bin/agent/tests/testdata/get_config.json
blob: ce3df5433ed1899cf0dda12458bfe44ec053ee7e (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
52
53
54
55
{
    "Control-agent": {
        "authentication": {
            "clients": [
                {
                    "password": "1234",
                    "user": "admin",
                    "user-context": {
                        "comment": "admin is authorized"
                    }
                },
                {
                    "password-file": "hiddenp",
                    "user-file": "hiddenu"
                },
                {
                    "password-file": "hiddens"
                }
            ],
            "directory": "/tmp/kea-creds",
            "realm": "kea-control-agent",
            "type": "basic"
        },
        "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
    }
}