go.ligato.io/vpp-agent/v3@v3.5.0/k8s/perf-demo/with-controller/scenario2/sfc/sfc-cfg.yaml (about)

     1  ---
     2  apiVersion: v1
     3  kind: ConfigMap
     4  metadata:
     5    name: sfc-controller-cfg
     6  data:
     7    etcd.conf: |
     8      insecure-transport: true
     9      dial-timeout: 1s
    10      endpoints:
    11       - "172.17.0.1:22379"
    12  
    13    sfc.conf: |
    14      sfc_controller_config_version: 1
    15      description: Demo topology 2
    16  
    17      host_entities:
    18          - name: vswitch
    19  
    20      sfc_entities:
    21          - name: vswitch-vnf1
    22            description: vswitch to VNF1 - memif
    23            type: 4
    24            elements:
    25                - container: vswitch
    26                  port_label: FortyGigabitEthernet89/0/0
    27                  etcd_vpp_switch_key: vswitch
    28                  type: 5
    29                - container: vnf1
    30                  port_label: port1
    31                  etcd_vpp_switch_key: vswitch
    32                  type: 2
    33  
    34          - name: vswitch-vnf2
    35            description: VNF2 to vswitch - memif
    36            type: 4
    37            elements:
    38                - container: vswitch
    39                  port_label: FortyGigabitEthernet89/0/1
    40                  etcd_vpp_switch_key: vswitch
    41                  type: 5
    42                - container: vnf2
    43                  port_label: port2
    44                  etcd_vpp_switch_key: vswitch
    45                  type: 2
    46  
    47          - name: vnf1-vnf2
    48            description: vnf1 to vnf2 via vswitch - memifs
    49            type: 5
    50            elements:
    51                - container: vnf1
    52                  port_label: port2
    53                  etcd_vpp_switch_key: vswitch
    54                  type: 2
    55                - container: vnf2
    56                  port_label: port1
    57                  etcd_vpp_switch_key: vswitch
    58                  type: 2
    59  
    60    vnf.conf: |
    61      vnf_plugin_config_version: 1
    62      description: Demo VNF config
    63      vnf_entities:
    64        - name: vnf1
    65          container: vnf1
    66          l2xconnects:
    67            - port_labels:
    68              - port1
    69              - port2
    70        - name: vnf2
    71          container: vnf2
    72          l2xconnects:
    73            - port_labels:
    74              - port1
    75              - port2