Started as an attempt to deploy ONAP services without relying on a OpenStack deployment, this project has been re-architectured to provide an automated tool for provisioning ONAP development environment. Covering some common development tasks such as the cloning source code repositories of specific component, compile java artifacts per component and building Docker images of specific component. This has been vehicle to standardize process and dependencies through an automated provisioning mechanism, as consequence its possible to setup a development environment using only a single instruction. Adding this tool into a CI/CD pipeline can prevent any compilation failure in the future and guarantee building image process works any time.

Problem Being Solved

  • Reduce the barrier of entry to allow new ONAP developers to ramp up on to active development quickly
  • Reduce the cost to the community in responding to simple environment setup questions faced by new developers

Minimal Requirements

ComponentRequirement
Vagrant>= 1.8.6
ProviderVirtualBox, Libvirt or OpenStack
Operating SystemLinux, Mac OS or Windows
Hard Disk> 8 GB of free disk
Memory> 12 GB

Usage

  • Windows

    PS C:> cd integration\bootstrap\vagrant-onap
    PS C:\integration\bootstrap\vagrant-onap> Set-ExecutionPolicy Bypass -Scope CurrentUser
    PS C:\integration\bootstrap\vagrant-onap> .\tools\Run.ps1 <app_name>
  • Linux or Mac OS

    $ cd integration/bootstrap/vagrant-onap $ ./tools/run.sh <app_name>

supported options:

app_namedescription
aaiActive and Available Inventory
appcApplication Controller
dcaeData Collection Analytics & Events
mrMessage Router
msoMaster Service Orchestrator
msbMicroservices Bus Project
policyPolicy
portalPortal
robotRobot
sdcService Design & Creation
sdncSoftware Defined Network Controller
vidVirtual Infrastructure Development
vfcVirtual Function Controller
vnfsdk

VNF SDK

vvpVNF Validation Program
multicloudMulti Cloud
ccsdkCommon Controller SDK
all_in_oneAll ONAP services in a VM
testingUnit Test VM

HTML documentation

For more information, see http://onap.readthedocs.io/en/latest/submodules/integration.git/bootstrap/vagrant-onap/doc/source/

  • No labels

2 Comments

  1. Hi,

    I tried to install onap  "all-in-one" using  vagrant, but failed. it showed error message "curl: (7)  Failed to connect to 10.0.3.1 port 8181: Connection timed out " again and again.


    Did I miss some steps ?


    $ wget -q https://releases.hashicorp.com/vagrant/2.0.1/vagrant_2.0.1_x86_64.deb

    $ sudo dpkg -i vagrant_2.0.1_x86_64.deb

    $ echo "deb http://download.virtualbox.org/virtualbox/debian trusty contrib" >> /etc/apt/sources.list

    $ wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

    $ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

    $ sudo apt-get update -y

    $ sudo apt-get install -y virtualbox-5.1 dkms

    $ sudo apt install -y nfs-kernel-server

    $ cd ~/onap/integration/bootstrap/vagrant-onap
    $ vi tools/run.sh  # replace "all_in_one"  to "all-in-one" at line 65
    $ ./tools/run.sh all-in-one


    BR,
    H.C. Yang

    1. Given that All-in-One requires a lot of resources to be tested, usually this configuration is not tested. I suggest to use another project options like, sdc, aai, multicloud, etc.