-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
84 lines (69 loc) · 1.28 KB
/
config.toml
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
[Redis]
Address = "127.0.0.1"
Port = 6379
Password = ""
DB = 0
Prefix = ""
[SwitchPorts]
[SwitchPorts.sw1]
Trunk = false
AllowedVLANs = [1]
Up = true
[SwitchPorts.sw2]
Trunk = false
AllowedVLANs = [1]
Up = true
[SwitchPorts.sw3]
Trunk = false
AllowedVLANs = [10]
Up = true
[SwitchPorts.sw4]
Trunk = false
AllowedVLANs = [10]
Up = true
# [SwitchPorts."sw5.10"]
# Trunk = false
# AllowedVLANs = [10]
# Up = true
#
# [SwitchPorts."sw5.1"]
# Trunk = false
# AllowedVLANs = [1]
# Up = true
#
# [SwitchPorts.sw-mgmt]
# Trunk = false
# AllowedVLANs = [1]
# Up = true
# [[ControlProcess]]
# Layer = 2
# Name = "MACFilter"
# ConfigFile = "etc/l2/MACFilter.toml"
# [[ControlProcess]]
# Layer = 2
# Name = "Hub"
[[ControlProcess]]
Layer = 2
Name = "L2Switch"
[[ControlProcess]]
Layer = 2
Name = "ARP"
ConfigFile = "etc/l2/ARPConfig.toml"
[[ControlProcess]]
Layer = 2
Name = "L2Adapter"
ConfigFile = "etc/l2/L2Adapter.toml"
[[ControlProcess]]
Layer = 3
Name = "IPv4"
[[ControlProcess]]
Layer = 3
Name = "Routing"
ConfigFile = "etc/l3/RoutingTable.toml"
[[ControlProcess]]
Layer = 3
Name = "ICMP"
ConfigFile = "etc/l3/ICMPConfig.toml"
# [[ControlProcess]]
# Layer = 3
# Name = "L3Adapter"