summaryrefslogtreecommitdiffstats
path: root/README.md
blob: ce08bebdeaa1a3af810c571200b864423b547c7d (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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
##############################################################################
# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

# Compass4nfv Build Guide

Compass4nfv is an installer project based on open source project COMPASS, which provides automated deployment and management of OpenStack and other distributed systems.

This is a project for running compass4nfv in OPNFV, including build OPNFV imaged-base installation ISO, deployment for OPNFV distributed system.

There are two files in this directory:

* **build**: build imaged-base installation ISO for OPNFV.
* **deploy**: deploy OPNFV distributed system base the above ISO.

There are five directories in this directory:

* **repo**: make repo for building the installation ISO

For the repo directory:

```
|-- constants.py ## set OS of Docker to make repo
|-- features ## feature components of OPNFV
|   |-- brahmaputra ## release name of OPNFV
|   |   |-- make_odl.sh ## script to make ODL package
|   |   `-- make_opencon-trail.sh ## script to make Open-contrail package
|   |-- colorado ## release name of OPNFV
|   |   |-- make_kvmfornfv.sh ## script to make Kvm4nfv package
|   |   |-- make_moon.sh ## script to make Moon package
|   |   |-- make_odl.sh ## script to make ODL package
|   |   |-- make_onos.sh ## script to make ONOS package
|   |   `-- make_opencon-trail.sh ## script to make Open-contrail package
|   |-- danube ## release name of OPNFV
|   |   |-- make_moon.sh ## script to make Moon package
|   |   |-- make_odl.sh ## script to make ODL package
|   |   |-- make_onos.sh ## script to make ONOS package
|   |   `-- make_opencon-trail.sh ## script to make Open-contrail package
|   `-- Dockerfile ## Dockerfile to make feature repo
|-- gen_ins_pkg_script.py ## generate the script of downloading package
|-- jhenv_template ## Dockerfile used for making jumphost related package
|   |-- centos ## arch name
|   |   `-- rhel7 ## OS name
|   |       `-- Dockerfile
|   `-- ubuntu ## arch name
|       |-- trusty ## OS name
|       |   `-- Dockerfile
|       `-- xenial ## OS name
|           `-- Dockerfile
|-- make_repo.sh ## entrance to make repo
|-- openstack ## make openstack package
|   |-- make_ppa ## scripts used to make openstack deb or rpm repo
|   |   |-- centos ## arch
|   |   |   |-- ceph_key_release.asc ## Release repositories use the release.asc key to verify packages.
|   |   |   |-- comps.xml ## used in rpm repo
|   |   |   |-- Dockerfile.tmpl ## Dockerfile running to make repo
|   |   |   `-- rhel7 ## arch
|   |   |       |-- compass ## Make the package used by compass vm
|   |   |       |   `-- download_pkg.tmpl
|   |   |       |-- juno ## package for openstack juno
|   |   |       |   `-- download_pkg.tmpl
|   |   |       |-- kilo ## package for openstack kilo
|   |   |       |   `-- download_pkg.tmpl
|   |   |       |-- liberty ## package for openstack liberty
|   |   |       |   `-- download_pkg.tmpl
|   |   |       `-- mitaka ## package for openstack mitaka
|   |   |           `-- download_pkg.tmpl
|   |   |-- redhat ## Red Hat Enterprise Linux Release
|   |   |   |-- ceph_key_release.asc ## Release repositories use the release.asc key to verify packages
|   |   |   |-- comps.xml ## used in rpm repo
|   |   |   |-- Dockerfile.tmpl ## Dockerfile running to make repo
|   |   |   `-- redhat7 ## OS name
|   |   |       `-- osp9 ## Red Hat OpenStack Platform
|   |   |           `-- download_pkg.tmpl
|   |   `-- ubuntu ## arch
|   |       |-- Dockerfile.tmpl ## Dockerfile running to make repo
|   |       |-- trusty ## OS name
|   |       |   |-- juno ## package for openstack juno
|   |       |   |   `-- download_pkg.tmpl
|   |       |   |-- kilo ## package for openstack kilo
|   |       |   |   `-- download_pkg.tmpl
|   |       |   |-- liberty ## package for openstack liberty
|   |       |   |   `-- download_pkg.tmpl
|   |       |   `-- mitaka ## package for openstack mitaka
|   |       |       `-- download_pkg.tmpl
|   |       `-- xenial ## OS name
|   |           |-- mitaka ## package for openstack mitaka
|   |           |   `-- download_pkg.tmpl
|   |           `-- newton ## package for openstack newton
|   |               `-- download_pkg.tmpl
|   |-- pip ## make pip package according to the requirement.txt openstack source code repo
|   |   |-- code_url.conf ##code url
|   |   `-- Dockerfile
|   `-- special_pkg ## some special packages
|       |-- Debian
|       |   `-- make_openvswitch-switch.sh
|       `-- RedHat
|           |-- make_jdk.sh
|           `-- make_kibana.sh
|-- repo.conf ## configuration file used in making repo
`-- repo_func.sh ## function lib
```

* **build**: configuration file of building is put in this directory.

For the build directory:

```
`-- build.conf ## configuration file used in building ISO
```