FIX: Ligato tests
[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: 2
16     description: $$TEST_NAME$$
17
18     system_parameters:
19       mtu: 9000
20
21     network_pod_to_node_map:
22       - pod: vnf1
23         node: vswitch
24
25     network_nodes:
26       - metadata:
27             name: vswitch
28         spec:
29             node_type: host
30             interfaces:
31             - name: $$VSWITCH_IF1$$
32               if_type: ethernet
33             - name: $$VSWITCH_IF2$$
34               if_type: ethernet
35
36     network_services:
37       - metadata:
38             name: my-network-service
39         spec:
40             network_pods:
41
42               - metadata:
43                   name: vnf1
44                 spec:
45                   pod_type: vppcontainer
46                   interfaces:
47                     - name: port1
48                       if_type: memif
49                     - name: port2
50                       if_type: memif
51
52             connections:
53
54               - conn_type: l2pp # l2x eth1 to vnf port 1
55                 pod_interfaces:
56                   - vnf1/port1
57                 node_interfaces:
58                   - vswitch/$$VSWITCH_IF1$$
59
60               - conn_type: l2pp
61                 pod_interfaces: # l2x the ports on vnf1
62                   - vnf1/port1
63                   - vnf1/port2
64
65               - conn_type: l2pp # l2x eth2 to vnf port 2
66                 pod_interfaces:
67                   - vnf1/port2
68                 node_interfaces:
69                   - vswitch/$$VSWITCH_IF2$$