root / branches / multithread / conf / chord_serialize.properties

Revision 2, 10.6 kB (checked in by jordi, 2 years ago)

Imported PlanetSim 3.0

Line 
1################################################################################
2# Chord configuration file:                                                    #
3# -----------------------------                                                #
4# This file specifies all properties (including the Chord specifics ones) to   #
5# run any test with the Chord overlay.                                         #
6#                                                                              #
7# How to use:                                                                  #
8# -----------------------------                                                #
9# All properties are divided into different semantical parts.                  #
10# You must specify the desired properties values into the following lines.     #
11#                                                                              #
12# Made by:                                                                     #
13#  Jordi Pujol Ahullo (jordi.pujol@estudiants.urv.es)                          #
14# Under:                                                                       #
15#  Planet Project: http://ants.etse.urv.es/planet                              #
16#  PlanetSim:      htpp://ants.etse.urv.es/planetsim                           #
17################################################################################
18
19
20################################################################################
21# FACTORIES PART                                                               #
22################################################################################
23
24########## MANDATORY ATTRIBUTES
25
26# The default NetworkFactory class
27FACTORIES_NETWORKFACTORY = planet.generic.commonapi.factory.NetworkFactoryImpl
28
29# The default IdFactory class
30FACTORIES_IDFACTORY = planet.generic.commonapi.factory.IdFactoryImpl
31
32# The default NodeHandleFactory class
33FACTORIES_NODEHANDLEFACTORY = planet.generic.commonapi.factory.NodeHandleFactoryImpl
34
35# The default NodeFactory class
36FACTORIES_NODEFACTORY = planet.generic.commonapi.factory.NodeFactoryImpl
37
38# The default RouteMessagePool class
39FACTORIES_ROUTEMESSAGEPOOL = planet.generic.commonapi.factory.RouteMessagePoolImpl
40
41# The default Network class
42FACTORIES_NETWORK = planet.generic.commonapi.NetworkImpl
43
44# The default NodeHandle class
45FACTORIES_NODEHANDLE = planet.generic.commonapi.NodeHandleImpl
46
47# The default RouteMessage class
48FACTORIES_ROUTEMESSAGE = planet.generic.commonapi.RouteMessageImpl
49
50# The default network topology.
51# Default possible values: RANDOM, CIRCULAR, SERIALIZED
52FACTORIES_NETWORKTOPOLOGY = SERIALIZED
53
54# The default initial network size
55FACTORIES_NETWORKSIZE = 1000
56
57
58########## OPTIONAL ATTRIBUTES: Test dependant
59
60# The default ApplicationFactory class
61FACTORIES_APPLICATIONFACTORY = planet.generic.commonapi.factory.ApplicationFactoryImpl
62
63# The default EndPointFactory class
64FACTORIES_ENDPOINTFACTORY = planet.generic.commonapi.factory.EndPointFactoryImpl
65
66# The default Application class
67FACTORIES_APPLICATION = planet.test.helloworld.DHTApplication
68
69# The default EndPoint class
70FACTORIES_ENDPOINT = planet.generic.commonapi.EndPointImpl
71
72
73################################################################################
74# SIMULATOR PART                                                               #
75################################################################################
76
77########## MANDATORY ATTRIBUTES
78
79# The number of stabilization steps for any node at join or leave
80SIMULATOR_SIMULATION_STEPS = 2
81
82# The log level (to use by Logger.log(...) )
83# Default possible values (from more to less important logs): 0 (error), 1 (events), 2 (node info), 3 (message)
84SIMULATOR_LOG_LEVEL = 0
85
86# The print level for whole network (to use by GenericApp.printNetwork() method)
87# Default possible values: 0 (no print), 1 (pretty print), 2 (full print)
88SIMULATOR_PRINT_LEVEL = 1
89
90# The environment for the current simulation
91# Default possible values: SIMULATION (by steps), EXPERIMENTAL (by threads and real TCP connections)
92# Only SIMULATION has available
93SIMULATOR_ENVIRONMENT = SIMULATION
94
95# The queue size for the incomming and outgoing queues
96SIMULATOR_QUEUE_SIZE = 128
97
98# The maximum number of messages to be processed per node per step
99SIMULATOR_PROCESSED_MESSAGES = 128
100
101########## OPTIONAL ATTRIBUTES: Test dependant
102
103# The events filename to load
104SIMULATOR_EVENT_FILE = ./data/test_join1000r.txt
105
106
107################################################################################
108# SERIALIZATION PART                                                           #
109################################################################################
110
111########## OPTIONAL ATTRIBUTES: Test dependant
112
113# Serialized file that contains the network to be loaded
114SERIALIZATION_INPUT_FILE = network.psim
115
116# Filename to which serialize the final state
117SERIALIZATION_OUTPUT_FILE = network.psim
118
119# Identifies if the output file must be replaced with new outputs, when the
120# state is serialized
121SERIALIZATION_REPLACE_OUTPUT_FILE = false
122
123
124################################################################################
125# BEHAVIOURS PART                                                              #
126################################################################################
127   
128########## OPTIONAL ATTRIBUTES: Overlay dependant
129
130# The default BehaviourFactory class
131BEHAVIOURS_FACTORY =
132
133# The default BehavioursPool class
134BEHAVIOURS_POOL =
135
136# The default BehavioursRoleSelector class
137BEHAVIOURS_ROLESELECTOR =
138
139# The default BehavioursInvoker class
140BEHAVIOURS_INVOKER =
141
142# The default BehavioursFilter class
143BEHAVIOURS_FILTER =
144
145# The default BehavioursPattern class
146BEHAVIOURS_PATTERN =
147
148# The default PropertiesInitializaer class for the behaviours properties
149BEHAVIOURS_PROPERTIES =
150
151# The default number of message types used in the current overlay
152BEHAVIOURS_NUMBEROFTYPES =
153
154# The default number of message modes used in the current overlay
155BEHAVIOURS_NUMBEROFMODES =
156
157################################################################################
158# SPECIFIC PROPERTIES OF BEHAVIOURS PART                                       #
159################################################################################
160
161########## OPTIONAL ATTRIBUTES: Overlay dependant
162
163# The default percentage of faulty nodes
164BEHAVIOURS_PROPERTIES_FAULTY_NODES =
165
166# The default distribution of malicious node
167BEHAVIOURS_PROPERTIES_MALICIOUS_DISTRIBUTION =
168
169# Identifies when to show specific debug info for behaviours
170BEHAVIOURS_PROPERTIES_DEBUG =
171
172# NOTE: The following keys start by 'BEHAVIOURS_PROPERTIES_INSTANCE', ended
173#       with an incremental integer number to make them different
174
175# All required instances for the current behaviours implementation
176BEHAVIOURS_PROPERTIES_INSTANCE_1 =
177
178
179################################################################################
180# OVERLAY PART                                                                 #
181################################################################################
182
183########## MANDATORY ATTRIBUTES
184
185# The default Id class
186OVERLAY_ID = planet.chord.ChordId
187
188# The default Node class
189OVERLAY_NODE = planet.chord.ChordNode
190
191# The default OverlayProperties implementation class
192OVERLAY_PROPERTIES = planet.chord.ChordProperties
193
194# Identifies if this overlay implementation uses behaviours
195# Default possible values: false | true
196OVERLAY_WITH_BEHAVIOURS = false
197
198################################################################################
199# CHORD SPECIFIC PART                                                          #
200################################################################################
201
202########## MANDATORY ATTRIBUTES
203
204# The default number of stabilize steps
205CHORD_STABILIZATION_STEPS = 10
206
207# The default number of steps to fix finger tables
208CHORD_FIX_FINGER_STEPS = 5
209
210# The default size of successor list
211CHORD_SUCCESSOR_LIST_SIZE = 16
212
213# The default number of bits for ChordIds
214CHORD_BITS_PER_KEY = 32
215
216
217################################################################################
218# RESULTS PART                                                                 #
219################################################################################
220
221#
222# IMPORTANT: All different results attributes must appear in comma separated
223# format, using each position for the same results type for all attributes.
224#
225
226########## OPTIONAL ATTRIBUTES: Test dependant
227
228# The default ResultsFactory class
229RESULTS_FACTORY =               planet.generic.commonapi.results.ResultsFactoryImpl, \
230                                                planet.generic.commonapi.results.ResultsFactoryImpl
231
232# The default ResultsEdge class
233RESULTS_EDGE =                  planet.generic.commonapi.results.ResultsEdgeImpl, \
234                                                planet.generic.commonapi.results.ResultsEdgeImpl
235
236# The default ResultsConstraint class
237RESULTS_CONSTRAINT =    planet.generic.commonapi.results.ResultsIdleConstraint, \
238                                                planet.generic.commonapi.results.ResultsIdleConstraint
239
240# The default ResultsGenerator class
241RESULTS_GENERATOR =     planet.generic.commonapi.results.ResultsGMLGenerator, \
242                                                planet.generic.commonapi.results.ResultsPajekGenerator
243
244# The default PropertiesInitializer for results properties
245RESULTS_PROPERTIES =    planet.generic.commonapi.results.ResultsGMLProperties, \
246                                                planet.generic.commonapi.results.ResultsGMLProperties
247
248# The unique names for each results type
249RESULTS_UNIQUE_NAME =   GML, \
250                                                PAJEK
251
252################################################################################
253# GML SPECIFIC RESULTS PART                                                    #
254################################################################################
255
256########## OPTIONAL ATTRIBUTES: Test dependant
257
258# The default width of the virual bounding box
259RESULTS_PROPERTIES_GML_WIDTH = 20.0f
260
261# The default height of the virtual bounding box
262RESULTS_PROPERTIES_GML_HEIGHT = 20.0f
263
264# The default shape of the node
265RESULTS_PROPERTIES_GML_SHAPE = ellipse
266
267# The default fill color for the shape of the node (in #'RRGGBB' format)
268RESULTS_PROPERTIES_GML_FILL = CCCCFF
269
270# The default alternative fill color for the shape of the node (in #'RRGGBB' format)
271RESULTS_PROPERTIES_GML_ALTERNATIVE_FILL = 00FF66
272
273# The default color of the border line (in #'RRGGBB' format)
274RESULTS_PROPERTIES_GML_OUTLINE = 000000
275
276# The default font size of the node Id lavel
277RESULTS_PROPERTIES_GML_FONT_SIZE = 12
278
279# The default font name of the node Id label
280RESULTS_PROPERTIES_GML_FONT_NAME = dialog
281
282# The default minimal node distance arranged on a circle
283RESULTS_PROPERTIES_GML_MINIMAL_NODE_DISTANCE = 50
Note: See TracBrowser for help on using the browser.