Add doc for building kolla image 31/41031/9
authorZhijiang Hu <hu.zhijiang@zte.com.cn>
Tue, 5 Sep 2017 06:02:51 +0000 (14:02 +0800)
committerZhijiang Hu <hu.zhijiang@zte.com.cn>
Tue, 5 Sep 2017 13:08:21 +0000 (21:08 +0800)
Change-Id: I7d25c13221e60d40801dc694efe8c32c31ebfabf
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
docs/release/installation/build_kolla_image.rst [new file with mode: 0644]
docs/release/installation/index.rst
docs/release/installation/upgrade.rst

diff --git a/docs/release/installation/build_kolla_image.rst b/docs/release/installation/build_kolla_image.rst
new file mode 100644 (file)
index 0000000..8a55de5
--- /dev/null
@@ -0,0 +1,39 @@
+.. _daisy-build-kolla-image:
+
+.. This document is protected/licensed under the following conditions
+.. (c) Sun Jing (ZTE corporation)
+.. Licensed under a Creative Commons Attribution 4.0 International License.
+.. You should have received a copy of the license along with this work.
+.. If not, see <http://creativecommons.org/licenses/by/4.0/>.
+
+Build Your Own Kolla Image For Daisy
+====================================
+
+The following command will build Ocata Kolla image for Daisy based on
+Daisy's fork of openstack/kolla project. This is also the method Daisy
+used for the Euphrates release.
+
+The reason why here use fork of openstack/kolla project is to backport
+ODL support from pike branch to ocata branch.
+
+.. code-block:: console
+
+  cd ./ci
+  ./kolla-build.sh
+
+
+
+After building, the above command will put Kolla image into
+/tmp/kolla-build-output directory and the image version will be 4.0.2.
+
+If you want to build an image which can update 4.0.2, run the following
+command:
+
+.. code-block:: console
+
+  cd ./ci
+  ./kolla-build.sh -e 1
+
+
+This time the image version will be 4.0.2.1 which is higher than 4.0.2
+so that it can be used to replace the old version.
index 20d1e3b..0e22839 100644 (file)
@@ -17,3 +17,4 @@ OPNFV Daisy4nfv Installation Guide
    vmdeploy.rst
    recovery.rst
    upgrade.rst
+   build_kolla_image.rst
index 23b53e2..ce95d50 100644 (file)
@@ -11,7 +11,9 @@ update OpenStack minor version as the follows:
 Since Daisy's Kolla images are build by meeting the OPNFV requirements
 and have their own file packaging layout, Daisy requires user to
 always use Kolla image file built by Daisy team. Currently, it can be
-got from http://120.24.17.215/.
+got from http://120.24.17.215/, or please
+see :ref:`this chapter <daisy-build-kolla-image>`
+for how to build your own image.
 
 2. Put new version file into /var/lib/daisy/versionfile/kolla/, for
 example: