diff options
Diffstat (limited to 'src/bin/agent/tests/testdata/get_config.json')
-rw-r--r-- | src/bin/agent/tests/testdata/get_config.json | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/src/bin/agent/tests/testdata/get_config.json b/src/bin/agent/tests/testdata/get_config.json new file mode 100644 index 0000000..3117d66 --- /dev/null +++ b/src/bin/agent/tests/testdata/get_config.json @@ -0,0 +1,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 DHCPv4 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 + } +} |