Commit 8cf44759 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰 Committed by Michal Nowikowski

[#372,!181] Initial user's guide section for hammer added.

parent 8602eb3d
......@@ -10,7 +10,7 @@ DOCBOOK += keactrl.xml dhcp4-srv.xml dhcp6-srv.xml lease-expiration.xml logging.
DOCBOOK += ddns.xml hooks.xml hooks-class-cmds.xml hooks-ha.xml hooks-host-cache.xml
DOCBOOK += hooks-lease-cmds.xml hooks-radius.xml hooks-stat-cmds.xml libdhcp.xml
DOCBOOK += lfc.xml stats.xml ctrl-channel.xml classify.xml shell.xml agent.xml
DOCBOOK += netconf.xml api.xml congestion-handling.xml
DOCBOOK += netconf.xml api.xml congestion-handling.xml hammer.xml
- Copyright (C) 2019 Internet Systems Consortium, Inc. ("ISC")
- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at
<!-- need this include to make the &keaversion; macro work -->
<!DOCTYPE book [
<!ENTITY % keaversion SYSTEM "version.ent">
<section xmlns="" version="5.0" xml:id="hammer">
<title>Hammer Building Tool</title>
An optionl building tool called hammer was introduced with Kea 1.6.0. It
is a Python 3 script that lets users automate tasks related to building
Kea, such as setting up virtual machines, installing Kea dependencies,
compiling Kea with various options, running unit-tests and more. This tool
was created primarily for internal QA purposes at ISC, but since it was
proven to be quite powerful, it is now part of the Kea distribution.
<simpara>Use of this tool is completely optional. Everything it does can
be done manually.</simpara>
The first time user is strongly encouraged to look at hammer's built in
help: <screen><userinput>./ --help</userinput></screen> It will
list available parameters.
Hammer is able to set up various operating systems running in LXC of
virtualbox. To list of supported systems, use
<command>list-systems</command> command:
$<userinput>./ list-systems</userinput>
- 27: lxc, virtualbox
- 28: lxc, virtualbox
- 29: lxc, virtualbox
- 7: lxc, virtualbox
- 8: virtualbox
- 16.04: lxc, virtualbox
- 18.04: lxc, virtualbox
- 18.10: lxc, virtualbox
- 8: lxc, virtualbox
- 9: lxc, virtualbox
- 11.2: virtualbox
- 12.0: virtualbox
<!-- @todo: explain how to install deps (hammer ensure-hammer-deps), explain
what is installed -->
<!-- @todo: explain how to install deps and kea on host system, without setting
up any VMs (is ensure-hammer-deps needed for this? if not, make a note
about it above) -->
Hammer can be told to set up a new virtual machine and install specified OS on
./ -p virtualbox -s freebsd -r 12.0 prepare-system
<!-- @todo: describe how to install kea on a system,
This didn't work (why?)
./ -p virtualbox -s freebsd -r 12.0 -w install,unittest,docs,mysql build -->
......@@ -633,6 +633,8 @@ $ <userinput>make</userinput>
<screen><userinput>./configure [other-options] --with-cql=<replaceable>path-to-cql_config</replaceable></userinput></screen>
<xi:include xmlns:xi="" href="hammer.xml"/>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment