forked from sonic-net/DASH
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestbed.py
38 lines (38 loc) · 1.17 KB
/
testbed.py
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
TESTBED = {
'stateless': [
{
'server': [
{'addr': '10.36.77.101', 'rest': 443}
],
'tgen': [
{
'type': 'keysight',
'interfaces': [['10.36.77.102', 1, 1], ['10.36.77.102', 1, 2]]
}
],
'dpu': [
{'type': 'sku',
'interfaces': [['10.36.77.103', 1], ['10.36.77.103', 1]]}
],
}
],
'stateful': [
{
'server': [{'addr': '10.36.77.107', 'rest': 10010}],
'tgen': [
{
'type': 'keysight',
'interfaces': [['10.36.77.102', 2, 1], ['10.36.77.102', 3, 2]]
}
],
'vxlan': [{
'tgen': [['10.36.77.105', 'Ethernet1'], ['10.36.77.106', 'Ethernet1']],
'dpu':[['10.36.77.105', 'Ethernet2'], ['10.36.77.106', 'Ethernet2']],
}],
'dpu': [
{'type': 'sku',
'interfaces': [['10.36.77.104', 1], ['10.36.77.104', 2]]}
],
}
],
}