c20fcb335df3a3095d992244e7be6e484c8a4d4e
[csit.git] / resources / templates / kubernetes / configmaps / eth-1drcl2bdbasemaclrn-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: 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-vnf2
38         description: VNF2 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: vnf2
51             port_label: port2
52             etcd_vpp_switch_key: vswitch
53             type: 2
54       - name: vnf1-vnf2
55         description: vnf1 to vnf2 via direct - memifs
56         type: 6
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
67   vnf.conf: |
68     vnf_plugin_config_version: 1
69     description: VNF config
70     vnf_entities:
71       - name: vnf1
72         container: vnf1
73         l2xconnects:
74           - port_labels:
75             - port1
76             - port2
77       - name: vnf2
78         container: vnf2
79         l2xconnects:
80           - port_labels:
81             - port1
82             - port2