summaryrefslogtreecommitdiffstats
path: root/docs/buildprocedure/build.instructions.rst
blob: e7549679b98b57ec2234bdc18fca10f555c799c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
.. OPNFV - Open Platform for Network Function Virtualization
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0

========
Abstract
========

This document describes the optional build of the OPNFV Colorado release
of the OVSNFV RPMs for the The dependencies and required
system resources are also described.

============
Introduction
============

This document describes how to build the OVSNFV RPMs. These RPMs are incorporated into the
Apex iso artifacts so there is no required action for Apex installation of OPNFV.

This document describes the optional standalone build of the OVSNFV RPMs.

============
Requirements
============


Minimum Software Requirements
=============================

The build host should run Centos 7.0

Setting up OPNFV Gerrit in order to being able to clone the code
----------------------------------------------------------------

- Start setting up OPNFV gerrit by creating a SSH key (unless you
  don't already have one), create one with ssh-keygen

- Add your generated public key in OPNFV Gerrit <https://gerrit.opnfv.org/>
  (this requires a Linux foundation account, create one if you do not
  already have one)

- Select "SSH Public Keys" to the left and then "Add Key" and paste
  your public key in.

Clone the OPNFV code Git repository with your SSH key
-----------------------------------------------------

Clone the code repository:

.. code-block:: bash

    $ git clone ssh://<Linux foundation user>@gerrit.opnfv.org:29418/ovsnfv

Clone the OPNFV code Git repository using HTML
----------------------------------------------

.. code-block:: bash

    $ git clone https://gerrit.opnfv.org:29418/ovsnfv

========
Building
========

Build using build.sh
--------------------

.. code-block:: bash

    $ cd ovsnfv/ci
    $ ./build.sh