-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.yaml
44 lines (41 loc) · 2.18 KB
/
config.yaml
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
host:
ssh:
ip: 127.0.0.1
username: root
# Update the login password for the IPU Host
password: ""
# Link Partner interfaces on IPU host - lp_interfaces[0]<->IPU Port0, lp_interfaces[1]<->IPU Port1
lp_interfaces: ['ens7f1','ens7f0']
lp_interface_ip: ['10.0.0.30','20.0.0.30']
imc:
ssh:
ip: 100.0.0.100
username: root
password: ""
acc:
# SSH to ACC from the IMC
ssh:
ip: 192.168.0.2
username: root
password: ""
test_params:
#path fields specify the location where the configuration scripts will be copied to on the Host,IMC and ACC
host_path: 'ovs_offload_lnw_scripts'
imc_path: '/mnt/imc/p4_test'
acc_path: '/opt/p4/p4sde/p4_test'
# Update the correct IDPF Interface on the Host
idpf_interface: 'ens5f0'
# Update the list of Host IDPF Interfaces on the Host to Map to ACC Port representors
# Interfaces ['0','1'] below represents the IPU Physical Port 0 and Port 1 and the remaining as the Host IDPF Vfs
vf_interfaces: ['0','1','ens5f0v0','ens5f0v1','ens5f0v2','ens5f0v3','ens5f0v4','ens5f0v5','ens5f0v6','ens5f0v7']
# These are the ACC Port representors that will be used to map to the interfaces in the above list vf_interfaces
acc_pr_interfaces: ['enp0s1f0d4','enp0s1f0d5','enp0s1f0d6','enp0s1f0d7','enp0s1f0d8','enp0s1f0d9','enp0s1f0d10','enp0s1f0d11','enp0s1f0d12','enp0s1f0d13']
# The ip_list contains the IP addresses that will be used for the Host IDPF VF interfaces that are mapped to the VM config (using: ip netns).
ip_list: ['10.0.0.10','10.0.0.11','10.0.0.12','10.0.0.13','20.0.0.10','20.0.0.11','20.0.0.12','20.0.0.13']
# User Input for OVS VXLAN Config.
# Local and remote vtep(virtual tunnel end-point) IPs are used in OVS vxlan config with ACC PRs mapped to host IDPF VF
local_vtep: ['10.1.1.1','11.1.1.1','12.1.1.1','13.1.1.1','14.1.1.1','15.1.1.1','16.1.1.1','17.1.1.1','18.1.1.1','19.1.1.1','20.1.1.1']
remote_vtep: ['10.1.1.2','11.1.1.2','12.1.1.2','13.1.1.2','14.1.1.2','15.1.1.2','16.1.1.2','17.1.1.2','18.1.1.2','19.1.1.2','20.1.1.2']
# Tunnel Termination Bridge IP for local and remote peer.
local_br_tun_ip: ['1.1.1.1','2.1.1.1']
remote_br_tun_ip: ['1.1.1.2','2.1.1.2']