CSIT-1416 Remove installation of vpp from containers 04/17304/1
authorPeter Mikus <[email protected]>
Fri, 1 Feb 2019 14:51:06 +0000 (14:51 +0000)
committerPeter Mikus <[email protected]>
Mon, 4 Feb 2019 17:34:03 +0000 (17:34 +0000)
commitb4e5ed2ce3e0df70361309baf29401f92b06be19
tree164acbbe5babb569cd6c46e0b415ebaf82550a2a
parent1634e19d9adb70b634c80b760aabac81fd4bfdd1
CSIT-1416 Remove installation of vpp from containers

Use parent system (Host, Container) installation of VPP. This will save
the internet bandwith by skip installing of prerequisites packages.
It will also skip dpkg install and simplify the process of initializing
VPP inside container.

Previosly initialization of VPP in container takes about 55s. With this
patch it is reduced to 2-3s.

This patch removes the bloated VOLUME creation between container
sidecars (a.k.a nested container) and fixes the hugepage allocation.

Change-Id: Ifa2be532edb77354657e1b84568bdc34993b00d0
Signed-off-by: Peter Mikus <[email protected]>
(cherry picked from commit 26637ca4fdb026cea585df4c9e6c0fc2c07492ba)
resources/libraries/bash/function/device.sh
resources/libraries/python/ContainerUtils.py
resources/libraries/python/DUTSetup.py
resources/libraries/robot/performance/performance_setup.robot
resources/libraries/robot/shared/container.robot
resources/libraries/robot/shared/default.robot