aboutsummaryrefslogtreecommitdiffstats
path: root/vpp-bootstrap/Vagrantfile
diff options
context:
space:
mode:
authorRay Kinsella <ray.kinsella@intel.com>2016-12-04 18:21:16 +0000
committerRay Kinsella <ray.kinsella@intel.com>2017-03-29 17:41:57 +0100
commiteae889b38209f58f169356cc2229658fbb616bbd (patch)
tree7d6e1c55d9113b686e2876b77987ef37e27dd276 /vpp-bootstrap/Vagrantfile
parentf71b5f990114c0af2b96700a18b397db4ff26c82 (diff)
vpp-bootstrap:
* Updated to VPP 17.01 * Updated README.md * Reduced image requirements to 2 cores & 2048 megs of ram. * Fixed VPP Binary on host to have more modest resource requirements. * XConnect the Containers automagically in VPP on the host. * Added support for python `pip` packages, updated scapy to 2.3.x for VXLAN support. * Using the VPP Binaries from 17.01 stable, instead of head. * Added gdb package to ctwo, so `make debug` will work. * Renamed veth backend interfaces on the host to `veth-c[one,two]`. Change-Id: Ie1a86989733c1eb18041e20a4d268a308ffaebb3 Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
Diffstat (limited to 'vpp-bootstrap/Vagrantfile')
-rw-r--r--vpp-bootstrap/Vagrantfile11
1 files changed, 8 insertions, 3 deletions
diff --git a/vpp-bootstrap/Vagrantfile b/vpp-bootstrap/Vagrantfile
index 9438156..fc93751 100644
--- a/vpp-bootstrap/Vagrantfile
+++ b/vpp-bootstrap/Vagrantfile
@@ -2,17 +2,22 @@
# vi: set ft=ruby :
# Copyright (c) 2016 Intel Corporation
+unless Vagrant.has_plugin?("vagrant-reload")
+ raise 'vagrant-reload (plugin) is not installed!'
+end
+
Vagrant.configure(2) do |config|
# Pick the right distro and bootstrap, default is ubuntu1404
- config.vm.box = "puppetlabs/ubuntu-14.04-64-nocm"
- vmcpu=(ENV['VPP_VAGRANT_VMCPU'] || 8)
- vmram=(ENV['VPP_VAGRANT_VMRAM'] || 16384)
+ config.vm.box = "puppetlabs/ubuntu-16.04-64-nocm"
+ vmcpu=(ENV['VPP_VAGRANT_VMCPU'] || 2)
+ vmram=(ENV['VPP_VAGRANT_VMRAM'] || 2048)
# Define some physical ports for your VMs to be used by DPDK
config.vm.network "private_network", type: "dhcp"
config.vm.provision :shell, :path => File.join(File.dirname(__FILE__),"provision.sh") , privileged: false
+ config.vm.provision :reload
# vagrant-cachier caches apt/yum etc to speed subsequent
# vagrant up