diff options
-rw-r--r-- | docs/configguide/config-for-installer.rst | 334 | ||||
-rw-r--r-- | docs/configguide/index.rst | 26 | ||||
-rw-r--r-- | docs/design/index.rst | 27 | ||||
-rw-r--r-- | docs/release/index.rst | 25 | ||||
-rw-r--r-- | docs/release/onos-release.rst | 62 | ||||
-rw-r--r-- | docs/userguide/index.rst | 25 | ||||
-rw-r--r-- | docs/userguide/onosfw-userguide.rst | 73 |
7 files changed, 439 insertions, 133 deletions
diff --git a/docs/configguide/config-for-installer.rst b/docs/configguide/config-for-installer.rst index 7dd73cd9..959b599e 100644 --- a/docs/configguide/config-for-installer.rst +++ b/docs/configguide/config-for-installer.rst @@ -1,37 +1,325 @@ -.. OPNFV Release Engineering documentation, created by - sphinx-quickstart on Tue Jun 9 19:12:31 2015. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. +=========================================================================================================== +OPNFV config guide instructions for the Brahmaputra release of OPNFV when using installers to deploy onosfw +=========================================================================================================== -.. image:: ../etc/opnfv-logo.png - :height: 40 - :width: 200 - :alt: OPNFV - :align: left -| -| -Config Documentation of onos & apex -=================================== +.. contents:: Table of Contents + :backlinks: none -Contents: -Config Documentation of onos & Compass -====================================== +Abstract +======== -Contents: +This document describes how to config the Brahmaputra release of OPNFV when +using installers as a deployment tool to deploy onosfw, covering it's limitations, dependencies +and required system resources. -Config Documentation of onos & Fuel -=================================== +License +======= -Contents: +Brahmaputra release of OPNFV when using installers to deploy onosfw Docs +(c) by Henry (HUAWEI) -Config Documentation of onos & JOID -=================================== +Brahmaputra release of OPNFV when using installers to deploy onosfw Docs +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/>. -Contents: +Version history +=============== ++------------+----------+------------+------------------+ +| **Date** | **Ver.** | **Author** | **Comment** | +| | | | | ++------------+----------+------------+------------------+ +| 2016-01-21 | 1.0.0 | Henry | Rewritten for | +| | | (HUAWEI) | ONOSFW B release | ++------------+----------+------------+------------------+ +| 2016-01-20 | 0.0.2 | Henry | Minor changes & | +| | | (HUAWEI) | formatting | ++------------+----------+------------+------------------+ +| 2016-01-19 | 0.0.1 | Henry | First draft | +| | | (HUAWEI) | | ++------------+----------+------------+------------------+ +Introduction +============ + +ONOSFW need to deploy with several installers and each installer have differernt configs. Here is the scenarios ONOSFW need to supported + ++-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+ +| Apex | Compass | Fuel | JOID | ++=========================================+=========================================+=========================================+=========================================+ +| Virtual CentOS 7, ONOS with OpenStack | Virtual Ubuntu 14, ONOS with OpenStack | Virtual Ubuntu 14, ONOS with OpenStack | Virtual Ubuntu 14, ONOS with OpenStack | +| neutron-l3-agent being disabled | neutron-l3-agent being disabled | neutron-l3-agent being disabled | neutron-l3-agent being disabled | ++-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+ +| NA | BM Ubuntu 14, ONOS with OpenStack | NA | NA | +| | neutron-l3-agent being disabled | | | ++-----------------------------------------+-----------------------------------------+-----------------------------------------+-----------------------------------------+ +Below is the detail config for them: + +Config for Installers +===================== + +Config Documentation for onos with apex +--------------------------------------- +1. Pyhsical Requirement + + 1.1 CentOS 7 (from ISO or self-installed). + + 1.2 Root access. + + 1.3 libvirt virtualization support. + + 1.4 minimum 2 networks and maximum 6 networks, multiple NIC and/or VLAN combinations are supported. This is virtualized for a VM deployment. + + 1.5 The Bramaputra Apex RPM. + + 1.6 16 GB of RAM for a bare metal deployment, 56 GB of RAM for a VM deployment. + +2. How to add onos into apex + + 2.1 Apex will download two images instack.qcow2 and overcloud-full.qcow2 when build apex rpm. The instack.qcow2 is used for installation of instack virtual machine. + The overcloud-full.qcow2 is used for installation of openstack nodes. The opnfv-tripleo-heat-templates.patch will update tripleo-heat scripts in instack.qcow2. + And it will call puppet deployment scripts in overcloud-full.qcow2 to finish deployment. Those two files will be patch up and store into the two images during apex rpm building process in instack.sh. + + below is the directory:: + + ├── build + │ ├── instack.sh # add onos build steps + │ ├── opnfv-tripleo-heat-templates.patch # add onos deployment scripts + │ + ├── ci + │ └── deploy.sh #add onos build steps inside + + 2.2 Upload puppet-onos to github for apex iso/rpm building. + +3. Virtual deployment + + 3.1 Install jumphost. + + 3.2 Edit /etc/opnfv-apex/deploy_settings.yaml and change opendaylight into onos. + + 3.3 Execute sudo opnfv-deploy --virtual [ --no-ha ] -d /etc/opnfv-apex/deploy_settings.yaml + +4. Baremetal deployment + + 4.1 Install jumphost. + + 4.2 Edit /etc/opnfv-apex/deploy_settings.yaml and change opendaylight into onos. + + 4.3 Edit /etc/apex-opnfv/inventory.yaml and change mac_address, ipmi_ip, ipmi_user, ipmi_password etc base on your physical server and network. + + 4.4 Execute sudo opnfv-deploy -d /etc/opnfv-apex/deploy_settings.yaml -i /etc/apex-opnfv/inventory.yaml + +5. Detail of apex installation `Apex Installation`_. + +.. _Apex Installation : http://artifacts.opnfv.org/apex/docs/installation-instructions/ + +Config Documentation for onos with Compass +------------------------------------------ +--------------------------------------- +1. Pyhsical Requirement for install ONOS + + 1.1 Ubuntu Server 14.04 LTS 64-bit (from ISO or self-installed). + + 1.2 minimum 2GB RAM. + + 1.3 minimum 2 processors. + + 1.4 At least 5GB disk space. + + 1.5 The ONOS version 1.4. + +2. How to add onos into compass + + 2.1 the script that install onos service is added into the compass4nfv project. and the onos will be started when compass called the onos script. the script is included in the directory of compass4nfv project below:: + + commpass4nfv + ├── deploy + │ ├── adapters + │ ├── ansible + │ ├── roles # include the sdn script + │ ├── onos_cluster # include the onos script + │ ├── files # include the files of jdk and onos driver + │ ├── handlers # include the opertaion of restart onos service + │ ├── tasks # include the task of installing onos + │ ├── templates # include the templates of onos + │ ├── vars # include the var of onos used + +3. Virtual deployment + + 3.1 Install jumphost + + 3.2 Build iso of compass. Execute ./build.sh + + 3.3 Execute ./deploy.sh virtual_cluster_onos + +4. Baremetal deployment + + 4.1 Install jumphost + + 4.2 Build iso of compass. Execute ./build.sh + + 4.3 Config the envionment variables + + export WORKSPACE="/home/jenkins/jenkins-slave/workspace/compass-deploy-bare-huawei-us-master" + + export BUILD_DIRECTORY=$WORKSPACE/build_output + + export CONFDIR=$WORKSPACE/deploy/conf/hardware_environment/huawei_us_lab/pod1 + + export ISO_URL=file://$BUILD_DIRECTORY/compass.iso + + export EXTERNAL_NIC=eth0 + + export INSTALL_NIC=eth1 + + export OS_VERSION=trusty + + export OPENSTACK_VERSION=liberty + + 4.4 Execute cd $WORKSPACE + + 4.5 Execute ./deploy.sh --dha $CONFDIR/dha.yml --network $CONFDIR/network.yml + +5. Detail of compass installation `Compass Installation`_. + +.. Compass Installation : http://artifacts.opnfv.org/compass4nfv/docs/configguide/installerconfig.html + + +Config Documentation for onos with Fuel +--------------------------------------- +1. Pyhsical Requirement + + 1.1 Linux , Microsoft or Mac OS. + + 1.2 Root access or admin access. + + 1.3 libvirt virtualization support. + + 1.4 minimum 2 networks and maximum 4 networks, multiple NIC and/or VLAN combinations are supported. + + 1.5 250G disk at least for no-ha virtual deployment + +2. How to add onos into Fuel + + 2.1 Fuel provides an intuitive, GUI-driven experience for deployment and management of OpenStack, related community projects and plug-ins. Onos supplies plug-in to manage network of L2/L3. + + below is the directory:: + + ├── build + │ ├──f_isoroot + │ ├── f_onosfwpluginbuild # add onos build url + │ + ├── deploy + │ ├──scenario + │ ├── ha-onos_scenario.yaml # add onos ha configuration + │ ├── noha-onos_scenario.yaml # add onos noha configuration + ├── ci + │ └── deploy.sh #add onos scenarion steps inside + + 2.2 Upload fuel-plugin-onos to git for fuel iso/rpm building. + +3. Automatic deployment + + 3.1 Install jumphost. + + 3.2 git clone https://gerrit.opnfv.org/gerrit/fuel + + 3.3 In fuel/ci, exec ./deploy.sh. For virtual deployment, you can use -b file:///fuel/deploy/config -l devel-popeline -p huawei-ch -s no-ha_onos_heat_ceilmeter_scenario_0.0.0.2.yaml -i file://root/iso/fuel.iso. Fore bare metal deployment, change parameters correspondingly and use no-ha_onos scenario_0.0.1.yaml. + +4. Build onos plugin into rpm independently. + + 4.1 Install fuel plugin builder( detailed steps can be found in https://wiki.openstack.org/wiki/Fuel/Plugin ). + + 4.2 git clone git://git.openstack.org/openstack/fuel-plugin-onos. For Kilo deployment, use –b Kilo. + + 4.3 fpb --build fuel-plugin-onos + + 4.4 Move onos*.rpm in to master and fuel plugins –install onos*.rpm. + + 4.5 Create a new environment and select onos plugin in settings table. If the Public Ethernet is not eth3, please change it with your actual configuration. + + 4.6 Select a node with the role of controller and onos( onos must collocate with a controller). + + 4.7 Deploy changes. + +5. Related url for fuel and onos. + + Fuel: https://wiki.openstack.org/wiki/Fuel + + Fuel plugin: https://wiki.openstack.org/wiki/Fuel/Plugins + + Fuel codes: https://gerrit.opnfv.org/gerrit/fuel + + Fuel iso: http://build.opnfv.org/artifacts/ + + Fuel-plugin-onos: http://git.openstack.org/cgit/openstack/fuel-plugin-onos/ + + +Config Documentation for onos with JOID +--------------------------------------- + +1、Virtual Machine Deployment + + 1.1、 Hardware Requirement: + OS: Ubuntu Trusty 14.04 LTS + + Memory: 48 GB + + + CPU: 24 cores + + + Hard disk: 1T + + 1.2、Get the joid code from gerrit https://gerrit.opnfv.org/gerrit/p/joid.git + + 1.3、Suggest to create a user ubuntu and use this user, if not,you should edit the file:joid/ci/maas/default/deployment.yaml. Find Virsh power settings and change ubuntu to your own user name. + + 1.4、Deploy Maas + $ cd joid/ci/ + $ ./02-maasdeploy.sh + + 1.5、Deploy OPNFV: + For liberty openstack, ONOS SDN, HA mode + $ ./deploy.sh -o liberty -s onos -t ha + +2、Bare Metal Deployment + + 2.1、Pre Requisite: + + 1. have a single node install with Ubuntu OS 14.04 LTS + + 2. Minimum four nodes exist and should have been preconfigured and integrated with JOID please have look into this wiki page https://wiki.opnfv.org/joid/get_started + + 2.2、Get the joid code from gerrit : https://gerrit.opnfv.org/gerrit/p/joid.git + + 2.3、Suggest to create a user ubuntu and use this user, if not,you should edit the file:joid/ci/maas/default/deployment.yaml. + Find Virsh power settings and change ubuntu to your own user name. + + 2.4、Deploy MAAS: + + $ ./02-maasdeploy.sh <lab and pod name i.e. intelpod5> + + 2.5、Deploy OPNFV: + + For liberty openstack, ONOS SDN, HA mode in intel pod5 + $ ./deploy.sh -o liberty -s onos -t ha -l intelpod5 + +3、How to add onos into joid + +create a dir onos as below:: + + --onos + ├── 01-deploybundle.sh # deploy bundle define + ├── juju-deployer + │ ├── ovs-onos-ha.yaml # openstack type ha feature define + │ ├── ovs-onos-nonha.yaml # openstack type nosha feature define + │ ├── ovs-onos-tip.yaml # openstack type tip feature define + ├── juju_test_prepare.sh # create ext-net and update gw_mac + └── README # description Revision: _sha1_ +:Author: Henry(jiangrui1@huawei.com) + Build date: |today| diff --git a/docs/configguide/index.rst b/docs/configguide/index.rst index 1f6a268d..38cba669 100644 --- a/docs/configguide/index.rst +++ b/docs/configguide/index.rst @@ -1,19 +1,6 @@ -.. OPNFV Release Engineering documentation, created by - sphinx-quickstart on Tue Jun 9 19:12:31 2015. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - -.. image:: ../etc/opnfv-logo.png - :height: 40 - :width: 200 - :alt: OPNFV - :align: left - -Example Documentation table of contents -======================================= -ONOSFW need to deploy with several installers and each installer have differernt configs. - -Below is the detail config for them: +********************************************* +OPNFV(Brahmaputra) ONOSFW config instructions +********************************************* .. toctree:: :numbered: @@ -21,11 +8,8 @@ Below is the detail config for them: config-for-installer.rst -Indices and tables -================== - -* :ref:`search` - Revision: _sha1_ +:Author: Henry(jiangrui1@huawei.com) + Build date: |today| diff --git a/docs/design/index.rst b/docs/design/index.rst index 36710b32..82681ddc 100644 --- a/docs/design/index.rst +++ b/docs/design/index.rst @@ -1,30 +1,13 @@ -.. OPNFV Release Engineering documentation, created by - sphinx-quickstart on Tue Jun 9 19:12:31 2015. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - -.. image:: ../etc/opnfv-logo.png - :height: 40 - :width: 200 - :alt: OPNFV - :align: left - -Example Documentation table of contents -======================================= - -Contents: +********************************************* +OPNFV(Brahmaputra) ONOSFW design instructions +********************************************* .. toctree:: :numbered: :maxdepth: 4 - documentation-example.rst - -Indices and tables -================== - -* :ref:`search` - Revision: _sha1_ +:Author: Henry(jiangrui1@huawei.com) + Build date: |today| diff --git a/docs/release/index.rst b/docs/release/index.rst index e833a7ae..693f2209 100644 --- a/docs/release/index.rst +++ b/docs/release/index.rst @@ -1,20 +1,6 @@ -.. OPNFV Release Engineering documentation, created by - sphinx-quickstart on Tue Jun 9 19:12:31 2015. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - -.. image:: ../etc/opnfv-logo.png - :height: 40 - :width: 200 - :alt: OPNFV - :align: left -| -| +******************** ONOSFW Release Notes -==================== -ONOSFW addresses integrating an SDN controller of choice based on a target applications or use cases within the OPNFV defined NFVI and VIM framework. It aims to provide end user and open source community with greater flexibility to build service applications, and to help leverage corresponding open source development efforts and results as well. Furthermore, it will create some common framework elements to address multi tenancy support, integration between the network controller and a DPI engine for context-based flow policies. It will also provide driver integration to support the Neutron ML2 & Router plugin. - -Contents: +******************** .. toctree:: :numbered: @@ -22,11 +8,8 @@ Contents: onos-release.rst -Indices and tables -================== - -* :ref:`search` - Revision: _sha1_ +:Author: Henry(jiangrui1@huawei.com) + Build date: |today| diff --git a/docs/release/onos-release.rst b/docs/release/onos-release.rst index cab9f1f2..9f7d2c27 100644 --- a/docs/release/onos-release.rst +++ b/docs/release/onos-release.rst @@ -1,15 +1,51 @@ -.. OPNFV Release Engineering documentation, created by - sphinx-quickstart on Tue Jun 9 19:12:31 2015. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - -.. image:: ../etc/opnfv-logo.png - :height: 40 - :width: 200 - :alt: OPNFV - :align: left -| -| +========================================= +OPNFV Brahmaputra release note for onosfw +========================================= + +.. contents:: Table of Contents + :backlinks: none + + +Abstract +======== + +This document describes the release note of onosfw project, including upstream project ONOS and OpenStack + +License +======= + +OPNFV Brahmaputra release note for onosfw Docs +(c) by Henry (HUAWEI) + +OPNFV Brahmaputra release note for onosfw Docs +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/>. + +Version history +=============== + ++------------+----------+------------+------------------+ +| **Date** | **Ver.** | **Author** | **Comment** | +| | | | | ++------------+----------+------------+------------------+ +| 2016-01-21 | 1.0.0 | Henry | Rewritten for | +| | | (HUAWEI) | ONOSFW B release | ++------------+----------+------------+------------------+ +| 2016-01-20 | 0.0.2 | Henry | Minor changes & | +| | | (HUAWEI) | formatting | ++------------+----------+------------+------------------+ +| 2016-01-19 | 0.0.1 | Henry | First draft | +| | | (HUAWEI) | | ++------------+----------+------------+------------------+ + +Introduction +============ + +ONOSFW addresses integrating an SDN controller of choice based on a target applications or use cases within the OPNFV defined NFVI and VIM framework. It aims to provide end user and open source community with greater flexibility to build service applications, and to help leverage corresponding open source development efforts and results as well. Furthermore, it will create some common framework elements to address multi tenancy support, integration between the network controller and a DPI engine for context-based flow policies. It will also provide driver integration to support the Neutron ML2 & Router plugin. + + + ONOS Release ============ @@ -44,4 +80,6 @@ OpenStack Liberty api page `OpenStack Networking Api`_. Revision: _sha1_ +:Author: Henry(jiangrui1@huawei.com) + Build date: |today| diff --git a/docs/userguide/index.rst b/docs/userguide/index.rst index 8ada4a2e..38247f02 100644 --- a/docs/userguide/index.rst +++ b/docs/userguide/index.rst @@ -1,16 +1,6 @@ -.. OPNFV Release Engineering documentation, created by - sphinx-quickstart on Tue Jun 9 19:12:31 2015. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - -.. image:: ../etc/opnfv-logo.png - :height: 40 - :width: 200 - :alt: OPNFV - :align: left - -Example Documentation table of contents -======================================= +***************** +ONOSFW User Guide +***************** .. toctree:: :numbered: @@ -18,11 +8,8 @@ Example Documentation table of contents onosfw-userguide.rst -Indices and tables -================== - -* :ref:`search` - Revision: _sha1_ -Build date: |today| +:Author: Henry(jiangrui1@huawei.com) + +Build date: |today|
\ No newline at end of file diff --git a/docs/userguide/onosfw-userguide.rst b/docs/userguide/onosfw-userguide.rst index a791207b..ab5297fd 100644 --- a/docs/userguide/onosfw-userguide.rst +++ b/docs/userguide/onosfw-userguide.rst @@ -1,18 +1,55 @@ -.. OPNFV Release Engineering documentation, created by - sphinx-quickstart on Tue Jun 9 19:12:31 2015. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - -.. image:: ../etc/opnfv-logo.png - :height: 40 - :width: 200 - :alt: OPNFV - :align: left -| -| +========================== +ONOSFW User Guide Manaully +========================== + +.. contents:: Table of Contents + :backlinks: none + + +Abstract +======== + +This document describes the user guide instruction for onosfw project, including env setup and test case. + +License +======= + +ONOSFW User Guide Manaully Docs +(c) by Henry (HUAWEI) + +ONOSFW User Guide Manaully Docs +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/>. + +Version history +=============== + ++------------+----------+------------+------------------+ +| **Date** | **Ver.** | **Author** | **Comment** | +| | | | | ++------------+----------+------------+------------------+ +| 2016-01-21 | 1.0.0 | Henry | Rewritten for | +| | | (HUAWEI) | ONOSFW B release | ++------------+----------+------------+------------------+ +| 2016-01-20 | 0.0.2 | Henry | Minor changes & | +| | | (HUAWEI) | formatting | ++------------+----------+------------+------------------+ +| 2016-01-19 | 0.0.1 | Henry | First draft | +| | | (HUAWEI) | | ++------------+----------+------------+------------------+ + +Introduction +============ + +ONOSFW addresses integrating an SDN controller of choice based on a target applications or use cases within the OPNFV defined NFVI and VIM framework. It aims to provide end user and open source community with greater flexibility to build service applications, and to help leverage corresponding open source development efforts and results as well. Furthermore, it will create some common framework elements to address multi tenancy support, integration between the network controller and a DPI engine for context-based flow policies. It will also provide driver integration to support the Neutron ML2 & Router plugin. + + ONOSFW User Guide Manaully ========================== +ONOSFW Environment Setup +------------------------ 1. initialize environment:: initialize openstack:delete allthe network, instance and router. @@ -41,9 +78,12 @@ ONOSFW User Guide Manaully externalgateway-update -m “mac address” - 6. create basic networks and instances on openstack dashboard to verify L2/L3function:: + 6. create basic networks and instances on openstack dashboard to verify L2/L3function - * L2 scene: +Scenario Supported +------------------ + +* L3 scene: * Live Migration @@ -74,7 +114,8 @@ ONOSFW User Guide Manaully * With between different nodes under the different tenant and different network wether the vm is not conneted VM can ping external network well - Video: +ONOSFW Demo Video +----------------- ONOSFW L2 Function Flash video:https://www.youtube.com/watch?v=7bxjWrR4peI @@ -84,4 +125,6 @@ ONOSFW User Guide Manaully Revision: _sha1_ +:Author: Henry(jiangrui1@huawei.com) + Build date: |today| |