numam-spdk/scripts/vagrant
Jim Harris 737b1b571b build: add dpdk as a submodule
This will allow a git clone to default to an SPDK-specific
version of the DPDK repository.  Users can still override
to use a separate DPDK repository/installation with the
--with-dpdk configure script options.

While here, remove gzip option for the git-archive operations
in autopackage.sh.  We need to add a git-archive for the DPDK
submodule if we are using it, and compressing at -9 adds a lot
of unnecessary time.  Since we are not archiving these packages,
there is no need to compress them.  Also explicitly disable
coverage and ubsan for the autopackage build, since this build
is only to test compilation and is not actually used for any
test execution.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I3cf8a2ed984003a175cdece6542636ede8cb2479
2017-05-17 09:49:27 -07:00
..
build.sh build: add dpdk as a submodule 2017-05-17 09:49:27 -07:00
env.sh scripts: add a vagrant setup 2017-05-02 17:51:50 -07:00
README.md vagrant: fix readme code block formatting 2017-05-03 11:07:01 -07:00
update.sh scripts: add a vagrant setup 2017-05-02 17:51:50 -07:00
Vagrantfile scripts: add a vagrant setup 2017-05-02 17:51:50 -07:00

Introduction

This is a vagrant environment for SPDK with support for Ubuntu 16.04 and Centos 7.2.

The VM builds SPDK and DPDK from source which can be located at /spdk and /dpdk.

VM Configuration

This vagrant environment creates a VM based on environment variables found in ./env.sh To use, edit env.sh then

source ./env.sh
vagrant up

By default, the VM created is/has:

  • Ubuntu 16.04
  • 2 vCPUs
  • 4G of RAM
  • 2 NICs (1 x NAT - host access, 1 x private network)

Providers

Currently only the Virtualbox provider is supported.