909373945db85028bff42040c9034582ab5fb675
[csit.git] / resources / templates / kubernetes / configmaps / eth-1drcl2bdbasemaclrn-eth-8memif-4drcl2xc-1chain.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: 3
23         bd_parms:
24           flood: true
25           unknown_unicast_flood: true
26           forward: true
27           learn: true
28         elements:
29           - container: vswitch
30             port_label: $$VSWITCH_IF1$$
31             etcd_vpp_switch_key: vswitch
32             type: 5
33           - container: vnf1
34             port_label: port1
35             etcd_vpp_switch_key: vswitch
36             type: 2
37       - name: vswitch-vnf4
38         description: VNF4 to vswitch - memif
39         type: 3
40         bd_parms:
41           flood: true
42           unknown_unicast_flood: true
43           forward: true
44           learn: true
45         elements:
46           - container: vswitch
47             port_label: $$VSWITCH_IF2$$
48             etcd_vpp_switch_key: vswitch
49             type: 5
50           - container: vnf4
51             port_label: port2
52             etcd_vpp_switch_key: vswitch
53             type: 2
54       - name: vnf1-vnf2
55         description: vnf1 to vnf2 via vswitch - memifs
56         type: 5
57         elements:
58           - container: vnf1
59             port_label: port2
60             etcd_vpp_switch_key: vswitch
61             type: 2
62           - container: vnf2
63             port_label: port1
64             etcd_vpp_switch_key: vswitch
65             type: 2
66       - name: vnf2-vnf3
67         description: vnf2 to vnf3 via vswitch memifs
68         type: 5
69         elements:
70           - container: vnf2
71             port_label: port2
72             etcd_vpp_switch_key: vswitch
73             type: 2
74           - container: vnf3
75             port_label: port1
76             etcd_vpp_switch_key: vswitch
77             type: 2
78       - name: vnf3-vnf4
79         description: vnf3 to vnf4 via vswitch memifs
80         type: 5
81         elements:
82           - container: vnf3
83             port_label: port2
84             etcd_vpp_switch_key: vswitch
85             type: 2
86           - container: vnf4
87             port_label: port1
88             etcd_vpp_switch_key: vswitch
89             type: 2
90
91   vnf.conf: |
92     vnf_plugin_config_version: 1
93     description: VNF config
94     vnf_entities:
95       - name: vnf1
96         container: vnf1
97         l2xconnects:
98           - port_labels:
99             - port1
100             - port2
101       - name: vnf2
102         container: vnf2
103         l2xconnects:
104           - port_labels:
105             - port1
106             - port2
107       - name: vnf3
108         container: vnf3
109         l2xconnects:
110           - port_labels:
111             - port1
112             - port2
113       - name: vnf4
114         container: vnf4
115         l2xconnects:
116           - port_labels:
117             - port1
118             - port2