4 Vagrant.configure(2) do |config|
6 # Configure VM RAM and CPU for VirtualBox
7 config.vm.provider :virtualbox do |virtualbox|
8 virtualbox.memory = 1024
12 # Configure VM RAM and CPU for LibVirt
13 config.vm.provider :libvirt do |libvirt|
18 # Vagrantfile is for testing newly built boxes, don't spend time syncing
19 config.vm.synced_folder ".", "/vagrant", disabled: true
22 # Vagrant definitions for supported Packer builds, for easy import/testing
23 # NB: These definitions will only work after you build their respective boxes
31 # VirtualBox and CentOS
34 # Beryllium Release through SR4
36 config.vm.define "cent_odl4#{i}_vb" do |cent_odl_vb|
37 cent_odl_vb.vm.box = "cent_odl4#{i}_vb"
38 cent_odl_vb.vm.box_url = "file://opendaylight-4.#{i}.0-centos-7.2.1511-virtualbox.box"
44 config.vm.define "cent_odl5#{i}_vb" do |cent_odl_vb|
45 cent_odl_vb.vm.box = "cent_odl5#{i}_vb"
46 cent_odl_vb.vm.box_url = "file://opendaylight-5.#{i}.0-centos-7.2.1511-virtualbox.box"
51 # VirtualBox and Fedora 24
55 config.vm.define "f24_odl4#{i}_vb" do |f24_odl_vb|
56 f24_odl_vb.vm.box = "f24_odl4#{i}_vb"
57 f24_odl_vb.vm.box_url = "file://opendaylight-4.#{i}.0-fedora-24-virtualbox.box"
62 config.vm.define "f24_odl5#{i}_vb" do |f24_odl_vb|
63 f24_odl_vb.vm.box = "f24_odl5#{i}_vb"
64 f24_odl_vb.vm.box_url = "file://opendaylight-5.#{i}.0-fedora-24-virtualbox.box"
76 # Beryllium Release through SR4
78 config.vm.define "cent_odl4#{i}_lv" do |cent_odl_lv|
79 cent_odl_lv.vm.box = "cent_odl4#{i}_lv"
80 cent_odl_lv.vm.box_url = "file://opendaylight-4.#{i}.0-centos-7.2.1511-libvirt.box"
86 config.vm.define "cent_odl5#{i}_lv" do |cent_odl_lv|
87 cent_odl_lv.vm.box = "cent_odl5#{i}_lv"
88 cent_odl_lv.vm.box_url = "file://opendaylight-5.#{i}.0-centos-7.2.1511-libvirt.box"
93 # LibVirt and Fedora 24
97 config.vm.define "f24_odl4#{i}_lv" do |f24_odl_lv|
98 f24_odl_lv.vm.box = "f24_odl4#{i}_lv"
99 f24_odl_lv.vm.box_url = "file://opendaylight-4.#{i}.0-fedora-24-libvirt.box"
104 config.vm.define "f24_odl5#{i}_lv" do |f24_odl_lv|
105 f24_odl_lv.vm.box = "f24_odl5#{i}_lv"
106 f24_odl_lv.vm.box_url = "file://opendaylight-5.#{i}.0-fedora-24-libvirt.box"