%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /backups/router/usr/local/share/kea/api/
Upload File :
Create Path :
Current File : //backups/router/usr/local/share/kea/api/cache-insert.json

{
    "access": "write",
    "avail": "1.4.0",
    "brief": [
        "This command inserts a host into the cache."
    ],
    "cmd-syntax": [
        "{",
        "    \"command\": \"cache-insert\",",
        "    \"arguments\": {",
        "        \"hw-address\": \"01:02:03:04:05:06\",",
        "        \"subnet-id4\": 4,",
        "        \"subnet-id6\": 0,",
        "        \"ip-address\": \"192.0.2.100\",",
        "        \"hostname\": \"somehost.example.org\",",
        "        \"client-classes4\": [ ],",
        "        \"client-classes6\": [ ],",
        "        \"option-data4\": [ ],",
        "        \"option-data6\": [ ],",
        "        \"next-server\": \"192.0.0.2\",",
        "        \"server-hostname\": \"server-hostname.example.org\",",
        "        \"boot-file-name\": \"bootfile.efi\",",
        "        \"host-id\": 0",
        "    }",
        "}",
        "",
        "Another example that adds IPv6 host reservation to cache is:",
        "{",
        "    \"command\": \"cache-insert\",",
        "    \"arguments\": {",
        "        \"hw-address\": \"01:02:03:04:05:06\",",
        "        \"subnet-id4\": 0,",
        "        \"subnet-id6\": 6,",
        "        \"ip-addresses\": [ \"2001:db8::cafe:babe\" ],",
        "        \"prefixes\": [ \"2001:db8:dead:beef::/64\" ],",
        "        \"hostname\": \"\",",
        "        \"client-classes4\": [ ],",
        "        \"client-classes6\": [ ],",
        "        \"option-data4\": [ ],",
        "        \"option-data6\": [ ],",
        "        \"next-server\": \"0.0.0.0\",",
        "        \"server-hostname\": \"\",",
        "        \"boot-file-name\": \"\",",
        "        \"host-id\": 0",
        "    }",
        "}"
    ],
    "description": "See <xref linkend=\"host-reservation-v4\"/>",
    "hook": "host_cache",
    "name": "cache-insert",
    "support": [
        "kea-dhcp4",
        "kea-dhcp6"
    ]
}

Zerion Mini Shell 1.0