add new topology parameter: arch 74/9474/15
authorGabriel Ganne <gabriel.ganne@enea.com>
Mon, 27 Nov 2017 14:38:53 +0000 (15:38 +0100)
committerJan Gelety <jgelety@cisco.com>
Wed, 10 Jan 2018 14:42:43 +0000 (15:42 +0100)
commitc7eb2002bcd007520309feb3e11a26ff847a4e05
tree84ea1d5513da1bb0f4e078aec87b44cf653a7e7c
parenta95c54b7821596402e0aa7136cd7d1de71a5b187
add new topology parameter: arch

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>
23 files changed:
resources/libraries/bash/qemu_build.sh
resources/libraries/python/DPDK/DPDKTools.py
resources/libraries/python/DPDK/L2fwdTest.py
resources/libraries/python/DPDK/SetupDPDKTest.py
resources/libraries/python/QemuUtils.py
resources/libraries/python/TLDK/SetupTLDKTest.py
resources/libraries/python/VatExecutor.py
resources/libraries/python/ssh.py
resources/libraries/python/topology.py
resources/tools/virl/topologies/double-ring-nested.centos7.yaml
resources/tools/virl/topologies/double-ring-nested.trusty.yaml
resources/tools/virl/topologies/double-ring-nested.xenial.yaml
tests/dpdk/dpdk_scripts/init_dpdk.sh
tests/dpdk/dpdk_scripts/install_dpdk.sh
tests/dpdk/dpdk_scripts/run_l2fwd.sh
tests/tldk/tldk_scripts/install_tldk.sh
tests/tldk/tldk_scripts/run_tldk.sh
topologies/available/3_node_hw_topo1.yaml.example
topologies/available/lf_testbed1.yaml
topologies/available/lf_testbed2.yaml
topologies/available/lf_testbed3.yaml
topologies/available/vagrant.yaml
topologies/available/virl.yaml

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.