Code Monkey home page Code Monkey logo

contrail-vagrant's Introduction

Contrail Cloud provisioning using vagrant

This repo contains tools to install an all in one contrail cloud on a vagrant provisioned virtual machine, the provider of the virtual machine will be virtualbox in this repo. Enhancement will made to this repo to include multi-vm setup.

Prerequisites and Limitations

  • Host should have minimum of 4 cpus, 16GB of RAM and 16GB of storage to play around
  • As of today we have only ubuntu vagrant box, hence will only be able to provision contrail ubuntu packages

Installation Overview

  1. Install Virtualbox
  2. Install Vagrant
    • Download the appropriate package for your opertaing system and install vagrant

    • Vagrant plugins to be installed

      $ vagrant plugin install vagrant-reload

Steps to provision contrail using vagrant

  1. Adding vagrant box
    • $ vagrant box add contrail/ubuntu-14.04.4 ubuntu-14.04-amd64-contrail.box
  2. Clone the contrail-vagrant repository
    • $ git clone https://github.com/madhukar32/contrail-vagrant.git
    • $ cd contrail-vagrant
  3. Download the appropriate Contrail ubuntu install packages file from Juniper Download page
  4. Move your ubuntu contrail packages to repo folder
    • $ cp /path/to/file/contrail-install-packages-1.xx-xxx~openstack_version_all.deb repo/
  5. Edit Vagrantfile and testbed.py files
    • Edit testbed.py file to update your storage memory field as per your hosts availability (min 16GB)

      $ vi testbed.py

          minimum_diskGB = 16
    • Edit Vagrantfile to update your vcpus and ram needed for the guest vm

      $ vi Vagrantfile

              config.vm.provider "virtualbox" do |vb|
              ## Customize the amount of memory on the VM:
                      vb.memory = "16384"
                      vb.cpus = 8
              end
  6. Bring up the contrail cloud by single command

    $ time vagrant up

contrail-vagrant's People

Contributors

madhukar32 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.