Modify IPsec test trigger
[csit.git] / resources / templates / kubernetes / configmaps / ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc.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: vswitch-vnf2
37         description: VNF2 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: vnf2
47             port_label: port2
48             etcd_vpp_switch_key: vswitch
49             l2fib_macs:
50               - "$$TG_IF1_MAC1$$"
51             type: 2
52       - name: vnf1-vnf2
53         description: vnf1 to vnf2 via vswitch - memifs
54         type: 5
55         elements:
56           - container: vnf1
57             port_label: port2
58             etcd_vpp_switch_key: vswitch
59             type: 2
60           - container: vnf2
61             port_label: port1
62             etcd_vpp_switch_key: vswitch
63             type: 2
64
65   vnf.conf: |
66     vnf_plugin_config_version: 1
67     description: VNF config
68     vnf_entities:
69       - name: vnf1
70         container: vnf1
71         l2xconnects:
72           - port_labels:
73             - port1
74             - port2
75       - name: vnf2
76         container: vnf2
77         l2xconnects:
78           - port_labels:
79             - port1
80             - port2