{
    "Dhcp4": {
        "server-tag": "DHCPv4-A",
        "interfaces-config": {
            "interfaces": [
                "enpXsY"
            ],
            "dhcp-socket-type": "raw"
        },
        "control-socket": {
            "socket-type": "unix",
            "socket-name": "/tmp/kea-dhcp4-ctrl.sock"
        },
        "hooks-libraries": [
            {
                "library": "/usr/lib64/kea/hooks/libdhcp_mysql_cb.so"
            }
        ],
        "config-control": {
            "config-databases": [
                {
                    "type": "mysql",
                    "name": "kea",
                    "user": "kea",
                    "password": "******",
                    "host": "host",
                    "port": 3306
                }
            ],
            "config-fetch-wait-time": 20
        },
        "lease-database": {
            "type": "mysql",
            "name": "kea",
            "user": "kea",
            "password": "******",
            "host": "host",
            "port": 3306
        },
        "hosts-database": {
            "type": "mysql",
            "name": "kea",
            "user": "kea",
            "password": "******",
            "host": "host",
            "port": 3306
        },
        "loggers": [
            {
                "name": "kea-dhcp4",
                "output_options": [
                    {
                        "output": "/var/log/kea/dhcp4.log"
                    }
                ],
                "severity": "INFO",
                "debuglevel": 0
            }
        ]
    }
}

标签: none

添加新评论