aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/virl
AgeCommit message (Collapse)AuthorFilesLines
2018-03-16VPP install and verify in __init__.robotAndrej Kilvady1-50/+62
Move VPP installation to separate test in test suite setup phase to clearly indicate any issue with VPP installation. Added test to check VPP responsiveness after installation. Change-Id: Idc2c78152e23aa7301bb5dbf9b1b6f4b639c3e84 Signed-off-by: Andrej Kilvady <andrej.kilvady@pantheon.tech>
2018-01-12Fix hostname setting for Centos.Thomas F Herbert1-3/+6
This patch sets the hostname in the suts by command line instead of using the cloud-init hostname module This fix works for both the newest Centos 7.4-1708 and the older Centos version in version 1.4 This patch should be merged separately from the patch updating the Centos listmaker image to 7.4-1711. Change-Id: Ie9f476ec82356fbd35077b74c55dd1a78e60248f Signed-off-by: Thomas F Herbert <therbert@redhat.com>
2018-01-10add new topology parameter: archGabriel Ganne3-0/+9
if unset, arch variable will default to "x86_64" * Note on "arm64" vs "aarch64" debian-based uses arm64 rhel-based uses aarch64 qemu binaries of both distribs uses aarch64 dpdk uses arm64 vpp uses aarch64 python machine modules uses aarch64 => prefer aarch64 to use the same nomenclature as vpp * add ARCH argument to: init_dpdk.sh, install_dpdk.sh, run_l2fwd.sh, install_tldk.sh, run_tldk.sh. default to x86_64 converts "aarch64" if needed for dpdk naming convention * fixed terminal end detection to allow "~]# " add dut node arch as param to all robot set bin calls * add --target-list flag to qemu_build.sh defaults to x86_64-softmmu * add arch flag to all the topology files * topologies/available/ (and example file) * resources/tools/virl/topologies/ * set _qemu_bin path using node['arch'] in qemu_set_node() Change-Id: If46d88d064d213d3e4c6fc584bb8e0d4b6428cb8 Signed-off-by: Gabriel Ganne <gabriel.ganne@enea.com>
2017-07-03FIX: TLDK bootstrap to reflect latest changes on VIRLPeter Mikus1-67/+236
Change-Id: I73017e17543bda145c470cdc474bce4eda547742 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2017-06-05CSIT-607 Optimize VIRL job scheduling algorithmPeter Mikus2-9/+95
Optimize VIRL job scheduling algorithm based on available VIRL host capacity. Add IP pool availability pre-checks. - add quota based on max. allowe IPs and max. allowe VMs per virl - use one common bootstrap file instead of two separate files (one for ubutnut, another for centos) Change-Id: Ic40122a084624ff9c5eafa9f372b0451e857e29a Signed-off-by: Peter Mikus <pmikus@cisco.com>
2017-05-17Fix start-testcase script on VIRLPeter Mikus1-67/+171
- Fix pylint errors - Add expiry option to set expiration of simulation - Add more sanitization of exceptions - Fix printing of debug messages to stderr Change-Id: Iecc1fe042b6da104a164fb5701e665b6f3aa298b Signed-off-by: Peter Mikus <pmikus@cisco.com>
2017-04-13Fix slow ssh login to Centos VIRL hosts.Matej Klotton1-3/+6
Change-Id: I36478bcae679d8e30ad00d97d7fc680130808670 Signed-off-by: Matej Klotton <mklotton@cisco.com>
2017-02-27Add symlink to nodes on VirlMatej Klotton1-0/+8
Change-Id: I3351787787419ef97897ad436cfb71c812af79ba Signed-off-by: Matej Klotton <mklotton@cisco.com>
2017-02-21Fix of centos bootstrap and dut_setup.shJan Gelety1-8/+21
Change-Id: I9fc3a74bf6356bdccee16c977df86567e91b4acf Signed-off-by: Jan Gelety <jgelety@cisco.com>
2017-02-15Fix Centos Virl deployment and image build want listMatej Klotton1-20/+8
Change-Id: I65d54fff4f936444bed3382ee21a260cf718bafd Signed-off-by: Matej Klotton <mklotton@cisco.com>
2017-01-27Add Centos specific bootstrap files.Thomas F Herbert2-0/+394
Add download and install script for rpms. Add topology virl file for Centos. Change VPP repo urls for centos. JIRA: CSIT-356 Change-Id: I3a0a88958a712d1b652f19c76e5e1b019796d0ae Signed-off-by: Thomas F Herbert <therbert@redhat.com>
2016-12-15 check the return valueFangyin Hu1-0/+373
Change-Id: Id507ba1a139415b395f99cd3fcbe2581e1fe3f54 Signed-off-by: Fangyin Hu <fangyinx.hu@intel.com>
2016-12-14fix of stop-testcase scriptJan Gelety1-2/+5
- use if statement to avoid deletion of /nfs/scratch directory in case that session-id is not provided Change-Id: Iffca231755ebef71babdd74447a0712bc21265ed Signed-off-by: Jan Gelety <jgelety@cisco.com>
2016-11-11CSIT-454: HC Test: add Honeycomb section to topology fileselias1-8/+8
- modified to match xenial topology file Change-Id: Ic160a6162e6fab7c0232a80ce08cf6d0479717c7 Signed-off-by: selias <samelias@cisco.com>
2016-11-10CSIT-454: HC Test: fix package installation in csit-honeycomb jobselias1-375/+0
Change-Id: Ie8ef408d87f2bd0327489179507076c6ea619e1e Signed-off-by: selias <samelias@cisco.com>
2016-10-20Topology schema: Part "Honeycomb"Tibor Frank1-8/+8
Change-Id: I872d1fe16d590652e75616516d11e6f3ce221ac6 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2016-10-19CSIT-351 Revert "VPP base package fails to load on VIRL 16.04 SUTs"Dave Wallace1-2/+2
Change-Id: Ice0246fb91faf215f5e19be92d6aca7c9f376586 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-10-20CSIT-351 Force vpp packages to installMiroslav Miklus1-1/+1
non-interactive installation of vpp packages Change-Id: I298d84e8452dc623ed92b7a9533d3bbc5f216fa4 Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
2016-10-17CSIT-351: VPP base package fails to load on VIRL 16.04 SUTsDave Wallace1-2/+2
Change-Id: If33008da9d0b1376b840a6533f4f57af44e3340a Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-10-13Update VIRL images to 16.04.1pmikus4-0/+457
Change-Id: I93e8b5e977e974cda9ea4ebab327b59f9afd2fd0 Signed-off-by: pmikus <pmikus@cisco.com>
2016-10-04Update HC netconf and restconf ports in virl topology fileselias1-2/+2
-update netconf port according to changes in https://gerrit.fd.io/r/2283 -update restconf port according to changes in https://gerrit.fd.io/r/2825 Change-Id: I66c240d962b5219bc78b9312a15c48a9de088486 Signed-off-by: selias <samelias@cisco.com>
2016-10-04Add JAVA_HOME and include Java in PATH environment variables.Carsten Koester1-0/+10
Change-Id: Ic2781afc713a7a9333adca3022eff533c4d1594c Signed-off-by: Carsten Koester <ckoester@cisco.com> Signed-off-by: pmikus <pmikus@cisco.com>
2016-09-28Add automated deployment of Honeycomb on DUTsTibor Frank1-0/+375
JIRA: CSIT-56 - create bootstrap_vpp_honeycomb.sh script which deploys VPP and Honeycomb on DUTs - Modify start-testcase script Change-Id: I88511479cb8681168675c934f4fccbea83fa34bc Signed-off-by: Tibor Frank <tifrank@cisco.com>
2016-06-02CSIT-111: Add Packer based framework to auto-generate disk imagesCarsten Koester7-722/+40
Change-Id: Ia18ea34a6288aec0f12f176f4cc264d0f215d1fd Signed-off-by: Carsten Koester <ckoester@cisco.com>
2016-04-11Fix cosmetic issues in VIRL topologiesCarsten Koester3-22/+17
Fix cosmetic issues in VIRL topologies: - Replace double whitespace by single whitespace in XML - Remove reserved but unused IP address allocations from VIRL config - Modify "start-testcase" script to handle links without IP address Change-Id: Ie447bd91172df61b30ebb8650b56bdfca0f25fd4 Signed-off-by: Carsten Koester <ckoester@cisco.com>
2016-04-11Add VIRL double-ring (load-balancing) topology with nested VM supportCarsten Koester2-0/+393
Change-Id: Idcf173b1711076a5d7e4af8fe46e302b9eae4ff6 Signed-off-by: Carsten Koester <ckoester@cisco.com>
2016-04-05Add VIRL topology files and template for nested virtualisationCarsten Koester2-0/+359
Change-Id: I57dbe4f179b3cfd3f51c9dec503ca45a5c0521fd Signed-off-by: Carsten Koester <ckoester@cisco.com>
2016-03-08Add VIRL server-side framework and topology templates.Carsten Koester6-0/+791
Change-Id: I02e7f85e3259dc0a5b2c7d0098747921a75fa5ea Signed-off-by: Carsten Koester <ckoester@cisco.com>