Tools: Deployment and TestControl Containers 65/68565/4
authorSridhar K. N. Rao <sridhar.rao@spirent.com>
Wed, 2 Oct 2019 12:20:23 +0000 (17:50 +0530)
committerSridhar K. N. Rao <sridhar.rao@spirent.com>
Sun, 1 Dec 2019 03:32:14 +0000 (09:02 +0530)
commit601b88e2c5dabaa7fe2035c7e433d2da5b860c4b
tree45d7336a3fc71907c19720127d154f8c44aa673a
parentb984a2f40bec349c802b631a69526590b34bd5de
Tools: Deployment and TestControl Containers

This patch add containerization of VSPERF support.
The patch facilitates creation of 4 containers:
1. Interactive Deployment
2. Auto Deployment
3. Interactive TestControl
4. Auto TestControl.
The patch also includes a minimal client to work with interactive
containers.
The docs folder provides detailed documentation.
Fixed pylint errors in libs folder.
Removed proto built python files, and added the build process in
prepare.sh.
Stability improvements for Auto versions of deployment and testcontrol.
Enhance client with 'mode' feature, where client can run either to do
only deploy/only test or both.
Add sample configuration file for client
Fixed few typos - as suggested by AL.

JIRA: VSPERF-594
Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
Change-Id: Id40b02960f71a7f9183d9a53955e2483117fb9e2
36 files changed:
conf/00_common.conf
tools/docker/client/__init__.py [new file with mode: 0644]
tools/docker/client/vsperf_client.py [new file with mode: 0644]
tools/docker/client/vsperfclient.conf [new file with mode: 0644]
tools/docker/deployment/auto/controller/Dockerfile [new file with mode: 0644]
tools/docker/deployment/auto/controller/list.env [new file with mode: 0644]
tools/docker/deployment/auto/controller/vsperf/__init__.py [new file with mode: 0644]
tools/docker/deployment/auto/controller/vsperf/collectd.conf [new file with mode: 0644]
tools/docker/deployment/auto/controller/vsperf/trex_cfg.yaml [new file with mode: 0644]
tools/docker/deployment/auto/controller/vsperf/vsperf_controller.py [new file with mode: 0644]
tools/docker/deployment/auto/docker-compose.yml [new file with mode: 0644]
tools/docker/deployment/interactive/controller/Dockerfile [new file with mode: 0644]
tools/docker/deployment/interactive/controller/vsperf/__init__.py [new file with mode: 0644]
tools/docker/deployment/interactive/controller/vsperf/vsperf_controller.py [new file with mode: 0644]
tools/docker/deployment/interactive/docker-compose.yml [new file with mode: 0644]
tools/docker/docs/architecture.txt [new file with mode: 0644]
tools/docker/docs/client.rst [new file with mode: 0644]
tools/docker/docs/test.rst [new file with mode: 0644]
tools/docker/libs/proto/__init__.py [new file with mode: 0644]
tools/docker/libs/proto/vsperf.proto [new file with mode: 0755]
tools/docker/libs/utils/__init__.py [new file with mode: 0644]
tools/docker/libs/utils/exceptions.py [new file with mode: 0644]
tools/docker/libs/utils/ssh.py [new file with mode: 0644]
tools/docker/libs/utils/utils.py [new file with mode: 0644]
tools/docker/prepare.sh [new file with mode: 0755]
tools/docker/testcontrol/auto/controller/Dockerfile [new file with mode: 0644]
tools/docker/testcontrol/auto/controller/list.env [new file with mode: 0644]
tools/docker/testcontrol/auto/controller/vsperf/__init__.py [new file with mode: 0644]
tools/docker/testcontrol/auto/controller/vsperf/vsperf.conf [new file with mode: 0644]
tools/docker/testcontrol/auto/controller/vsperf/vsperf_controller.py [new file with mode: 0644]
tools/docker/testcontrol/auto/docker-compose.yml [new file with mode: 0644]
tools/docker/testcontrol/interactive/controller/Dockerfile [new file with mode: 0644]
tools/docker/testcontrol/interactive/controller/vsperf/__init__.py [new file with mode: 0644]
tools/docker/testcontrol/interactive/controller/vsperf/output.txt [new file with mode: 0644]
tools/docker/testcontrol/interactive/controller/vsperf/vsperf_controller.py [new file with mode: 0644]
tools/docker/testcontrol/interactive/docker-compose.yml [new file with mode: 0644]