[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

10. Configuration Intro

This section describes configuration of the dhcp-agent components.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

10.1 The Configuration File Parser

All configurable components use a single parser, which follows a simple grammar and accepts the same type of tokens. This is good news since it means the configuration files will look very similar. The only differences will be the directives each component accepts.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

10.2 The Tokens

The parser accepts a set of tokens which it uses to build complete statements.

As the reader has noted, anything except a few special characters defaults to a string which is then evaluated at a higher level.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

10.3 Directives

The configuration files are made up of directives which in turn are made up of the above tokens. Each directive begins with an identifier and is terminated by the terminator (";").

 
set foo = blah;

Here "set" is the identifier, or the command name, and what follows is dependant on the command. The chapters below will describe all the configuration directives for the components of dhcp-gent.


[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated by Thamer Alharbash on July, 22 2003 using texi2html