diff --git a/roles/kea/templates/kea/kea-dhcp4.conf.j2 b/roles/kea/templates/kea/kea-dhcp4.conf.j2 index 7a64253..03a5a90 100644 --- a/roles/kea/templates/kea/kea-dhcp4.conf.j2 +++ b/roles/kea/templates/kea/kea-dhcp4.conf.j2 @@ -133,7 +133,7 @@ "client-classes": [ { - "name": "voip-phone", + "name": "cisco-phone", "option-data": [ { "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", "option-data": [ @@ -325,27 +335,57 @@ }, { - "hw-address": "00:1D:45:B6:99:2F", + "hw-address": "00:15:65:94:df:39", "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", - "hostname": "voip02", - "client-classes": [ "voip-phone" ] +// "hostname": "voip02", + "client-classes": [ "cisco-phone" ] }, { "hw-address": "00:1E:BE:90:FB:DB", - "hostname": "voip03", - "client-classes": [ "voip-phone" ] +// "hostname": "voip03", + "client-classes": [ "cisco-phone" ] }, { "hw-address": "00:1E:BE:90:FF:06", - "hostname": "voip04", - "client-classes": [ "voip-phone" ] +// "hostname": "voip04", + "client-classes": [ "cisco-phone" ] } ] },