dfd973eb32a458db339c150804db58273f63880c
[iec.git] / src / use_cases / seba_on_arm / test / README
1 Thie folder contains installation scripts and other resources for testing SEBA.
2 For now we rely on virtualized PON and OLT software, such as BBSim and PONSim.
3
4 Each folder/testing method should contain an install.sh and test.sh scripts
5 respectively.
6
7 The testing phase consists of two steps:
8 1. Installing the PON software (for now either bbsim or ponsim). This can be
9 done by running the corresponding install.sh directly on the K8S master.
10
11 2. Running the actual SIAB tests. In upstream opencord.org the SIAB tests are
12 run on a single machine (hence the term SEBA-in-a-Box), directly on the
13 machine. In contrast, the iec project aims to be able to run the SIAB tests
14 from a different machine, in order to not pollute the environment with
15 testing framework. To achieve this, it is also necessary to create a running
16 environment and this is done using a simple Docker container which contains
17 all the necessary tools for running cord-tester SIAB tests. Take a look at
18 src/usecases/seba_on_arm/docker/build/cord-tester/build-cord-tester.arm
19 script for details on this image.
20 Note that for runing test.sh, it is necessary to obtain the Kubernetes config
21 (e.g. /root/.kube/) and place it in a convenient location. This will then be
22 passed to the docker container. Of course, the container must also have
23 access to the Kubernetes cluster.