forked from open-traffic-generator/otg-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathotg.yaml
101 lines (101 loc) · 1.58 KB
/
otg.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
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
flows:
- duration:
choice: fixed_packets
fixed_packets:
gap: 12
packets: 100
metrics:
enable: true
loss: false
timestamps: false
name: f1
packet:
- choice: ethernet
ethernet:
dst:
choice: value
value: "00:00:01:01:01:02"
src:
choice: value
value: "00:00:01:01:01:01"
- choice: ipv4
ipv4:
dst:
choice: value
value: 1.1.1.2
src:
choice: value
value: 1.1.1.1
- choice: udp
udp:
dst_port:
choice: value
value: 6000
src_port:
choice: value
value: 5000
rate:
choice: pps
pps: "50"
size:
choice: fixed
fixed: 128
tx_rx:
choice: port
port:
rx_name: l2
tx_name: l1
lags:
- min_links: 1
name: l1
ports:
- ethernet:
mac: "00:00:00:00:00:01"
mtu: 1500
name: l1p1
port_name: p1
- ethernet:
mac: "00:00:00:00:00:02"
mtu: 1500
name: l1p2
port_name: p2
protocol:
choice: static
static:
lag_id: 1
- min_links: 1
name: l2
ports:
- ethernet:
mac: "00:00:00:00:00:04"
mtu: 1500
name: l2p3
port_name: p3
- ethernet:
mac: "00:00:00:00:00:05"
mtu: 1500
name: l2p4
port_name: p4
protocol:
choice: static
static:
lag_id: 1
layer1:
- mtu: 1500
name: ly
port_names:
- p1
- p2
- p3
- p4
promiscuous: true
speed: speed_1_gbps
ports:
- location: te1:5555
name: p1
- location: te1:5555
name: p2
- location: te2:5555
name: p3
- location: te2:5555
name: p4