-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.json
61 lines (61 loc) · 1.24 KB
/
config.json
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
{
"switches": {
"0000000000000001": {
"name": "s1",
"vendor": "OVS",
"tag": "aggregation"
},
"0000000000000002": {
"name": "s2",
"vendor": "OVS",
"tag": "service"
},
"0000000000000003": {
"name": "s3",
"vendor": "OVS",
"tag": "delivery"
}
},
"rules": {
"rule1": {
"in_switch": "0000000000000001",
"in_port": "s1-eth1",
"out_switch": "0000000000000003",
"out_port": "s3-eth2",
"span": {
"tap": "tap1",
"in_port": "eth0",
"out_port": "lo",
"direction": "both",
"skip_sw": true
}
},
"rule2": {
"in_switch": "0000000000000001",
"in_port": "s1-eth1",
"out_switch": "0000000000000003",
"out_port": "s3-eth2",
"_span": {
"tap": "tap2",
"in_port": "1/20",
"out_port": "1/21",
"direction": "both",
"truncate": false
}
}
},
"taps": {
"tap1": {
"device_type": "linux",
"hostname": "192.168.56.101",
"username": "root",
"password": "vagrant"
},
"tap2": {
"device_type": "mellanox",
"hostname": "10.143.34.57",
"username": "admin",
"password": "admin"
}
}
}