aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/kubernetes/configmaps/ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc.yaml
blob: 46f795373446872f4592974663223b5465af0cc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: sfc-controller-cfg
  namespace: csit
data:
  etcd.conf: |
    insecure-transport: true
    dial-timeout: 1000000000
    endpoints:
      - "172.17.0.1:22379"

  sfc.conf: |
    sfc_controller_config_version: 1
    description: $$TEST_NAME$$
    host_entities:
      - name: vswitch
    sfc_entities:
      - name: vswitch-vnf1
        description: vswitch to VNF1 - memif
        type: 3
        elements:
          - container: vswitch
            port_label: $$VSWITCH_IF1$$
            etcd_vpp_switch_key: vswitch
            l2fib_macs:
              - "$$TG_IF1_MAC1$$"
            type: 5
          - container: vnf1
            port_label: port1
            etcd_vpp_switch_key: vswitch
            l2fib_macs:
              - "$$TG_IF2_MAC1$$"
            type: 2
      - name: vswitch-vnf2
        description: VNF2 to vswitch - memif
        type: 3
        elements:
          - container: vswitch
            port_label: $$VSWITCH_IF2$$
            etcd_vpp_switch_key: vswitch
            l2fib_macs:
              - "$$TG_IF2_MAC1$$"
            type: 5
          - container: vnf2
            port_label: port2
            etcd_vpp_switch_key: vswitch
            l2fib_macs:
              - "$$TG_IF1_MAC1$$"
            type: 2
      - name: vnf1-vnf2
        description: vnf1 to vnf2 via vswitch - memifs
        type: 5
        elements:
          - container: vnf1
            port_label: port2
            etcd_vpp_switch_key: vswitch
            type: 2
          - container: vnf2
            port_label: port1
            etcd_vpp_switch_key: vswitch
            type: 2

  vnf.conf: |
    vnf_plugin_config_version: 1
    description: VNF config
    vnf_entities:
      - name: vnf1
        container: vnf1
        l2xconnects:
          - port_labels:
            - port1
            - port2
      - name: vnf2
        container: vnf2
        l2xconnects:
          - port_labels:
            - port1
            - port2