kea: add options for new yealink voip phones

This commit is contained in:
Markus 2024-11-02 17:24:22 +01:00
parent 2d139167ea
commit baf02e790f

View File

@ -133,7 +133,7 @@
"client-classes": [ "client-classes": [
{ {
"name": "voip-phone", "name": "cisco-phone",
"option-data": [ "option-data": [
{ {
"name": "tftp-server-name", "name": "tftp-server-name",
@ -142,6 +142,16 @@
] ]
}, },
{
"name": "yealink-phone",
"option-data": [
{
"name": "tftp-server-name",
"data": "tftp://172.23.2.36/yealink/$PN"
}
]
},
{ {
"name": "dect-rfp", "name": "dect-rfp",
"option-data": [ "option-data": [
@ -325,27 +335,57 @@
}, },
{ {
"hw-address": "00:1D:45:B6:99:2F", "hw-address": "00:15:65:94:df:39",
"hostname": "voip01", "hostname": "voip01",
"client-classes": [ "voip-phone" ] "client-classes": [ "yealink-phone" ]
},
{
"hw-address": "00:15:65:94:e2:2d",
"hostname": "voip02",
"client-classes": [ "yealink-phone" ]
},
{
"hw-address": "00:15:65:94:df:3a",
"hostname": "voip03",
"client-classes": [ "yealink-phone" ]
},
{
"hw-address": "00:15:65:94:de:7f",
"hostname": "voip04",
"client-classes": [ "yealink-phone" ]
},
{
"hw-address": "00:15:65:94:e3:39",
"hostname": "voip04",
"client-classes": [ "yealink-phone" ]
},
{
"hw-address": "00:1D:45:B6:99:2F",
// "hostname": "voip01",
"client-classes": [ "cisco-phone" ]
}, },
{ {
"hw-address": "00:1D:A2:66:B8:3E", "hw-address": "00:1D:A2:66:B8:3E",
"hostname": "voip02", // "hostname": "voip02",
"client-classes": [ "voip-phone" ] "client-classes": [ "cisco-phone" ]
}, },
{ {
"hw-address": "00:1E:BE:90:FB:DB", "hw-address": "00:1E:BE:90:FB:DB",
"hostname": "voip03", // "hostname": "voip03",
"client-classes": [ "voip-phone" ] "client-classes": [ "cisco-phone" ]
}, },
{ {
"hw-address": "00:1E:BE:90:FF:06", "hw-address": "00:1E:BE:90:FF:06",
"hostname": "voip04", // "hostname": "voip04",
"client-classes": [ "voip-phone" ] "client-classes": [ "cisco-phone" ]
} }
] ]
}, },