2a2e3fd157275b9ceb3bb8e7dc5fabeef3a4b442
[csit.git] / resources / templates / kubernetes / configmaps / eth-1drcl2xcbase-eth-2memif-1drcl2xc-1paral.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     system_parameters:
18       mtu: 9000
19     host_entities:
20       - name: vswitch
21     sfc_entities:
22       - name: vswitch-vnf1
23         description: vswitch to VNF1 - memif
24         type: 4
25         elements:
26           - container: vswitch
27             port_label: $$VSWITCH_IF1$$
28             etcd_vpp_switch_key: vswitch
29             type: 5
30           - container: vnf1
31             port_label: port1
32             etcd_vpp_switch_key: vswitch
33             type: 2
34       - name: vnf1-vswitch
35         description: VNF1 to vswitch - memif
36         type: 4
37         elements:
38           - container: vswitch
39             port_label: $$VSWITCH_IF2$$
40             etcd_vpp_switch_key: vswitch
41             type: 5
42           - container: vnf1
43             port_label: port2
44             etcd_vpp_switch_key: vswitch
45             type: 2
46
47   vnf.conf: |
48     vnf_plugin_config_version: 1
49     description: VNF config
50     vnf_entities:
51       - name: vnf1
52         container: vnf1
53         l2xconnects:
54           - port_labels:
55             - port1
56             - port2