No Description

Jeremy C. Reed b05214e627 Autoconf and automake requirements. 15 years ago
doc 307918fc7a added doxygen docs for most of data.h 15 years ago
ext 0823b0212a add boost/iterator as well 15 years ago
src a7eca45ffa regex that matches arg_name=value pairs in bigtool input did not include / character 15 years ago
tools 0823b0212a add boost/iterator as well 15 years ago
AUTHORS ebf4a1bb2b added a minimal set to build the package. 15 years ago
COPYING ebf4a1bb2b added a minimal set to build the package. 15 years ago
ChangeLog ebf4a1bb2b added a minimal set to build the package. 15 years ago
INSTALL ba9a64862e lame, but at least non-empty, install file 15 years ago
Makefile.am 241dab1fa1 Add more paths to exclude for the LCOV coverage report. 15 years ago
NEWS ebf4a1bb2b added a minimal set to build the package. 15 years ago
README b05214e627 Autoconf and automake requirements. 15 years ago
configure.ac 07144bf236 Fix --with-lcov to actually accept the specified location. 15 years ago
depcomp 6deb954c9e missing 15 years ago
install-sh ebf4a1bb2b added a minimal set to build the package. 15 years ago
missing ebf4a1bb2b added a minimal set to build the package. 15 years ago

README


BUILDING

Simple build instructions:

autoreconf
./configure
make

Requires autoconf 2.59 or newer.

Use automake-1.11 or better for working Python 3.1 tests.

Doing code coverage tests:

make coverage
Does the following:

make clean-coverage
Zeroes the lcov code coverage counters and removes the coverage HTML.

make perform-coverage
Runs the C++ tests (using googletests framework).

make report-coverage
Generates the coverage HTML, excludes some unrelated headers.
The HTML reports are places in a directory called coverage/.

RUNNING

At the moment there is no install yet, you can run the bind10 parkinglot
server from the source tree:
./src/bin/bind10/bind10

The server will listen on port 5300 for DNS requests.


CONFIGURATION

Commands can be given through the tool bigtool;
cd src/bin/bigtool
sh run_bigtool

The server must be running for bigtool to work.

The following configuration commands are available

help: show the different command modules
help: show the commands for module
help: show info for the command


config show [identifier]: Show the currently set values. If no identifier is
given, the current location is used. If a config
option is a list or a map, the value is not
shown directly, but must be requested separately.
config go [identifier]: Go to the given location within the configuration.
config set [identifier] : Set a configuration value.
config unset [identifier]: Remove a value (reverts to default if the option
is mandatory).
config add [identifier] : add a value to a list
config remove [identifier] : remove a value from a list
config revert: Revert all changes that have not been committed
config commit: Commit all changes


EXAMPLE SESSION

~> sh run_bigtool
> config show
ParkingLot/ module
> config show ParkingLot/
port: 5300 integer (default)
zones/ list
a_records/ list (default)
aaaa_records/ list (default)
ns_records/ list (default)
> config go ParkingLot/
/ParkingLot> config show
port: 5300 integer (default)
zones/ list
a_records/ list (default)
aaaa_records/ list (default)
ns_records/ list (default)
/ParkingLot> config show zones
/ParkingLot> config add zone tjeb.nl
Error: /ParkingLot/zone not found
/ParkingLot> config add zones tjeb.nl
/ParkingLot> config show zones
zone_name: tjeb.nl string
/ParkingLot> config show
port: 5300 integer (default)
zones/ list (modified)
a_records/ list (default)
aaaa_records/ list (default)
ns_records/ list (default)
/ParkingLot> config go /
> config show ParkingLot/port
port: 5300 integer (default)
> config go ParkingLot/a_records/
/ParkingLot/a_records> config show
address: 127.0.0.1 string
/ParkingLot/a_records> config add "127.0.0.2"
/ParkingLot/a_records> config show
address: 127.0.0.2 string
/ParkingLot/a_records>