Table of Contents
This document describes how to build the Fuel deployment tool for the Arno release of OPNFV, the build system, dependencies and required system resources.
Arno release of OPNFV when using Fuel as a deployment tool DOCs (c) by Jonas Bjurel (Ericsson AB)
Arno release of OPNFV when using Fuel as a deployment tool DOCs (c) are licensed under a Creative Commons Attribution 4.0 International License. You should have received a copy of the license along with this. If not, see <http://creativecommons.org/licenses/by/4.0/>.
Date | Ver. | Author | Comment |
2015-06-03 | 1.0.0 | Jonas Bjurel (Ericsson AB) | Instructions for the Arno release |
This document describes the build system used to build the Fuel deployment tool for the Arno release of OPNFV, required dependencies and minimum requirements on the host to be used for the buildsystem.
The Fuel build system is desigened around Docker containers such that dependencies outside of the build system can be kept to a minimum. It also shields the host from any potential dangerous operations performed by the build system.
The audience of this document is assumed to have good knowledge in network and Unix/Linux administration.
The build host should run Ubuntu 14.04 operating system.
On the host, the following packages must be installed:
After having installed Docker, add yourself to the docker group:
<usermod -a -G docker [userid]>
Also make sure to define relevant DNS servers part of the global dns chain in in your </etc/default/docker> configuration file, eg.
<DOCKER_OPTS=" --dns=8.8.8.8 --dns=8.8.8.4">
Then restart docker:
<sudo service docker.io restart>
Now it is time to clone the code repository:
<git clone ssh://'Linux foundation user'@gerrit.opnfv.org:29418/genesis>
Now you should have the OPNFV genesis repository with the Fuel directories stored locally on your build host.
Check out the Arno release: <cd genesis> <git checkout arno.2015.1.0>
There are two methods available for building Fuel:
** Configuring the build environment should not be performed if building standard Arno release **
Select the versions of the components you want to build by editing the fuel/build/config.mk file.
The low level method is based on Make:
From the <fuel/build> directory, invoke <make [target]>
Following targets exist:
If the build is successful, you will find the generated ISO file in the <fuel/build/release> subdirectory!
The abstracted build method uses the <fuel/ci/build.sh> script which allows you to:
For more info type <fuel/ci/build.sh -h>.
The artifacts produced are:
Authors: | Jonas Bjurel (Ericsson) |
---|---|
Version: | 1.0.0 |
Documentation tracking
Revision: 1a9d2532a3cf8bf01fbe829d38bc8988d43aca44
Build date: Tue Jul 28 15:39:58 UTC 2015