You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-41Lines changed: 6 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,59 +1,36 @@
1
1
# CNF Certification Partner
2
2
3
3
This repository contains two main sections:
4
-
* test-partner: Partner pods definition for use on a k8s CNF Certification cluster.
4
+
* test-partner: Partner debug pods definition for use on a k8s CNF Certification cluster. Used to run platform and networking tests.
5
5
* test-target: A trivial example CNF (including a replicaset/deployment, a CRD and an operator), primarily intended to be used to run [test-network-function](https://github.com/test-network-function/test-network-function) test suites on a development machine.
6
6
7
-
Together, they make up the basic infrastructure required for "testing the tester".
7
+
Together, they make up the basic infrastructure required for "testing the tester". The partner debug pod is always required for platform tests and networking tests.
8
8
9
9
# Glossary
10
10
11
11
* Pod Under Test (PUT): The Vendor Pod, usually provided by a CNF Partner.
12
12
* Operator Under Test (OT): The Vendor Operator, usually provided by a CNF Partner.
13
-
* Test Partner Pod (TPP): A Universal Base Image (UBI) Pod containing the test tools and dependencies to act as a traffic workload generator or receiver. For generic cases, this currently includes ICMPv4 only.
14
13
* Debug Pod (DP): A Pod running [a UBI8-based support image](https://quay.io/repository/testnetworkfunction/debug-partner) deployed as part of a daemon set for accessing node information. DPs is deployed in "default" namespace
15
14
* CRD Under Test (CRD): A basic CustomResourceDefinition.
16
15
17
16
18
17
# Namespace
19
18
20
-
By default, TPP and DP are deployed in "default" namespace. all the other deployment files in this repository use ``tnf`` as default namespace. A specific namespace can be configured using:
19
+
By default, DP are deployed in "default" namespace. all the other deployment files in this repository use ``tnf`` as default namespace. A specific namespace can be configured using:
21
20
22
21
```shell-script
23
22
export TNF_EXAMPLE_CNF_NAMESPACE="tnf"#tnf for example
24
23
```
25
-
# Test-partner
26
-
27
-
test-partner provides the basic configuration to create a CNF Test Partner Pod (TPP), which is used to verify proper operation of a Partner Vendor's Pod Under Test in a CNF Certification Cluster. The Pod is composed of a single container, which is based off Universal Base Image (UBI) 8. A minimal set of tools is installed on top of the base image to fulfill CNF Test dependency requirements:
28
-
* iputils (for ping)
29
-
* iproute (for ip)
30
-
31
-
If you are using a different test partner pod, please ensure you provide these or the image will be unable to run all CNF
32
-
Certification tests.
33
-
34
24
## Cloning the repository
35
25
36
26
The repository can be cloned to local machine using:
If needed (and authorized) the following will update the stored image:
49
-
50
-
```shell-script
51
-
docker push testnetworkfunction/cnf-test-partner
52
-
```
53
-
54
31
## Installing the partner pod
55
32
56
-
In order to create and deploy the partner pod, use the following:
33
+
In order to create and deploy the partner debug pods (daemonset), use the following:
57
34
58
35
```shell-script
59
36
make install-partner-pods
@@ -114,7 +91,7 @@ To create the resources, issue the following command:
114
91
make install
115
92
```
116
93
117
-
This will create a PUT named "test" in `TNF_EXAMPLE_CNF_NAMESPACE`[namespace](#namespace), TPP named "tnfpartner" which can be used to run test suites, and Debug Daemonset named "debug". The
94
+
This will create a PUT named "test" in `TNF_EXAMPLE_CNF_NAMESPACE`[namespace](#namespace) and Debug Daemonset named "debug". The
118
95
example `tnf_config.yml` in [`test-network-function`](https://github.com/test-network-function/test-network-function)
To tear down the local test infrastruture from the cluster, use the following command. It may take some time to completely stop the PUT, CRD, OT, DP and TPP:
117
+
To tear down the local test infrastruture from the cluster, use the following command. It may take some time to completely stop the PUT, CRD, OT, and DP:
0 commit comments