-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconetcontroller.conf
74 lines (54 loc) · 2.08 KB
/
conetcontroller.conf
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
# Conet Controller configuration file
# The VLAN ID of the Flowspace
VLAN_ID=3001
# The IP protocol type for Conet packet:
# default: conet_proto=254
conet_proto=17
# Server port for cache-to-controller communication:
# default: json_port=9999
#json_port=9999
# Whether changing mac and ip destination addresses when redirecting packets to cache server:
# default: change_destination=no
#change_destination=yes
# Whether changing (only) mac destination addresses when redirecting packets to cache server:
change_mac_destination=yes
# Whether changing (only) mac source addresses when redirecting packets to cache server:
change_mac_source=yes
# Learning switch idle timeout [in seconds]:
# default: sw_idle_timeout=30
#sw_idle_timeout=120
# Name of the log file:
# default: log_file=conetcontroller.log
log_file=log/conetcontroller.log
# Maximum size of a single log file (in MB):
# default: log_size=1
log_size=10
# Number of different files that are rotated:
# default: log_rotation=1
log_rotation=7
# Duration of each log before rotating (specified in days):
# default: int log_time=1
# Conet nodes
conet_clients=192.168.1.23
conet_servers=192.168.1.8
#conet_servers=192.168.1.8 192.168.1.85
# Switch#1 configuration
sw_datapath=00:10:00:00:00:00:00:05
cache_ip_addr=192.168.1.83
cache_mac_addr=02:03:00:00:00:b0
cache_port=12
# Switch virtual mac address used as source address when redirecting packets to cache server:
# default: sw_virtual_mac_addr=00:00:00:00:00:01
sw_virtual_mac_addr=02:00:00:00:00:01
sw_virtual_mac_addr=02:00:00:00:00:02
# DEBUG: whether disable the redirection to cache-server of data packets coming from icn-servers:
#debug_disable_redirection=yes
# DEBUG: whether disabling any static flow table entries and working in transparent learning switch mode:
#debug_learning_switch_only=yes
# Tag-based forwarding is activated at the start:
# default: tag_based_forwarding=yes
tag_based_forwarding=yes
# Conetcontroller verbose output
#CONET_VERBOSE=yes
# LearningSwitch verbose output
#LEARNING_SWITCH_VERBOSE=yes