Update of /cvsroot/dhcp-agent/dhcp-agent/doc
In directory sc8-pr-cvs1:/tmp/cvs-serv28241/doc
Modified Files:
part-4.texi
Log Message:
added new client_info datum to hold information on client
Index: part-4.texi
===================================================================
RCS file: /cvsroot/dhcp-agent/dhcp-agent/doc/part-4.texi,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** part-4.texi 22 Jul 2003 20:18:53 -0000 1.1
--- part-4.texi 7 Aug 2003 01:14:27 -0000 1.2
***************
*** 3,22 ****
@cindex Extensions Intro
! [TODO]
! @node Extending dhcp-client
! @chapter Extending dhcp-client
! @cindex Extending dhcp-client
! dhcp-client uses guile (GNU's Ubiquitous Intelligent Language for
! Extensions) to extend itself. Extensions can currently be written for
! handling DHCP options during system configuration time. Essentially,
! the extension script defines how the client configures the local
! system according to the DHCP options passed.
The rest of this section assumes you are familiar with the Scheme
programming language. If you are not familiar with the Scheme
! programming language then you cannot extend the client to configure
! options it is not programmed to handle.
@section The Client Sysconf Script
--- 3,48 ----
@cindex Extensions Intro
! If you've come this far in the manual you are probably either just
! curious or want more from your DHCP suite. Extensions can currently be
! written for both the client and the server.
! dhcp-agent uses guile (GNU's Ubiquitous Intelligent Language for
! Extensions) to extend itself. guile is an embeddable Scheme
! interpreter which ships its core as a C library.
! dhcp-agent has the scheme intrepreter embedded both in its client and
! server.
!
! The client will allow you to rewrite its system configuration
! script. This will allow you to handle more options the way you want to
! handle them, and do whatever system specific settings you want to
! do. The default script shipped with the client will perform basic
! network configuration only -- typically what the average user wants.
!
! The server allows you to extend it's lease backend. This allows you to
! assign leases based on the alogrithms you see fit. It also allows you
! to place the information anywhere you want. The default backend script
! will keep all lease information in memory and maintain a journal on
! disk as it assigns the leases. This lease information can be specified
! via the server configuration directives mentioned earlier.
!
! A typical client extension is defining more option handlers for your
! system.
!
! A typical server extesnions is backending the server into a database,
! or a directory service.
!
! When writing extensions you will be able to access the user defined
! configuration. It is important not to ignore them. This will allow
! your extensions to be useful to other people, and allow you to make
! configuration changes and have them honored by your own extensions.
The rest of this section assumes you are familiar with the Scheme
programming language. If you are not familiar with the Scheme
! programming language then you cannot write extensions for dhcp-agent.
!
! @node Extending dhcp-client
! @chapter Extending dhcp-client
! @cindex Extending dhcp-client
@section The Client Sysconf Script
|