9b4c189cac7fc38e0a4f57cba1f26bc2b844ef29
[csit.git] / resources / templates / kubernetes / configmaps / eth-1drcl2xcbase-eth-2memif-2drcl2xc-1horiz.yaml
1 ---
2 apiVersion: v1
3 kind: ConfigMap
4 metadata:
5   name: sfc-controller-cfg
6   namespace: csit
7 data:
8   etcd.conf: |
9     insecure-transport: true
10     dial-timeout: 1000000000
11     endpoints:
12       - "172.17.0.1:22379"
13
14   sfc.conf: |
15     sfc_controller_config_version: 1
16     description: $$TEST_NAME$$
17     host_entities:
18       - name: vswitch
19     sfc_entities:
20       - name: vswitch-vnf1
21         description: vswitch to VNF1 - memif
22         type: 4
23         elements:
24           - container: vswitch
25             port_label: $$VSWITCH_IF1$$
26             etcd_vpp_switch_key: vswitch
27             type: 5
28           - container: vnf1
29             port_label: port1
30             etcd_vpp_switch_key: vswitch
31             type: 2
32       - name: vswitch-vnf2
33         description: VNF2 to vswitch - memif
34         type: 4
35         elements:
36           - container: vswitch
37             port_label: $$VSWITCH_IF2$$
38             etcd_vpp_switch_key: vswitch
39             type: 5
40           - container: vnf2
41             port_label: port2
42             etcd_vpp_switch_key: vswitch
43             type: 2
44       - name: vnf1-vnf2
45         description: vnf1 to vnf2 via vswitch - memifs
46         type: 6
47         elements:
48           - container: vnf1
49             port_label: port2
50             etcd_vpp_switch_key: vswitch
51             type: 2
52           - container: vnf2
53             port_label: port1
54             etcd_vpp_switch_key: vswitch
55             type: 2
56
57   vnf.conf: |
58     vnf_plugin_config_version: 1
59     description: VNF config
60     vnf_entities:
61       - name: vnf1
62         container: vnf1
63         l2xconnects:
64           - port_labels:
65             - port1
66             - port2
67       - name: vnf2
68         container: vnf2
69         l2xconnects:
70           - port_labels:
71             - port1
72             - port2