go.ligato.io/vpp-agent/v3@v3.5.0/k8s/perf-demo/with-controller/scenario23/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: vnf1-vnf2
    35            description: vnf1 to vnf2 via vswitch - memifs
    36            type: 5
    37            elements:
    38                - container: vnf1
    39                  port_label: port2
    40                  etcd_vpp_switch_key: vswitch
    41                  type: 2
    42                - container: vnf2
    43                  port_label: port1
    44                  etcd_vpp_switch_key: vswitch
    45                  type: 2
    46  
    47          - name: vnf2-vnf3
    48            description: vnf2 to vnf3 via vswitch - memifs
    49            type: 5
    50            elements:
    51                - container: vnf2
    52                  port_label: port2
    53                  etcd_vpp_switch_key: vswitch
    54                  type: 2
    55                - container: vnf3
    56                  port_label: port1
    57                  etcd_vpp_switch_key: vswitch
    58                  type: 2
    59  
    60          - name: vswitch-vnf3
    61            description: VNF3 to vswitch - memif
    62            type: 4
    63            elements:
    64                - container: vswitch
    65                  port_label: FortyGigabitEthernet89/0/1
    66                  etcd_vpp_switch_key: vswitch
    67                  type: 5
    68                - container: vnf3
    69                  port_label: port2
    70                  etcd_vpp_switch_key: vswitch
    71                  type: 2
    72  
    73    vnf.conf: |
    74      vnf_plugin_config_version: 1
    75      description: Demo VNF config
    76      vnf_entities:
    77  
    78        - name: vnf1
    79          container: vnf1
    80          l2xconnects:
    81            - port_labels:
    82              - port1
    83              - port2
    84  
    85        - name: vnf2
    86          container: vnf2
    87          l2xconnects:
    88            - port_labels:
    89              - port1
    90              - port2
    91  
    92        - name: vnf3
    93          container: vnf3
    94          l2xconnects:
    95            - port_labels:
    96              - port1
    97              - port2