close
Warning:
BrowserModule failed with ConfigurationError: Look in the Trac log for more information.
- Timestamp:
-
Sep 19, 2008, 1:31:55 PM (16 years ago)
- Author:
-
Ingmar Baumgart
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v12
|
v13
|
|
74 | 74 | The user can set custom values for module parameters in the file omnetpp.ini, or in default.ini for general default values, both located in the Simulation folder (see Section 4). Parameters are hierarchic, separated by dots for each layer. For example, setting a parameter for a specific overlay module in a node can be done as follows: |
75 | 75 | {{{ |
76 | | SimpleOverlay.overlayTerminal[5].overlay.myParam1 = 1024 |
| 76 | SimpleOverlay.overlayTerminal[5].overlay.myProt.myParam1 = 1024 |
77 | 77 | }}} |
78 | 78 | |
… |
… |
|
80 | 80 | |
81 | 81 | {{{ |
82 | | *.overlayTerminal[5].overlay.myParam1 = 1024 |
83 | | **.overlay.myParam1 = 1024 |
| 82 | *.overlayTerminal[5].overlay.myProt.myParam1 = 1024 |
| 83 | **.overlay.myProt.myParam1 = 1024 |
84 | 84 | }}} |
85 | 85 | |
… |
… |
|
376 | 376 | |
377 | 377 | # The following applies to SimpleNetwork |
378 | | *.underlayConfigurator.churnGeneratorTypes = "RandomChurn" // one node type |
| 378 | *.underlayConfigurator.churnGeneratorTypes = "LifetimeChurn" // one node type |
379 | 379 | |
380 | 380 | # Since we only have one churn generator, the following applies to SimpleNetwork.churnGenerator[0] |
… |
… |
|
382 | 382 | **.tier1Type = "MyAppModule" // module name of the application tier |
383 | 383 | **.overlayType = "MyOverlay" // module name of the overlay |
384 | | **.churnChangeInterval=0 // time to wait between churn changes (creation, elimination, ...) |
385 | | **.targetOverlayTerminalNum=10 // maximal number of nodes |
386 | | **.creationProbability=0.5 // probability for each churn change to create a node |
387 | | **.migrationProbability=0.0 // probability for each churn change to migrate a node |
388 | | **.removalProbability=0.5 // probability for each churn change to eliminate a node |
| 384 | **.lifetimeMean = 10000 // mean session time in seconds |
| 385 | **.targetOverlayTerminalNum=10 // target number of nodes |
389 | 386 | }}} |
390 | 387 | |
… |
… |
|
394 | 391 | [Run 2] |
395 | 392 | |
396 | | *.underlayConfigurator.churnGeneratorTypes = "RandomChurn RandomChurn" // two churn generators |
| 393 | *.underlayConfigurator.churnGeneratorTypes = "LifetimeChurn NoChurn" // two churn generators |
397 | 394 | |
398 | 395 | # First churn |