- tg.vm.box = "fdio-csit/ubuntu-14.04.4_2016-05-25_1.0"
- tg.vm.hostname = "tg"
-
- tg.vm.provision "shell", inline: $user_addition
- tg.vm.provision "shell", inline: $install_prereqs
- tg.vm.network "private_network", ip: '192.168.255.100/24'
- tg.vm.network "private_network", type: "dhcp", auto_config: false,
- virtualbox__intnet: "tg_dut1"
- tg.vm.network "private_network", type: "dhcp", auto_config: false,
- virtualbox__intnet: "tg_dut2"
- tg.vm.provider "virtualbox" do |vb|
- vb.memory = "2048"
- vb.customize ["modifyvm", :id, "--nicpromisc3", "allow-all"]
- vb.customize ["modifyvm", :id, "--nicpromisc4", "allow-all"]
+
+ config.vm.post_up_message = <<-MESSAGE
+ Your virtual machine is configured!
+
+ Login to the box using command:
+ vagrant ssh
+
+ To run some tests use the VPP Device bootstrap script, eg:
+ cd /home/vagrant/csit/resources/libraries/bash/entry
+ ./bootstrap_vpp_device.sh csit-vpp-device-master-ubuntu1804-1n-vbox
+
+ To run only selected tests based on TAGS, export environment variables
+ before running the test suite:
+ export GERRIT_EVENT_TYPE="comment-added"
+ export GERRIT_EVENT_COMMENT_TEXT="devicetest memif"
+ ./bootstrap_vpp_device.sh csit-vpp-device-master-ubuntu1804-1n-vbox
+
+ For more information please visit:
+ https://docs.fd.io/csit/rls1908/report/index.html
+ https://docs.fd.io/csit/master/trending/
+
+ MESSAGE
+
+ config.vm.define "bionic", primary: true do |bionic|
+ # Base box definition, currently using
+ # Official Ubuntu 18.04 LTS (Bionic Beaver) Daily Build
+ bionic.vm.box = "ubuntu/bionic64"
+ bionic.vm.box_version = "20190724.1.0"
+ bionic.vm.box_check_update = false
+
+ # Virtualbox machine configuration
+ bionic.vm.provider "virtualbox" do |vb|
+ vb.name = "vppdevice-bionic"
+ vb.gui = false
+ vb.memory = "8192"
+ vb.cpus = "4"
+ vb.customize ["modifyvm", :id, "--nicpromisc2", "allow-all"]
+ vb.customize ["modifyvm", :id, "--nicpromisc3", "allow-all"]
+ vb.customize ["modifyvm", :id, "--nicpromisc4", "allow-all"]
+ vb.customize ["modifyvm", :id, "--nicpromisc5", "allow-all"]
+ vb.customize ["modifyvm", :id, "--nicpromisc6", "allow-all"]
+ vb.customize ["modifyvm", :id, "--nicpromisc7", "allow-all"]
+ end