2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-04 16:05:17 +00:00

[898-add-a-new-hook-to-support-bootp] Updated docs

This commit is contained in:
Francis Dupont
2019-11-18 11:12:00 +01:00
parent 399a9193dc
commit fd46e406f2
4 changed files with 37 additions and 1 deletions

View File

@@ -779,6 +779,8 @@ INPUT = ../../src/bin/agent \
../../src/bin/netconf \ ../../src/bin/netconf \
../../src/bin/perfdhcp \ ../../src/bin/perfdhcp \
../../src/bin/sockcreator \ ../../src/bin/sockcreator \
../../src/hooks/dhcp/bootp \
../../src/hooks/dhcp/flex_option \
../../src/hooks/dhcp/high_availability \ ../../src/hooks/dhcp/high_availability \
../../src/hooks/dhcp/lease_cmds \ ../../src/hooks/dhcp/lease_cmds \
../../src/hooks/dhcp/stat_cmds \ ../../src/hooks/dhcp/stat_cmds \

View File

@@ -5679,7 +5679,11 @@ However, some of them are implications of the design choices made. Those
are clearly marked as such. are clearly marked as such.
- BOOTP (`RFC 951 <https://tools.ietf.org/html/rfc951>`__) is not - BOOTP (`RFC 951 <https://tools.ietf.org/html/rfc951>`__) is not
supported. This is a design choice; BOOTP support is not planned. supported. This is a design choice; historic BOOTP support is not planned.
- BOOTP with vendor information extensions
(`RFC 1497 <https://tools.ietf.org/html/rfc1497>`__) is supported
by the BOOTP hooks library; see :ref:`bootp-library` for details.
- On Linux and BSD system families the DHCP messages are sent and - On Linux and BSD system families the DHCP messages are sent and
received over the raw sockets (using LPF and BPF) and all packet received over the raw sockets (using LPF and BPF) and all packet

View File

@@ -441,6 +441,10 @@ loaded by the correct process per the table below.
| | |database. This library may only be used in conjuction with | | | |database. This library may only be used in conjuction with |
| | |one of the supported configuration backend implementations. | | | |one of the supported configuration backend implementations. |
+-----------------+---------------+------------------------------------------------------------+ +-----------------+---------------+------------------------------------------------------------+
| BOOTP | Kea sources |The BOOTP hooks library recognizes received BOOTP requests: |
| | (since 1.7.2) |they are translated into DHCPREQUEST packets, put into the |
| | |BOOTP client class and get infinite lifetime leases. |
+-----------------+---------------+------------------------------------------------------------+
ISC hopes to see more hooks libraries become available as time ISC hopes to see more hooks libraries become available as time
progresses, developed both internally and externally. Since this list progresses, developed both internally and externally. Since this list
@@ -2775,6 +2779,30 @@ following:
The ``network6-subnet-del`` command uses exactly the same syntax for The ``network6-subnet-del`` command uses exactly the same syntax for
both the command and the response. both the command and the response.
.. _bootp-library:
bootp BOOTP support
===================
This library adds support for BOOTP with vendor information extensions
(`RFC 1497 <https://tools.ietf.org/html/rfc1497>`__). Received BOOTP
requests are recognized, translated into DHCPREQUEST packets by adding
a dhcp-message-type option and put into the "BOOTP" client class.
Members of this class get infinite lifetime leases but the class can
be used too for instance to guard a pool of addresses.
The library is available since Kea 1.7.2 and can be loaded in a
similar way as other hook libraries by the ``kea-dhp4`` process.
It takes no parameter.
::
"Dhcp4": {
"hook_libraries": [
{ "library": "/usr/local/lib/libdhcp_bootp.so" },
...
]
}
.. include:: hooks-class-cmds.rst .. include:: hooks-class-cmds.rst
.. include:: hooks-cb-cmds.rst .. include:: hooks-cb-cmds.rst

View File

@@ -1,3 +1,5 @@
src/hooks/dhcp/flex_option/flex_option_messages.mes
src/hooks/dhcp/bootp/bootp_messages.mes
src/hooks/dhcp/mysql_cb/mysql_cb_messages.mes src/hooks/dhcp/mysql_cb/mysql_cb_messages.mes
src/hooks/dhcp/lease_cmds/lease_cmds_messages.mes src/hooks/dhcp/lease_cmds/lease_cmds_messages.mes
src/hooks/dhcp/high_availability/ha_messages.mes src/hooks/dhcp/high_availability/ha_messages.mes