diff options
author | juraj.linkes <juraj.linkes@pantheon.tech> | 2019-07-10 11:32:47 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2019-07-17 07:47:32 +0000 |
commit | 248d1a52e06622dc9eb1dfdd6ca9f6670b4c0bc3 (patch) | |
tree | 75693f1fe6a233a542d78ba64e80c4c5621ed3ac /resources/libraries/bash | |
parent | 5287b5307b3e39c4e13545b0c6ea651ac4014a84 (diff) |
Refactor VPP Device VM vhost tests
* replace the current VM image with kernel img
* rework keyword usage to make it consistent with performance tests
* remove resources/libraries/robot/shared/qemu.robot as it's not used
anywhere anymore
Change-Id: Ia5bc19e9e6ed9af031e4d9b5c0c89431fb49fd33
Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
Diffstat (limited to 'resources/libraries/bash')
-rw-r--r-- | resources/libraries/bash/function/device.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/libraries/bash/function/device.sh b/resources/libraries/bash/function/device.sh index 5d33af342e..e31ead734a 100644 --- a/resources/libraries/bash/function/device.sh +++ b/resources/libraries/bash/function/device.sh @@ -581,6 +581,10 @@ function start_topology_containers () { dcr_stc_params+="--volume /var/lib/vm/vhost-nested.img:/var/lib/vm/vhost-nested.img " # Mount docker.sock to be able to use docker deamon of the host. dcr_stc_params+="--volume /var/run/docker.sock:/var/run/docker.sock " + # Mount /opt/boot/ where VM kernel and initrd are located. + dcr_stc_params+="--volume /opt/boot/:/opt/boot/ " + # Mount host hugepages for VMs. + dcr_stc_params+="--volume /dev/hugepages/:/dev/hugepages/ " # Docker Container UUIDs. declare -gA DCR_UUIDS |