CSIT-870 Kubernetes/Ligato integration
[csit.git] / resources / templates / kubernetes / configmaps / pa-eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc.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         elements:
24           - container: vswitch
25             port_label: $$VSWITCH_IF1$$
26             etcd_vpp_switch_key: vswitch
27             l2fib_macs:
28               - "$$TG_IF1_MAC1$$"
29             type: 5
30           - container: vnf1
31             port_label: port1
32             etcd_vpp_switch_key: vswitch
33             l2fib_macs:
34               - "$$TG_IF2_MAC1$$"
35             type: 2
36       - name: vnf1-vswitch
37         description: VNF1 to vswitch - memif
38         type: 3
39         elements:
40           - container: vswitch
41             port_label: $$VSWITCH_IF2$$
42             etcd_vpp_switch_key: vswitch
43             l2fib_macs:
44               - "$$TG_IF2_MAC1$$"
45             type: 5
46           - container: vnf1
47             port_label: port2
48             etcd_vpp_switch_key: vswitch
49             l2fib_macs:
50               - "$$TG_IF1_MAC1$$"
51             type: 2
52
53   vnf.conf: |
54     vnf_plugin_config_version: 1
55     description: VNF config
56     vnf_entities:
57       - name: vnf1
58         container: vnf1
59         l2xconnects:
60           - port_labels:
61             - port1
62             - port2