Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

ONAP on Vagrant


Published on

Setting up an ONAP development environment is not easy. Development tools and practices are not collected in a single place. This project pretends to collect and standardize that process.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

ONAP on Vagrant

  1. 1. ONAP on Vagrant Victor Morales
  2. 2. Agenda • ONAP and Vagrant projects definition • Vagrant key features • Synced Folders • Plugins • Shell Provisioning • Bootstrap • ONAP on Vagrant • Problem Being Solved • Architecture • Key Features • Supported Providers • Deploy modes • Next steps
  3. 3. It is an open source software platform that delivers capabilities for the design, creation, orchestration, monitoring, and life cycle management of • Virtual Network Functions (VNFs) • The carrier-scale Software Defined Networks (SDNs) that contain them • Higher-level services that combine the above
  4. 4. It’s a tool for building and managing virtual machine environments in a single workflow. With an easy-to- use workflow and focus on automation, Vagrant lowers development environment setup time, increases production parity, and makes the "works on my machine" excuse a relic of the past.
  5. 5. Synced Folders Enables Vagrant to sync a folder on the host machine to the guest machine, allowing you to continue working on your project's files on your host machine, but use the resources in the guest machine to compile or run your project.
  6. 6. Shell Provisioning Provisioners in Vagrant allow you to automatically install software, alter configurations, and more on the machine as part of the vagrant up process. Shell provisioning is ideal for users new to Vagrant who want to get up and running quickly and provides a strong alternative for users who are not comfortable with a full configuration management system such as Chef or Puppet.
  7. 7. Plugins They are powerful, first-class citizens that extend Vagrant using a well-documented, stable API that can withstand major version upgrades.
  8. 8. Bootstrap The goal is to help a developer new to ONAP to get up to speed quickly.
  9. 9. ONAP on Vagrant This project collects methods to build ONAP artifacts for every component. Its goal is to provide a development environment and unify different development practices. Moved from : To
  10. 10. 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
  11. 11. Architecture Folders: • doc – Contains documentation about Advanced Features. It’s goal is to provide information about the usage of the tool • lib – Contains scripts to clone repositories, configure services, build images, compile source code, etc. for ONAP services. • opt – Shared folder that stores ONAP source code • tests – Contains Unit Tests that ensure the correct functionality of the scripts located into lib folder. • tools – Contains scripts to facilitate some daily tasks.
  12. 12. Key Features • Synced Folders • Shell Provisioning
  13. 13. Key Features II • Plugins
  14. 14. Supported Providers
  15. 15. Deploy modes • All in One: All ONAP services are going to be provisioned in a single Virtual Machine. • Individual: Every ONAP service will be provisioned in separated Virtual Machine. • Testing: Virtual Machine used for Unit Tests execution.
  16. 16. Demo $ vagrant up
  17. 17. Next steps 1. Add proxy support. 2. Increase Unit Test coverage 3. Fix compilation errors. 4. Add into the Jenkins workflow.
  18. 18. Q & A Thanks