Skip to content

Commit 1d2f6fe

Browse files
Merge pull request #172 from cncf/rename-use-case-test
Updating example to match upstream example service chain (vs single CNF)
2 parents 3ccaa53 + db89efc commit 1d2f6fe

File tree

9 files changed

+47
-31
lines changed

9 files changed

+47
-31
lines changed

example-cnfs/ip-forwarder/README.md

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# VPP IP Forwader Pipeline Service Chain (from the CNF Testbed)
2+
3+
Upstream: https://github.com/cncf/cnf-testbed/tree/master/examples/use_case/3c2n-csp
4+
5+
Description: Pipeline Service Chain using 3 chains of 2 CNFs (per chain)
6+
7+
This example installs the pipeline service chain example on a kubernetes worker node. All nodes are connected using Memif interfaces, with the chain endpoints connecting to the host vSwitch (VPP) while the intermediate connections are done directly between nodes.
8+
9+
Description:
10+
- Layer 3 packet forwarding
11+
- Based on the fd.io VPP project
12+
- Uses DPDK
13+
- memif interfaces
14+
15+
# Prerequistes
16+
### Install helm version 3
17+
18+
### Automated installation
19+
Run cnf-conformance setup
20+
```
21+
export KUBECONFIG=$(pwd)/<YourKubeConf> ; crystal src/cnf-conformance.cr setup
22+
```
23+
24+
Setup and deploy service chain
25+
```
26+
export KUBECONFIG=$(pwd)/admin.conf ; crystal src/cnf-conformance.cr example_cnf_setup example-cnf-path=example-cnfs/vpp-3c2n-csp-use-case
27+
```
28+
29+
### Testing
30+
Run the conformance suite: `export KUBECONFIG=$(pwd)/admin.conf ; crystal src/cnf-conformance.cr all`
31+
32+
### Automated cleanup
33+
```
34+
export KUBECONFIG=$(pwd)/admin.conf ; crystal src/cnf-conformance.cr example_cnf_cleanup example-cnf-path=example-cnfs/vpp-3c2n-csp-use-case
35+
```
36+
37+
### Manual installation
38+
1. Install helm version 3
39+
1. Make the cnfs/vpp-3c2n-csp-use-case diretory
40+
1. If you are testing the cnf source, clone the source into the cnfs/vpp-3c2n-csp-use-case directory
41+
1. Copy the cnf-conformance.yml into the cnfs/vpp-3c2n-csp-use-case directory
42+
1. Deploy the service chain using helm: `helm install vpp-3c2n-csp-use-case cnfs/csp`
43+
1. Wait for the installation to finish (all pods are ready)
44+
1. Run the conformance suite: `export KUBECONFIG=$(pwd)/admin.conf ; crystal src/cnf-conformance.cr all`
45+
46+
47+

0 commit comments

Comments
 (0)