-
Notifications
You must be signed in to change notification settings - Fork 29
/
sfc.conf
48 lines (44 loc) · 1.12 KB
/
sfc.conf
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
sfc_controller_config_version: 2
description: Basic Example static config for hosting 2 containers with a vnf-agent and vpp
network_pod_to_node_map:
- pod: vnf1
node: vswitch
- pod: vnf2
node: vswitch
network_nodes:
- metadata:
name: vswitch
spec:
node_type: host
l2bds:
- name: east-west-bd
network_services:
- metadata:
name: service1
spec:
network_pods:
- metadata:
name: vnf1
spec:
pod_type: vppcontainer
interfaces:
- name: port1
if_type: memif
ip_addresses:
- 10.0.1.1/24
- metadata:
name: vnf2
spec:
pod_type: vppcontainer
interfaces:
- name: port1
if_type: veth
ip_addresses:
- 10.0.0.10/24
connections:
- name: my-conn
conn_type: l2mp
use_node_l2bd: east-west-bd
pod_interfaces:
- vnf1/port1
- vnf2/port1