adding a mininet vagrant box
Change-Id: I0c89c35a9e6768b3c3640c0895d405901e38799e
diff --git a/tools/dev/vagrant/Vagrantfile b/tools/dev/vagrant/Vagrantfile
index 1e952d4..b91c460 100644
--- a/tools/dev/vagrant/Vagrantfile
+++ b/tools/dev/vagrant/Vagrantfile
@@ -21,4 +21,17 @@
v.cpus = 2
end
end
+
+ config.vm.define "mn" do |d|
+ d.vm.box = "ubuntu/trusty64"
+ d.vm.hostname = "mn"
+ d.vm.network "private_network", ip: "10.100.198.100"
+ d.vm.provision :shell, path: "scripts/bootstrap_ansible.sh"
+ d.vm.provision :shell, inline: "PYTHONUNBUFFERED=1 ansible-playbook /vagrant/ansible/mn.yml -c local"
+ d.vm.provider "virtualbox" do |v|
+ v.customize ["modifyvm", :id, "--nicpromisc2", "allow-all"]
+ v.memory = 2048
+ end
+ end
+
end