CSIT-870 Kubernetes/Ligato integration
[csit.git] / resources / templates / kubernetes / configmaps / ho-eth-1drcl2xcbase-eth-2memif-4drcl2xc.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-vnf4
33         description: VNF4 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: vnf4
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       - name: vnf2-vnf3
57         description: vnf2 to vnf3 via direct memifs
58         type: 6
59         elements:
60           - container: vnf2
61             port_label: port2
62             etcd_vpp_switch_key: vswitch
63             type: 2
64           - container: vnf3
65             port_label: port1
66             etcd_vpp_switch_key: vswitch
67             type: 2
68       - name: vnf3-vnf4
69         description: vnf3 to vnf4 via direct memifs
70         type: 6
71         elements:
72           - container: vnf3
73             port_label: port2
74             etcd_vpp_switch_key: vswitch
75             type: 2
76           - container: vnf4
77             port_label: port1
78             etcd_vpp_switch_key: vswitch
79             type: 2
80
81   vnf.conf: |
82     vnf_plugin_config_version: 1
83     description: VNF config
84     vnf_entities:
85       - name: vnf1
86         container: vnf1
87         l2xconnects:
88           - port_labels:
89             - port1
90             - port2
91       - name: vnf2
92         container: vnf2
93         l2xconnects:
94           - port_labels:
95             - port1
96             - port2
97       - name: vnf3
98         container: vnf3
99         l2xconnects:
100           - port_labels:
101             - port1
102             - port2
103       - name: vnf4
104         container: vnf4
105         l2xconnects:
106           - port_labels:
107             - port1
108             - port2