aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/vagrant
AgeCommit message (Collapse)AuthorFilesLines
2019-04-09Add vagrant setup for testing VPP device locallyLudovit Mikula10-161/+275
Fixed trailing whitespaces Fixed tabs vs. spaces Removed dead code Changed network interface naming Changed default number of retries for VPP startup to 120 Updated number of hugepages during provisioning Externalized CSIT related sysctl settings to 90-csit.conf Removed hardcoded local docker image name. Added new interface required for honeycomb device testing. Change-Id: I5eb38c8b1a4d96e4220dbd2e202e94f1d47e804e Signed-off-by: Ludovit Mikula <ludovit.mikula@pantheon.tech>
2018-03-21HC Tests: adapt sub-interface tests to recent api changes (HC2VPP-289)Marek Gradzki1-0/+29
Follows: https://gerrit.fd.io/r/#/c/11228/ Change-Id: If1a281fc04c3b8015519c97788e1dae213e74b0e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-07-01CSIT-186: Add multilink to Vagrant fileMatej Klotton1-22/+31
Change-Id: I8ecc2be5771f46b46d4ac31880861db2482c2b1c Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-06-09Fix Vagrant config for multi-user environmentAurélien Degeorges1-4/+9
Add support for an environment variable "VPP_VAGRANT_NET_PREFIX" to add a prefix before the name of vbox internal networks. Otherwise two users trying to do "vargrant up" on the same server will face conflicts with the name of vbox internal networks. Change-Id: I5ba7c06fe111944fcac3da25276d018d281aef4f Signed-off-by: Aurélien Degeorges <aurelien.degeorges@6wind.com>
2016-06-02CSIT-117: CSIT Vagrant+Virtualbox dev environment inoperative on UbuntuDave Wallace2-27/+19
Change-Id: I10d7a1cb194e8116324524e2ce6dff909620d077 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-06-02CSIT-117: CSIT Vagrant+Virtualbox dev environment inoperative on UbuntuDave Wallace2-11/+24
Change-Id: I05ea675a2eb6d0b240008efa0d27166616c6e741 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-04-08Add Vagrantfile for local testing.Stefan Kobza2-0/+123
Vagrantfile contains 3 VMs as of now, 2 DUTs 1 TG, with these notes: - login is csit/csit - by default provision script installs all deb packages from the dir where Vagrantfile is - developed for, and only tested on vbox (someone can pick up vmware) - All nodes have 1 shared mgmt network: 192.168.255.0/24 - hosts have these IP addresses in host-only network TG : 192.168.255.100 DUT1 : 192.168.255.101 DUT2 : 192.168.255.102 - script created to download MAC address information - PCI addresses are always the same for vbox (not sure about vmware) HOWTO (will create a wiki page once one is created for CSIT project): - copy Vagrantfile to separate dir on host - vagrant up --parallel sit-back-and-relax - from VM that has access to the same host-only network (192.168.255.0 above) - copy your ssh-key to csit@192.168.255.{101,102,250} using ssh-copy-id - cd ${csit_dir} - virtualenv & pip as in README - export PYTHONPATH=${csit_dir} - resources/tools/topology/update_topology.py -v -f -o topologies/available/vagrant_pci.yaml \ topologies/available/vagrant.yaml - pybot -L TRACE \ -v TOPOLOGY_PATH:topologies/available/vagrant_pci.yaml -s \ "ipv4" tests - see tests results Change-Id: Ic27626605a9c820bca977b38f4e8ca37d1504ff5 Signed-off-by: Stefan Kobza <skobza@cisco.com>