diff options
author | Xuan Jia <jason.jiaxuan@gmail.com> | 2017-08-03 13:33:03 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-03 13:33:03 +0000 |
commit | 5812982c9b2c84aaa6bba36ac6a06ed025dd7e10 (patch) | |
tree | 6bee228fc9f6e9fc91aab144dd56b282748521f7 /src/vnf/virtio-user-ping/Vagrantfile | |
parent | d14bcec5cbfaa1972fafdd3e1ad849f1014a4360 (diff) | |
parent | f9154df2f80bfb343b58016ad81cff5ae0b44cd3 (diff) |
Merge "Add ping vnf using vhost-user & virtio-user"
Diffstat (limited to 'src/vnf/virtio-user-ping/Vagrantfile')
-rw-r--r-- | src/vnf/virtio-user-ping/Vagrantfile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/vnf/virtio-user-ping/Vagrantfile b/src/vnf/virtio-user-ping/Vagrantfile new file mode 100644 index 0000000..3f5a477 --- /dev/null +++ b/src/vnf/virtio-user-ping/Vagrantfile @@ -0,0 +1,22 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! +VAGRANTFILE_API_VERSION = "2" + +Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| + + config.vm.box = "bento/ubuntu-16.04" + + config.vm.define "ovs-virtio" do | h | + config.vm.host_name = "ovs-virtio" + config.vm.provision "shell", path: "setup_ovs_virtio.sh", privileged: false + config.vm.provider :virtualbox do |v| + v.customize ["modifyvm", :id, "--memory", 8192] + v.customize ["modifyvm", :id, "--cpus", 4] + v.customize "post-boot",["controlvm", :id, "setlinkstate1", "on"] + v.customize ["setextradata", :id, "VBoxInternal/CPUM/SSE4.1", "1"] + v.customize ["setextradata", :id, "VBoxInternal/CPUM/SSE4.2", "1"] + end + end +end |