Fuel plugin Onos for L2 traffic instead of neutron openvswitch agent
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenDev Sysadmins 53eb163eef OpenDev Migration Patch 5 days ago
deployment_scripts/puppet Replace openstack.org git:// URLs with https:// 1 month ago
repositories merging changes to master branch from mitaka brnach 2 years ago
.gitreview OpenDev Migration Patch 5 days ago
LICENSE fuel plugin onos 3 years ago
README.md Replace openstack.org git:// URLs with https:// 1 month ago
components.yaml merging changes to master branch from mitaka brnach 2 years ago
deployment_tasks.yaml merging changes to master branch from mitaka brnach 2 years ago
environment_config.yaml merging changes to master branch from mitaka brnach 2 years ago
metadata.yaml Replace openstack.org git:// URLs with https:// 1 month ago
node_roles.yaml fix bug for ha-mode 3 years ago
pre_build_hook opnfv onosfw path update 2 years ago
tasks.yaml merging changes to master branch from mitaka brnach 2 years ago
volumes.yaml onos plugin for fuel 7.0 3 years ago

README.md

ONOS Plugin for Fuel

Brief

This plugin will install Open Network Operating System (ONOS) controller, which is a typical SDN controller, and set it as a manager of ovs.

Notification

  • Fuel opentack version should be 9.0.
  • Only supports the environment with network type: Neutron.
  • Live migration is supported.
  • L2 and L3 traffic are supported.
  • Sfc is suppprted.

Installation Guide

ONOS plugin installation

  1. Log in Fuel Master and clone GIT repository of fuel-plugin-onos from openstack:

    git clone -b Mitaka https://git.openstack.org/openstack/fuel-plugin-onos
    
  2. Preparing an environment for plugin development by three easy steps:

    A. Install the standard Linux development tools.

    For Ubuntu 14.04 LTS, run:

    sudo apt-get install createrepo rpm dpkg-dev
    

    For Centos 6.5, run:

    yum install createrepo rpm rpm-build dpkg-devel
    

    B. Install the Fuel Plugin Builder. To do that, you should first get pip:

    easy_install pip
    

    C. Then, install Fuel Plugin Builder (fpb) itself:

    pip install fuel-plugin-builder
    
  3. Build ONOS plugin for fuel:

    fpb --build fuel-plugin-onos/
    
  4. The onos rpm will be built in the folder of fuel-plugin-onos.

  5. Install the onos plugin:

    fuel plugins --install onos*.rpm
    
  6. Check if you successfully install the plugin:

    fuel plugins
    
    id | name   | version | package_version
    ---|--------|---------|----------------
    1  | onos   | 0.9.0   | 4.0.0
    
  7. Check if the plugin is enabled on the settings table.

Notice: Step 1-4 aren’t limitted with the environment of master, you can also make it everywhere, but after the rpm is made, you should copy it to the master. In addition, the info of a new plugin at settings table can only be ready when a new environment is created.

User Guide

ONOS plugin configuration

All described actions below are described from a Fuel GUI provisioning perspective.

  1. Create a new environment.

  2. Select ‘onos plugin’ on Settings tab. If you want to try sfc functions, select SFC features as well.

    onos plugin

  3. Select a node with role ‘onos’

  4. Click ‘Deploy changes’ to enable nodes with ONOSFW.

Dependencies

In order to run ONOS, the following are required:

  • Java 8 JDK (Oracle Java recommended; OpenJDK is not as thoroughly tested)
  • ONOS tarball( Newest version 1.6 recommended.)

Notice: In case of version problems, the onos rpm uses jdk and onos packages that have been tested.

Testing

  1. Web UI is recommended for ONOS controller with tuitive information of topo, devices and etc. For that purpose, IP address of horizon should be ready, which can be found in fuel master after successful deployment. The web will run into the log page after inputing the path, username and password are both ‘karaf’. Now enjot ONOS!

    Web UI: http://horizon_ip:8181/onos/ui
    
  2. CLI is capable of more diverse functionality by running /opt/onos/bin/onos. More about CLI can be found in The ONOS CLI.

Getting Involved

Interested in contributing? Follow Fuel Plugins Development.

Contributors

Wu Wenbin wuwenbin2@huawei.com